If your app targets API level 30 or above and you wish to ask the user to disable permission auto-reset, then you’ll need to use the new cross-platform API that’s part of the Jetpack Core library - .getUnusedAppRestrictionsStatus() and .createManageUnusedAppRestrictionsIntent(). If required, the app developer can also ask the user to disable the auto-reset permission feature. The feature will not apply to Device Administrator apps, and permissions fixed by enterprise policies will also not be revoked. For apps targeting API levels 23 to 29, users will have to enable it manually from settings. The newsworthy bit for today’s announcement is that the feature begins rolling out next month, January 2022.įrom previous announcements, we know that the feature will be enabled by default for apps targeting Android 11 (API level 30) or higher. At the time of the announcement, Google mentioned that the feature will start rolling out to Android 6.0 and above devices that have Google Play Services installed in December 2021. Byhonored it is meant that the device implementer MUST provide an Android Activity or Service that specifies a matching intent filter that binds to and implements correct behavior for each specified intent pattern. On the Apps interface, from the available apps list, tap to select the target Video. Device implementations MUST honor Android’s loose-coupling intent system, as described in the sections below. Bringing auto-reset permissions to older OS versionsĪ few months ago, Google had announced that it will be bringing Android 11’s permission auto-reset feature to all devices running Android 6.0 and above. Step 1: Modify Your build.prop File First up, open your favorite root-enabled file browser with text editing capabilities, then navigate to the root partition of your device, which is the highest folder you can get to in the folder tree. Once the Settings window appears, under the DEVICE section, tap Apps.