Commit Graph

576693 Commits

Author SHA1 Message Date
TreeHugger Robot
2cf2bd9c41 Merge "Change condition init to return current condition" 2020-08-19 09:52:30 +00:00
Tej Singh
cfdf67144c Change condition init to return current condition
To allow initialization of conditions to work for both config creation
and update, have init always fill the conditionCache with the current
condition.

For sliced dimensions, it should compute an OR over all dimensions,
returning true if any of the dimensions are true.

We can use this for setting the initial value of new combination
conditions that depend on existing initial conditions, or for new
metrics that depend on existing conditions.

Test: atest statsd_test. Existing tests pass, will add more for the
update path in the update for condition cl.
Bug: 162322841

Change-Id: Ib48479269828f2e071c5c46aba1129d52d4725de
2020-08-19 01:21:08 -07:00
TreeHugger Robot
e5d6841e7c Merge "Introduce INPUT_CONSUMER permission for InputConsumer" 2020-08-19 08:04:00 +00:00
Tony Huang
f626abf34e Merge "Migrate OneHanded to WM shell (2/n)" 2020-08-19 07:51:18 +00:00
TreeHugger Robot
e47fbd3117 [automerger skipped] Merge "Invalidate resized bounds on aspect ratio changes" into rvc-qpr-dev am: 3c74b1fa84 am: 79d4b98844 -s ours
am skip reason: Change-Id I808993a921e3dc3858fad2c131e6a86bf45955e0 with SHA-1 9b9c7d019b is in history

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

Change-Id: I0b6f352015f9774fc94dc2124ff156d4017fc288
2020-08-19 05:55:38 +00:00
TreeHugger Robot
79d4b98844 Merge "Invalidate resized bounds on aspect ratio changes" into rvc-qpr-dev am: 3c74b1fa84
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12395565

Change-Id: I0be30ca70a805b310a1a17188631b4e6a3916f0d
2020-08-19 05:43:54 +00:00
TreeHugger Robot
3c74b1fa84 Merge "Invalidate resized bounds on aspect ratio changes" into rvc-qpr-dev 2020-08-19 05:36:18 +00:00
Jason Hsu
18702a54c2 [automerger skipped] Merge "Update language to comply with Android's inclusive language guidance" into rvc-d1-dev-plus-aosp am: 8dc88a6a46 am: 04ddd768c2 -s ours
am skip reason: Change-Id Ibbd97bf31915d59b5110cbcc8f2126f7a7221060 with SHA-1 cfb9bd346c is in history

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

Change-Id: I832f6080c85699bce11e7992d6bc51ddc5dadb83
2020-08-19 05:25:05 +00:00
Jason Hsu
04ddd768c2 Merge "Update language to comply with Android's inclusive language guidance" into rvc-d1-dev-plus-aosp am: 8dc88a6a46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12371144

Change-Id: I64a93918ba6206c48a2416e53c0320dae41f8ce2
2020-08-19 05:15:46 +00:00
TreeHugger Robot
f0d495611d Merge "Rename driver build time manifest flag." into rvc-dev-plus-aosp am: f2502dcd60 am: 5d8f13267b am: cbfb9f157c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12404439

Change-Id: Ia9cc42abafcda07569ba216b74457db43b70f530
2020-08-19 05:01:06 +00:00
Jason Hsu
8dc88a6a46 Merge "Update language to comply with Android's inclusive language guidance" into rvc-d1-dev-plus-aosp 2020-08-19 04:57:42 +00:00
Bill Lin
adf4934412 Merge changes from topic "WM-Shell-PIP-migration-5"
* changes:
  Decouple Injection of PipManager (6/N)
  Decouple Injection from subcomponents of PipManager (5/N)
2020-08-19 04:52:09 +00:00
TreeHugger Robot
cbfb9f157c Merge "Rename driver build time manifest flag." into rvc-dev-plus-aosp am: f2502dcd60 am: 5d8f13267b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12404439

Change-Id: I6605c265fe95c3a59473be8e8d7772a7d0df7b52
2020-08-19 04:49:13 +00:00
TreeHugger Robot
5d8f13267b Merge "Rename driver build time manifest flag." into rvc-dev-plus-aosp am: f2502dcd60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12404439

Change-Id: I96b6bdef10b75b466fe3d654d44dc21e4399b06a
2020-08-19 04:36:18 +00:00
TreeHugger Robot
f2502dcd60 Merge "Rename driver build time manifest flag." into rvc-dev-plus-aosp 2020-08-19 04:27:47 +00:00
Tony Huang
67e349f064 Migrate OneHanded to WM shell (2/n)
Remove OneHandedModule for refactoring and further migration works

Bug: 161980408
Bug: 164962096
Test: atest com.android.systemui.onehanded
Change-Id: I0f30163e099626b7fa0f2fa6142cb617b288b22c
2020-08-19 12:22:27 +08:00
Wei Sheng Shih
d498c4d5a3 Merge "Fixes start new showWhenLocked activity will stuck on DreamActivity." 2020-08-19 02:44:53 +00:00
Bowgo Tsai
cd5d503301 Merge "Add systrace tag for system property" 2020-08-19 02:37:28 +00:00
Peiyong Lin
b0ce703e9a Rename driver build time manifest flag.
The driver apk is an implication of updatable, hence the word updatable
is redundant.

Bug: b/164449016
Test: build
Change-Id: Ia9477ed9277e20540f79e94e7229dc3760025eb8
2020-08-18 19:25:15 -07:00
Louis Chang
a83f073378 Merge "Update process info while making activity visible" into rvc-qpr-dev am: 5c344f7431 am: 4351648b8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12383609

Change-Id: Ifce44d6917a43203acbccc96b02c7a34212c42df
2020-08-19 01:43:44 +00:00
Louis Chang
4351648b8b Merge "Update process info while making activity visible" into rvc-qpr-dev am: 5c344f7431
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12383609

Change-Id: I9ace4b45b9a9a369fc7bd6e6925685b7efa00195
2020-08-19 01:31:13 +00:00
Louis Chang
5c344f7431 Merge "Update process info while making activity visible" into rvc-qpr-dev 2020-08-19 01:18:03 +00:00
TreeHugger Robot
fd9881a683 Merge "Move Tradefed content provider installation in preparer." 2020-08-19 01:12:56 +00:00
TreeHugger Robot
5b1aad0db3 Merge "Move OnMenuEventListener out of NSSL" 2020-08-19 00:59:16 +00:00
TreeHugger Robot
94f90a30f4 Merge "Cache the UserInfo for the system user on UserManagerService." 2020-08-19 00:54:31 +00:00
Tiger Huang
c9c73f0ef5 Merge "Refine system bar position restoring" 2020-08-19 00:49:55 +00:00
Automerger Merge Worker
ca45f4a76d Merge "Merge "Update requested state after applying pending frames" into rvc-qpr-dev am: 943589cf45 am: dab8b9b114" 2020-08-19 00:48:44 +00:00
Ameer Armaly
65929fd549 Merge "Fix edge swipe logic." 2020-08-19 00:48:38 +00:00
Tiger Huang
4632b888bf Merge "Update requested state after applying pending frames" into rvc-qpr-dev am: 943589cf45 am: dab8b9b114
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12371142

Change-Id: I623a75bb564ed77b92f22bf463bdf4ff5c41a4dc
2020-08-19 00:48:32 +00:00
Tiger Huang
dab8b9b114 Merge "Update requested state after applying pending frames" into rvc-qpr-dev am: 943589cf45
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12371142

Change-Id: Ia3b2ca6b9118da1c2af064033e67d98c6d2835df
2020-08-19 00:37:33 +00:00
Elliott Hughes
61af6039e6 Merge "Remove unused #include." am: c235669ec2 am: 7d741780c9 am: db764300eb am: f71ae332f9 am: 243c016b99
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1402794

Change-Id: I261b79933d0c0856d39a59044afc62b61fae209b
2020-08-19 00:33:02 +00:00
Tiger Huang
943589cf45 Merge "Update requested state after applying pending frames" into rvc-qpr-dev 2020-08-19 00:25:22 +00:00
Elliott Hughes
243c016b99 Merge "Remove unused #include." am: c235669ec2 am: 7d741780c9 am: db764300eb am: f71ae332f9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1402794

Change-Id: I9d85d7fb0482a98345fd462bdfbefb9b5bfd6515
2020-08-19 00:24:04 +00:00
Elliott Hughes
f71ae332f9 Merge "Remove unused #include." am: c235669ec2 am: 7d741780c9 am: db764300eb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1402794

Change-Id: I7bad68a02583647b66875e9be80f82ad3b2622c3
2020-08-19 00:14:45 +00:00
Elliott Hughes
db764300eb Merge "Remove unused #include." am: c235669ec2 am: 7d741780c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1402794

Change-Id: I200d242c3b73571f5b2ce5e4ee9289660066bc14
2020-08-19 00:06:39 +00:00
Kaiqiang Wang
98c1d9f2cd Merge "Fix AccessibilityEmbeddedHierarchyTest failure" 2020-08-18 23:57:09 +00:00
Elliott Hughes
7d741780c9 Merge "Remove unused #include." am: c235669ec2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1402794

Change-Id: I87cc526237c75f419173382be53a656ffe95ef9b
2020-08-18 23:51:26 +00:00
Vishnu Nair
5084fa3e83 Merge "Enable compositor shadows" 2020-08-18 23:50:19 +00:00
Gopinath Elanchezhian
e5f28772ef Move Tradefed content provider installation in preparer.
Pushing sample file in /sdcard automatically installs the
content provider. This is done to reduce noise during the second
test in the test suite.

Bug: b/164992819

Test: atest MultiUserPerfTest
Change-Id: I1dd583acc850e1233f06af50e28e2ebb0adc0df1
2020-08-18 23:45:18 +00:00
Makoto Onuki
162f16ddad Merge "Reduce WTFs in SyncManager" into rvc-qpr-dev am: 16206cbc8f am: c9c13af1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12392670

Change-Id: I6fc4cb14bcf6e839e4ac6e34e6fa4b5f06c17e7f
2020-08-18 23:40:23 +00:00
Elliott Hughes
c235669ec2 Merge "Remove unused #include." 2020-08-18 23:35:24 +00:00
Makoto Onuki
c9c13af1ee Merge "Reduce WTFs in SyncManager" into rvc-qpr-dev am: 16206cbc8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12392670

Change-Id: I4cf7d0237fa4cf4105875dfca496a979966a02f8
2020-08-18 23:31:43 +00:00
Makoto Onuki
16206cbc8f Merge "Reduce WTFs in SyncManager" into rvc-qpr-dev 2020-08-18 23:20:05 +00:00
Lyn Han
2ac5ff2b18 Merge "Education view for collapsed stack; fix rtl text" 2020-08-18 23:13:34 +00:00
TreeHugger Robot
ab96591f05 Merge "Ensure DeviceConfigProxyFake calls listeners correctly." 2020-08-18 23:13:12 +00:00
TreeHugger Robot
0f56d5d518 Merge "Prevent dagger from hanging onto DozeService" 2020-08-18 22:52:49 +00:00
TreeHugger Robot
f16f9be862 Merge "Fix appId to killApplication when hiding packages" 2020-08-18 22:49:17 +00:00
TreeHugger Robot
dffb4587ae Merge "Add statsd atoms to track Jank and Latency" 2020-08-18 22:31:20 +00:00
Felipe Leme
ae7902fcef Cache the UserInfo for the system user on UserManagerService.
When the name of the system user (userId 0) is not explicitly set,
UserManagerService must return the localized string defined by
owner_name.
As UserInfo is mutable and its 'name' attribute is publically
acessible, UserManagerService currently creates a new UserInfo
(with the right 'name') for the system user every time it's needed,
which results in ~1200 unnecessary objects created at boot (and more
over time).

This CL improves the situation by caching 2 UserInfo objets for the
system user (one with the original name, and another with the
localized name).

Test: adb shell dumpsys user | grep "System user:"
Fixes: 161915546
Bug: 164159026

Change-Id: Ibbe4fed3e650845d8c365cb6c7a2dcb306738152
2020-08-18 15:03:59 -07:00
John Reck
e1b982f381 Merge "Fix crash regression when calling setSurface(null)" 2020-08-18 21:50:00 +00:00