Commit Graph

542466 Commits

Author SHA1 Message Date
Jay Aliomer
a354678902 Merge "Dark theme twilight mode not initializing properly" into rvc-dev am: 284afca897 am: ab4d9abd6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794325

Change-Id: I498b3e338358d217b8f71aa380e7022ff2ce3bff
2020-06-15 16:58:38 +00:00
Songchun Fan
96044c8186 [pm] use abi info from parsedPackage during getNativeLibraryPaths
BUG: 158795052
Test: manual
Change-Id: I4b85136a278790bc7f5676bf353ef836b657e65f
2020-06-15 09:58:29 -07:00
Ruslan Tkhakokhov
52669b0720 Store original values of replaced settings in Settings.Secure
Bug: 153940088
Test: atest SettingsProviderTest:SettingsHelperTest

Writing new settings to Settings.System is only available to privileged
callers. Move the storage of the original values of replaced settings to
Settings.Secure. See the attached bug for more context on replaced
settings.

Change-Id: I8f1e8e88da4766b5fca9362cdbe88d93b964db9b
2020-06-15 16:49:52 +00:00
Selim Cinek
addcaf9f51 Merge "Fading in edit button much later" into rvc-dev 2020-06-15 16:48:02 +00:00
TreeHugger Robot
84f65247cb Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056

Change-Id: I866bc89927ae11a0da7069d33e3e06d5c1f1b51f
2020-06-15 16:42:24 +00:00
TreeHugger Robot
95a411a87d Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056

Change-Id: I3449f64a8405e8e64d4e270277c226c6da64e5df
2020-06-15 16:42:17 +00:00
Eugene Susla
185d90c5a3 Merge "Exempt companion apps from auto revoke" into rvc-dev am: 4b3418bfed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855569

Change-Id: If66efed2e151d0530361770fc425ececbb24153a
2020-06-15 16:41:56 +00:00
Eugene Susla
1eaa062d60 Merge "Exempt companion apps from auto revoke" into rvc-dev am: 4b3418bfed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855569

Change-Id: Ib238f8eda4fe8489540bedc4542fc011ae8eb63b
2020-06-15 16:41:43 +00:00
Jay Aliomer
c6fb2df3e5 Merge "Dark theme twilight mode not initializing properly" into rvc-dev am: 284afca897
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794325

Change-Id: I25e60ce252a126810179175fa61038f92eae8037
2020-06-15 16:41:21 +00:00
Jay Aliomer
ab4d9abd6c Merge "Dark theme twilight mode not initializing properly" into rvc-dev am: 284afca897
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794325

Change-Id: I1336f3dd4e8a8d10184013131d6cb810a546dfc3
2020-06-15 16:40:57 +00:00
Mark Chien
5b0fdf6bed Revert "Revert "Pass entitlement configuration to Settings for entitlement check""
Add commit message here for reference:
Tethering resource configuration is move from framework to tethering
module. The resource would not be accessible from outside of tethering
module.
List the replacements of framework resources usage and intent extra:
1. R.string.config_mobile_hotspot_provision_response
    --> android.net.extra.TETHER_PROVISIONING_RESPONSE.
2. R.string.config_mobile_hotspot_provision_app_no_ui
    --> android.net.extra.TETHER_UI_PROVISIONING_APP_NAME
3. R.array.config_mobile_hotspot_provision_app
    --> android.net.extra.TETHER_SILENT_PROVISIONING_ACTION
Besides, the current active subId would put in
android.net.extra.TETHER_SUBID

Note: They are not APIs because of API freeze. Now both tethering module
and Settings define these strings independently.

Bug: 146918263
Test: atest TetherServiceTest
      atest TetherProvisioningActivityTest

This reverts commit 88f2b816aa.

Reason for revert: Resume the CL and put this CL with settings part in the same topic to avoid break.

Change-Id: I114b4c258743661df51e5a969e150047a292e035
2020-06-15 16:38:53 +00:00
TreeHugger Robot
e0ba6d9dff Merge "Don't provide read logs for shell-initiated installations." into rvc-dev 2020-06-15 16:38:32 +00:00
Eugene Susla
4b3418bfed Merge "Exempt companion apps from auto revoke" into rvc-dev 2020-06-15 16:38:27 +00:00
Jay Aliomer
284afca897 Merge "Dark theme twilight mode not initializing properly" into rvc-dev 2020-06-15 16:30:02 +00:00
Stanislav Zholnin
9edce64ef2 Properly handle situation when currentOpPackageName returns null.
Fixes: 158309330
Test: adb shell content query --uri content://com.android.contacts/data --projection  contact_id:raw_contact_id:_id:display_name:last_time_used:data1:account_type:mimetype
Change-Id: I6c5d0c4fef150ba45721d474ac0f83778d543467
2020-06-15 17:28:33 +01:00
Automerger Merge Worker
b8776904c9 Merge "Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8" into rvc-d1-dev-plus-aosp am: 4c3bb51aff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: I0a0be45181517ea4517cc658961841468dee6e20
2020-06-15 16:16:42 +00:00
Automerger Merge Worker
265c84900a Merge "Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8 am: e97e49b367" into rvc-qpr-dev-plus-aosp 2020-06-15 16:16:38 +00:00
Will Brockman
e627620b37 Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8 am: e97e49b367
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: I7682a4a071934076613df661be53c49d31ff4931
2020-06-15 16:16:26 +00:00
Will Brockman
cba3e9fe97 Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 60d3543b3a am: 3b2ad8a1f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: Iedc137d672a8182c9388ff30d366bf9c2ba1dc00
2020-06-15 16:16:17 +00:00
Richard Gaywood
52a2edf548 Implementation of sharding for procstats atoms
Oftentimes, the ProcStats protobuf is larger than StatsEvent can handle.
With this CL, we detect that state before it happens, and attempt to
shard the ProcStats data over multiple protobufs, each with its own
StatsEvent.

Test: see b/158294266
Bug: 158294266
Change-Id: I1787d0ddeb6825a55adb8e0e1ec55c89af6990c5
2020-06-15 16:08:35 +00:00
Automerger Merge Worker
4c3bb51aff Merge "Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8" into rvc-d1-dev-plus-aosp 2020-06-15 16:05:40 +00:00
Will Brockman
3b2ad8a1f6 Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 60d3543b3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: I24b0150bc9bd4d2d6e5314a923d6bb891f1b5b57
2020-06-15 16:05:25 +00:00
Will Brockman
e0987a47ae Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: I273bf417afb7b61fc82d93adeff2e88c31b3d7c3
2020-06-15 16:05:16 +00:00
Will Brockman
e97e49b367 Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703 am: 24096646d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: Ief38a5169eebdd2504563d18cea51e22f9138751
2020-06-15 16:05:15 +00:00
Steve Elliott
9f80cf1842 Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: b7a442409d am: 2a2250298e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I8034d43ed38f78ba3e9e9ecbb0edad8a2d10deba
2020-06-15 15:58:20 +00:00
Treehugger Robot
1379802e17 Merge "Make LaunchPerformanceBase and UnitTestSuiteBuilder as APIs" am: 073943f0fd am: a7d0cbe7f6 am: 0bcd1b9f56 am: 8f24e0d9b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1321319

Change-Id: Id7e3aeb021459c8f89d7a8d2ce73f6dd72be280f
2020-06-15 15:56:05 +00:00
Ned Burns
59a62fc264 Properly collapse QQS header when QQS is disabled
In landscape, we need to fully hide the QQS when the user starts to do
an inline reply, otherwise nothing fits on the screen. This CL adds back
in some of the old Q behavior wherein we set the height of the header to
essentially zero when the QQS has been disabled (in this case, by the
inline reply logic).

Fixes: 157150870
Test: manual
Change-Id: Ib14603eb2e67bf4bf3b624b677a74754d4e54f41
2020-06-15 11:55:40 -04:00
Automerger Merge Worker
2f830909f8 Merge "Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: fa9391fead" into rvc-d1-dev-plus-aosp am: 6eb60e2945
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I9414761f9ff9b8fdd540fa3b3f01b22b2bfadc43
2020-06-15 15:55:39 +00:00
Steve Elliott
f2856077a0 Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: b7a442409d am: 2bcad832cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I61efb54acb11cf028a067e0a6e916a146116182e
2020-06-15 15:55:18 +00:00
Will Brockman
60d3543b3a Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: Iea28e876a816d342b95257b53e9fc8abbc83d1f6
2020-06-15 15:53:37 +00:00
Will Brockman
24096646d8 Merge "More accurate notification panel logs." into rvc-dev am: 0e93473703
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11441782

Change-Id: I29e6f8c4194f4b52b48a187d1f5256b66a445619
2020-06-15 15:53:36 +00:00
Beverly
8c736aa4f9 Set PageIndicator pages in QSPanel#onMeasure
Pre-emptively update PageIndicator's numPages before measuring in
QSPanel so that views will be appropriately measured. Previously, new
PageIndicator child views would be added in the middle of a QSPanel layout pass
after already being measured, so the new PageIndicator child wouldn't be
measured.

Test: manually add and remove new QS tiles. rotate between landscape +
portrait modes. observe the PageIndicator is correct.
Fixes: 157542221

Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3
2020-06-15 15:51:42 +00:00
Will Brockman
0e93473703 Merge "More accurate notification panel logs." into rvc-dev 2020-06-15 15:44:29 +00:00
Steve Elliott
2a2250298e Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: b7a442409d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I24073e4ea2bf87d2171a85c2ecb88627fc5e3ece
2020-06-15 15:40:26 +00:00
Treehugger Robot
8f24e0d9b0 Merge "Make LaunchPerformanceBase and UnitTestSuiteBuilder as APIs" am: 073943f0fd am: a7d0cbe7f6 am: 0bcd1b9f56
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1321319

Change-Id: Ibe90b928678e4d6e3580dee44a81a1a0aca78e45
2020-06-15 15:30:13 +00:00
Automerger Merge Worker
6eb60e2945 Merge "Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: fa9391fead" into rvc-d1-dev-plus-aosp 2020-06-15 15:30:07 +00:00
Steve Elliott
62de793db4 Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: fa9391fead
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I276f3ebea7eed76cd1e194276ff6dc085bc1e13f
2020-06-15 15:29:59 +00:00
Steve Elliott
2bcad832cf Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e am: b7a442409d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I90201e63b1dc171771246e789b4bfdebacf154b6
2020-06-15 15:29:46 +00:00
Treehugger Robot
0bcd1b9f56 Merge "Make LaunchPerformanceBase and UnitTestSuiteBuilder as APIs" am: 073943f0fd am: a7d0cbe7f6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1321319

Change-Id: I51471064908f8af5626f0edd8824d988875f0644
2020-06-15 15:29:45 +00:00
Fabian Kozynski
61ebaf5c46 Add multi-user support for AutoTileManager
Before this CL, AutoTileManager (and AutoAddTracker) would only work
"corectly" for user 0, as all the settings (read and write) were done in
user 0. This meant that tiles that got auto added as user 0 would not be
auto-added for other users. Similarly, tiles that got auto added as a
secondary user would not be auto added as user 0.

This CL makes sure that everything is done with respect to the current
user (as reported by QSTileHost).

Checks if the color display supports inversion in tests.

Test: manual
Test: atest AutoTileManagerTest AutoAddTrackerTest
Fixes: 154607890

Merged-In: I518334cca0a0960e0b3b74b43ac9fce4610c7bd0
Change-Id: Icc1406ebd2bf94da3a427f3b13f11b325e25b491
2020-06-15 11:17:43 -04:00
Treehugger Robot
a7d0cbe7f6 Merge "Make LaunchPerformanceBase and UnitTestSuiteBuilder as APIs" am: 073943f0fd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1321319

Change-Id: Ifdd37610fbe57ee1644f4d3a6683a31ba4bc514b
2020-06-15 15:12:19 +00:00
Steve Elliott
b7a442409d Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I1562bf706f7614da400bd5039b87b1bfac22507c
2020-06-15 15:12:15 +00:00
Steve Elliott
fa9391fead Merge "Fix occasional bad placement of Conversation header" into rvc-dev am: c744ad246e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797119

Change-Id: I7fb936b303a04225dcd024f874d2f0ace8ec0e2a
2020-06-15 15:12:07 +00:00
Riddle Hsu
623543459e Merge "Set pillar box bounds in fixed orientation display" into rvc-dev am: 541633e3d6 am: 8407a8ccac am: 455e968bde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862406

Change-Id: I0c2ac97f2db2c04b57333b8f021a82abf239eee4
2020-06-15 15:01:03 +00:00
Automerger Merge Worker
8e80628a62 Merge "[automerger skipped] Merge "Revert "Add multi-user support for AutoTileManager"" into rvc-dev am: 3616fd6330 -s ours am: 302db9a7d2 -s ours" into rvc-d1-dev-plus-aosp am: 5bf19b3848 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I19febdb7516b2f33c92b6845c649442493d46aae
2020-06-15 15:00:45 +00:00
Riddle Hsu
603ab7f9ee Merge "Set pillar box bounds in fixed orientation display" into rvc-dev am: 541633e3d6 am: 03914e642b am: e2e919ab0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862406

Change-Id: I54fdccb80620e358b647ead1d01328de930fd9c3
2020-06-15 15:00:17 +00:00
Automerger Merge Worker
ac536b9df2 Merge "[automerger skipped] Merge "Revert "Add multi-user support for AutoTileManager"" into rvc-dev am: 3616fd6330 am: d2862c2335 -s ours am: ed87d2e4e7 -s ours" into rvc-qpr-dev-plus-aosp 2020-06-15 14:59:27 +00:00
Riddle Hsu
938bf4853d Merge "Set pillar box bounds in fixed orientation display" into rvc-dev am: 541633e3d6 am: 8407a8ccac am: 4c2be9ab66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862406

Change-Id: I1157b6dfdb5c290317abdbfd5a87f64693bc20fc
2020-06-15 14:59:19 +00:00
TreeHugger Robot
6e6e9dd7f8 [automerger skipped] Merge "Revert "Add multi-user support for AutoTileManager"" into rvc-dev am: 3616fd6330 am: d2862c2335 -s ours am: ed87d2e4e7 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: Ib20cb99db7a540f85107d601c230844527595537
2020-06-15 14:59:13 +00:00
TreeHugger Robot
946e0bd703 [automerger skipped] Merge "Revert "Add multi-user support for AutoTileManager"" into rvc-dev am: 3616fd6330 -s ours am: 302db9a7d2 -s ours am: b7005bfc04 -s ours
am skip reason: Change-Id I518334cca0a0960e0b3b74b43ac9fce4610c7bd0 with SHA-1 31a266d5a3 is in history

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

Change-Id: I683a6f7fce5ee60e66f33bf0a99eebbe252798fc
2020-06-15 14:59:09 +00:00