File tree Expand file tree Collapse file tree
src/main/java/me/kavishdevar/librepods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ android {
3030 applicationId = " me.kavishdevar.librepods"
3131 minSdk = 33
3232 targetSdk = 37
33- versionCode = 36
33+ versionCode = 37
3434 versionName = versionName
3535 }
3636 buildTypes {
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ fun Main() {
310310 showPlayBypassVisible.value = true
311311 } else {
312312 sharedPreferences.edit {
313- putBoolean(" bypass_device_check" , true )
313+ putBoolean(" bypass_device_check.v2 " , true )
314314 val intent = Intent (context, MainActivity ::class .java)
315315 intent.addFlags(Intent .FLAG_ACTIVITY_NEW_TASK or Intent .FLAG_ACTIVITY_CLEAR_TASK )
316316 context.startActivity(intent)
@@ -333,7 +333,7 @@ fun Main() {
333333 onConfirm = {
334334 showPlayBypassVisible.value = false
335335 sharedPreferences.edit {
336- putBoolean(" bypass_device_check" , true )
336+ putBoolean(" bypass_device_check.v2 " , true )
337337 val intent = Intent (context, MainActivity ::class .java)
338338 intent.addFlags(Intent .FLAG_ACTIVITY_NEW_TASK or Intent .FLAG_ACTIVITY_CLEAR_TASK )
339339 context.startActivity(intent)
Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ fun isSupported(sharedPreferences: SharedPreferences): Boolean {
3838 } else if (isOppoOrOnePlus) {
3939 return Build .VERSION .SDK_INT >= 36
4040 }
41- return sharedPreferences.getBoolean(" bypass_device_check" , false )
41+ return sharedPreferences.getBoolean(" bypass_device_check.v2 " , false )
4242}
You can’t perform that action at this time.
0 commit comments