commit | 48032682297d848754ded3b157044bbc4e22db71 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Fri Apr 10 14:18:51 2020 -0700 |
committer | Hui Yu <huiyu@google.com> | Wed Apr 15 22:06:12 2020 -0700 |
tree | 7a708dcee8b4b6b761bace7cd89c2c17598439e5 | |
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