Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
61de63a5
Commit
61de63a5
authored
Nov 08, 2019
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup manifest
parent
d952cc23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
30 deletions
+16
-30
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+4
-13
FlashActivity.kt
.../main/java/com/topjohnwu/magisk/ui/flash/FlashActivity.kt
+4
-2
AndroidManifest.xml
shared/src/main/AndroidManifest.xml
+4
-2
AndroidManifest.xml
stub/src/main/AndroidManifest.xml
+4
-13
No files found.
app/src/main/AndroidManifest.xml
View file @
61de63a5
...
...
@@ -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"
>
<!-- Splash -->
<activity
android:name=
"a.c"
android:configChanges=
"orientation|screenSize"
android:theme=
"@style/SplashTheme"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
@@ -29,16 +27,10 @@
</activity>
<!-- Main -->
<activity
android:name=
"a.b"
android:configChanges=
"orientation|screenSize"
android:exported=
"true"
/>
<activity
android:name=
"a.b"
/>
<!-- Flashing -->
<activity
android:name=
"a.f"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:screenOrientation=
"nosensor"
/>
<activity
android:name=
"a.f"
/>
<!-- Superuser -->
<activity
...
...
@@ -46,6 +38,7 @@
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"
/>
...
...
@@ -70,9 +63,7 @@
</receiver>
<!-- DownloadService -->
<service
android:name=
"a.j"
android:exported=
"false"
/>
<service
android:name=
"a.j"
/>
<!-- Hardcode GMS version -->
<meta-data
...
...
app/src/main/java/com/topjohnwu/magisk/ui/flash/FlashActivity.kt
View file @
61de63a5
...
...
@@ -2,9 +2,9 @@ package com.topjohnwu.magisk.ui.flash
import
android.content.Context
import
android.content.Intent
import
android.content.pm.ActivityInfo
import
android.net.Uri
import
android.os.Bundle
import
androidx.core.app.NotificationManagerCompat
import
androidx.core.net.toUri
import
com.topjohnwu.magisk.Const
import
com.topjohnwu.magisk.R
...
...
@@ -16,6 +16,7 @@ import com.topjohnwu.magisk.model.events.BackPressEvent
import
com.topjohnwu.magisk.model.events.PermissionEvent
import
com.topjohnwu.magisk.model.events.SnackbarEvent
import
com.topjohnwu.magisk.model.events.ViewEvent
import
com.topjohnwu.magisk.view.Notifications
import
org.koin.androidx.viewmodel.ext.android.viewModel
import
org.koin.core.parameter.parametersOf
import
java.io.File
...
...
@@ -32,10 +33,11 @@ open class FlashActivity : BaseActivity<FlashViewModel, ActivityFlashBinding>()
}
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
)
Notification
ManagerCompat
.
from
(
this
)
.
cancel
(
id
)
Notification
s
.
mgr
.
cancel
(
id
)
}
override
fun
onBackPressed
()
{
...
...
shared/src/main/AndroidManifest.xml
View file @
61de63a5
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
package=
"com.topjohnwu.shared"
>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
...
...
@@ -7,10 +8,11 @@
<application
android:icon=
"@drawable/ic_launcher"
android:installLocation=
"internalOnly"
android:label=
"Magisk Manager"
android:installLocation=
"internalOnly"
android:usesCleartextTraffic=
"true"
android:supportsRtl=
"true"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar
"
>
tools:ignore=
"UnusedAttribute
"
>
<activity
android:name=
"a.r"
...
...
stub/src/main/AndroidManifest.xml
View file @
61de63a5
...
...
@@ -13,14 +13,12 @@
android:name=
"a.e"
android:appComponentFactory=
"a.a"
android:allowBackup=
"true"
android:usesCleartextTraffic=
"true"
tools:ignore=
"UnusedAttribute,GoogleAppIndexingWarning"
>
<!-- Download Activity -->
<activity
android:name=
"a.c"
android:configChanges=
"orientation|screenSize"
android:theme=
"@style/SplashTheme"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
@@ -30,21 +28,16 @@
<!-- Magisk Manager Components -->
<activity
android:name=
"a.b"
android:configChanges=
"orientation|screenSize"
android:exported=
"true"
/>
<activity
android:name=
"a.b"
/>
<activity
android:name=
"a.f"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:screenOrientation=
"nosensor"
/>
<activity
android:name=
"a.f"
/>
<activity
android:name=
"a.m"
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"
/>
...
...
@@ -67,9 +60,7 @@
</intent-filter>
</receiver>
<service
android:name=
"a.j"
android:exported=
"false"
/>
<service
android:name=
"a.j"
/>
<meta-data
android:name=
"com.google.android.gms.version"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment