From 61de63a5180e954bd197345f49c3b619c94466a7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 8 Nov 2019 02:15:30 -0500 Subject: [PATCH] Cleanup manifest --- app/src/main/AndroidManifest.xml | 17 ++++------------- .../topjohnwu/magisk/ui/flash/FlashActivity.kt | 6 ++++-- shared/src/main/AndroidManifest.xml | 6 ++++-- stub/src/main/AndroidManifest.xml | 17 ++++------------- 4 files changed, 16 insertions(+), 30 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7a536d0f7..3ed9ea51d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,14 +13,12 @@ android:name="a.e" android:appComponentFactory="a.a" android:allowBackup="true" - android:usesCleartextTraffic="true" tools:ignore="UnusedAttribute,GoogleAppIndexingWarning" tools:replace="android:appComponentFactory"> @@ -29,16 +27,10 @@ - + - + @@ -70,9 +63,7 @@ - + () } override fun onCreate(savedInstanceState: Bundle?) { + requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR super.onCreate(savedInstanceState) val id = intent.getIntExtra(Const.Key.DISMISS_ID, -1) if (id != -1) - NotificationManagerCompat.from(this).cancel(id) + Notifications.mgr.cancel(id) } override fun onBackPressed() { diff --git a/shared/src/main/AndroidManifest.xml b/shared/src/main/AndroidManifest.xml index bcec9546e..2b313fbaa 100644 --- a/shared/src/main/AndroidManifest.xml +++ b/shared/src/main/AndroidManifest.xml @@ -1,4 +1,5 @@ @@ -7,10 +8,11 @@ + tools:ignore="UnusedAttribute"> @@ -30,21 +28,16 @@ - + - + @@ -67,9 +60,7 @@ - +