Commit Graph

105091 Commits

Author SHA1 Message Date
TreeHugger Robot
02b98479c2 Merge "Use waitForDeclaredService to get Lights HAL" into rvc-dev am: 137f875360
Change-Id: Ic9b2c0ede17fbf8a38d49f31ab5ef19768438541
2020-04-24 17:36:53 +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
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
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
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
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
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
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
b578ddde3e Merge "Update the description of getWaterfallInsets()" into rvc-dev 2020-04-24 05:56:04 +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
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
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
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
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
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
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
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
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
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
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
fengjinlan
6c2adc82cc Add method in Handler to remove messages with equal object
Bug: 142293357
Test: atest AudioDeviceBrokerTest

Change-Id: Ibae80f5008df54f4ac8544abb4cc5863ea3db86d
Merged-In: Ibae80f5008df54f4ac8544abb4cc5863ea3db86d
Signed-off-by: fengjinlan <fengjinlan@xiaomi.com>
2020-04-23 11:20:43 -07:00
Patrick Baumann
3361f334d5 Parses package/provider with non-configuration strings
Fixes: 153658673
Test: AppEnumerationTests
Change-Id: I7fb09f2746f9ccf151d8675cc4ab1360eac1dcd6
2020-04-23 10:37:25 -07:00
TreeHugger Robot
81cb6b1d2a Merge "Camera: Update physical camera request keys documentation" into rvc-dev am: 1a17016c70
Change-Id: I59f9cca5ae09b266d1434bdd9f86cc3dc4889d90
2020-04-23 17:01:26 +00:00
TreeHugger Robot
1a17016c70 Merge "Camera: Update physical camera request keys documentation" into rvc-dev 2020-04-23 16:39:11 +00:00
Peter_Liang
0589ab0ae3 Rollback chooser menu to version Q behavior for accessibility button (2/n).
Allow separate Activities to handle the multiple-target case for the hardware and software shortcuts. Migrate from an extra to an explicit class so the Intent dispatch will launch the correct Activity for the particular shortcut.

Bug: 151294664
Test: manual test
Change-Id: I54bb1d3ab91e2757c465e8763786d0234f6d4ea8
2020-04-23 16:25:17 +00:00
Chavi Weingarten
a490fe8647 Merge "Added onDisplayAreaChanged and unregister for DisplayAreaOrganizer" into rvc-dev am: cd220824de
Change-Id: I7b2a11e248405628cf1696d54adfb1227d04a8b9
2020-04-23 15:57:22 +00:00
Chavi Weingarten
3ac93f0996 Merge "Add DisplayAreaInfo" into rvc-dev am: 74aa929f63
Change-Id: Ib7ccd9ab49d9e6eb8b41fe89443fa465fb969ccf
2020-04-23 15:56:50 +00:00
Chavi Weingarten
cd220824de Merge "Added onDisplayAreaChanged and unregister for DisplayAreaOrganizer" into rvc-dev 2020-04-23 15:56:29 +00:00
Chavi Weingarten
74aa929f63 Merge "Add DisplayAreaInfo" into rvc-dev 2020-04-23 15:55:20 +00:00
Kholoud Mohamed
fa63df9f03 Merge "Fix javadoc for CrossProfileApps#canRequestInteractAcrossProfiles" into rvc-dev am: 4bf358fe39
Change-Id: Ic8860cfda62ce7002a14537ff290ed6994aecba6
2020-04-23 10:30:45 +00:00
Paul Chang
6dcc047940 Send intent to let calling app show UI safely without interfering the bugreport/screenshot generation.
- Calling app needs the intent from platform to show UI safely without interfering the bugreport/screenshot generation.
- Currently IncidentCompanionService can only send the intent to app of personal profile when there is work profile.
- But calling app may be from work profile.
- So change to use BugreportManager to send the intent to calling app.

BUG: 153809412
Test: Flash, press bugreport shortcut and confirm calling app of work profile can receive the intent.
Change-Id: I45b2b7ab8e017ba93c1e71ad53f4aa3607af9106
2020-04-23 18:14:57 +08:00
Kholoud Mohamed
4bf358fe39 Merge "Fix javadoc for CrossProfileApps#canRequestInteractAcrossProfiles" into rvc-dev 2020-04-23 10:12:36 +00:00
Charles Chen
746a1d1fc1 Merge "Limit number of window context without any window" into rvc-dev am: 1e52a093ae
Change-Id: Id6d242168afe4f82158fcd23555e62e4a07accda
2020-04-23 03:44:15 +00:00
Charles Chen
1e52a093ae Merge "Limit number of window context without any window" into rvc-dev 2020-04-23 03:34:37 +00:00
TreeHugger Robot
a5d3e68720 Merge "Process numpad enter key along with enter key." into rvc-dev am: b22931a0fb
Change-Id: Ia656957865c3d95de3bf8d5296060903d0cf26a1
2020-04-23 01:27:53 +00:00
Jacky Kao
28e8b30b2b Merge "Makes AccessibilityNodeInfo#getSourceNodeId as test API" into rvc-dev am: f6f8deea32
Change-Id: I621cacb0ca0d1e799df66711ae1065df5ecb6f37
2020-04-23 01:27:05 +00:00
TreeHugger Robot
b22931a0fb Merge "Process numpad enter key along with enter key." into rvc-dev 2020-04-23 01:12:52 +00:00
Jacky Kao
f6f8deea32 Merge "Makes AccessibilityNodeInfo#getSourceNodeId as test API" into rvc-dev 2020-04-23 01:08:46 +00:00
Winson Chiu
30425ea8cb Merge "Calculate oldPaths for out of date LoadedApks" into rvc-dev am: c023f4474b
Change-Id: I4387df40a4beb5aeaaa0a86a1c1ed7ef7952d210
2020-04-23 01:02:23 +00:00
Winson Chiu
c023f4474b Merge "Calculate oldPaths for out of date LoadedApks" into rvc-dev 2020-04-23 00:44:57 +00:00
chaviw
9d07e62689 Added onDisplayAreaChanged and unregister for DisplayAreaOrganizer
Notify DisplayAreaOrganzier when the registered DisplayArea has changed.

Also added the ability to unregister a DisplayAreaOrganizer

Test: DisplayAreaOrganizerTest
Bug: 152114574
Change-Id: I9e8c537f8fe6aa7f5b007ef73535294be62dd806
2020-04-22 15:43:56 -07:00
chaviw
d1a2393f6c Add DisplayAreaInfo
Pass DisplayAreaInfo to the client to communicate information about a
specific DisplayArea.

Test: Builds
Bug: 152114574
Change-Id: Iec53ec57d1e5e892d66a1da0bd48b75f91965d20
2020-04-22 14:29:18 -07:00