mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Request IGNORE_BATTERY_OPTIMIZATIONS on boot
This commit is contained in:
parent
34e67d396f
commit
a82b0cd74d
@ -25,6 +25,7 @@ class NavigationViewModel extends IndexTrackingViewModel {
|
||||
}
|
||||
RootAPI().hasRootPermissions();
|
||||
Permission.requestInstallPackages.request();
|
||||
Permission.ignoreBatteryOptimizations.request();
|
||||
}
|
||||
|
||||
Widget getViewForIndex(int index) {
|
||||
|
Loading…
Reference in New Issue
Block a user