Commit Graph

103937 Commits

Author SHA1 Message Date
TreeHugger Robot
9b4e7f2f0b Merge "Add back ActivityManagerService.onUserRemoved" into rvc-dev am: 525fab26a1
Change-Id: Ibb1b6407511fed98652bf786226907a1a6557dab
2020-04-25 01:18:48 +00:00
TreeHugger Robot
525fab26a1 Merge "Add back ActivityManagerService.onUserRemoved" into rvc-dev 2020-04-25 01:16:49 +00:00
Darryl Johnson
a76e26ed96 Merge "Revert "Try to reland Ib3ee007bc"" into rvc-dev am: 637fd24378
Change-Id: I49e8b4475ee52dc48faf7f73b77446e4919d926a
2020-04-25 01:01:51 +00:00
Darryl Johnson
637fd24378 Merge "Revert "Try to reland Ib3ee007bc"" into rvc-dev 2020-04-25 00:37:46 +00:00
Darryl Johnson
87f93a5585 Revert "Try to reland Ib3ee007bc"
This reverts commit b6415618f1.

Reason for revert: Caused regression of b/149213586

Bug: 148639826
Bug: 149213586

Change-Id: I5248e03b42e3f24a6e2abb134d0bf339e77f484b
2020-04-24 23:50:53 +00:00
Jing Ji
9ef42068a4 Merge "Fix test failure in testProcessStateByPulling" into rvc-dev am: b344e0ac95
Change-Id: I6faa2256bc8ac682a702899bd97344d877a98f17
2020-04-24 23:13:40 +00:00
Jing Ji
b344e0ac95 Merge "Fix test failure in testProcessStateByPulling" into rvc-dev 2020-04-24 23:05:08 +00:00
Eugene Susla
d57a34e141 Merge "Update auto revoke deeplink action javadoc: extra -> Uri" into rvc-dev am: 181ef8dfa1
Change-Id: Iea6a1cb4ce15236d02876dde24f18f9fe1718654
2020-04-24 22:35:28 +00:00
Eugene Susla
181ef8dfa1 Merge "Update auto revoke deeplink action javadoc: extra -> Uri" into rvc-dev 2020-04-24 22:27:00 +00:00
Adam Bookatz
aa59419bbd Add back ActivityManagerService.onUserRemoved
ActivityManagerService.onUserRemoved was accidentally removed in
ag/4246926. This cl adds it back.

The part of onUserRemoved that told ActivityTaskManagerService that
the user had stopped (and thereby cleaned up ATMS) was retained, but
the additional actions of AMS.onUserRemoved - namely, telling
BatteryStatsService and UserController - were accidentally removed.
Consequently, those services were never told when a user was removed.

Bug: 140645064
Test: manual verification that profile is removed in  adb shell dumpsys activity users
Change-Id: I903b06ae68d583bdb326ad3b764a63d18b5555d8
2020-04-24 22:24:05 +00:00
TreeHugger Robot
7bb412a077 Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev am: 8f0b08f178
Change-Id: I26b4d161bc6bdddc5cad63c2c82e6f6292006ab0
2020-04-24 21:26:20 +00:00
TreeHugger Robot
8f0b08f178 Merge "Migrate clients from Binder.waitForService to ServiceManager.waitForService" into rvc-dev 2020-04-24 21:16:54 +00:00
Sally Yuen
e5c438c6f6 Merge "Add @TestApi to registerSystemAction and unregisterSystemAction" into rvc-dev am: 8ab42a27ce
Change-Id: I7c97e46a8ca56fbf84c143b290a0f0a514d0d71d
2020-04-24 20:16:22 +00:00
Sally Yuen
8ab42a27ce Merge "Add @TestApi to registerSystemAction and unregisterSystemAction" into rvc-dev 2020-04-24 20:12:16 +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
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
Jing Ji
468e6c3909 Fix test failure in testProcessStateByPulling
Added a new flag "--statsd" to dumpsys procstats, it'll dump
the identical protobuf data as the one being sent to statsd;
these data is aggregated/reduced.  The tradtional "--proto"
is still supported in case the full data is needed.

Align the ProcStats's proto message definition with the statsd.

Fixed various other issues with ProcStats's dumping.

Bug: 148542701
Test: atest ProcStatsValidationTests
Change-Id: I5a22603bfbc97bfac93179289df839710364677d
2020-04-24 05:01:22 -07: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
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
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
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
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
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
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
Eugene Susla
f33f0315ad Update auto revoke deeplink action javadoc: extra -> Uri
Test: presubmit
Bug: 153607914
Change-Id: I02816b71a898d3cac0d50f988b1fdc3427067e14
2020-04-23 16:05:03 -07: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
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
37e724b15d Merge "Record whether apps have sent msg notifications" into rvc-dev 2020-04-23 22:19:53 +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
Robin Lee
3124f5c44e Migrate clients from Binder.waitForService to ServiceManager.waitForService
Change-Id: I749203ba09b63dd4aafd6e7df9b87b3fd7955689
Test: ApexManagerTest # (and manually flash a device)
Fix: 154629168
2020-04-23 21:05:46 +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
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
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
9a2db61b88 Merge "Camera: Update physical camera request keys documentation" into rvc-dev am: 1a17016c70
Change-Id: I099e55d5d84d2dd92d81737a38830a77d5734fbe
2020-04-23 16:59:32 +00:00
Chavi Weingarten
cedb2e42ab Merge "Added onDisplayAreaChanged and unregister for DisplayAreaOrganizer" into rvc-dev am: cd220824de
Change-Id: I7d93eed9d52a5b9dfa0e6824bea90901d14fd88e
2020-04-23 16:57:43 +00:00