Android O feature spotlight: Downloads of system updates can now be paused
Android O feature spotlight: The settings search now shows installed apps, results now have subtext
[Update: O DP2 broke notification channels] Android O feature spotlight: Android tells you if an app is displaying a screen overlay
Android O feature spotlight: The proximity sensor can turn off ambient display
Android O feature spotlight: Dev options has new "Window animation scale" and "Force RTL layout direction" quick settings tiles
- View All 67 Articles In This Series
Being able to run apps that draw on top of other apps is a powerful feature of Android. Apps like Twilight take advantage of that to add a filter to the display, but other apps just show a floating UI element. However, this can also be a security concern. Android O offers a handy alert when an app is showing an overlay with a link to turn it off.
Whenever you start an app with an active screen overlay, Android O generates a notification that tells you "[App] displaying on top." This notification is collapsed into a single line, but you can expand it for more detail. There's also a button to turn it off. Tap that, and the overlay goes away. This button actually disables the "draw over other apps" permission, which all apps are granted by default. You can turn it back on later if you want.
This is a good security feature as it's possible for apps to fool you with overlays. They could hijack your presses or display fake buttons, or they might just prevent you from using the device correctly. One caveat here—the overlay notification can't be dismissed. It's produced by the Android system, so blocking it isn't a good idea. You'll have to put up with this extra line whenever you are using an overlay app.
It turns out you can hide the notifications for overlays on a per-app basis. The Android system uses notification channels, so just turn off the notifications for apps you use and trust.
Android O Dev Preview 2 disabled the ability to toggle the categories in Android System's notification channels. We hope that it's a bug and not a deliberate lockdown, but it's possible that they decided to disable tweaking the system app's channels for security reasons.