Move several stuffs out of shared

This commit is contained in:
topjohnwu 2020-03-30 04:25:42 -07:00
parent 23e74b2781
commit cba26eedb5
11 changed files with 23 additions and 34 deletions

View File

@ -35,7 +35,6 @@
android:directBootAware="true"
android:excludeFromRecents="true"
android:exported="false"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
tools:ignore="AppLinkUrlError">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
@ -43,6 +42,11 @@
</intent-filter>
</activity>
<!-- ProcessPhoenix -->
<activity
android:name="a.r"
android:process=":remote" />
<!-- Receiver -->
<receiver
android:name="a.h"

View File

@ -1,5 +1,6 @@
package a
import com.topjohnwu.magisk.ProcessPhoenix
import com.topjohnwu.magisk.core.App
import com.topjohnwu.magisk.core.GeneralReceiver
import com.topjohnwu.magisk.core.SplashActivity
@ -21,3 +22,5 @@ class h : GeneralReceiver()
class j : DownloadService()
class m : SuRequestActivity()
class r : ProcessPhoenix()

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#00AF9C</color>
<color name="dark">#00796B</color>
<color name="light">#e0e0e0</color>
<color name="su_request_background">#e0e0e0</color>
<color name="colorOverlay">#0D000000</color>
</resources>

View File

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="SplashThemeBase" parent="android:Theme.DeviceDefault.NoActionBar">
<item name="android:windowBackground">@drawable/ic_splash_activity</item>
</style>
<style name="SplashThemeBase.V19" parent="SplashThemeBase">
<item name="android:windowTranslucentStatus" tools:targetApi="19">true</item>
<item name="android:windowTranslucentNavigation" tools:targetApi="19">true</item>
</style>
<style name="SplashTheme" parent="SplashThemeBase" />
@ -52,4 +61,4 @@
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
</resources>

View File

@ -12,13 +12,9 @@
android:installLocation="internalOnly"
android:usesCleartextTraffic="true"
android:supportsRtl="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
tools:ignore="UnusedAttribute">
<activity
android:name="a.r"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:process=":remote" />
<provider
android:name="a.p"
android:authorities="${applicationId}.provider"

View File

@ -1,6 +0,0 @@
package a;
import com.topjohnwu.magisk.ProcessPhoenix;
public class r extends ProcessPhoenix {
}

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#00AF9C</color>
<color name="dark">#00796B</color>
<color name="light">#e0e0e0</color>
</resources>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="SplashThemeBase" parent="android:Theme.DeviceDefault.NoActionBar">
<item name="android:windowBackground">@drawable/ic_splash_activity</item>
</style>
<style name="SplashThemeBase.V19" parent="SplashThemeBase">
<item name="android:windowTranslucentStatus" tools:targetApi="19">true</item>
<item name="android:windowTranslucentNavigation" tools:targetApi="19">true</item>
</style>
<style name="SplashTheme" parent="android:Theme.Translucent.NoTitleBar" />
</resources>