Commit Graph

105361 Commits

Author SHA1 Message Date
TreeHugger Robot
e7500cfb90 Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360 am: ced1535de3
Change-Id: Ic92bca92748f82ac6db7168dff6322f1376c1e4c
2020-04-24 17:52:18 +00:00
TreeHugger Robot
ced1535de3 Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360
Change-Id: I26455053d1b27bb972bbf45ddf2aed432379a8eb
2020-04-24 17:36:44 +00:00
TreeHugger Robot
137f875360 Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev 2020-04-24 17:23:42 +00:00
TreeHugger Robot
57e5456ddf Merge "Use Arrays.hashCode in DeviceProductInfo" into rvc-dev am: f0de93d7b2 am: 6cd7f6c60d
Change-Id: I446f2c732dc68bb9274b9c55f7f10e543cda7fd9
2020-04-24 14:48:44 +00:00
TreeHugger Robot
6cd7f6c60d Merge "Use Arrays.hashCode in DeviceProductInfo" into rvc-dev am: f0de93d7b2
Change-Id: Ie0e9c4b6717e87a1f1057318f93b7bfe9469c4bf
2020-04-24 14:37:20 +00:00
TreeHugger Robot
4e29126df6 Merge "Use Arrays.hashCode in DeviceProductInfo" into rvc-dev am: f0de93d7b2
Change-Id: Ib4c6ad568874e8f60fb097daace14d76ac417fba
2020-04-24 14:36:37 +00:00
TreeHugger Robot
f0de93d7b2 Merge "Use Arrays.hashCode in DeviceProductInfo" into rvc-dev 2020-04-24 14:24:25 +00:00
Robin Lee
9e1181302a Use waitForDeclaredService to get Lights HAL
We cache the reference to the HAL and use a DeathRecipient to keep track
of whether it's still good.

Adds waitForService and waitForDeclaredService to the ServiceManager
Java implementation because they were missing.

Test: atest LightsManagerTest
Test: atest LightsServiceTest
Bug: 152509747
Bug: 154631113
Bug: 154627432
Bug: 154629168
Change-Id: Ife8471f3a7e47b48bb31015ddf40f1d7fef6240f
2020-04-24 16:12:27 +02:00
Marin Shalamanov
90fd0b19f8 Use Arrays.hashCode in DeviceProductInfo
Using arrays in Objects.hash() is error prone. Instead we
call Arrays.hashCode().

Test: m services
Bug: 154302664
Change-Id: Icf00fbaa465ef60951998659ae0333b2faf7042b
2020-04-24 13:02:35 +00:00
TYM Tsai
6cce28ebbc Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641 am: 5c913aeacc
Change-Id: Ib19b408a8aab0b7daf65082776ea510cc476dc4a
2020-04-24 09:08:09 +00:00
TYM Tsai
b315a18f85 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641
Change-Id: I3bb6ca81b2f5198836d527e2038eaee45ac8eb51
2020-04-24 08:57:28 +00:00
TYM Tsai
5c913aeacc Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641
Change-Id: I6bf4e92eeac9bcaece4cb5501f644304f3e45fee
2020-04-24 08:56:48 +00:00
TYM Tsai
4ddfdaf641 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev 2020-04-24 08:42:56 +00:00
Paul Chang
47ec3e7341 Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839 am: 447d74e378
Change-Id: I485592790a9957c24756f62c6643dfc722256008
2020-04-24 08:40:33 +00:00
Paul Chang
447d74e378 Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839
Change-Id: I3b80e053aa1e2cc18df9648a5c6c4b08da03a389
2020-04-24 08:31:54 +00:00
Paul Chang
c99c9217be Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev am: b43fb9b839
Change-Id: I7c9afc33a5e322d6c32f9975d980364b2b595cf0
2020-04-24 08:31:11 +00:00
Paul Chang
b43fb9b839 Merge "Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation." into rvc-dev 2020-04-24 08:23:21 +00:00
Shawn Lin
f740b12f12 Merge "Update the description of getWaterfallInsets()" into rvc-dev am: b578ddde3e am: 9f4ea365f7
Change-Id: I961e1b356aa9e4c6ca42089cd6f19dc310633986
2020-04-24 06:13:03 +00:00
Shawn Lin
309f28a2bf Merge "Update the description of getWaterfallInsets()" into rvc-dev am: b578ddde3e
Change-Id: Iaa08ae6f43bb5c950a03ca3b2d5ce48b045e6bf8
2020-04-24 06:04:02 +00:00
Shawn Lin
9f4ea365f7 Merge "Update the description of getWaterfallInsets()" into rvc-dev am: b578ddde3e
Change-Id: Ied6b8ce4b31b1dacc7871535503e1101a96b5e96
2020-04-24 06:03:46 +00:00
Shawn Lin
b578ddde3e Merge "Update the description of getWaterfallInsets()" into rvc-dev 2020-04-24 05:56:04 +00:00
Jason Hsu
e56a98a820 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd am: a574c632c5
Change-Id: I82a8c1d436829e99d1e07209445c187a8e055783
2020-04-24 03:15:45 +00:00
Jason Hsu
a574c632c5 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd
Change-Id: Iad6dc2ce9e055f9899de4bdba8843a48b0a3fe90
2020-04-24 03:10:55 +00:00
Jason Hsu
7be170311e Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd
Change-Id: I962254161d27de3544d4c08f2a97e31f38f4d8f2
2020-04-24 03:10:20 +00:00
Jason Hsu
ea2d4bf1fd Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev
* changes:
  Rollback chooser menu to version Q behavior for accessibility button (2/n).
  Rollback chooser menu to version Q behavior for accessibility button (1/n).
2020-04-24 03:07:39 +00:00
Charles Chen
05c0bb5394 Merge "Revert "Fix false positive of activity leak in NexusLauncherTests"" into rvc-dev am: 56dfd7c643 am: c046c423f5
Change-Id: Ib379bfce7e61c23428a9d88816b110f1406cd77e
2020-04-24 03:04:20 +00:00
Charles Chen
c046c423f5 Merge "Revert "Fix false positive of activity leak in NexusLauncherTests"" into rvc-dev am: 56dfd7c643
Change-Id: I03256fdf565799c728686ea127bd69fa0943f17b
2020-04-24 02:59:29 +00:00
Charles Chen
b921ded2cd Merge "Revert "Fix false positive of activity leak in NexusLauncherTests"" into rvc-dev am: 56dfd7c643
Change-Id: I94ee1daa4938ec76bde56b0ac9662eba53bbbd0d
2020-04-24 02:59:25 +00:00
Charles Chen
56dfd7c643 Merge "Revert "Fix false positive of activity leak in NexusLauncherTests"" into rvc-dev 2020-04-24 02:55:31 +00:00
Jean-Michel Trivi
f5404090c0 Merge "Add method in Handler to remove messages with equal object" into rvc-dev am: 1c21c7c74b
Change-Id: Ia247f11dcdfffa481769039e72d1e7be1cf50ccf
2020-04-24 00:09:29 +00:00
Jean-Michel Trivi
1c21c7c74b Merge "Add method in Handler to remove messages with equal object" into rvc-dev 2020-04-24 00:02:55 +00:00
TreeHugger Robot
4ed82d2559 Merge changes from topic "bound status" into rvc-dev am: a721ccdc7c am: a10bf2e92c
Change-Id: I443bb9e56a4cba7dbb3e73488d5f5b1b8c241db6
2020-04-23 23:12:40 +00:00
TreeHugger Robot
5952888132 Merge changes from topic "bound status" into rvc-dev am: a721ccdc7c
Change-Id: I4fc9ffb65a5cf35508f3c352159cb2e165069910
2020-04-23 22:59:24 +00:00
TreeHugger Robot
a10bf2e92c Merge changes from topic "bound status" into rvc-dev am: a721ccdc7c
Change-Id: I77e7cc5a5666cd22cf7a4ee1b3c4cd0515a395fc
2020-04-23 22:59:17 +00:00
TreeHugger Robot
a721ccdc7c Merge changes from topic "bound status" into rvc-dev
* changes:
  DataLoader cleanup: return plain FD from Java.
  Keep only service binding in DataLoaderManager.
2020-04-23 22:50:46 +00:00
Julia Reynolds
18573ffa04 Merge "Record whether apps have sent msg notifications" into rvc-dev am: 37e724b15d am: 9cfa34a6ff
Change-Id: I7ee02841458f2d4e913fcf00d6c5a9e6088958f1
2020-04-23 22:38:55 +00:00
Julia Reynolds
9cfa34a6ff Merge "Record whether apps have sent msg notifications" into rvc-dev am: 37e724b15d
Change-Id: Ia3727b3f837b8c92a77f8686a9297808c1d125dd
2020-04-23 22:22:41 +00:00
Julia Reynolds
39a4ab65af Merge "Record whether apps have sent msg notifications" into rvc-dev am: 37e724b15d
Change-Id: I5c76a5fa557e5bab68a1b9cc16309055595f12b5
2020-04-23 22:22:29 +00:00
Julia Reynolds
37e724b15d Merge "Record whether apps have sent msg notifications" into rvc-dev 2020-04-23 22:19:53 +00:00
TreeHugger Robot
080d004671 Merge "Parses package/provider with non-configuration strings" into rvc-dev am: 9b8965044c am: fcd312d89b
Change-Id: I056ae6419607924f15cfaf992282b5eb3d5b6b7f
2020-04-23 21:32:13 +00:00
TreeHugger Robot
8776433ecf Merge "Parses package/provider with non-configuration strings" into rvc-dev am: 9b8965044c
Change-Id: I297f29a48fbff3d8beb723f5fd7371b5de03da3b
2020-04-23 21:06:35 +00:00
TreeHugger Robot
fcd312d89b Merge "Parses package/provider with non-configuration strings" into rvc-dev am: 9b8965044c
Change-Id: Ib83d896a3f90ec95a333b03a7c07862c4fdbbb97
2020-04-23 21:06:34 +00:00
TreeHugger Robot
9b8965044c Merge "Parses package/provider with non-configuration strings" into rvc-dev 2020-04-23 20:55:02 +00:00
Julia Reynolds
a7dac439a3 Record whether apps have sent msg notifications
Test: atest
Bug: 154814754
Change-Id: I6b633c5e309deb11feda94d4e67858a376dd3d88
2020-04-23 20:19:15 +00:00
Fabian Kozynski
0e5026ad06 [DO NOT MERGE] Add setting for power menu in lock screen privacy am: 2095c43a25 am: b80a1aba82
Change-Id: I96129e5daf0d0e76293c4541603ab0f4750e28aa
2020-04-23 20:08:47 +00:00
Darryl Johnson
700c2062a0 Revert "Fix false positive of activity leak in NexusLauncherTests"
This reverts commit b3230a3594.

Reason for revert: Possibly the cause of b/154581087
Bug: 154581087
Change-Id: I4a7ebeb33f68b8918d24b1e59638bbc5fa38bf72
2020-04-23 20:07:58 +00:00
Fabian Kozynski
d8a4644530 [DO NOT MERGE] Add setting for power menu in lock screen privacy am: 2095c43a25
Change-Id: Ib72684c9043335bbc5ed5725285ae4a7172e3c68
2020-04-23 19:54:39 +00:00
Fabian Kozynski
b80a1aba82 [DO NOT MERGE] Add setting for power menu in lock screen privacy am: 2095c43a25
Change-Id: I5ddddd7aa7d3fb96e6e66110e2980b6dc1018365
2020-04-23 19:54:20 +00:00
Alex Buynytskyy
ea1390ff32 Keep only service binding in DataLoaderManager.
This simplifies:
- resource management - no extra copies of controls,
- state management - all states in one place, no more hidden (bound but
not created) state.

Bug: b/153874006
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: I3d16a099c7f42fcf14637c5a8e96bd6f99e073d1
2020-04-23 19:38:44 +00:00
Fabian Kozynski
eab14fca5d Merge "[DO NOT MERGE] Add setting for power menu in lock screen privacy" into rvc-dev 2020-04-23 19:38:05 +00:00