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() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
|
|
||||||
// TODO: Only exempt required APIs
|
|
||||||
// Required for Shizuku installer
|
// Required for Shizuku installer
|
||||||
if (isPAndAbove()) {
|
if (isPAndAbove()) HiddenApiBypass.addHiddenApiExemptions("I", "L")
|
||||||
HiddenApiBypass.addHiddenApiExemptions("")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Initialize DownloadWorker to observe and trigger downloads
|
// Initialize DownloadWorker to observe and trigger downloads
|
||||||
downloadWorkerUtil.init()
|
downloadWorkerUtil.init()
|
||||||
|
|||||||
Reference in New Issue
Block a user