OSDN Git Service

Make magnification ignore invisible wallpaper.
authorPhil Weaver <pweaver@google.com>
Sat, 1 Oct 2016 01:11:39 +0000 (18:11 -0700)
committerPhil Weaver <pweaver@google.com>
Sat, 1 Oct 2016 01:11:39 +0000 (18:11 -0700)
commit473af05b8216755c2ef086e57f728480db87d9c2
tree88bef89bbd766cc8f6c3a6844de95310db1d8f88
parentd0e0aea316b2a72ab862e380966d95e4388e559c
Make magnification ignore invisible wallpaper.

Magnification was assuming that all windows for which
isOnScreen() returned true were visible, but that is not
true for at least wallpapers that have been made invisible.
Adding a check for visibility in addition to on screen.

Bug: 7215285
Change-Id: Iadea37c9eec981f1d68c5a42959debb58cbab264
services/core/java/com/android/server/wm/AccessibilityController.java