Notices



Android 13 can let developers disable app previews shown in the multitaskin

AVN News Feed

Post New ThreadReply
 
Thread Tools
  #1  
Old 04-16-2022, 07:32 AM
phillynewsnow's Avatar
phillynewsnow phillynewsnow is offline   Thread Starter  
Site Moderator - Staff

 
Join Date: October 11th, 2009
Posts: 4,640
Thanks: 0
Thanked 668 Times in 568 Posts
Downloads: 0
Uploads: 0


View phillynewsnow's Profile   Edit Options Edit Profile Picture View phillynewsnow's Photo Album Add phillynewsnow's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Android 13 can let developers disable app previews shown in the multitaskin

Android 13 can let developers disable app previews shown in the multitasking menu



On Android, developers can prevent apps from being screenshotted by setting FLAG_SECURE. This has the intended side effect of also preventing app previews from being shown in the multitasking menu, as those previews are essentially screenshots of the app in their last used state. Banking apps and DRM-protected apps such as Netflix will typically make use of this protected flag, but it’s the only way to prevent that preview from being shown. Now it seems Android 13 will let developers disable those image previews only, while still allowing screenshots to be taken by the user.

As spotted by Esper, Android 13 introduces the setRecentsScreenshotEnabled API. There are a few reasons why a developer may wish to employ this feature. The most important of which I can imagine is when handling sensitive data that it trusts the user to decide if it’s safe to screenshot it or not. Currently, FLAG_SECURE is typically used to protect apps displaying copywritten content from having their contents captured, and it has the side effect of not allowing for app previews to be shown in the multitasking menu.

Let’s say you need to send a screenshot of a bank transfer to someone. The developer of your banking app has a choice to either set FLAG_SECURE, or to make use of the new setRecentsScreenshotEnabled API to disable screenshots of the app showing in the multitasking preview. If you want to send a screenshot of that transfer, you can’t do it while FLAG_SECURE is enabled. However, users may not want their bank’s sensitive details to be shown in the multi-tasking menu — sensitive details such as their bank balance or recent transfers. The introduction of this API solves exactly that problem.

It’s certainly a solution to a niche problem, but I’m sure there are other situations that are similar in circumstance. Developers using FLAG_SECURE to hide app previews in the recents menu was definitely a workaround that wasn’t really intended for that use, and it’s good to see Google giving developers a choice in how they hide those app previews.

Source: Esper


The post Android 13 can let developers disable app previews shown in the multitasking menu appeared first on xda-developers.



More...
Reply With Quote
Post New ThreadReply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[NEWS] How to disable Android Auto and keep it off phillynewsnow AVN News Feed 0 02-03-2023 02:22 AM
Here's how Google plans to improve the Play Store for app developers phillynewsnow AVN News Feed 0 11-02-2022 05:46 PM
Firebase App Distribution helps developers test their apps before launch phillynewsnow AVN News Feed 0 05-11-2022 05:01 PM
Android 13 will help developers test their apps with slower internet connec phillynewsnow Random Community Topics 0 03-24-2022 12:44 PM
[NEWS] Apple Changes App Store Review Process: Developers Cheer phillynewsnow Random Community Topics 0 11-12-2009 05:44 PM


All times are GMT -5. The time now is 11:32 AM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top