Commit Graph

642747 Commits

Author SHA1 Message Date
Miranda Kephart
41dc2e769e Merge "Update screenshot dismiss gesture physics" into sc-dev am: 24658c8bdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14700117

Change-Id: I184352e988f0aeae9e1f40a3b8684ea89b890df5
2021-05-26 14:17:04 +00:00
Miranda Kephart
24658c8bdf Merge "Update screenshot dismiss gesture physics" into sc-dev 2021-05-26 14:02:17 +00:00
Orion Hodson
5f6eaa16ea Merge "Use updated NetworkEventDispatcher API" into sc-dev am: 2869d5a8c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722570

Change-Id: I670fda7d3c0260fd5806dd09a99f079bcca980a0
2021-05-26 13:55:19 +00:00
Orion Hodson
2869d5a8c8 Merge "Use updated NetworkEventDispatcher API" into sc-dev 2021-05-26 13:34:07 +00:00
TreeHugger Robot
2d3ed68374 Merge "Setting NumPadAnimator only if background is RippleDrawable" into sc-dev am: 05ebc56867
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14709458

Change-Id: I604f70d8ad90f9d13833a23cbd36f246e3aa5b01
2021-05-26 13:09:56 +00:00
TreeHugger Robot
05ebc56867 Merge "Setting NumPadAnimator only if background is RippleDrawable" into sc-dev 2021-05-26 13:07:03 +00:00
Riddle Hsu
4cd92235b9 Merge "Reduce invocation of surface placement of switching activities" into sc-dev am: 63a50896d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14661879

Change-Id: Ic71c047cf2d0e7e5fa19794ae955d6580bd538dd
2021-05-26 13:02:27 +00:00
Nathalie Le Clair
23bb1bdc0d Merge "Fix OneTouchPlayActionTest failure on playback devices" into sc-dev am: 76546d37b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14663327

Change-Id: Icbb624c0c2d8a8413c6c5353968aac062c780c13
2021-05-26 13:01:43 +00:00
Riddle Hsu
63a50896d8 Merge "Reduce invocation of surface placement of switching activities" into sc-dev 2021-05-26 12:47:08 +00:00
Nathalie Le Clair
76546d37b9 Merge "Fix OneTouchPlayActionTest failure on playback devices" into sc-dev 2021-05-26 12:42:19 +00:00
Nathalie Le Clair
d9be028d41 Fix OneTouchPlayActionTest failure on playback devices
Playback devices have HdmiProperties.cec_device_types() set to 'playback' and as a consequence, initializing HdmiControlService will automatically initialize a local playback device. This local playback device interferes with the playback device that is added in tests. Concretely, in the failing test the <Report Power Status> messages was being fed to the local playback device, instead of the test one.

To resolve this, HdmiControlService is initialized with empty local
devices, practically ignoring HdmiProperties.cec_device_types().
This will also avoid interference with other local devices while running these unit tests on f.e. a TV panel device.

Also, isActiveSource() doesn't guarantee that oneTouchPlay() was executed, since the active source might have been set in a different method. We should additionally check if the correct CEC messages were sent.

Bug: 187909454
Test: atest OneTouchPlayActionTest on cuttlefish and ADT3
Change-Id: I4599a240fa8a32f47a23c1f183d41e0d280152c3
2021-05-26 12:39:20 +00:00
Riddle Hsu
5495bffd23 Reduce invocation of surface placement of switching activities
This skips to perform surface placement immediately when starting
activity and reporting activity paused. Because the window of
next resuming activity should also do it by relayout.

These skip cases are relatively safe because before the transition
is ready, the visual appearance should keep the same even if without
running surface placement.

One of obvious benefit is to reduce lock contention from the systemui
when handling starting window (add window/relayout/finish drawn).

Bug: 188398125
Bug: 183665220
Bug: 187104264
Test: CtsWindowManagerDeviceTestCases

Change-Id: Ice5a47a64178cbd00ce27625a60eded2b699e9cf
2021-05-26 18:50:34 +08:00
Victor Chang
b8ce3b2611 Merge "Refactor ddm ChunkHandler utility methods from libcore to framework" into sc-dev am: ad227b1cab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14724571

Change-Id: Ib436417f26b05ac2814ba5740c8ab849cf4de03b
2021-05-26 09:22:51 +00:00
Victor Chang
ad227b1cab Merge "Refactor ddm ChunkHandler utility methods from libcore to framework" into sc-dev 2021-05-26 08:27:06 +00:00
Paul Duffin
1928b6c266 Merge "Move conscrypt related hidden API flag file contents" into sc-dev am: d8f06220eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14717823

Change-Id: I5dd7810d31e288e77ef142731c3688ce6639a588
2021-05-26 08:07:36 +00:00
Paul Duffin
d8f06220eb Merge "Move conscrypt related hidden API flag file contents" into sc-dev 2021-05-26 08:01:54 +00:00
Shan Huang
4fa456a08d Merge "Avoid playing the charging ripple on reboot." into sc-dev am: 7b8e968a14
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14715991

Change-Id: I279c8e9c73e2fab822136203c33fe67244b2b6c7
2021-05-26 07:59:25 +00:00
Shan Huang
7b8e968a14 Merge "Avoid playing the charging ripple on reboot." into sc-dev 2021-05-26 07:41:03 +00:00
Anton Hansson
a19d274877 Merge "Add some warnings and notes about framework's jarjar rules" into sc-dev am: c886320500
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703099

Change-Id: Ia5068d27c1d5bf6158053ca327b14b4227effd7d
2021-05-26 07:36:15 +00:00
Anton Hansson
c886320500 Merge "Add some warnings and notes about framework's jarjar rules" into sc-dev 2021-05-26 07:30:23 +00:00
Jason Chiu
b0b56e6ef7 Merge "[Injection] Stop using the component icon as a fallback option" into sc-dev am: 361ab7e1e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14672880

Change-Id: I0940a3297dcee4dc298ea03a295f78c809e03982
2021-05-26 07:20:45 +00:00
Wesley Wang
40ea43306f Merge "Add uId into AppInfo page launch variable" into sc-dev am: 437d755e4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14660740

Change-Id: I7a2e42bfd4d937dcd677e19addd37c6e5cd0fff8
2021-05-26 07:20:12 +00:00
Jason Chiu
361ab7e1e8 Merge "[Injection] Stop using the component icon as a fallback option" into sc-dev 2021-05-26 07:11:05 +00:00
Wesley Wang
437d755e4e Merge "Add uId into AppInfo page launch variable" into sc-dev 2021-05-26 06:59:13 +00:00
Joanne Chung
c9a1329a73 Merge "Added documentation for TResponseValue bundle on how to use and example structure." into sc-dev am: ba76d446ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14669189

Change-Id: I3f405fa834ce18a1de9dda3e5f957cd884216268
2021-05-26 06:33:49 +00:00
Joanne Chung
ba76d446ee Merge "Added documentation for TResponseValue bundle on how to use and example structure." into sc-dev 2021-05-26 06:18:49 +00:00
Winson Chung
8037fa5d1e Merge "Increase size of the back/ime switcher buttons in gesture nav" into sc-dev am: 68839f4bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14491497

Change-Id: Ic44e22983cc4687d38cdf6e2e9dca200d3222b89
2021-05-26 05:29:36 +00:00
Winson Chung
2e3bf28efa Fix issue with updating canAffectSystemUiFlags when swiping up with PIP am: 608b5a2691
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14674393

Change-Id: I8e986c8cf74f337689f3d6007c9fb89fa3413065
2021-05-26 05:29:29 +00:00
Winson Chung
68839f4bbb Merge "Increase size of the back/ime switcher buttons in gesture nav" into sc-dev 2021-05-26 05:10:12 +00:00
Winson Chung
608b5a2691 Fix issue with updating canAffectSystemUiFlags when swiping up with PIP
- The previous change reverted to resetting the flag when cleaning
  up the task, so we can remove the other path to reset the flag
- The original intent was to reset the flag when entering PIP, so
  it should be in the likelyResolvedMode == WINDOWING_MODE_PINNED
  block and not the currentMode == WINDOWING_MODE_PINNED block

Bug: 184703546
Test: Verify when entering PIP that we set canAffectSysUiFlags=false
      on transferring the leash, and then back to true when it enters
      PIP
Change-Id: I4c3ef81b6cecde14117a4d75ae1423456ff65f6a
2021-05-26 05:08:59 +00:00
TreeHugger Robot
dff4fd556b Merge "Clean up logging" into sc-dev am: 6074ebc1d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14719496

Change-Id: Ie47a25316dee9b2a9bbab72e761dae693bfa71ad
2021-05-26 04:10:56 +00:00
TreeHugger Robot
c093be0765 Merge "Apply new style for SwitchPreference" into sc-dev am: acbeea2b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14100407

Change-Id: I22f8ac6065bc57b6389c6a08821c25a1c3321042
2021-05-26 04:09:28 +00:00
TreeHugger Robot
6074ebc1d1 Merge "Clean up logging" into sc-dev 2021-05-26 03:51:17 +00:00
TreeHugger Robot
acbeea2b9c Merge "Apply new style for SwitchPreference" into sc-dev 2021-05-26 03:36:54 +00:00
Jeff DeCew
14d716269e Merge "Fix Notification view transformations in RTL" into sc-dev am: 37781305bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722830

Change-Id: Ia7396d1f075bf24d185a1ddf4a5647fa4f4cb8f1
2021-05-26 02:42:16 +00:00
Jeff DeCew
37781305bd Merge "Fix Notification view transformations in RTL" into sc-dev 2021-05-26 02:30:13 +00:00
Kevin Chyn
5c8c0e4c8f Merge "Add AIDL constants to framework constants" into sc-dev am: 90135f22d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14719309

Change-Id: I1b998f3f8706077025c27e4794b21a3e7db561c7
2021-05-26 02:20:25 +00:00
Santiago Etchebehere
d7b4065564 Merge "Use the colors from the last wallpaper applied" into sc-dev am: 4fe3d7ecaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14723740

Change-Id: I651ed4e5338669a852ba78a646647c1a480d0d31
2021-05-26 02:20:15 +00:00
Kevin Chyn
90135f22d9 Merge "Add AIDL constants to framework constants" into sc-dev 2021-05-26 02:17:53 +00:00
Santiago Etchebehere
4fe3d7ecaf Merge "Use the colors from the last wallpaper applied" into sc-dev 2021-05-26 02:14:19 +00:00
Wei Sheng Shih
6805730be1 Merge "Fix setApplicationNightMode crash due to permission denial." into sc-dev am: d42b8e2c73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14702762

Change-Id: If69e153e70ece1a8cd3f72551e90cce056d4c47e
2021-05-26 02:05:05 +00:00
Lyn Han
e0ad9e1ade Merge "Limit notification scroll up to status bar" into sc-dev am: 79e39e8e77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14426423

Change-Id: Ief074e980d43bd9cce4747177662b95bdb8dbc14
2021-05-26 02:04:52 +00:00
Ryan Lin
14de2df07e Merge "Fix WindowMagnificationControllerTest flaky" into sc-dev am: 98c0d3c80b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703472

Change-Id: Ifdbfc624f70aa575c5fbcf641578cc994fd0925d
2021-05-26 02:04:07 +00:00
Wei Sheng Shih
d42b8e2c73 Merge "Fix setApplicationNightMode crash due to permission denial." into sc-dev 2021-05-26 01:56:30 +00:00
Lyn Han
79e39e8e77 Merge "Limit notification scroll up to status bar" into sc-dev 2021-05-26 01:53:30 +00:00
Ryan Lin
98c0d3c80b Merge "Fix WindowMagnificationControllerTest flaky" into sc-dev 2021-05-26 01:46:33 +00:00
Shan Huang
67298a5d08 Avoid playing the charging ripple on reboot.
Test: Manual, atest WiredChargingRippleControllerTest
Bug: 188242065
Change-Id: Ie5cba5203a7b0c19f9610db0e16012e8bef83585
2021-05-26 09:40:03 +08:00
Ahaan Ugale
ab5c58b56d Merge "Manual overwrite @removed for genereated builder apis." into sc-dev am: c449e23d4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722632

Change-Id: I3e83169d1915cd98ce88572619ee0b9d23b8f11c
2021-05-26 01:08:11 +00:00
TreeHugger Robot
90bec5afe3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 90cd3f09f4 -s ours am: 9ffb5abea6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id1ed40dfc51487134af986b6d2db47e007dbea89
2021-05-26 01:08:02 +00:00
Ahaan Ugale
c449e23d4d Merge "Manual overwrite @removed for genereated builder apis." into sc-dev 2021-05-26 01:01:43 +00:00