Skip to content

Commit

Permalink
Merge pull request #18 from GuoXiCheng/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
GuoXiCheng committed Aug 31, 2022
2 parents c372f1f + 913018a commit fae024b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
Binary file added apk/SKIP-v1.2.apk
Binary file not shown.
6 changes: 1 addition & 5 deletions app/src/main/java/com/android/oneclick/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ class MainActivity : ComponentActivity() {
AlertDialog(
context = this,
title = "启用无障碍服务",
message = """
1.点击已下载的应用
2.点击SKIP
3.开启使用SKIP
""".trimIndent(),
message = "已下载的应用>SKIP>使用SKIP".trimIndent(),
negativeText = "再想想",
positiveText = "去开启"
)
Expand Down
Binary file removed app/src/main/res/drawable/summer.jpeg
Binary file not shown.
Binary file removed app/src/main/res/drawable/summer_background.jpeg
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="android:windowBackground">@drawable/summer</item>
<item name="android:windowBackground">@color/green</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>
12 changes: 6 additions & 6 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<string name="app_name">SKIP</string>
<string name="activity_main">SKIP</string>
<string name="accessibility_description">若无障碍服务发生故障,可以关闭后再打开。</string>
<string name="XIAOMI">1.打开应用后,前往后台应用管理,长按应用,点击右侧锁定锁定后台。#2.长按应用图标,点击进入应用信息,打开自启动;点击省电策略,选择无限制。</string>
<string name="HUAWEI">1.打开应用后,前往后台应用管理,下滑应用锁定后台。#2.打开手机管家,选择应用启动管理,找到OneClick,关闭自动管理。在手动管理中打开:允许自启动、允许管理启动、允许后台活动。</string>
<string name="OPPO">1.打开应用后,前往后台应用管理,点击右上角的更多,点击锁定锁定后台。#2.长按应用图标,点击应用信息,打开允许自动启动。#3.打开系统设置,点击电池,点击自定义耗电保护,找到OneClick,设置为允许后台运行。返回上一页,找到应用速冻,关闭OneClick的自动速冻。</string>
<string name="VIVO">1.打开应用后,前往后台应用管理,下滑应用锁定后台。#2.打开i管家,点击应用管理,点击权限管理,点击自启动,允许OneClick的自启动权限。#3.打开系统设置,点击电池,点击后台耗电管理,找到OneClick,并允许后台高耗电。</string>
<string name="MEIZU">1.打开应用后,前往后台应用管理,长按应用,点击锁定锁定后台。#2.打开手机管理,点击隐私和权限,点击后台管理,设置OneClick为允许后台运行。</string>
<string name="ONEPLUS">1.打开应用后,前往后台应用管理,长按应用,点击锁定锁定后台。#2.打开系统设置,点击电池,点击电量优化,找到OneClick并设置为不优化。</string>
<string name="XIAOMI">1.打开SKIP>最近任务管理>长按SKIP窗口>点击右侧锁定锁定后台。#2.长按桌面SKIP图表>应用信息>省电策略>无限制。</string>
<string name="HUAWEI">1.打开SKIP>最近任务管理>下滑SKIP窗口锁定后台。#2.打开手机管家>应用启动管理>找到SKIP,关闭自动管理>手动管理中开启允许自启动、允许管理启动、允许后台活动。</string>
<string name="OPPO">1.打开SKIP>最近任务管理>右上角的更多>锁定后台。#2.长按桌面SKIP图标>应用信息>允许自动启动。#3.系统设置>电池>自定义耗电保护>找到SKIP,设置允许后台允许>返回上一页>应用速冻>关闭SKIP的自动速冻。</string>
<string name="VIVO">1.打开SKIP>最近任务管理>下滑SKIP窗口锁定后台。#2.打开i管家>应用管理>权限管理>自启动>允许SKIP的自启动权限。#3.打开系统设置>电池>后台耗电管理>找到SKIP并允许后台高耗电。</string>
<string name="MEIZU">1.打开SKIP>最近任务管理>长按SKIP窗口>点击锁定锁定后台。#2.打开手机管理>隐私和权限>后台管理>设置SKIP允许后台运行。</string>
<string name="ONEPLUS">1.打开SKIP>最近任务管理>长按SKIP窗口>点击锁定锁定后台。#2.打开系统设置>电池>电量优化>找到SKIP并设置为不优化。</string>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="android:windowBackground">@drawable/summer</item>
<item name="android:windowBackground">@color/green</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>

0 comments on commit fae024b

Please sign in to comment.