574790 Commits

Author SHA1 Message Date
Hongwei Wang
c32b547d01 Migrate PiP logs to UiEvent
Per go/uievent, migrated PiP logs to UiEvent and also in this change
- Deprecates counterpart proto definitions in metrics_constants
- Record PiP logs from SysUI only, deprecates what's used to be in WM

Changes to the actual logging
- No longer logs the actual aspect ratio
- Disables logging the change of aspect ratio since there are flood of
  events can trigger this
- Splits menu visibility log to SHOW_MENU and HIDE_MENU
- Splits removal of PiP to TAP_TO_REMOVE and DRAG_TO_REMOVE
- No longer logs supportsEnterPipOnTaskSwitch
- Adds new RESIZE logging

Bug: 147508020
Test: $ANDROID_HOST_OUT/bin/statsd_testdrive -terse 90
Change-Id: I805d16ae6f30c07270b743f7ae1e66cbbd121131
2020-08-04 14:07:25 -07:00
TreeHugger Robot
06acdfe7aa Merge "Controls UI - Do not throttle drag events" 2020-08-04 20:32:11 +00:00
Hai Zhang
959e172e4d Merge "Fix AppOpsServiceTest flakiness." 2020-08-04 20:08:01 +00:00
Liz Kammer
ee8fa8c730 Merge "Remove create_stubs: false from droiddoc" am: a17375d057 am: 717f08295c am: 8b509e1e0c am: f3f6c4cabd am: 8fb23ab5e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386551

Change-Id: I9234f58a1c1b62405008ee341699977957d376f4
2020-08-04 20:02:31 +00:00
TreeHugger Robot
a9a2427565 Merge "Delete useless log." 2020-08-04 19:58:51 +00:00
Liz Kammer
8fb23ab5e2 Merge "Remove create_stubs: false from droiddoc" am: a17375d057 am: 717f08295c am: 8b509e1e0c am: f3f6c4cabd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386551

Change-Id: I638a65fbb8644c03488995409061732b6d676f81
2020-08-04 19:45:59 +00:00
Liz Kammer
f3f6c4cabd Merge "Remove create_stubs: false from droiddoc" am: a17375d057 am: 717f08295c am: 8b509e1e0c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386551

Change-Id: I117da08146d8c9072b6657733decb8385a31eace
2020-08-04 19:32:25 +00:00
Liz Kammer
8b509e1e0c Merge "Remove create_stubs: false from droiddoc" am: a17375d057 am: 717f08295c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386551

Change-Id: I83603132cf428137542310d7841fa919aea1983d
2020-08-04 19:14:46 +00:00
Liz Kammer
717f08295c Merge "Remove create_stubs: false from droiddoc" am: a17375d057
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386551

Change-Id: If0e28fbf52653dd310fbea9dfea564afab49eee3
2020-08-04 18:58:22 +00:00
Treehugger Robot
57e23c08b4 [automerger skipped] Merge "Update Visualizer implementation after changes in AudioEffect" am: 229720aee5 am: e1cb5a9a4a -s ours am: d5c197da6b -s ours am: 4844bf711d -s ours am: f834ebc0fb -s ours
am skip reason: Change-Id I90ac6e4fe0a1229758a98a63a3b7810de60469be with SHA-1 88441891a5 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386887

Change-Id: I8614023134b60424da1bb88525731ac18379cd60
2020-08-04 18:57:58 +00:00
Matt Pietal
05ed2ceec9 Controls UI - Do not throttle drag events
For range controls, many users will want to swipe multiple times in
order to set the desired level. Currently, if the user swipes twice in
fast succession, only the first set point will be sent. Do not block
these swipe events from being sent to the corresponding service.

Fixes: 162850998
Test: manual swipes on range controls
Change-Id: Ib3be25bd362b411b9cd089d49edec7747820d0e7
2020-08-04 14:57:13 -04:00
Treehugger Robot
f834ebc0fb [automerger skipped] Merge "Update Visualizer implementation after changes in AudioEffect" am: 229720aee5 am: e1cb5a9a4a -s ours am: d5c197da6b -s ours am: 4844bf711d -s ours
am skip reason: Change-Id I90ac6e4fe0a1229758a98a63a3b7810de60469be with SHA-1 88441891a5 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386887

Change-Id: I7b10835f2326a3cd6201ea9cbf0d823379607223
2020-08-04 18:37:03 +00:00
Liz Kammer
a17375d057 Merge "Remove create_stubs: false from droiddoc" 2020-08-04 18:35:43 +00:00
Treehugger Robot
4844bf711d [automerger skipped] Merge "Update Visualizer implementation after changes in AudioEffect" am: 229720aee5 am: e1cb5a9a4a -s ours am: d5c197da6b -s ours
am skip reason: Change-Id I90ac6e4fe0a1229758a98a63a3b7810de60469be with SHA-1 88441891a5 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386887

Change-Id: I292751d530b7a1301f7f596c6ff55cbc2237b77e
2020-08-04 18:20:20 +00:00
Fabian Kozynski
58bc5a73e1 Merge "Guard against NPE" into rvc-qpr-dev am: cc514fd00d am: 5e6bdc42ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202983

Change-Id: I972d7383e34a1e15d680f7078fe58cce45e07d26
2020-08-04 18:10:17 +00:00
Fabian Kozynski
60dc3a344a Merge "Introduce a CustomIconCache for editing favorites" 2020-08-04 18:04:19 +00:00
Treehugger Robot
d5c197da6b [automerger skipped] Merge "Update Visualizer implementation after changes in AudioEffect" am: 229720aee5 am: e1cb5a9a4a -s ours
am skip reason: Change-Id I90ac6e4fe0a1229758a98a63a3b7810de60469be with SHA-1 88441891a5 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386887

Change-Id: Ie96391c26cdd4dd345f6c04294ae952ce5019539
2020-08-04 18:01:08 +00:00
Fabian Kozynski
5e6bdc42ee Merge "Guard against NPE" into rvc-qpr-dev am: cc514fd00d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202983

Change-Id: Iaeddc252f3242f89b93f9a540261787df2a937e4
2020-08-04 17:52:45 +00:00
Treehugger Robot
e1cb5a9a4a Merge "Update Visualizer implementation after changes in AudioEffect" am: 229720aee5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386887

Change-Id: I43f1869f494448f09c1ae50ae1cc621eb56039b6
2020-08-04 17:45:32 +00:00
TreeHugger Robot
5aaec978e6 Merge "Setup crystalball and add more perf tests" 2020-08-04 17:37:12 +00:00
Fabian Kozynski
cc514fd00d Merge "Guard against NPE" into rvc-qpr-dev 2020-08-04 17:33:47 +00:00
Treehugger Robot
229720aee5 Merge "Update Visualizer implementation after changes in AudioEffect" 2020-08-04 17:25:30 +00:00
Colin Cross
b2a510764a Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70 am: 1ed9a7feb1 am: 0150043553
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: Ic5b811f1f4dea41d2d27185e5d4d48918453165f
2020-08-04 17:23:37 +00:00
Colin Cross
0150043553 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70 am: 1ed9a7feb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I1131ba3020d37490abc1154c6d40035e0bd094b9
2020-08-04 17:15:49 +00:00
Colin Cross
465577a7bd Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: 1689f9b01d am: 0a56479eb7 am: e855dffa81
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I90ae07591b694bea85998f097fca799cb2036935
2020-08-04 17:14:39 +00:00
Colin Cross
c342d14bcc Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70 am: 1b7afbefc8 am: b2557eefcf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I140c96fc16652ead2271cc2bd4f0de624f2448bc
2020-08-04 17:14:23 +00:00
Colin Cross
e855dffa81 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: 1689f9b01d am: 0a56479eb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I9181e8398bb1ba42a305224584376588ad0eeb96
2020-08-04 17:04:28 +00:00
Colin Cross
b2557eefcf Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70 am: 1b7afbefc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I871e340a24f3c45df4c1dbacc9600ca44e846fe5
2020-08-04 17:04:13 +00:00
Colin Cross
0a56479eb7 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: 1689f9b01d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I5e77ad2c9b4962c6ef29351dc72844ebe2babec8
2020-08-04 16:57:08 +00:00
Colin Cross
1ed9a7feb1 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: Ic24765977f54fa9c4cb2974ea149c3f899fa4c3c
2020-08-04 16:57:07 +00:00
TreeHugger Robot
22e36b1ac0 [automerger skipped] Merge "Remove "Blacklist" nomenclature from USB services classes." into rvc-dev-plus-aosp am: 2764ffc44d am: 0fa6dd8470 am: d2034fcad1 -s ours
am skip reason: Change-Id I4b3affce57ba61ad9697e91f2a5f63556ee1cd62 with SHA-1 028ffa470b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12296481

Change-Id: Ib53482db3bc5392132ed5824b8a7a600151079cb
2020-08-04 16:56:13 +00:00
Colin Cross
1b7afbefc8 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb am: a5498a5d70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I569c927cb5ae9ddca418f56979459f4667fbb933
2020-08-04 16:55:43 +00:00
Colin Cross
1689f9b01d Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I336f04d7d13ab2687d148138c67ca210243e70df
2020-08-04 16:46:19 +00:00
Colin Cross
a5498a5d70 Merge "Use -target 8 for android_uiautomator" into rvc-dev am: 48666a1abb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12297232

Change-Id: I241b4c142fb46364b85066948fa65ee6f9d5b25f
2020-08-04 16:46:11 +00:00
TreeHugger Robot
d2034fcad1 Merge "Remove "Blacklist" nomenclature from USB services classes." into rvc-dev-plus-aosp am: 2764ffc44d am: 0fa6dd8470
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12296481

Change-Id: Ife07d9608311ef5b8864e40d4441d9259aed06d8
2020-08-04 16:39:20 +00:00
Colin Cross
48666a1abb Merge "Use -target 8 for android_uiautomator" into rvc-dev 2020-08-04 16:30:51 +00:00
Fabian Kozynski
8f659543fa Introduce a CustomIconCache for editing favorites
The cache will store custom icons for the current component and will
clear whenever the current component changes (as only the current
component can be edited).

Test: manual
Test: atest com.android.systemui.controls
Bug: 161440353
Change-Id: I8ac2e1ee983ad8ab714f050edaa8981a2307beca
2020-08-04 12:24:09 -04:00
TreeHugger Robot
0fa6dd8470 Merge "Remove "Blacklist" nomenclature from USB services classes." into rvc-dev-plus-aosp am: 2764ffc44d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12296481

Change-Id: I54bd912d55e02d4c1affba9cdd3d6bc91d6583f5
2020-08-04 16:16:01 +00:00
Jin Seok Park
679825e9ea Merge "[Media ML] Remove hidden API usage in SystemServer" 2020-08-04 16:04:13 +00:00
TreeHugger Robot
2764ffc44d Merge "Remove "Blacklist" nomenclature from USB services classes." into rvc-dev-plus-aosp 2020-08-04 16:03:21 +00:00
TreeHugger Robot
10f5c2273e [automerger skipped] Merge "Update Visualizer implementation after changes in AudioEffect" into rvc-dev-plus-aosp am: 3de6e81eb7 am: 72479c775f am: 602c3fa036 -s ours
am skip reason: Change-Id I90ac6e4fe0a1229758a98a63a3b7810de60469be with SHA-1 12223f0edc is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12298175

Change-Id: Ic5bbfdaf878e882051b1339516528eda77aa4d09
2020-08-04 15:57:01 +00:00
Jonathan Nieder
379015cff0 Merge "Fix typo "thew" -> "threw" in AndroidTestRunner" am: 0b778939c7 am: 3f1247e91b am: 7d95615a4d am: 5f1edaf743 am: 3371e64939
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/177320

Change-Id: Iefaae30f9fc6ba781058e7592fd4f893f22bdc2e
2020-08-04 15:56:39 +00:00
Josh Tsuji
f1a3ed26c5 Merge "Remember the stack position, including across configuration changes." into rvc-qpr-dev am: 9020ed08e1 am: 2325a9361e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254380

Change-Id: If8dd12720681c9d095d534aaee8392fc0a4986ec
2020-08-04 15:55:53 +00:00
TreeHugger Robot
602c3fa036 Merge "Update Visualizer implementation after changes in AudioEffect" into rvc-dev-plus-aosp am: 3de6e81eb7 am: 72479c775f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12298175

Change-Id: I899d7cbf820eb9db87246b01cdcf3d4260e69b16
2020-08-04 15:47:41 +00:00
Jonathan Nieder
3371e64939 Merge "Fix typo "thew" -> "threw" in AndroidTestRunner" am: 0b778939c7 am: 3f1247e91b am: 7d95615a4d am: 5f1edaf743
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/177320

Change-Id: I0f37cccc928a99de4ccad9e36210997662f2b2e5
2020-08-04 15:47:11 +00:00
Josh Tsuji
2325a9361e Merge "Remember the stack position, including across configuration changes." into rvc-qpr-dev am: 9020ed08e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254380

Change-Id: I904330889de1da23b2d44c0a948b51e6d454fd76
2020-08-04 15:37:37 +00:00
TreeHugger Robot
72479c775f Merge "Update Visualizer implementation after changes in AudioEffect" into rvc-dev-plus-aosp am: 3de6e81eb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12298175

Change-Id: Ide91fb1a65b56e1f2260fdeb03cd62389fcded66
2020-08-04 15:27:47 +00:00
Jonathan Nieder
5f1edaf743 Merge "Fix typo "thew" -> "threw" in AndroidTestRunner" am: 0b778939c7 am: 3f1247e91b am: 7d95615a4d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/177320

Change-Id: I1426f2320901cd1c98ecd288d97f9e9e267d66c1
2020-08-04 15:27:11 +00:00
Josh Tsuji
9020ed08e1 Merge "Remember the stack position, including across configuration changes." into rvc-qpr-dev 2020-08-04 15:17:30 +00:00
Joanne Chung
37277508e4 Delete useless log.
Bug: 154961272
Test: n/a
Change-Id: I94d99ca37797fbd0a38de5ac6ee8d9b59c3c670c
2020-08-04 23:17:12 +08:00