File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/paranoid/privacylock/util Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ android {
1313 applicationId = " com.paranoid.privacylock"
1414 minSdk = 28
1515 targetSdk = 35
16- versionCode = 6
17- versionName = " v1.1.4 "
16+ versionCode = 7
17+ versionName = " v1.1.5 "
1818 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
1919 }
2020
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ fun enableLockdown(context: Context) {
1313 if (! devicePolicyManager.isAdminActive(componentName)) {
1414 val intent = Intent (DevicePolicyManager .ACTION_ADD_DEVICE_ADMIN )
1515 intent.putExtra(DevicePolicyManager .EXTRA_DEVICE_ADMIN , componentName)
16+ intent.addFlags(Intent .FLAG_ACTIVITY_NEW_TASK )
1617 context.startActivity(intent)
1718 return
1819 }
You can’t perform that action at this time.
0 commit comments