diff options
author | mincheli <mincheli@google.com> | 2021-05-03 08:30:02 +0800 |
---|---|---|
committer | mincheli <mincheli@google.com> | 2021-05-04 17:10:22 +0800 |
commit | 1b2cf756a700626a263e00270cde8443a8db8098 (patch) | |
tree | 55161652c2d3dbd803e1ed84992239d8c2a9713b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3ed02ffeb1663f92e4d727a912ce4456ba7cdaaf (diff) |
Uses windowContext for the MagnificationGestureHandler
ContextImpl checks the incorrect Context usage in S.
If non-ui context access window service, it would throw an
IllegalAccessException.
And the bug happened because the GestureDectectors in
PanningScalingHandler.class don't have the correct context.
So we have to apply using uiContext for the GestureDectectors
and MagnificationGestureHandler.
Bug: 185154435
Test: none
Change-Id: I942192011526d0e4ce68e6121855bd321c499f56
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions