diff options
author | Billy Lau <billylau@google.com> | 2015-07-15 22:29:19 +0100 |
---|---|---|
committer | Billy Lau <billylau@google.com> | 2015-07-16 00:34:26 +0100 |
commit | 060275ffc7fbfc72b19871f7dd7aefb61a81a1fc (patch) | |
tree | 35f650b9f697e74d3cee72a127287172ffdb7372 /docs/html/sdk/api_diff/19/changes | |
parent | 22b3f4cb15207239e203d5ec8b72ec6bc90fef35 (diff) |
Bug: 21589105 Rescoping SYSTEM_ALERT_WINDOW...
AppOpsManager:
Changed the default mode for SYSTEM_ALERT_WINDOW to MODE_DEFAULT instead of
MODE_ALLOWED. Otherwise, an app that did not declare for this permission will
actually be allowed to perform OP_SYSTEM_ALERT_WINDOW, which is undesirable.
This change also allows callers to make their own decision based on the
current policy (M vs pre-M apps).
policy/PhoneWindowManager:
Added additional checks that will handle MODE_DEFAULT - this happens when an app
is newly installed but not yet configured.
wm/WindowManagerService:
Enriched some checks to include the treatment of MODE_DEFAULT - this will allow
pre-M apps uninterupted capability to draw on top of other apps.
Change-Id: I8de77730e158c97587427820cfba721bd5607bea
Diffstat (limited to 'docs/html/sdk/api_diff/19/changes')
0 files changed, 0 insertions, 0 deletions