More work on Quick Settings, refactoring

This commit is contained in:
d8ahazard
2016-09-20 11:36:33 -05:00
parent 2cdb6b811f
commit 6a40e18193
11 changed files with 144 additions and 20 deletions
+16 -5
View File
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.topjohnwu.magisk">
package="com.topjohnwu.magisk">
<uses-sdk tools:overrideLibrary="com.kcoppock.broadcatsttilesupport"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
@@ -20,7 +21,7 @@
android:theme="@style/AppTheme"
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
<service
android:name=".MonitorService"
android:name=".services.MonitorService"
android:label="@string/accessibility_service_name"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
@@ -31,7 +32,7 @@
android:resource="@xml/accessibilityservice"/>
</service>
<service
android:name=".QuickSettingTileService"
android:name=".services.QuickSettingTileService"
android:icon="@drawable/ic_autoroot"
android:label="@string/app_name"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
@@ -40,6 +41,16 @@
</intent-filter>
</service>
<receiver
android:name=".receivers.PrivateBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.topjohnwu.magisk.CUSTOMTILE_ACTION_AUTOROOT"/>
<action android:name="com.topjohnwu.magisk.CUSTOMTILE_ACTION_DISABLEROOT"/>
<action android:name="com.topjohnwu.magisk.CUSTOMTILE_ACTION_ENABLEROOT"/>
</intent-filter>
</receiver>
<activity
android:name=".WelcomeActivity"
android:configChanges="orientation|screenSize"
@@ -52,7 +63,7 @@
</activity>
<activity
android:name="com.ipaulpro.afilechooser.FileChooserActivity"
android:enabled="@bool/use_activity"
android:enabled="true"
android:exported="true"
android:icon="@drawable/ic_chooser"
android:label="@string/choose_file">
@@ -90,7 +101,7 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
<receiver android:name=".AutoStart">
<receiver android:name=".receivers.AutoStartReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>