AuroraApplication: Limit hidden API exemptions to required ones
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -55,11 +55,8 @@ class AuroraApplication : Application(), Configuration.Provider {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
// TODO: Only exempt required APIs
|
||||
// Required for Shizuku installer
|
||||
if (isPAndAbove()) {
|
||||
HiddenApiBypass.addHiddenApiExemptions("")
|
||||
}
|
||||
if (isPAndAbove()) HiddenApiBypass.addHiddenApiExemptions("I", "L")
|
||||
|
||||
// Initialize DownloadWorker to observe and trigger downloads
|
||||
downloadWorkerUtil.init()
|
||||
|
||||
Reference in New Issue
Block a user