7

Android 13's prepping a new option for apps trying to keep it on the down-low

 2 years ago
source link: https://www.androidpolice.com/android-13-recents-system-screenshot-prevention/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Android 13's prepping a new option for apps trying to keep it on the down-low

By Will Sattelberg

Published 7 hours ago

Devs can stop their app from appearing on full display in the Recents menu

We're still eagerly awaiting the first Android 13 beta to arrive this month, but that doesn't mean there aren't plenty of new details worth diving into. Esper.io's Mishaal Rahman returned yesterday with a new deep dive into all the nooks and crannies of the next major Android release, and while it's primarily developer-focused, there are a couple of interesting points that may impact how you use your smartphone.

One of the most intriguing API additions to Android 13 is a tool to give developers better control over how their apps work with the Recents menu on your phone. Right now, Android essentially creates a screenshot for every application in its current state as you swipe up to the app switcher page. It's different from a screenshot you'd capture yourself, effectively showing off the current state of each open app on your device.

Devs can now disable the system from grabbing a screenshot of their app for use in the recents overview. Similar to FLAG_SECURE, but doesn't affect user-initiated screenshots or the Assistant.https://t.co/rgxoA9QGhV

— Mishaal Rahman (@MishaalRahman) April 14, 2022

With the setRecentsScreenshotEnabled API, developers gain more control over how their software appears on your phone. When set to "False," it'll prevent the system from creating a previewable screenshot for Recents. Obviously, apps like social networks or email providers don't usually require this level of protection, but any service with confidential data — bank apps, for example — might opt to take advantage of this option.

Rahman notes this is different from the FLAG_SECURE window flag, which prevents all screenshots regardless of how they're captured. You'll still be able to screenshot these apps using shortcuts on your device, though don't be surprised if these tools go hand-in-hand for some apps.

About The Author
614b5a576d027-will_sattleberg.jpeg?fit=crop&w=100&h=100

Will Sattelberg (957 Articles Published)

Will has been an Android enthusiast since he got his first smartphone in 2011. He loves watching movies, has a never-ending backlog of video games, and produces podcasts in his spare time. He lives in Buffalo, NY and is willing to give you chicken wing recommendations at any time. Just ask.

More From Will Sattelberg


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK