Treehugger Robot
ea70d5adc2
Merge "Add owner to codegen annotations" am: 7765329813 am: e897f5f8d6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530761
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie4370f8059802250c5bd9112a10573effba8551e
2020-12-22 23:23:24 +00:00
Treehugger Robot
7765329813
Merge "Add owner to codegen annotations"
2020-12-22 22:16:51 +00:00
Benjamin Schwartz
7805396ee6
Merge "KernelWakelockReader: provide class level lock when updates staleStats" am: b9f60a53c3 am: ec13727383
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1534034
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I32722ae3a7f5fbde2aa7d42402f8f2d670423f4b
2020-12-22 17:38:56 +00:00
Michael Sun
5886ede607
KernelWakelockReader: provide class level lock when updates staleStats
...
As the wakelock version number is defined as static to provide
consistent versioning across objects, class level static lock should be
implemented to prevent racing conditions.
To trigger the racing condition, update statsd's stats pulling logic
locally to repeatably requesting wakelock stats then wakeup the phone
to trigger BatteryStats update routine. The racing condition is 100%
reproducible under the setup. The patch has been verified with the
setup, and the racing is no longer seen. See more reproduce details in
the linked bug.
Bug: 173539101
Test: manual
Change-Id: I386afa2f2ecd8678e71ece978da4a9950b21ca4d
2020-12-21 18:09:04 +00:00
Alison Cichowlas
dc70bd944e
Merge "Fix sharing shortcuts not showing for Work Profile." into rvc-qpr-dev am: ac9d6f53da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13230685
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I141425524486e6a377b6be1062a17b0df13388d0
2020-12-18 00:34:12 +00:00
Treehugger Robot
ccd634ec0c
Merge "Make a copy of libcore.util.ArraysUtils in framework" am: f35963cb77 am: acd5ae1807
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1531681
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0232dc3e89ca638cf5097888946f7f70b3f116d1
2020-12-17 11:10:44 +00:00
Victor Chang
37c6b6deeb
Make a copy of libcore.util.ArraysUtils in framework
...
It helps remove it from the @CorePlatformApi
Bug: 154796679
Test: ArrayUtilsTest
Merged-In: I0c8f194a74a16b2cc46f9eea4571d5fb674fbc28
Change-Id: I0c8f194a74a16b2cc46f9eea4571d5fb674fbc28
2020-12-17 00:07:23 +00:00
Alison Cichowlas
b09236d867
Fix sharing shortcuts not showing for Work Profile.
...
Bug: 175042485, 175240616
Test: per repro instructions in bug
Change-Id: Iecbc57369f46fcae72d6acdb997ea8daacc77979
(cherry picked from commit 17cb4137ad )
2020-12-15 20:09:33 +00:00
Eugene Susla
224f3360ad
Add owner to codegen annotations
...
Test: presubmit
Change-Id: Ie0de32e4f8321fe846e5f4aade7a087c1216a28c
2020-12-15 11:07:02 -08:00
Nicolas Geoffray
df634d7c4e
Merge "Make Class.getPackageName public." am: 3a76c4c9aa am: 7a0acb4d34
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519502
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia30633196eef2c2fdbebde3ad87c9e19c3c8b58e
2020-12-15 18:28:30 +00:00
Nicolas Geoffray
3a76c4c9aa
Merge "Make Class.getPackageName public."
2020-12-15 16:55:44 +00:00
Alison Cichowlas
1a55495ae9
Merge "Add SystemUI to OWNERS for Sharesheet." am: eff7324d9c am: ace8f705bc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1525899
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6fc43cc854488c505479de6461ed56e02916955b
2020-12-15 15:50:36 +00:00
Alison Cichowlas
eff7324d9c
Merge "Add SystemUI to OWNERS for Sharesheet."
2020-12-15 15:08:10 +00:00
Alison Cichowlas
e432f6c014
Add SystemUI to OWNERS for Sharesheet.
...
Change-Id: I2ecbab59516ae0cb53d47fa819c26336f76d9483
2020-12-14 21:46:41 +00:00
Wale Ogunwale
dfbbd0e5d7
Merge "Add more OWNERS coverages(2/n)" am: a2c85ce0ba am: 700b3d812f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527819
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1d1525ba52d4365241785b4789f7363aac0d32c4
2020-12-14 17:30:00 +00:00
Charles Chen
2c86c2cf8a
Add more OWNERS coverages(2/n)
...
Test: manual
Bug: 174932174
Change-Id: Id6a4c60734f24a3d8fdec27b11baead550296441
2020-12-14 15:00:22 +08:00
Treehugger Robot
03ced7e52e
Merge "Add missing IMF OWNERS" am: 4e3959e571 am: 30497d0911
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1525813
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3534455778648e6be10ffedbd2d692656d88d318
2020-12-12 02:14:04 +00:00
Adrian Roos
bb4c35d0d2
Add missing IMF OWNERS
...
Test: n/a
Change-Id: Ib1ec672f872a3b1faf65c3583e300f473bac8f0c
2020-12-11 17:02:19 +01:00
Jeff Sharkey
845bfdd0ba
Merge "Additional per-file OWNERS for shared directories." am: 8b102a5988 am: 7a9f3e10de
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1523618
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9df0f96893728df43b3ae402ac69ec3e02079f51
2020-12-10 16:32:34 +00:00
TreeHugger Robot
0277812fc3
Merge "Fix wrong target launches in Chooser." into rvc-qpr-dev am: 14692e3d21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13157627
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8cda83f18f3f057b139f8218079065987bc1de82
2020-12-10 16:08:36 +00:00
TreeHugger Robot
14692e3d21
Merge "Fix wrong target launches in Chooser." into rvc-qpr-dev
2020-12-10 15:50:08 +00:00
Jeff Sharkey
e2cc3f8bec
Additional per-file OWNERS for shared directories.
...
Iteration based on areas of tree where detailed ownership was found
to be missing during routine code reviews.
Also add more detailed examples to OWNERS.md.
Bug: 174932174
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Change-Id: I46ccef33b34594181ae8dc62973d68020f827d6b
2020-12-10 08:37:23 -07:00
Dmitri Plotnikov
0ad8cb5966
Merge "Add per-file OWNERS for BatteryStats" am: cac4499628 am: d8a9268460
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520758
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I74d7cc2d030f7a6e78d8c7e9903a48e93301c5c3
2020-12-09 03:26:47 +00:00
Dmitri Plotnikov
d8a9268460
Merge "Add per-file OWNERS for BatteryStats" am: cac4499628
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520758
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5d258d326af6662a7e8d1dcaa1bbbeffdc19da94
2020-12-09 03:06:09 +00:00
Dmitri Plotnikov
c5afcc503b
Add per-file OWNERS for BatteryStats
...
Test: N/A
Change-Id: Ie9eef7eed7f097113074c3c5f3f7a7084a55f97b
2020-12-08 16:38:23 -08:00
Jeff Sharkey
358f0d4fc8
Merge changes from topic "dec5" am: c2793cf12b am: 9af6ac78b0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519384
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2776a545a24f007ccb4b9ee14705978571265ef3
2020-12-08 16:43:19 +00:00
Jeff Sharkey
9af6ac78b0
Merge changes from topic "dec5" am: c2793cf12b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519384
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifdc390f5ae046c515a30158f3f55b831be147547
2020-12-08 16:05:11 +00:00
Jeff Sharkey
c2793cf12b
Merge changes from topic "dec5"
...
* changes:
Improve OWNERS coverage across frameworks/base/.
Improve OWNERS coverage across frameworks/base/.
Improve OWNERS coverage across frameworks/base/.
2020-12-08 15:39:59 +00:00
Jeff Sharkey
52b9862f87
Improve OWNERS coverage across frameworks/base/.
...
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.
Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas. Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:
-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage
Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance. With this extensive
effort, we've now improved our coverage as follows:
-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage
This specific change is automatically generated by a script that
identifies relevant "include" directives.
Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-12-08 08:36:28 -07:00
Nicolas Geoffray
17069e403b
Make Class.getPackageName public.
...
Test: m
Change-Id: I358db3d7e95c0ae700f9a7b2820e5324de2258d8
2020-12-08 14:29:02 +00:00
Fiona Campbell
8379118173
Merge "Persist screen brightness setting through upgrade" am: 2a747f002f am: a333c1fb5e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517740
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I762a6db2c61952d2a8f4fbda511bcc81a870fe81
2020-12-08 10:47:28 +00:00
Fiona Campbell
a333c1fb5e
Merge "Persist screen brightness setting through upgrade" am: 2a747f002f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517740
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I75a7feb9ec86baf2a588c1187ec2632be64beaf0
2020-12-08 10:10:58 +00:00
Fiona Campbell
2a747f002f
Merge "Persist screen brightness setting through upgrade"
2020-12-08 10:07:29 +00:00
Winson Chiu
5c5e30f40b
Merge "Remove updateIntentVerificationStatusAsUser from ResolverActivity" into rvc-qpr-dev am: 5e971858b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12940364
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I425a4f3881d34ca06af0383ae9ca8888f1ae6a04
2020-12-08 00:45:54 +00:00
Winson Chiu
5e971858b8
Merge "Remove updateIntentVerificationStatusAsUser from ResolverActivity" into rvc-qpr-dev
2020-12-08 00:25:50 +00:00
Treehugger Robot
7400c11e9d
Merge "Add more logging for wakelock stats inquiries" am: e98c214507 am: 9aafb7ca56
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1518102
Change-Id: Iccd807a0ef318f8690e1e2418a07b3425435a16b
2020-12-05 02:20:05 +00:00
Treehugger Robot
9aafb7ca56
Merge "Add more logging for wakelock stats inquiries" am: e98c214507
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1518102
Change-Id: I02a2586654f3ec241491d5471a2c1f94123e5f36
2020-12-05 00:27:26 +00:00
Michael Sun
757b01b94b
Add more logging for wakelock stats inquiries
...
Add additional logging after receiving wakelock statistics from
SystemSuspend via AIDL.
Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: manually verified new log presented
Bug: 173539101
Change-Id: Ia64ca7edaa4c7925348e1c31d5681943cfbe4f33
2020-12-04 20:25:28 +00:00
Fiona Campbell
2e8e9d39fe
Persist screen brightness setting through upgrade
...
The screen brightness float setting initially did not exist when
upgrading the device software. This change ensures the float and int
values are synchronised on the system start-up.
Bug: 174508435
Test: manual - set autobrightness off, upgrade from Q to R, and check
brightness value in settings.
Change-Id: I2a3b996c8747e3c5f1d181bbdd438c70bf23d08b
Merged-In: I2a3b996c8747e3c5f1d181bbdd438c70bf23d08b
(cherry picked from commit 96f43f21b3a3021762c2d213d8958590127cae36)
2020-12-04 15:42:29 +00:00
Alison Cichowlas
2c12806649
Fix wrong target launches in Chooser.
...
The service target row was sometimes overfull - with more targets in
the list than were displayed - when we used each row's offset
to calculate which target was selected to launch.
This fix makes sure we are not overfilling.
Test: ChooserActivityTest & manual repro -- use targets from
alphabetical section, make sure you have at least one old-API target
available
Fixes: 170518649, 165944833
Change-Id: I8a554197c01f4eadbeac43742984e4c86ca49601
(cherry picked from commit 6f015708fb )
2020-12-03 00:31:17 +00:00
Xin Li
d31ee38811
Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
...
Bug: 172690556
Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6
Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-02 00:38:58 -08:00
Treehugger Robot
4d61ec6e60
Merge "Make ChangeReporter.{Status,Source} proper enums" am: a421f8ff53 am: cdd4f0bdaf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511333
Change-Id: Ie7b5bd929dba5bdaee67e5381bcac7099c1e0596
2020-11-26 14:11:15 +00:00
Treehugger Robot
a421f8ff53
Merge "Make ChangeReporter.{Status,Source} proper enums"
2020-11-26 13:37:45 +00:00
Treehugger Robot
e14a8ca797
Merge "Clarify why it's safe to add java.library.path to the classloader namespace." am: 27310f0340 am: bca09c81a3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507503
Change-Id: Ia31368bc67bfde85e6845ed8832966363fdc7ac0
2020-11-26 03:10:33 +00:00
Treehugger Robot
27310f0340
Merge "Clarify why it's safe to add java.library.path to the classloader namespace."
2020-11-26 00:40:01 +00:00
Andrei Onea
10fb2bcd15
Make ChangeReporter.{Status,Source} proper enums
...
They mistakenly were tagged as flags, which is not applicable for either
of them.
Test: m
Bug: 174237593
Change-Id: I982ddc53839f13255ea68c9852fd20c3fe5a8433
2020-11-25 17:30:23 +00:00
Martin Stjernholm
6e258a9c8b
Clarify why it's safe to add java.library.path to the classloader
...
namespace.
Test: N/A - comment change only
Change-Id: I9ae485afc4b6b827c09bb7d65c3987eefd433492
2020-11-20 18:52:14 +00:00
Chiachang Wang
61199f587e
Move BasicShellCommandHandler to frameworks/lib/modules-utils am: d5726c1916 am: d3e4d83eb7 am: b6f524b2df
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483965
Change-Id: Ib09544e292d472e8dcd7dcf218035a0ec6de293c
2020-11-20 09:04:26 +00:00
Chiachang Wang
d3e4d83eb7
Move BasicShellCommandHandler to frameworks/lib/modules-utils am: d5726c1916
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483965
Change-Id: Ib2a99f1aeb31b89e69a5b313ca3774ba145dde33
2020-11-20 07:47:11 +00:00
Chiachang Wang
1b414d61b4
Merge changes from topic "move_BSCH"
...
* changes:
Remove BasicShellCommandHandler from frameworks/base
Move BasicShellCommandHandler to frameworks/lib/modules-utils
2020-11-20 07:29:56 +00:00