|
Thread Tools |
#1
|
||||
|
||||
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... |
|
|
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 |
Layout Options | Width:
Fixed
Contact Us -
SPJ Bulletin -
Archive -
Privacy Statement -
Terms of Service -
Top
| |