1.5.0522 增加应用卸载和隐藏监听

This commit is contained in:
2025-05-27 16:40:53 +08:00
parent aa14ce6a1b
commit d83f154476
20 changed files with 384 additions and 104 deletions

View File

@@ -79,8 +79,8 @@
<uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
<application
android:name="com.aoleyun.os.base.BaseApplication"
android:backupAgent="com.aoleyun.os.LauncherBackupAgent"
android:name=".base.BaseApplication"
android:backupAgent=".LauncherBackupAgent"
android:fullBackupContent="@xml/backupscheme"
android:fullBackupOnly="true"
android:hardwareAccelerated="true"
@@ -93,7 +93,7 @@
<!-- Intent received used to install shortcuts from other applications -->
<receiver
android:name="com.aoleyun.os.InstallShortcutReceiver"
android:name=".InstallShortcutReceiver"
android:enabled="@bool/enable_install_shortcut_api"
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
@@ -102,27 +102,41 @@
</receiver>
<!-- Intent received when a session is committed -->
<receiver android:name="com.aoleyun.os.SessionCommitReceiver">
<receiver android:name=".SessionCommitReceiver">
<intent-filter>
<action android:name="android.content.pm.action.SESSION_COMMITTED" />
</intent-filter>
</receiver>
<!-- Intent received used to initialize a restored widget -->
<receiver android:name="com.aoleyun.os.AppWidgetsRestoredReceiver">
<receiver android:name=".AppWidgetsRestoredReceiver">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
</intent-filter>
</receiver>
<receiver
android:name=".receiver.NewAppReceiver"
android:enabled="true"
android:exported="true"
android:permission="android.permission.INSTALL_PACKAGES">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<action android:name="android.intent.action.PACKAGE_CHANGED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<service
android:name="com.aoleyun.os.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
android:name=".uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE"
android:process=":wallpaper_chooser" />
<service
android:name="com.aoleyun.os.notification.NotificationListener"
android:name=".notification.NotificationListener"
android:enabled="@bool/notification_dots_enabled"
android:label="@string/notification_dots_service_title"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
@@ -136,7 +150,7 @@
android:value="true" />
<activity
android:name="com.aoleyun.os.dragndrop.AddItemActivity"
android:name=".dragndrop.AddItemActivity"
android:autoRemoveFromRecents="true"
android:excludeFromRecents="true"
android:label="@string/action_add_to_workspace"
@@ -161,7 +175,7 @@
represent the package name.
-->
<provider
android:name="com.aoleyun.os.LauncherProvider"
android:name=".LauncherProvider"
android:authorities="${packageName}.settings"
android:exported="true"
android:readPermission="${packageName}.permission.READ_SETTINGS"
@@ -172,7 +186,7 @@
TODO: Add proper permissions
-->
<provider
android:name="com.aoleyun.os.graphics.GridOptionsProvider"
android:name=".graphics.GridOptionsProvider"
android:authorities="${packageName}.grid_control"
android:enabled="false"
android:exported="true" />
@@ -181,7 +195,7 @@
The settings activity. To extend point settings_fragment_name to appropriate fragment class
-->
<activity
android:name="com.aoleyun.os.settings.SettingsActivity"
android:name=".settings.SettingsActivity"
android:autoRemoveFromRecents="true"
android:label="@string/settings_button_text"
android:theme="@android:style/Theme.DeviceDefault.Settings">
@@ -192,7 +206,7 @@
</activity>
<activity
android:name="com.aoleyun.os.Launcher"
android:name=".Launcher"
android:clearTaskOnLaunch="true"
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
android:enabled="true"
@@ -215,7 +229,7 @@
</activity>
<provider
android:name="com.aoleyun.os.testing.TestInformationProvider"
android:name=".testing.TestInformationProvider"
android:authorities="${packageName}.TestInfo"
android:enabled="false"
android:exported="true"