Commit Graph

542466 Commits

Author SHA1 Message Date
TreeHugger Robot
c57d55b7b0 Merge "Pass updatable driver path to native GPU service." into rvc-dev 2020-06-19 14:24:30 +00:00
Fabian Kozynski
f79032ccbc [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb am: 3dae1b2850 -s ours am: 6c887e4789 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I24b5ca5ac8353bf795d052a329c4c0fe771143cd
2020-06-19 14:24:06 +00:00
Automerger Merge Worker
07e1fa2712 Merge "[automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours am: da19b9929d -s ours am: 22f44db300 -s ours" into rvc-qpr-dev-plus-aosp 2020-06-19 14:23:34 +00:00
Fabian Kozynski
b2c2559c8d [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours am: da19b9929d -s ours am: 3b76ea2894 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I4112cc1cb3330fb3ba0cf3332e9dcceb5aacc8ea
2020-06-19 14:23:25 +00:00
Fabian Kozynski
6443ee711e [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours am: da19b9929d -s ours am: 22f44db300 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: Ie1c6cca45d5a69576e09a38dd0733a0b1291e510
2020-06-19 14:23:21 +00:00
Jorim Jaggi
d6b31c540b Merge changes Ia7d9514e,I3e9e4f47 into rvc-dev am: 5cc486b1a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11920861

Change-Id: I9eeb9eedaa866bc7d9f15e9f75bbf01ab4a17fd4
2020-06-19 14:19:01 +00:00
Jorim Jaggi
f3dfb52c65 Merge changes Ia7d9514e,I3e9e4f47 into rvc-dev am: 5cc486b1a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11920861

Change-Id: Ib95a002e8574feddc6bd8348ebcd060d186c2d74
2020-06-19 14:18:42 +00:00
TreeHugger Robot
de83ae1424 Merge "Revert "Only promote remote animator to top sched group during animation"" into rvc-dev am: e8e3bf523a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11891200

Change-Id: I73a74ae6c18b499a29c0ba81fed793f0e32bdb77
2020-06-19 14:18:25 +00:00
TreeHugger Robot
b1520db129 Merge "Revert "Only promote remote animator to top sched group during animation"" into rvc-dev am: e8e3bf523a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11891200

Change-Id: Iacbfbf3effa6ff9c1f94dc83eeb98b672a6dc747
2020-06-19 14:18:06 +00:00
Fabian Kozynski
3b76ea2894 [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours am: da19b9929d -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: Icde08c3ad535269081bdf1b03213a2e7d861ba01
2020-06-19 14:09:24 +00:00
Fabian Kozynski
6c887e4789 [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb am: 3dae1b2850 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: Ifbc28ce2ba4361ffb43adcd2d73af7f48d17b6db
2020-06-19 14:09:23 +00:00
Fabian Kozynski
22f44db300 [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours am: da19b9929d -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I7188ea31596475626e6056b361b8ccbecd6de455
2020-06-19 14:08:54 +00:00
Yara Hassan
be678673b3 Catch RemoteExceptions in DataShareCallbackDelegate
Catch the RemoteExceptions thrown in DataShareCallback's accept() and
reject() methods, as throwing an exception could result in the
ContentCaptureService crashing.

Bug: 159213080
Fixes: 159213080
Test: ran cts tests
Change-Id: I4ce8f15c835fba665a0657c7b3ed898f4e091b19
2020-06-19 15:01:45 +01:00
Govinda Wasserman
f5a95509d5 Generify arguments to AssistLogger
This allows the logger to be used for any type of event, not just the
AOSP defined ones.

Test: Tested locally
BUG: 147508374
Change-Id: Ibcd64912e048f9f997764f0c24e8c85f72c74fd1
2020-06-19 09:59:39 -04:00
Jorim Jaggi
5cc486b1a1 Merge changes Ia7d9514e,I3e9e4f47 into rvc-dev
* changes:
  Yearly Window Manager spring cleaning #2
  Yearly Window Manager spring cleaning #1
2020-06-19 13:58:45 +00:00
TreeHugger Robot
e8e3bf523a Merge "Revert "Only promote remote animator to top sched group during animation"" into rvc-dev 2020-06-19 13:56:46 +00:00
Kyunglyul Hyun
c036350122 System routes are not automatically exposed
From this CL, even for system routes (phone speaker, bt routes),
features are required to get notified of events on routes or to
get them as "available" routes.

By adding this, apps can disable cast -> phone feature.

Bug: 159090706
Test: cts test && atest mediaroutertest && manually
using support v7 demos such that
  with LIVE_AUDIO : nothing changed
  w/o LIVE_AUDIO : cast -> phone feature is disabled
  unregistering callback : cast -> cast (media transfer) and
                           phone -> phone is only enabled <- this is
                           the expected behavior for apps that updates
                           AndroidX library

Change-Id: I4bd27eb1d4776b9cedb59b10e1bac5868d56d305
2020-06-19 22:54:59 +09:00
Fabian Kozynski
3dae1b2850 Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11866449

Change-Id: I3b9fbd2a3accc965ee7e7dce8e38595c79bc79ba
2020-06-19 13:47:46 +00:00
Fabian Kozynski
da19b9929d [automerger skipped] Merge "Add multi-user support for AutoTileManager" into rvc-dev am: d73e5df1eb -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I84e300826e6885184e5e30f75361d686adab812c
2020-06-19 13:47:14 +00:00
Fabian Kozynski
d73e5df1eb Merge "Add multi-user support for AutoTileManager" into rvc-dev 2020-06-19 13:36:54 +00:00
Nikolas Havrikov
7771e6ebf5 Ensure mShowDialogs gets updated as part of global config update
The "App keeps crashing" dialog appears on Android TV even
though it should not. This would usually be accounted for
by setting mShowDialogs to false in the ActivityTaskManagerService
on boot. However, this does not happen because the service uses a
method of the ActivityTaskManager which pulls its configuration
from the context, which at this point is not yet updated to reflect
relevant values like the uiMode.

This change solves this problem by introducing an internal method
in the ActivityTaskManager, which acts on a given configuration
instead of the one from the context. This is helpful because the
caller ActivityTaskManagerService is holding on to the correct
configuration in the first place.

Furthermore, this change does not impact any outward-facing
behavior, nor does it introduce code duplication as the old
method of ActivityTaskManager new merely delegates its task
to the new one with the same configuration it would have
originally pulled from the context.

Test: Manually on ADT-3 device
Bug: 159019027
Change-Id: I0fac574a69a19243c2e62b967978ef5d8318ee51
2020-06-19 15:23:50 +02:00
Alex Johnston
edbd60268a Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 4e332683a7 am: 0b2492d153
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: Ia8decf6b3f3c94b97642391346dc364f8d477afc
2020-06-19 13:08:40 +00:00
Alex Johnston
f7a659dd91 Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 362ada443c am: 3361955422
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: I5998f7164ecf7028b0b7e6677c48d057961955e8
2020-06-19 13:08:05 +00:00
Alex Johnston
b00d036912 Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 4e332683a7 am: da45fdc99f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: I6521bb68ebe4103c66488410bd4a09353f04d3b3
2020-06-19 13:07:02 +00:00
Alex Johnston
0b2492d153 Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 4e332683a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: I7d1ad9074d1895f110a2a6606a83647ff9daad9a
2020-06-19 12:52:28 +00:00
Alex Johnston
da45fdc99f Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 4e332683a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: I6c92c5a6d02c389565540c029341d263a811e3e9
2020-06-19 12:52:25 +00:00
Alex Johnston
3361955422 Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381 am: 362ada443c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: Iec4e29bdc7d792ce40e7f0891d99c4305d7dce79
2020-06-19 12:49:21 +00:00
Mohammad Samiul Islam
806ccabb73 Allow staging multi-package session immediately after abandonment
When we stage a session, we compare it with other already staged
sessions to detect overlap. We do not allow a session to stage if it
contains a package which is already staged in another session.

Due to a bug, while comparing we were not excluding sessions whose
parents were abandoned already. This CL fixes that.

Bug: 159409632
Test: atest
StagedInstallTest#testStageAnotherSessionImmediatelyAfterAbandonMultiPackage

Change-Id: I740986af666b3d2d8ab832c4bcdb855c1ed3c16f
2020-06-19 13:40:05 +01:00
Alex Johnston
362ada443c Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: I6bc664c4a640c76bb0b83478e4cfcaa2d1ee64c9
2020-06-19 12:34:10 +00:00
Alex Johnston
4e332683a7 Merge "Change behaviour of screen capture disabled" into rvc-dev am: 2a02c8e381
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10919475

Change-Id: Icc98b3d2f754c4fc19899afbb213a59a1269a5d2
2020-06-19 12:33:42 +00:00
Alex Johnston
2a02c8e381 Merge "Change behaviour of screen capture disabled" into rvc-dev 2020-06-19 12:20:38 +00:00
Automerger Merge Worker
bcbe5d7859 Merge "Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: 68f269d717 am: a06cd10b73" into rvc-qpr-dev-plus-aosp 2020-06-19 12:11:01 +00:00
Automerger Merge Worker
0939f42cff Merge "Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: fcc1e2781f" into rvc-d1-dev-plus-aosp am: c597076aac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: I3b747d9cffcfa33852543f83c116b253bda7f099
2020-06-19 12:10:44 +00:00
Jin Seok Park
8d12d29bc1 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: 68f269d717 am: a06cd10b73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: Ie29a89e483bdc59a7e37e705e8b83d873d561fc9
2020-06-19 12:10:43 +00:00
Jin Seok Park
87382adce6 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: 68f269d717 am: b85c4c6111
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: I80ff12d21935dae9d12cb6117aa93ef1d5cb641f
2020-06-19 12:10:21 +00:00
Automerger Merge Worker
c597076aac Merge "Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: fcc1e2781f" into rvc-d1-dev-plus-aosp 2020-06-19 11:56:36 +00:00
Jin Seok Park
a06cd10b73 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: 68f269d717
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: I145ce114b7a0beaf9bb6530dcf62e2909f16aa9b
2020-06-19 11:56:23 +00:00
Jin Seok Park
6ac4f21ea9 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: fcc1e2781f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: Ie58793e3b837d403635e21e60370c01627fc0741
2020-06-19 11:56:22 +00:00
Jin Seok Park
b85c4c6111 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c am: 68f269d717
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: I5dc8d5319e349d63a8801ea4c0cbf7d20c693330
2020-06-19 11:56:13 +00:00
Jin Seok Park
fcc1e2781f Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: Ib5709c2fa56c50d766cd809f36815a7708d770f2
2020-06-19 11:46:51 +00:00
Jin Seok Park
68f269d717 Merge "[Media ML] Sync with original implementation" into rvc-dev am: 018afaae7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910261

Change-Id: If66084598a74205031ea60655c8acb979e37bbcb
2020-06-19 11:46:51 +00:00
Jin Seok Park
018afaae7c Merge "[Media ML] Sync with original implementation" into rvc-dev 2020-06-19 11:31:04 +00:00
Jorim Jaggi
268bf68882 Yearly Window Manager spring cleaning #2
- Cache WPC
- Use iteration instead of recursion to check animating

Test: RelayoutPerfTest
Bug: 159056748
Change-Id: Ia7d9514e14568b1aabc08e3b9f9106673e588f2d
2020-06-19 13:21:28 +02:00
Jorim Jaggi
bfa95a71fb Yearly Window Manager spring cleaning #1
- Replace InsetsState ArrayMap with simple array.
- Cache same values in InsetsPolicy.
- Only access Dimmer if dimming

Test: InsetsState test etc.
Bug: 159056748
Change-Id: I3e9e4f473eaa05b2013b7a6d0f37cd9c1fac81dd
2020-06-19 13:18:38 +02:00
Alex Florescu
bd16160460 Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: 626e05fc87 am: 729b352533
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: I0bbc24d25e0897c023daf1a9ddd4699efb0b070f
2020-06-19 10:52:16 +00:00
Alex Florescu
5564038b74 Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: b7b9a3e65d am: 20d769273e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: Ibd0edb58924fd19053a64473c8dcc2c2c2762e63
2020-06-19 10:50:56 +00:00
Alex Florescu
44e8e37643 Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: b7b9a3e65d am: 5fbc3fe632
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: Ifffae94288dd91529a1ff8eaea57685e06080ec5
2020-06-19 10:50:39 +00:00
Alex Florescu
20d769273e Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: b7b9a3e65d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: I93883732843106b4c09eb2b2cfc823f8468659e1
2020-06-19 10:38:54 +00:00
Alex Florescu
729b352533 Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: 626e05fc87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: Ieb5a4f5d5a91d8061687de4abce7c6ebdc8caefe
2020-06-19 10:38:54 +00:00
Alex Florescu
5fbc3fe632 Merge "Add foreground priority flag to broadcasts" into rvc-dev am: 15522541ff am: b7b9a3e65d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910938

Change-Id: I4881896e8948305470f9ff5ae31c9c27c3018398
2020-06-19 10:38:32 +00:00