Commit Graph

487551 Commits

Author SHA1 Message Date
Evan Laird
c2bae89e36 Cache Display.Mode so we can ignore refresh rate changes
DisplayCutoutView calls #update() when `onDisplayChanged` is called, but
if that were to be called _only_ because the refresh rate changes, then
we redraw the displaycutoutview (with no meaningful changes) and this
causes the display to change refresh rate again, starting the loop over.

Fixes: 155155363
Test: manual
Change-Id: Ic885cf24a9f4cc45970a3388653789abb3f592bb
2020-07-01 20:33:27 -04:00
Antoan Angelov
2e53c54ab9 Merge "Also skip calling ShortcutManager APIs if work user is locked" into rvc-dev am: 625ada924d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034926

Change-Id: Icd5e64ff7e9495862edaa1c9548bbff7320d7831
2020-06-29 16:47:11 +00:00
Ameer Armaly
cb9a6388e8 Merge changes from topic "rollback" into rvc-dev am: 724bc71208
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12004859

Change-Id: Ia0c2d7fb694b552414218dbfca09d53187f786e6
2020-06-29 16:46:40 +00:00
Ameer Armaly
049beecf55 [DO NOT MERGE] Fix NPE from uninitialized object. am: b8544eab9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12004859

Change-Id: Ibafe29acd1f8fe6d00ebddf52bc3a454b02eff4c
2020-06-29 16:46:36 +00:00
Antoan Angelov
625ada924d Merge "Also skip calling ShortcutManager APIs if work user is locked" into rvc-dev 2020-06-29 16:32:25 +00:00
Ameer Armaly
724bc71208 Merge changes from topic "rollback" into rvc-dev
* changes:
  [DO NOT MERGE] Fix NPE from uninitialized object.
  [DO NOT MERGE] TouchExplorer: do not use accessibility action to long click.
2020-06-29 16:32:02 +00:00
Issei Suzuki
76c535aa76 Merge "Batch updating visibility in TaskDisplayArea" into rvc-dev am: ca6da34ac6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12025988

Change-Id: I72532c823ca917570d3f6bbca4323b1c213f351d
2020-06-29 16:26:57 +00:00
Issei Suzuki
ca6da34ac6 Merge "Batch updating visibility in TaskDisplayArea" into rvc-dev 2020-06-29 16:16:01 +00:00
TreeHugger Robot
098e00c136 [automerger skipped] Merge "Tests no screenshot is copied when user consent timed out" into qt-qpr1-dev am: caef6680b2 -s ours am: f615871c45 -s ours
am skip reason: Change-Id I5bc8fcbff908258a20c5515a6ba092ceab1cc447 with SHA-1 9516a007c5 is in history

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

Change-Id: Ic34356706b303ee23da9ef3a07c6a9776966abbb
2020-06-29 16:09:12 +00:00
TreeHugger Robot
f615871c45 [automerger skipped] Merge "Tests no screenshot is copied when user consent timed out" into qt-qpr1-dev am: caef6680b2 -s ours
am skip reason: Change-Id I5bc8fcbff908258a20c5515a6ba092ceab1cc447 with SHA-1 9516a007c5 is in history

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

Change-Id: I01724d3de2dd2a62daeb5c7a7bc9e7a907d6f04d
2020-06-29 15:53:52 +00:00
TreeHugger Robot
caef6680b2 Merge "Tests no screenshot is copied when user consent timed out" into qt-qpr1-dev 2020-06-29 15:39:47 +00:00
TreeHugger Robot
e54728c407 Merge "Force garbage collection after credential verification" into rvc-dev am: 612d9e85e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000923

Change-Id: Iaf1d09bfdfb2d591e3ff2e62170aea1549bef965
2020-06-29 15:00:30 +00:00
TreeHugger Robot
612d9e85e6 Merge "Force garbage collection after credential verification" into rvc-dev 2020-06-29 14:49:00 +00:00
arangelov
0769484c9a Also skip calling ShortcutManager APIs if work user is locked
Fixes: 159696895
Test: manual
Test: atest ChooserActivityTest
Change-Id: I3e90d5a56551b9952bfcd761c3a19a309d7cbc72
2020-06-29 14:27:29 +00:00
Issei Suzuki
7563f05e57 Batch updating visibility in TaskDisplayArea
The lockscreen state could be updated too early while ensuring pinned
stack visibilities, so sleep token was applied and made the activities
to STOPPED state.

Test: manual
Bug: 159623845
Change-Id: I62d72b93cd529b5a3c3fb22292d888ff0038179f
2020-06-29 15:14:30 +02:00
Selim Cinek
e3a958a448 Fixed an issue where scrolling didn't work anymore after going to landscape am: f629b618a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12013417

Change-Id: I1fde69af4f466178c605fe54cf3ab06b32332224
2020-06-29 07:44:59 +00:00
Selim Cinek
64af0bf958 Merge "Fix RTL text in TransitionLayout" into rvc-dev am: 2b33bad9c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12018133

Change-Id: Iac410547e780a0440144727a75ba938026914806
2020-06-29 07:44:44 +00:00
TreeHugger Robot
a957158cc7 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 64aef342c9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0d1eac28fa062ca0460d9913d7b8094816fa9a55
2020-06-29 07:43:54 +00:00
Selim Cinek
f629b618a4 Fixed an issue where scrolling didn't work anymore after going to landscape
Because of the way linearlayout measures and because we never invalidated
our measure cache, the measuring of the view would be skipped, leading
to issues. We're now forcing the measurement to be invalidated
when changing the measuredState.

Fixes: 159719742
Test: use crosshatch, go to expanded qs, have 2 players. Rotate back and forth. Observe normal scrolling
Change-Id: I32fc904f884b1032d173c4811576cdb5818bad22
2020-06-29 07:40:51 +00:00
Selim Cinek
2b33bad9c2 Merge "Fix RTL text in TransitionLayout" into rvc-dev 2020-06-29 07:39:06 +00:00
TreeHugger Robot
64aef342c9 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-29 07:26:24 +00:00
Selim Cinek
3544556cad Merge "Vertically center app icon with app name" into rvc-dev am: 46986caa19
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12013470

Change-Id: I7036e19029da48f3aad7ad5af8c854d3c984f8c0
2020-06-29 04:03:02 +00:00
Selim Cinek
46986caa19 Merge "Vertically center app icon with app name" into rvc-dev 2020-06-29 03:44:01 +00:00
Bill Yi
ce440897c0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Idb5d33bb934acc0c34581d8e1c1ea0494ab1a394
2020-06-28 16:05:18 -07:00
TreeHugger Robot
1cfde11022 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 8d737ec862 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia3eae5444b1ad4aa3534b88b8d69acd305580880
2020-06-28 06:03:25 +00:00
TreeHugger Robot
8d737ec862 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-28 05:54:32 +00:00
TreeHugger Robot
2b757435b9 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: f8315ae79d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7deb4eb07c77e7ab6acce4e44d170567a6aa38a0
2020-06-28 05:13:27 +00:00
TreeHugger Robot
f8315ae79d Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-28 05:03:24 +00:00
Bill Yi
fd4782c8b5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I306bab96d2c2ca577811f86cd99593b5f2e6a29f
2020-06-27 21:47:09 -07:00
Bill Yi
28388e497d Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4c474ffbf11d387872cff1a2868deba7ee1c6d15
2020-06-27 19:58:49 -07:00
Bill Yi
558bbb9f8a [automerger skipped] Import translations. DO NOT MERGE am: d6c5d047f0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic981155bca2cce8f732bce02dd67d9221a93f40b
2020-06-28 01:28:23 +00:00
Bill Yi
d6c5d047f0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I88405d20ed83d7c04e5784b88c72bb173ce31ef3
2020-06-27 14:08:18 -07:00
Jeff DeCew
4636fbc163 Fix RTL text in TransitionLayout
Fixes: 159656380
Test: manual - video attached to bug
Change-Id: Ic676c69f3bd5072900563947efc3656a5b22ce70
2020-06-27 14:36:04 -04:00
TreeHugger Robot
588dae0862 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-27 17:54:20 +00:00
TreeHugger Robot
ef99fbd9ce Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-27 17:53:44 +00:00
Sudheer Shanka
d16e46f2a8 Merge "Update commit/lease failure reasons for atoms logging." into rvc-dev am: 6452044f56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11997537

Change-Id: Ic22979bb98f77cb98f3631c8dd15147df19fe9e4
2020-06-27 10:22:33 +00:00
Sudheer Shanka
6452044f56 Merge "Update commit/lease failure reasons for atoms logging." into rvc-dev 2020-06-27 10:13:19 +00:00
TreeHugger Robot
b96c0189d6 Merge "Ignore resize request when exiting PiP" into rvc-dev am: 65c66bde19
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12004845

Change-Id: I3283b3d9bd4913fa59da9e1d33a2156c0c9f1430
2020-06-27 06:41:32 +00:00
TreeHugger Robot
65c66bde19 Merge "Ignore resize request when exiting PiP" into rvc-dev 2020-06-27 06:25:13 +00:00
TreeHugger Robot
18eebd70b4 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-27 05:56:08 +00:00
TreeHugger Robot
20a8e80cca Merge "Update visibility when attached" into rvc-dev am: 1262dc842f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12010097

Change-Id: I147e61cc57e99b4627240dc3f2501899fa8339df
2020-06-27 05:48:25 +00:00
Bill Yi
9e07b231ac Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Idf2011965867139c3de560ae9543d696ebf1932f
2020-06-26 22:38:47 -07:00
TreeHugger Robot
1262dc842f Merge "Update visibility when attached" into rvc-dev 2020-06-27 05:32:23 +00:00
TreeHugger Robot
2b51d50eb8 Merge "Chaser for ag/11973247 to wrap content" into rvc-dev am: 337e0afeff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000285

Change-Id: I41161830b7f709e4d66ea9ff6c0009fc3d7d0453
2020-06-27 05:20:40 +00:00
TreeHugger Robot
337e0afeff Merge "Chaser for ag/11973247 to wrap content" into rvc-dev 2020-06-27 05:16:07 +00:00
Bill Yi
0dbe03bf58 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Icc113df3e24dbfb0c2e40cbc699459d339b57b20
2020-06-26 22:11:27 -07:00
TreeHugger Robot
8de8d8b869 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 5645abf709 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iadf1e3384ae53af785d3b817b7e313140dfc62ec
2020-06-27 05:10:34 +00:00
TreeHugger Robot
99856e9faf Merge "Skip updating flags for a permission that's not requested." into rvc-dev am: 9711070706
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000450

Change-Id: Icc24b24a3f880cd8401f022bc37e0093514db1c6
2020-06-27 05:09:55 +00:00
TreeHugger Robot
e991fc8f93 Merge "Fix NPE in NotificationRemoteInputManager logging" into rvc-dev am: cc40644676
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12013471

Change-Id: I0c030e4248c670c6abb4c30d1e2896db43ac0894
2020-06-27 05:09:45 +00:00
TreeHugger Robot
d142961f48 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 90b58db3d7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I569daab15883c9582dfbef3eb8d743401281caef
2020-06-27 05:09:13 +00:00