Skip to content

Commit 9218643

Browse files
committed
v1.0.1: Hotfix - Fix app sheet stacking, duplicate Activity Launcher, ProGuard rules
1 parent 2aa0be0 commit 9218643

File tree

5 files changed

+155
-62
lines changed

5 files changed

+155
-62
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All notable changes to AppControlX.
44

5+
## [1.0.1] - 2024-12
6+
7+
### Fixed
8+
- App info sheet stacking bug when returning from recent apps
9+
- Duplicate Activity Launcher in Tools layout (removed from Advanced section)
10+
- ProGuard rules for Rollback/ActionLog Gson serialization in release builds
11+
- Removed setupwizard from SafetyValidator restrictions
12+
13+
### Changed
14+
- Autostart Manager now supports 13 OEM brands (Xiaomi, OPPO, Vivo, Huawei, OnePlus, Samsung, ASUS, Sony, Lenovo, ZTE, Meizu, Transsion)
15+
- Activity Launcher moved to Apps section
16+
- Added RUN_ANY_IN_BACKGROUND hint in app detail sheet
17+
18+
---
19+
520
## [1.0.0] - 2024-12
621

722
### Added

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ SafetyValidator blocks critical system packages from being disabled/frozen to pr
6969
- **Root access** (Magisk recommended)
7070
- **Shizuku** installed and activated (full features, no root needed)
7171

72+
### Features Without Root
73+
These features work without Root or Shizuku:
74+
- **Tools** - All hidden settings shortcuts (Extra Dim, QColor, Notification Log, etc.)
75+
- **Activity Launcher** - Browse and launch any app's activities
76+
- **Autostart Manager** - Quick access to OEM autostart settings
77+
7278
## Installation
7379

7480
### From Release

app/src/main/java/com/appcontrolx/ui/ToolsFragment.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,38 @@ class ToolsFragment : Fragment() {
140140
)
141141
tryOpenSettings(intents)
142142
}
143+
144+
// Autostart Manager (multi-brand)
145+
binding.itemAutostartManager.setOnClickListener {
146+
val intents = listOf(
147+
// Xiaomi/MIUI/HyperOS
148+
"com.miui.securitycenter" to "com.miui.permcenter.autostart.AutoStartManagementActivity",
149+
// OPPO/Realme (ColorOS)
150+
"com.coloros.safecenter" to "com.coloros.privacypermissionsentry.PermissionTopActivity",
151+
"com.oplus.safecenter" to "com.oplus.safecenter.permission.startup.StartupAppListActivity",
152+
// Vivo (Funtouch/OriginOS)
153+
"com.vivo.permissionmanager" to "com.vivo.permissionmanager.activity.BgStartUpManagerActivity",
154+
// Huawei/Honor (EMUI/MagicUI)
155+
"com.huawei.systemmanager" to "com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity",
156+
// OnePlus (OxygenOS)
157+
"com.oneplus.security" to "com.oneplus.security.chainlaunch.view.ChainLaunchAppListActivity",
158+
// Samsung (OneUI)
159+
"com.samsung.android.lool" to "com.samsung.android.sm.ui.battery.BatteryActivity",
160+
// ASUS (ZenUI)
161+
"com.asus.mobilemanager" to "com.asus.mobilemanager.autostart.AutoStartActivity",
162+
// Sony Xperia
163+
"com.sonymobile.cta" to "com.sonymobile.cta.SomcCTAMainActivity",
164+
// Lenovo/Motorola
165+
"com.lenovo.security" to "com.lenovo.security.purebackground.PureBackgroundActivity",
166+
// ZTE
167+
"com.zte.heartyservice" to "com.zte.heartyservice.autorun.AppAutoRunManager",
168+
// Meizu (Flyme)
169+
"com.meizu.safe" to "com.meizu.safe.permission.SmartBGActivity",
170+
// Tecno/Infinix/itel (Transsion)
171+
"com.transsion.phonemanager" to "com.transsion.phonemanager.permission.PermissionActivity"
172+
)
173+
tryOpenSettings(intents)
174+
}
143175
}
144176

145177
private fun tryOpenSettings(intents: List<Pair<String, String>>) {

app/src/main/res/layout/fragment_tools.xml

Lines changed: 100 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,56 @@
4949
android:layout_height="wrap_content"
5050
android:orientation="vertical">
5151

52+
<!-- Activity Launcher -->
53+
<LinearLayout
54+
android:id="@+id/itemActivityLauncher"
55+
android:layout_width="match_parent"
56+
android:layout_height="wrap_content"
57+
android:gravity="center_vertical"
58+
android:paddingHorizontal="16dp"
59+
android:paddingVertical="14dp"
60+
android:background="?attr/selectableItemBackground">
61+
62+
<ImageView
63+
android:layout_width="22dp"
64+
android:layout_height="22dp"
65+
android:src="@drawable/ic_launch"
66+
app:tint="?attr/colorPrimary" />
67+
68+
<LinearLayout
69+
android:layout_width="0dp"
70+
android:layout_height="wrap_content"
71+
android:layout_weight="1"
72+
android:layout_marginStart="14dp"
73+
android:orientation="vertical">
74+
75+
<TextView
76+
android:layout_width="wrap_content"
77+
android:layout_height="wrap_content"
78+
android:text="@string/tools_activity_launcher"
79+
android:textSize="15sp" />
80+
81+
<TextView
82+
android:layout_width="wrap_content"
83+
android:layout_height="wrap_content"
84+
android:text="@string/tools_activity_launcher_desc"
85+
android:textColor="@color/on_surface_secondary"
86+
android:textSize="12sp" />
87+
</LinearLayout>
88+
89+
<ImageView
90+
android:layout_width="18dp"
91+
android:layout_height="18dp"
92+
android:src="@drawable/ic_chevron_right"
93+
android:alpha="0.4" />
94+
</LinearLayout>
95+
96+
<View
97+
android:layout_width="match_parent"
98+
android:layout_height="1dp"
99+
android:layout_marginStart="52dp"
100+
android:background="@color/outline" />
101+
52102
<!-- Manage Apps -->
53103
<LinearLayout
54104
android:id="@+id/itemManageApps"
@@ -80,6 +130,56 @@
80130
android:alpha="0.4" />
81131
</LinearLayout>
82132

133+
<View
134+
android:layout_width="match_parent"
135+
android:layout_height="1dp"
136+
android:layout_marginStart="52dp"
137+
android:background="@color/outline" />
138+
139+
<!-- Autostart Manager -->
140+
<LinearLayout
141+
android:id="@+id/itemAutostartManager"
142+
android:layout_width="match_parent"
143+
android:layout_height="wrap_content"
144+
android:gravity="center_vertical"
145+
android:paddingHorizontal="16dp"
146+
android:paddingVertical="14dp"
147+
android:background="?attr/selectableItemBackground">
148+
149+
<ImageView
150+
android:layout_width="22dp"
151+
android:layout_height="22dp"
152+
android:src="@drawable/ic_speed"
153+
app:tint="?attr/colorPrimary" />
154+
155+
<LinearLayout
156+
android:layout_width="0dp"
157+
android:layout_height="wrap_content"
158+
android:layout_weight="1"
159+
android:layout_marginStart="14dp"
160+
android:orientation="vertical">
161+
162+
<TextView
163+
android:layout_width="wrap_content"
164+
android:layout_height="wrap_content"
165+
android:text="@string/tools_autostart_manager"
166+
android:textSize="15sp" />
167+
168+
<TextView
169+
android:layout_width="wrap_content"
170+
android:layout_height="wrap_content"
171+
android:text="@string/tools_autostart_manager_desc"
172+
android:textColor="@color/on_surface_secondary"
173+
android:textSize="12sp" />
174+
</LinearLayout>
175+
176+
<ImageView
177+
android:layout_width="18dp"
178+
android:layout_height="18dp"
179+
android:src="@drawable/ic_chevron_right"
180+
android:alpha="0.4" />
181+
</LinearLayout>
182+
83183
<View
84184
android:layout_width="match_parent"
85185
android:layout_height="1dp"
@@ -491,67 +591,5 @@
491591
</LinearLayout>
492592
</com.google.android.material.card.MaterialCardView>
493593

494-
<!-- Advanced Section -->
495-
<TextView
496-
android:layout_width="wrap_content"
497-
android:layout_height="wrap_content"
498-
android:text="@string/tools_section_advanced"
499-
android:textColor="?attr/colorPrimary"
500-
android:textSize="13sp"
501-
android:textStyle="bold"
502-
android:layout_marginBottom="8dp" />
503-
504-
<com.google.android.material.card.MaterialCardView
505-
android:layout_width="match_parent"
506-
android:layout_height="wrap_content"
507-
app:cardElevation="0dp"
508-
app:strokeWidth="1dp"
509-
app:strokeColor="@color/outline">
510-
511-
<!-- Activity Launcher -->
512-
<LinearLayout
513-
android:id="@+id/itemActivityLauncher"
514-
android:layout_width="match_parent"
515-
android:layout_height="wrap_content"
516-
android:gravity="center_vertical"
517-
android:paddingHorizontal="16dp"
518-
android:paddingVertical="14dp"
519-
android:background="?attr/selectableItemBackground">
520-
521-
<ImageView
522-
android:layout_width="22dp"
523-
android:layout_height="22dp"
524-
android:src="@drawable/ic_launch"
525-
app:tint="?attr/colorPrimary" />
526-
527-
<LinearLayout
528-
android:layout_width="0dp"
529-
android:layout_height="wrap_content"
530-
android:layout_weight="1"
531-
android:layout_marginStart="14dp"
532-
android:orientation="vertical">
533-
534-
<TextView
535-
android:layout_width="wrap_content"
536-
android:layout_height="wrap_content"
537-
android:text="@string/tools_activity_launcher"
538-
android:textSize="15sp" />
539-
540-
<TextView
541-
android:layout_width="wrap_content"
542-
android:layout_height="wrap_content"
543-
android:text="@string/tools_activity_launcher_desc"
544-
android:textColor="@color/on_surface_secondary"
545-
android:textSize="12sp" />
546-
</LinearLayout>
547-
548-
<ImageView
549-
android:layout_width="18dp"
550-
android:layout_height="18dp"
551-
android:src="@drawable/ic_chevron_right"
552-
android:alpha="0.4" />
553-
</LinearLayout>
554-
</com.google.android.material.card.MaterialCardView>
555-
556594
</LinearLayout>
557595
</ScrollView>

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@
264264
<string name="tools_section_apps">Apps</string>
265265
<string name="tools_unknown_sources">Manage Unknown Sources</string>
266266
<string name="tools_manage_apps">Manage Apps (AOSP)</string>
267+
<string name="tools_autostart_manager">Autostart Manager</string>
268+
<string name="tools_autostart_manager_desc">Manage app autostart permissions (OEM)</string>
267269
<string name="copied_to_clipboard">Copied to clipboard</string>
268270
<string name="tools_extra_dim">Extra Dim</string>
269271
<string name="tools_extra_dim_desc">Reduce screen brightness below minimum</string>

0 commit comments

Comments
 (0)