File tree Expand file tree Collapse file tree
android/app/src/main/java/me/kavishdevar/librepods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ class MainActivity : ComponentActivity() {
223223fun Main () {
224224 val context = LocalContext .current
225225 val sharedPreferences = context.getSharedPreferences(" settings" , MODE_PRIVATE )
226- if (! isSupported(sharedPreferences)) {
226+ if (! isSupported(sharedPreferences) && ! XposedState .bluetoothScopeEnabled ) {
227227 val showDialog = remember { mutableStateOf(false ) }
228228 val showPlayBypassVisible = remember { mutableStateOf(false ) }
229229 val hazeState = rememberHazeState()
@@ -323,10 +323,10 @@ fun Main() {
323323 } else {
324324 sharedPreferences.edit {
325325 putBoolean(" bypass_device_check.v2" , true )
326- val intent = Intent (context, MainActivity ::class .java)
327- intent.addFlags(Intent .FLAG_ACTIVITY_NEW_TASK or Intent .FLAG_ACTIVITY_CLEAR_TASK )
328- context.startActivity(intent)
329326 }
327+ val intent = Intent (context, MainActivity ::class .java)
328+ intent.addFlags(Intent .FLAG_ACTIVITY_NEW_TASK or Intent .FLAG_ACTIVITY_CLEAR_TASK )
329+ context.startActivity(intent)
330330 }
331331 },
332332 onDismiss = {
You can’t perform that action at this time.
0 commit comments