From 48b2ff89dcbf4ea3c53b05149f4b590d11ff78ab Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Mon, 16 Oct 2023 21:08:37 -0400 Subject: [PATCH 1/2] Remove useless TODOs --- app/src/main/java/net/typeblog/shelter/util/Utility.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/net/typeblog/shelter/util/Utility.java b/app/src/main/java/net/typeblog/shelter/util/Utility.java index d3e3eca..a42c439 100644 --- a/app/src/main/java/net/typeblog/shelter/util/Utility.java +++ b/app/src/main/java/net/typeblog/shelter/util/Utility.java @@ -189,7 +189,6 @@ public class Utility { DevicePolicyManager.FLAG_MANAGED_CAN_ACCESS_PARENT); // Allow ACTION_SEND and ACTION_SEND_MULTIPLE to cross from managed to parent - // TODO: Make this configurable IntentFilter actionSendFilter = new IntentFilter(); actionSendFilter.addAction(Intent.ACTION_SEND); actionSendFilter.addAction(Intent.ACTION_SEND_MULTIPLE); @@ -205,7 +204,6 @@ public class Utility { DevicePolicyManager.FLAG_PARENT_CAN_ACCESS_MANAGED); // Browser intents are allowed from work profile to parent - // TODO: Make this configurable, just as ALLOW_PARENT_PROFILE_APP_LINKING in the next function IntentFilter browsableIntentFilter = new IntentFilter(Intent.ACTION_VIEW); browsableIntentFilter.addCategory(Intent.CATEGORY_BROWSABLE); browsableIntentFilter.addDataScheme("http"); @@ -244,8 +242,6 @@ public class Utility { manager.setSecureSetting(adminComponent, Settings.Secure.INSTALL_NON_MARKET_APPS, "1"); } - // TODO: This should be configured by the user, instead of being enforced each time Shelter starts - // TODO: But we should also have some default restrictions that are set the first time Shelter starts manager.addUserRestriction(adminComponent, UserManager.ALLOW_PARENT_PROFILE_APP_LINKING); } From 58b0ccefa6fb35320c291d78ab348c82646ab2a5 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Mon, 16 Oct 2023 21:42:37 -0400 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5192358..d6458e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Updated targetSDK to 34 (Android 14) with compatibility fixes. - More reliable delayed freezing using AlarmManager (thanks parmaster84). +- Support for cross-profile interactions allowlisting (e.g. for Gboard). 1.8 ===