Skip to content

Instantly share code, notes, and snippets.

@hdani9307
Created March 26, 2019 21:16
Show Gist options
  • Save hdani9307/50483a7349b2ecf645767a5c5746f239 to your computer and use it in GitHub Desktop.
Save hdani9307/50483a7349b2ecf645767a5c5746f239 to your computer and use it in GitHub Desktop.
/* renamed from: f */
public void m6309f() {
if (VERSION.SDK_INT >= 23) {
GlobalApp.m5981b();
if (GlobalApp.m5984d(this.f5603e)) {
if (C1390a.m6238a(this.f5603e, "android.permission.ACCESS_FINE_LOCATION")) {
startActivity(new Intent(this.f5603e, WIFIListActivity.class));
return;
}
if (C1390a.m6239a((Fragment) this, "android.permission.WRITE_EXTERNAL_STORAGE")) {
m6302a(2, this.f5603e.getResources().getString(C0749R.string.need_acces_fine_location));
return;
}
requestPermissions(new String[]{"android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"}, 10);
return;
}
m6302a(1, this.f5603e.getResources().getString(C0749R.string.open_wifi_Permission));
return;
}
startActivity(new Intent(this.f5603e, WIFIListActivity.class));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment