|
12 | 12 | <!-- Prevent phone from sleeping --> |
13 | 13 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
14 | 14 | <application |
15 | | - android:name="crash.App" |
| 15 | + android:name=".App" |
16 | 16 | android:label="@string/app_name" |
17 | 17 | android:icon="@drawable/ic_launcher" |
| 18 | + android:theme="@style/AppTheme" |
18 | 19 | android:allowBackup="true" |
| 20 | + android:supportsPictureInPicture="true" |
19 | 21 | android:resizeableActivity="true" |
20 | 22 | android:roundIcon="@drawable/ic_launcher_round"> |
21 | 23 | <activity |
22 | | - android:name=".MainActivity" |
| 24 | + android:name=".ui.MainActivity" |
23 | 25 | android:label="@string/app_name" |
24 | 26 | android:exported="true" |
25 | | - android:theme="@style/AppTheme" |
26 | 27 | android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout" |
27 | 28 | android:hardwareAccelerated="true" |
28 | | - android:supportsPictureInPicture="true" |
29 | 29 | android:screenOrientation="portrait" |
30 | | - android:launchMode="singleTask"> |
| 30 | + android:launchMode="singleTask" |
| 31 | + android:maxRecents="1"> |
31 | 32 | <intent-filter> |
32 | 33 | <action android:name="android.intent.action.MAIN"/> |
33 | 34 | <category android:name="android.intent.category.LAUNCHER"/> |
|
38 | 39 | </activity> |
39 | 40 |
|
40 | 41 | <activity |
41 | | - android:theme="@style/AppTheme" |
42 | 42 | android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout" |
43 | 43 | android:hardwareAccelerated="true" |
44 | | - android:supportsPictureInPicture="true" |
45 | 44 | android:screenOrientation="portrait" |
46 | 45 | android:launchMode="singleTask" |
47 | | - android:name="crash.CrashActivity" |
| 46 | + android:name=".ui.CrashActivity" |
| 47 | + android:maxRecents="1" |
48 | 48 | android:label="@string/app_name" |
49 | 49 | android:exported="true" /> |
50 | 50 |
|
51 | 51 | <activity |
52 | | - android:name=".ShortcutHandlerActivity" |
| 52 | + android:name=".ui.ShortcutHandlerActivity" |
53 | 53 | android:excludeFromRecents="true" |
54 | 54 | android:enabled="true" |
55 | 55 | android:exported="true" |
56 | 56 | android:theme="@style/TransparentTheme"/> |
57 | 57 |
|
58 | 58 | <activity |
59 | | - android:name=".BackgroundActivity" |
| 59 | + android:name=".ui.BackgroundActivity" |
60 | 60 | android:excludeFromRecents="true" |
61 | 61 | android:enabled="true" |
62 | 62 | android:exported="true" |
63 | 63 | android:theme="@style/TransparentTheme"/> |
64 | 64 |
|
65 | 65 | <service |
66 | | - android:name=".MonitoringService" |
| 66 | + android:name=".service.MonitoringService" |
67 | 67 | android:enabled="true" |
68 | 68 | android:exported="false"/> |
69 | 69 |
|
70 | 70 | <service |
71 | | - android:name=".AccessibilityWatcher" |
| 71 | + android:name=".service.AccessibilityMonitoringService" |
72 | 72 | android:label="@string/app_name" |
73 | 73 | android:description="@string/accessibility_permission" |
74 | | - android:enabled="@bool/use_accessibility_service" |
| 74 | + android:enabled="true" |
75 | 75 | android:exported="false" |
76 | 76 | android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"> |
77 | 77 | <intent-filter> |
|
83 | 83 | android:resource="@xml/accessibility"/> |
84 | 84 | </service> |
85 | 85 | <service |
86 | | - android:name=".QuickSettingsService" |
| 86 | + android:name=".service.QuickSettingsService" |
87 | 87 | android:enabled="@bool/quick_settings_availability" |
88 | | - android:icon="@drawable/ic_shortcut" |
| 88 | + android:icon="@drawable/ic_launcher_foreground" |
89 | 89 | android:label="@string/app_name" |
90 | 90 | android:exported="false" |
91 | 91 | android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> |
|
99 | 99 | </service> |
100 | 100 |
|
101 | 101 | <receiver |
102 | | - android:name=".NotificationMonitor" |
| 102 | + android:name=".model.NotificationMonitor" |
103 | 103 | android:exported="false" |
104 | 104 | android:enabled="true"> |
105 | 105 | <intent-filter> |
|
0 commit comments