diff options
author | shawnlin <shawnlin@google.com> | 2019-04-17 20:09:45 +0800 |
---|---|---|
committer | shawnlin <shawnlin@google.com> | 2019-04-17 20:09:45 +0800 |
commit | 27716724ce37b95e6fb741feeaeb526a6f5c55e7 (patch) | |
tree | 4d40180701a38fb4bea30720c41aa36937e6cfdb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1d4854055ed290c0d00a9972f31c0f7cfb5e0cb4 (diff) |
Fixed notification background shifted in landscape
Using getLocationInWindow() will cause an extra distance(from 0 to the
left of the NotificationStackScrollLayout) to the left
bound of the background.
Remove getLocationInWindow() to fix it.
Fixes: 130502182
Test: manual - swipe an notification in landscape
Change-Id: I8f12a71a6820df1a1e26d954d5af95eededfb685
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions