|
|
|
|
|
by iamcalledrob
976 days ago
|
|
Hopefully a relatively easy fix on the OS side: ensure that these toasts have a higher z-index than app overlay windows. Sidenote: I really hope Android doesn't lose the ability to do things like these overlay windows. These types of "power user" features are often where innovation happens. It makes me sad when flexible general purpose APIs are replaced with locked down, specific ones. (e.g. overlay windows API -> a specific "chat heads" API). The new APIs might be fine for current use cases, but ensure that innovation terminates at whatever th OS vendor designed. |
|
The point of the system overlay permission is to draw on top of everything else. Maybe Android should introduce some kind of overlay overlay overlay to overlay clipboard messages, but I think that would probably overcomplicate the API.
Perhaps it's better to instead send a notification when an application rendering a system overlay accesses the clipboard as well. That way, users closing out of the app can see that the application has accessed the clipboard.
Of course sufficiently privileged applications can dismiss notifications, but that requires even more difficult to attain permissions.