diff options
author | Hui Yu <huiyu@google.com> | 2020-04-10 14:18:51 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-04-15 22:06:12 -0700 |
commit | 48032682297d848754ded3b157044bbc4e22db71 (patch) | |
tree | 7a708dcee8b4b6b761bace7cd89c2c17598439e5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4d7fb0b4c24d1e3be98b824497edc207498a0a81 (diff) |
Move noteAppWidgetTapped call into AppWidgetHostView.
RemoteViews is public API used out of scope of widget. The correct place
to call noteAppWidgetTapped is in AppWidgetHostView.
Fix: 153676411
Test: manual test, tap a widget, "adb shell dumpsys usagestats | grep
USER_INTERACTION" to oberserve USER_INTERACTION event sent to UsageStas, "adb shell dumpsys appops | grep appWidgetVisible" to observer appWidgetVisible flag.
Change-Id: Ic473211b91fd952dbb81b09b1e1568d6f69a0dd8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions