Commit Graph

640958 Commits

Author SHA1 Message Date
Treehugger Robot
07dba930dd Merge "profcollect: attempt to upload reports if BetterBug is available" am: c01d2f4258 am: a21c2bc3a9 am: c8fc6f2a1e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689209

Change-Id: Iecec4d0df333caf07a209e4f0c3ea3e8bdd07341
2021-04-28 11:25:10 +00:00
Treehugger Robot
c8fc6f2a1e Merge "profcollect: attempt to upload reports if BetterBug is available" am: c01d2f4258 am: a21c2bc3a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689209

Change-Id: Ida3618dfd2ed418d24c453c4556fd4085f816108
2021-04-28 11:09:55 +00:00
Yi Kong
8bcd420ab5 profcollect: alternative property to start profcollectd
Provide an alternative persist property to start profcollectd, if
device_config is not available (e.g. AOSP).

Test: manual
Bug: 184811672
Change-Id: I684610ff4d4cff0b73711fb07c98c755250cec2d
2021-04-28 19:04:40 +08:00
Treehugger Robot
a21c2bc3a9 Merge "profcollect: attempt to upload reports if BetterBug is available" am: c01d2f4258
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689209

Change-Id: I4dc9cc1c28b095395ba03634ede9bb1b28c172ba
2021-04-28 10:45:47 +00:00
Tom Natan
ba2767ef4a Merge "Document version codes in CompatChanges API" am: d4691f8a31 am: de7b72d03e am: bfc894c34f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067

Change-Id: I6bc5d31fa7fc02194fd7e638658f7120f1b68500
2021-04-28 10:26:25 +00:00
Vladimir Marko
e8c9b223f5 Merge "Biometrics: Add back import needed by lint." am: 3164fcbb4c am: 18b6ffe526 am: 72e0d41f1c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689745

Change-Id: I6bd52ea4ff8f0dbbf0bc6db294a275397e5705c7
2021-04-28 10:25:31 +00:00
Treehugger Robot
c01d2f4258 Merge "profcollect: attempt to upload reports if BetterBug is available" 2021-04-28 10:21:07 +00:00
TreeHugger Robot
da2192eacf Merge "Disable flaky pip/app close tests (flicker)" into sc-dev 2021-04-28 10:13:57 +00:00
Jason Hsu
b9e5094100 Merge "Add accessibility shortcut icon into adaptive icon" into sc-dev 2021-04-28 10:02:14 +00:00
Tom Natan
bfc894c34f Merge "Document version codes in CompatChanges API" am: d4691f8a31 am: de7b72d03e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067

Change-Id: Ibf988dded00d18d3ceb7e7642e466641eea27862
2021-04-28 10:00:17 +00:00
Vladimir Marko
72e0d41f1c Merge "Biometrics: Add back import needed by lint." am: 3164fcbb4c am: 18b6ffe526
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689745

Change-Id: Idababfc46994097ad725698c259696add686efe6
2021-04-28 09:59:44 +00:00
Aaron Huang
a10cc3aa60 Rename *Iface* APIs to *Interface*
Address API review feedback, other APIs have been refering to
these as "interface" instead of "iface" so migrate the APIs named
*Iface* to *Interface*.

Bug: 183972554
Test: atest android.net.UnderlyingNetworkInfoTest
Change-Id: I38b476e762fb57fa88c4a789092d0af6f5330d80
2021-04-28 17:57:32 +08:00
Tom Natan
de7b72d03e Merge "Document version codes in CompatChanges API" am: d4691f8a31
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688067

Change-Id: I1a641684ee6010137daa7680216fd9c516bf6412
2021-04-28 09:36:03 +00:00
Vladimir Marko
18b6ffe526 Merge "Biometrics: Add back import needed by lint." am: 3164fcbb4c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689745

Change-Id: I4455d02a945ee6b876e36108c0f01a7605996ae4
2021-04-28 09:33:02 +00:00
Tom Natan
d4691f8a31 Merge "Document version codes in CompatChanges API" 2021-04-28 09:32:06 +00:00
kholoud mohamed
f01ffd8b53 Add a new permission to install testOnly apps
Added a new permission INSTALL_TEST_ONLY_PACKAGE
and granted it to shell, this will allow installing
testOnly apps from a testAPI.

Test: N/A
Bug: 183716601
Merged-In: I047a4013fb3462db3487eab2d1635ea75ae29264
Change-Id: I047a4013fb3462db3487eab2d1635ea75ae29264
2021-04-28 10:32:03 +01:00
Stanislav Zholnin
bd45b82617 Merge "Bug fixes and testing support for DiscreteRegistry" into sc-dev 2021-04-28 09:09:35 +00:00
Vladimir Marko
3164fcbb4c Merge "Biometrics: Add back import needed by lint." 2021-04-28 09:05:08 +00:00
Louis Chang
33a4336877 Do not relaunch bg activities when application info changes
Update the configurations via ActivityTaskManager to prevent the
activities being relaunched while in background. Instead, the
activities will be relaunched after brought to front and being visible.

This also prevents all activities in the system being relaunched
at the same time.

For framework resource updates, the global configuration will be
updated.

For individual package overlay changes, new asset sequence would be
set to the activity's requested configurations to ensure the activity
will be relaunch once visible. The requested asset sequence will be
reset if its parent has a newer asset sequence.

Bug: 185301309
Test: update app info via shell command while activity in background
Test: atest ResourcesLoaderValuesTest
Test: atest RoleManagerTest#requestRoleAndAllowThenIsRoleHolder
Change-Id: Ic7f13b768fb575d6301f05f7fda71b15d1ccf312
2021-04-28 17:00:07 +08:00
Kholoud Mohamed
da3d4e8608 Merge "Revert "Revert "Changed dpm shell commands to use 'cmd device_policy'""" into sc-dev 2021-04-28 08:59:23 +00:00
Vladimir Marko
b909b68c3d Biometrics: Add back import needed by lint.
Test: m out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/doc-comment-check-docs-docs.zip
Bug: 163866361
Bug: 186586694
Change-Id: I1e105ef8bae55c6ad01952739c5b092797217766
2021-04-28 09:57:28 +01:00
Shan Huang
7f10581412 Merge "Avoid triggering ripple repeatedly by adding debounce with an exponential falloff." into sc-dev 2021-04-28 08:16:58 +00:00
Nataniel Borges
d825929c73 Disable flaky app pair assertions
Assertion is flaky in presubmit

Bug: 186510496
Test: atest FlickerTests WMShellFlickerTests
Change-Id: Ic796c86d555376283adbcdb06ea80c6d9ddbfe07
2021-04-28 10:05:16 +02:00
Martijn Coenen
13f793aec9 Fixup app-private dirs that are not writable.
Fixup non-writable app-private dirs that could have been left around by
an earlier race condition in the setup of the FUSE filesystem.

Bug: 181726193
Bug: 182088154
Test: erase userdata, check Youtube dirs are fixed up correctly
Change-Id: I7972f79d14893571289a2245f98e90e6c8c69f0a
2021-04-28 09:48:50 +02:00
TreeHugger Robot
9ccd991dac Merge "Move new changes to ParsingPackageUtils" into sc-dev 2021-04-28 07:36:36 +00:00
Yi Kong
2069f61ccd profcollect: attempt to upload reports if BetterBug is available
BetterBug has their feature flag for controlling report upload, no need
to have duplicate flag in profcollect.

Test: manual
Change-Id: I82b0c341d3b150c3567ffe8da35bf41ac199419b
2021-04-28 15:25:57 +08:00
Chris Li
cde271685f Determine whether to support activities in multi window (1/n)
Add a field of supportsMultiWindow to TaskInfo for WM Shell to use.

Because we will change to Task#supportsMultiWindow to check the
support based on the root activity's resizibilty, min widht/height,
and the device settings, using this to replace the check in
ActivityTaskManager, which is pure device settings.

Bug: 176061101
Test: atest WMShellFlickerTests
Change-Id: Iad94b39506e71b6224d923f02bd7fc454cae02c8
2021-04-27 23:59:38 -07:00
Wilson Wu
e702c9d381 Make IInputMethodPrivilegedOperations to async (5/N)
-. Remove VoidResultCallback of notifyUserAction.
   and let it be truly asynchronous.
-. Rename this method to notifyUserActionAsync.

Bug: 183587528
Test: atest CtsInputMethodTestCases
Change-Id: I384fd689b6bd1d418ff5208444fbba2c1eac6f85
2021-04-28 14:40:08 +08:00
Edgar Wang
3423365dd5 Update TopIntroPreference fontFamily
Bug: 186387500
Change-Id: Iac5600b5192588bffd39155c65b84265bbaca127
Test: visual
(cherry picked from commit 59f7c47d7b)
2021-04-28 06:37:02 +00:00
Zhen Zhang
8b2fc22a5c Log user level App Hibernation related atoms
At user level, we are logging one pushed atom when user level
hibernation state changed for a package; and one pulled atom with the
information of count of hibernating apps per user.

Bug: 186157912
Test: atest AppHibernationServiceTest
Test: run statsd_testdrive 10107, pulled data is correct;
Test: run statsd_testdrive 370. Run the hibernation job from cmd and see
correct pushed data

Change-Id: Ifdd04f6fffad9d425b0bfb39cba7bc2fcc993e5e
2021-04-27 23:20:25 -07:00
jasonwshsu
5ade32bdf6 Add accessibility shortcut icon into adaptive icon
* add/modify icons list: color correction, color inversion,
magnification, extra dim

Fix: 184081577
Test: manual test
Change-Id: I5ceee75f0263072805af23a7bbdfc68d7008db6e
2021-04-28 14:08:41 +08:00
Wilson Wu
78a23141be Make IInputMethodPrivilegedOperations to async (4/N)
-. Remove VoidResultCallback of updateStatusIcon
   and let it be truly asynchronous.
-. Rename this method to updateStatusIconAsync.

Bug: 183587528
Test: atest CtsInputMethodTestCases
Change-Id: Ic7759354ec06a3293ea370ab7afe7422eb2d9356
2021-04-28 12:56:38 +08:00
Tianjie
1cfb57c023 Dump the IOexception before retrying load escrow key
This gives us more information on the reason of the failure.

Test: unittest
Change-Id: I0c4b91aa67607c2b1fdddcd4477fa67287fa4b3e
2021-04-27 21:49:22 -07:00
Treehugger Robot
198741831a Merge "Update register and unregisterControllerAlwaysOnListener" am: 16019ad77d am: 925778283c am: 270ca9b85e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686685

Change-Id: Ib847254e7ccf35aa0050bcb1893fa9924899af97
2021-04-28 04:47:19 +00:00
Treehugger Robot
270ca9b85e Merge "Update register and unregisterControllerAlwaysOnListener" am: 16019ad77d am: 925778283c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686685

Change-Id: I6ec902877875a9ccd7c80ecb5ec7986032e38043
2021-04-28 04:27:31 +00:00
Treehugger Robot
925778283c Merge "Update register and unregisterControllerAlwaysOnListener" am: 16019ad77d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686685

Change-Id: Id1d67bf38d01ca70f72e13aeb12730c196f2570d
2021-04-28 04:05:01 +00:00
Darryl Johnson
2dd3fdce69 Merge "Don't throw exception if DeviceStateProviderImpl can't find required sensor." into sc-dev 2021-04-28 03:54:50 +00:00
Mill Chen
1b2e778a91 Make collapsing toolbar load font synchronously
Since collapsing toolbar might load the font asynchronously, it caused
that some settings pages are seeing a flicker on its title. This change
is using TextAppearanceConfig.setShouldLoadFontSynchronously(true)
method to have title font load synchronously, which would remove the
flicker problem.

Bug: 182232144
Test: visual verified
1) Settings > Notifications > Notification history
2) See if there's a flicker on title

Change-Id: I80f5c5862ea6408bfb372d61a11122fb0240e45d
2021-04-28 11:52:54 +08:00
Zoey Chen
4f6640c559 [Telephony] Remove getChannelNumber from SDK
getChannelNumber is replaced with getDownlinkChannelNumber

Bug: 186475843
Test: make
Change-Id: Ibb5a3d7ca1abd412e7c5a6c24baeb0ad71fcfe9b
2021-04-28 11:49:24 +08:00
Rhed Jao
f4baaf8a8e Merge "Add a synchronized lock into the SplitDependencyLoaderImpl" into sc-dev 2021-04-28 03:42:05 +00:00
Treehugger Robot
16019ad77d Merge "Update register and unregisterControllerAlwaysOnListener" 2021-04-28 03:41:39 +00:00
Alexander Dorokhine
5d3d644cbc Merge "Update framework from jetpack." into sc-dev 2021-04-28 03:33:15 +00:00
Bill Lin
e19e708408 Merge "Revert "Revert "1/ Add onStartTransition() callback for SYSUI_ST..."" into sc-dev 2021-04-28 03:14:29 +00:00
Lucas Dupin
73a04cd4e3 Interpolate scrim radius using display shape
So the scrim still looks right on display with more square corners.

Bug: 185683835
Test: manual
Change-Id: Id02a098815b71a98bc517e765e39e75ed11a6727
2021-04-27 19:55:08 -07:00
Treehugger Robot
6ac5508707 Merge "Expose parsing util methods for telephony validation" am: 5092ae8c8b am: 2bf2f964d7 am: ad03a4a172
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665959

Change-Id: I9116d44ad96ac2a4af5631541c6b27fe1813c81d
2021-04-28 02:51:42 +00:00
Benedict Wong
a344e94eda Merge "Set safe mode alarm when validation reports NOT_VALID" am: 19be41cb30 am: 5bf42637a8 am: d5af4baf80
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689285

Change-Id: Id5c0d8688d3c9be59b66d253161b8e8c941556eb
2021-04-28 02:51:12 +00:00
Benedict Wong
3de56b2ee0 Merge "Allow VcnTransportInfo to be parcelled" am: eecd1d9ca5 am: 3e633b7822 am: 13ffa97a76
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1686985

Change-Id: If4f26b60f10be868ae0763a4fcccb61695d39151
2021-04-28 02:50:12 +00:00
Kevin Han
f3040a456b Merge "Exit hibernation when usage is detected" into sc-dev 2021-04-28 02:41:54 +00:00
Treehugger Robot
ad03a4a172 Merge "Expose parsing util methods for telephony validation" am: 5092ae8c8b am: 2bf2f964d7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665959

Change-Id: Idd627861381e58f1be80c52cc85353b246f06edd
2021-04-28 02:30:58 +00:00
Benedict Wong
d5af4baf80 Merge "Set safe mode alarm when validation reports NOT_VALID" am: 19be41cb30 am: 5bf42637a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689285

Change-Id: I9d806e017e873b72f5b37ab9f5371651ca360696
2021-04-28 02:30:42 +00:00