Last year, reports emerged that Android 12 will bring some noticeable changes to Android users. One of the changes includes the ability to use other app stores without stress. Of course, we expect Google to also take the safety of the app stores into consideration. And now, in an official blog post, the search giant has confirmed that it’s “delivering on [its] promise to make third-party app stores easier to use on Android 12.” Digging in the developer documentation, XDA found what changes are being made.

Android 12

It turns out that the company has updated Android’s PackageInstaller.SessionParams class with a new method called setRequireUserAction. The latter shows whether or not user action should be required before an app install is allowed.

Before installing an app, you have to grant the install unknown apps permission. And when you want to update an app installed from a source other than Google Play, you have to manually tap “update” on this prompt.

But now, you don’t have to implement any action if the app install/update meets the following conditions:

  • The installer opts into the new behavior.
  • The app that’s being installed targets API level 29 (Android 10) or higher.
  • The installer is either updating itself or installing an update to an app it first installed.
  • The installer declares the UPDATE_PACKAGES_WITHOUT_USER_ACTION permission.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Captcha verification failed!
CAPTCHA user score failed. Please contact us!