Commit Graph

640958 Commits

Author SHA1 Message Date
Connor O'Brien
0602a88a8f Merge "Log less on negative deltas in kernel CPU time readers" into sc-dev 2021-05-12 18:53:33 +00:00
Ahaan Ugale
f765882432 Pipe UiTranslationSpec through to the UiTranslationController.
And use it to conditionally enable content padding for requested views.

Fix: 179693024
Test: atest android.translation.cts.UiTranslationManagerTest
Test: adb shell dumpsys activity <ACTIVITY> --translation
Change-Id: I23fb29a60525d736f2dcf9d11b548c62332c412c
2021-05-12 11:47:15 -07:00
TreeHugger Robot
209a1ee0b1 Merge changes I8dc57930,Ia993613f,I111cc425 into sc-dev
* changes:
  Enable PackageManagerService snapshots
  Improve snapshot performance
  Correct snapshot races
2021-05-12 18:42:25 +00:00
Ned Burns
7504ce2789 Merge "Spin off smartspace behavior into SmartspaceController" into sc-dev 2021-05-12 18:30:09 +00:00
Seigo Nonaka
f39661e411 Try to draw with given font before updating
Bug: 187542525
Test: atest FontFamilyUpdateRequestTest
Test: atest FontListParserTest
Test: atest FontManagerTest
Test: atest NativeSystemFontTest
Test: atest PersistentSystemFontConfigTest
Test: atest SystemFontsTest
Test: atest SystemFontsUniqueNameTest
Test: atest UpdatableFontDirTest
Test: atest UpdatableSystemFontTest
Change-Id: Iadb717c1cdf9e3c9470001be5884c0419a26035e
2021-05-12 11:26:52 -07:00
Automerger Merge Worker
aac9987aed Merge "[automerger skipped] Merge "Ensure storage permission revoke happens for all users" into rvc-qpr-dev am: 9e639ddde5 -s ours" into rvc-qpr-dev-plus-aosp am: 47592cbcee -s ours
am skip reason: Merged-In Ieb8bb9cde1576e9eee131338d393b8a3528341ec with SHA-1 37acd7ee52 is already in history

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

Change-Id: I279a255dbf70f32ae6693b108b49173c5ce3086a
2021-05-12 18:24:44 +00:00
Lucas Lin
9694940b96 [automerger skipped] Merge "Update PrivateDnsMode from StringDef to IntDef" am: 1742bf024c am: eb6daaa8af am: 9df8482c78 -s ours
am skip reason: Merged-In I23e7ec140066979726d769cabc5f7057bb2167e6 with SHA-1 56451e2847 is already in history

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

Change-Id: I6bf6c1259a83fb9763b286941b7df8fe6e491bcf
2021-05-12 18:24:14 +00:00
Lucas Lin
cd366b6eaf [automerger skipped] Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev am: 542d796a9f am: 6f53003c47 -s ours am: e9e500a82b -s ours
am skip reason: Merged-In I7b43940dc32826c70fa82f471b35bc5cb8394aad with SHA-1 c737926795 is already in history

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

Change-Id: Ie39cad37ac044cb34c4cf46348904260c31ac3c2
2021-05-12 18:23:37 +00:00
Lucas Dupin
0ec7ddeba8 Blend premultiplied colors
Mixing alpha blended colors, and then premultiplying them in the end was
causing artifacts on the sparkles.

Bug: 187824279
Test: visual
Change-Id: Icde12c3fa737f597f18f2705eefa687a49a19445
2021-05-12 11:14:03 -07:00
yinxu
05b2ad48fb Hide the mobile slot when QSBH expands in legacy model
Bug: 186621488
Test: Manual testing
Change-Id: I1570424658cf6a3d750f2d649814c0462a543c48
2021-05-12 11:08:03 -07:00
Automerger Merge Worker
47592cbcee Merge "[automerger skipped] Merge "Ensure storage permission revoke happens for all users" into rvc-qpr-dev am: 9e639ddde5 -s ours" into rvc-qpr-dev-plus-aosp 2021-05-12 18:00:23 +00:00
Nate Myren
fb59f47f72 [automerger skipped] Merge "Ensure storage permission revoke happens for all users" into rvc-qpr-dev am: 9e639ddde5 -s ours
am skip reason: Merged-In Ieb8bb9cde1576e9eee131338d393b8a3528341ec with SHA-1 37acd7ee52 is already in history

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

Change-Id: I7974e5eff334a11b6d03293562d9aefce0adf211
2021-05-12 18:00:03 +00:00
Lucas Lin
e4132f47c7 [automerger skipped] Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev am: 542d796a9f -s ours am: d277e07847 -s ours
am skip reason: Merged-In I7b43940dc32826c70fa82f471b35bc5cb8394aad with SHA-1 64c30c6107 is already in history

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

Change-Id: I67136183ff603f3a8028dbc538dc2176dc650ce7
2021-05-12 17:59:59 +00:00
Lucas Lin
9df8482c78 Merge "Update PrivateDnsMode from StringDef to IntDef" am: 1742bf024c am: eb6daaa8af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675562

Change-Id: I0b2ad20c59397395175b82688cfe657af43a1b19
2021-05-12 17:59:57 +00:00
Lucas Lin
e9e500a82b [automerger skipped] Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev am: 542d796a9f am: 6f53003c47 -s ours
am skip reason: Merged-In I7b43940dc32826c70fa82f471b35bc5cb8394aad with SHA-1 bfb3e5088f is already in history

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

Change-Id: I27cd7672349c0f1f4c4831c3c3cab720720ac373
2021-05-12 17:59:35 +00:00
Jeff DeCew
9e30756592 Merge "Show minimized header text with the correct text weight" into sc-dev 2021-05-12 17:57:57 +00:00
TreeHugger Robot
06aa2b5601 Merge "autoMirror chevron" into sc-dev 2021-05-12 17:43:35 +00:00
TreeHugger Robot
c562b93a11 Merge "Better error message for missing job services." into sc-dev 2021-05-12 17:34:38 +00:00
Victor Chang
e06e41e358 Add ART module-lib and system API to the collection
Bug: 157639992
Test: m update-api
Change-Id: Id0c62abed4aa932f291b71dcd814d065bb59eb2c
2021-05-12 18:27:41 +01:00
Nate Myren
9e639ddde5 Merge "Ensure storage permission revoke happens for all users" into rvc-qpr-dev 2021-05-12 17:24:06 +00:00
Lucas Lin
eb6daaa8af Merge "Update PrivateDnsMode from StringDef to IntDef" am: 1742bf024c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675562

Change-Id: I391d8dd2615f090d3112af69248aea70e334f62f
2021-05-12 17:23:45 +00:00
Lucas Lin
d277e07847 [automerger skipped] Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev am: 542d796a9f -s ours
am skip reason: Merged-In I7b43940dc32826c70fa82f471b35bc5cb8394aad with SHA-1 64c30c6107 is already in history

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

Change-Id: I977a5bdbf0c320a83075a17208abb68aab52ff2d
2021-05-12 17:22:58 +00:00
Lucas Lin
6f53003c47 Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev am: 542d796a9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14455604

Change-Id: I4a64821743d6ee4e4ae9b9d2759e38369cde5656
2021-05-12 17:21:55 +00:00
Evan Severson
5d85114b05 Merge "Add delay for mic/cam toggle dialog" into sc-dev 2021-05-12 17:20:28 +00:00
Treehugger Robot
1761a873cb Merge changes Icb59b15d,I6fc6a266,I5cc340e5,I94db52a8 am: b79dcb24d0 am: 5804521e8c am: 32c2d34383
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700309

Change-Id: Ifab0469fb2687cae7b361b5009abe152a35048c5
2021-05-12 17:16:19 +00:00
Lucas Lin
1742bf024c Merge "Update PrivateDnsMode from StringDef to IntDef" 2021-05-12 17:09:50 +00:00
Lucas Lin
542d796a9f Merge "Remove sendNetworkConditionsBroadcast" into rvc-dev 2021-05-12 17:08:42 +00:00
Treehugger Robot
32c2d34383 Merge changes Icb59b15d,I6fc6a266,I5cc340e5,I94db52a8 am: b79dcb24d0 am: 5804521e8c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700309

Change-Id: I0c8987358edd0d77965507819e81faa21daaf767
2021-05-12 17:01:13 +00:00
Caitlin Cassidy
47e53c9ba5 [Ongoing Call Chip] Improve accessibility.
Test: atest and manual
Bug: 183229367
Change-Id: I043f7259989c5431eeedc84488ae27fb08bc79c4
2021-05-12 17:00:55 +00:00
Caitlin Cassidy
39e1ba5a27 [Ongoing Call Chip] Add analytics for when the chip becomes visible and
when the chip is clicked.

Test: atest (+ new unit tests) and manual
Bug: 183229367
Change-Id: Ib863dd8cfdda9e1cfa0d37cd145cecbb9cceb624
2021-05-12 17:00:46 +00:00
Ned Burns
7db37a067e Spin off smartspace behavior into SmartspaceController
Spins off the logic for manging the smartspace view into
LockscreenSmartspaceController. In addition to just cleaning things up,
this allows us to expose the current contents of the smartspace to any
listeners that might be interested (there's an interested listener in
the following CL).

Bug: 186481467
Test: atest
Change-Id: I117afdc984215128ec47dfd3190d1685757c0f69
2021-05-12 13:00:31 -04:00
TreeHugger Robot
fa13c6c409 Merge "Fix navbar clipping" into sc-dev 2021-05-12 16:58:13 +00:00
Stevie Kideckel
4a787a1839 Performance/jank improvements to AnalogClock
This addresses rounding of the seconds hand fraction to avoid
advancing by inconsistent amounts.

It also moves to a less janky 30FPS update rate.

This also optimizes seconds ticking to only schedule callbacks as needed
and avoids spurious updates to the content description.

Also, potential NPE fix and dead code removed.

Bug: 186099601
Test: Local testing with sample app
Change-Id: I771b4c3f1d18f7836cd42202810a1495d25a9db5
2021-05-12 16:55:25 +00:00
Tyler Gunn
177d3788ac Merge "Add hidden extra for communicating whether D2D is available" into sc-dev 2021-05-12 16:54:43 +00:00
Makoto Onuki
1cd708bb0b Clarify the semantics of ACTION_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED
Bug: 187206399
Test: build
Change-Id: Ibe450f0d7c29ada5848508b6ac6a585bfabad72b
2021-05-12 09:53:15 -07:00
Treehugger Robot
5804521e8c Merge changes Icb59b15d,I6fc6a266,I5cc340e5,I94db52a8 am: b79dcb24d0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700309

Change-Id: I76cc66f33740b519441658d0d1d631882cf4e126
2021-05-12 16:36:51 +00:00
Fabian Kozynski
272747263d autoMirror chevron
Test: manual with RTL
Fixes: 187526474
Change-Id: Ibecfaf249a6bdb75c133b1a7f396a3ff380feb76
2021-05-12 12:25:26 -04:00
Treehugger Robot
b79dcb24d0 Merge changes Icb59b15d,I6fc6a266,I5cc340e5,I94db52a8
* changes:
  Request Test Networks for VCNs when in Test Mode.
  Specify if a VCN is in 'test-mode' in VcnContext.
  Create test-mode for VcnConfig.
  Require MOBIKE for IkeSessionParams in VCN configs.
2021-05-12 16:21:25 +00:00
Kate Montgomery
3458ddf5a6 Merge "Update the default location mode for Battery Saver in order to get droidfood test coverage on the intended change." into sc-dev 2021-05-12 16:10:34 +00:00
George Chang
c80d117764 Merge "[SettingsProvider] Remove @Readable for NFC_PAYMENT_DEFAULT_COMPONENT" into sc-dev 2021-05-12 16:09:17 +00:00
Alex Buynytskyy
8e1f1debde Better error message for missing job services.
Bug: 141645789
Test: presubmit
Change-Id: I334639d624f08ae2ec5ee235d609c780a09a1338
2021-05-12 16:01:53 +00:00
Fabian Kozynski
1bdc174495 Set the correct default in quick_qs_status_icons
The values should be the ones corresponding to no center cutout, as we
no-op if the center cutout situation doesn't change.

Test: manual
Fixes: 187145236
Change-Id: Ic33fd4ab7289bcf2743d800750ae6b679c0557cf
2021-05-12 11:59:11 -04:00
Tom Natan
e68bdc6c8b Merge "Add CONSTRAIN_DISPLAY_APIS namespace." into sc-dev 2021-05-12 15:56:01 +00:00
Todd Kennedy
9b34cca80f Only dump necessary info when specifying a package
Bug: 187415768
Fixes: 187415768
Test: Manual. Compile, dump package output and notice only information
for that package is printed

Change-Id: Idf5c11e2e6fb064627b24d433bf30edd9697ce4a
2021-05-12 08:52:36 -07:00
satayev
daed7671fb Add bootclasspath_fragment.
Note that the contents of the bootclasspath_fragment are added as
dependencies to an apex, so there is no need to duplicate them in
java_libs.

Bug: 180105615
Test: atest CtsClasspathsTestCases
Change-Id: Idf501d35b631782d6c0b6eed6f6063cfb332d8e6
2021-05-12 16:44:08 +01:00
Jackal Guo
0a55e2c85f Move boot test to postsubmit
Bug: 187383694
Test: atest
Change-Id: I1611e4bb3bfc99f2bdef14357d09f4d0cf5a3a33
2021-05-12 15:39:19 +00:00
Fiona Campbell
43aefcfadf Merge "Add fallback for sensor identification in ddc" into sc-dev 2021-05-12 15:34:06 +00:00
Fabian Kozynski
89a6033e93 Fix navbar clipping
Instead of clipping on the navbar, as the QS background takes the whole
screen, just have a padding the size of the navbar. That way, when the
QS container is scrolled completely to the bottom, no view is obstructed
by the nav bar.

Test: manual
Fixes: 187444362
Change-Id: If22f46a27d48066571ba5c2193c9f6e2e0c3fe24
2021-05-12 11:30:04 -04:00
Dave Mankoff
e8a83d54c3 Merge "Add more utitlities to ThreadFactory." into sc-dev 2021-05-12 15:27:24 +00:00
Lee Shombert
f75c4a4477 Enable PackageManagerService snapshots
Bug: 179388643

Throw the switch that enables PackageManagerService snapshots.  Revert
this CL if the snapshots introduce field failures.

This improves performance on the multiUser tests startUser and
stopUser (switchUser is broken for different reasons right now).  The
"disabled" values are taken with baseline code and snapshots
disabled.  The "baseline" values are taken with baseline code and
snapshots enabled.  The "proposed" values are taken with the current
CL active.

              disabled    baseline    (delta)      intent    (delta)
boottime         28948       29169        221       28396       -552
pss             294300      334060      39760      299919       5619
rss             561201      614756      53555      566610       5409
start             4287        3894       -393        2461      -1826
stop              2847        2093       -754        1223      -1624

Test: atest
 * CtsContentTestCases:IntentFilterTest
 * CtsDynamicMimeHostTestCases
 * CtsRoleTestCases
 * FrameworksServicesTests:UserSystemPackageInstallerTest
 * FrameworksServicesTests:PackageManagerSettingsTests
 * FrameworksServicesTests:PackageManagerServiceTest
 * FrameworksServicesTests:AppsFilterTest
 * FrameworksServicesTests:PackageInstallerSessionTest
 * FrameworksServicesTests:ScanTests
 * UserLifecycleTests#startUser
 * UserLifecycleTests#stopUser
 * UserLifecycleTests#switchUser
 * FrameworksServicesTests:WatcherTest
 * android.appsecurity.cts.EphemeralTest
 * android.appsecurity.cts.InstantAppUserTest

Change-Id: I8dc579301d11c29f94a1861694be3c39f6ebf1ca
2021-05-12 08:25:53 -07:00