Google Photos won't ask you for permission to delete files on Android 12

Pixel phones never had this issue.

Raise your hand if you've seen the annoying pop-up on the main image asking you to give Google Photos permission to delete the file. seen this popup.Many.In fact, you'll see this popup every time you try to delete a photo in the Google Photos app.Fortunately, unwanted screenshot backups aren't the only problem Android 12 can solve for Google Photos users.New Documentation for developers suggests that an upcoming OS release will allow gallery apps like Photos to modify files without having to constantly prompt the user.

The reason why Google Photos (and other gallery apps) on Android 11 ask users for permission to delete a file is complicated, but it basically boils down to the fact that they are not a system gallery app. Well, this is not the case with Pixel phones where the Photos app is a system gallery app, so Pixel users never see this popup. But on most devices from Samsung, Xiaomi, OnePlus, ASUS and others, Google Photos is not (and cannot be set as) a system gallery app. Fortunately, in Android 12 this is no longer necessary.

Along with the release of the first Android 12 beta at Google I/O 2021, Google has updated its Feature & API Overview page with a Media Control Access section. »According to Google, an app targeting API level 31 (Android 12) can ask users for permission to modify files, move files to and from the trash, or delete files without having to ask the user for every file operation. After updating the Android app 12 all it needs to do to take advantage of this new feature is declare three permissions ( MANAGE_MEDIA , READ_EXTERNAL_STORAGE , and ACCESS_MEDIA_LOCATION ), show the user a UI that explains why the app needs media management access, and direct the user to the new "Media Control Apps" screen on Android 12 to give it permission.

Read also: Disney+ to debut in India via Hotstar

Google Фото не будет запрашивать у вас разрешение на удаление файлов на Android 12

Sounds simple, right? However, since this is a completely new API, most gallery apps have not yet been updated to take advantage of it. Yes, this means that the Google Photos app will also need to be updated to use it. Right now, few users are using the beta version of Android 12, and most of them are probably using Pixel phones anyway, where there is not even a problem, so there probably won't be much pressure on Google to update the Photos app right away. Hopefully they release the update before Android 12 will begin rolling out to the first batch of non-Pixel phones in a few months.

Thanks to Twitter user @Doraeigaah for the tip!