Allow for Battery Optimization failing on some platforms

This commit is contained in:
Brian Quinion 2019-08-21 17:45:31 +01:00
parent 450a25c3b8
commit d0335e56fa

View file

@ -226,7 +226,7 @@ public class SetupWizardActivity extends NoSplashAppCompatActivity {
}
@Override
public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == AndroidPermission.CASE_BATTERY)
updateButtons();