Commit Graph

640958 Commits

Author SHA1 Message Date
Andrea Ambu
250374368b Merge "hotword: Fix inconsistent @NonNull and API comment" into sc-dev 2021-05-05 14:54:02 +00:00
Jeff DeCew
814fbb5f08 Merge "Fix "Mark as Read" bug." into sc-dev 2021-05-05 14:35:42 +00:00
Anton Hansson
297bdc9035 Merge "Remove --ignore-classes-on-classpath argument" am: c02168f5d1 am: 481ba3e20a am: 8bf15714d5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697265

Change-Id: I15a0a33b96f8a57ba7146166c458e92d397862fb
2021-05-05 14:25:16 +00:00
Les Lee
068cc6fe37 Merge "wifi: Use new API for wifi data usage function" into sc-dev 2021-05-05 14:10:27 +00:00
Anton Hansson
8bf15714d5 Merge "Remove --ignore-classes-on-classpath argument" am: c02168f5d1 am: 481ba3e20a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697265

Change-Id: I24b7b0a0673b1601b31b1983a3508349a95b6f4d
2021-05-05 14:07:25 +00:00
Wesley.CW Wang
3e839f79e6 Update AOD charging strings
Bug: 183689347
Test: atest SystemUITests
Change-Id: Idb0c564b71fbcdd9543ad07bddf12ff8be47fefb
2021-05-05 21:48:07 +08:00
Daniel Sandler
e1a0ea6f4f Revert "Fix longstanding 0B in heap tile"
This reverts commit a5df2171fc.

Reason for revert: extreme QS jank due to expensive operation in update

Change-Id: Ia32d17b713be103f0812847f2ab08d761d9096b0
Fixes: 186845565
2021-05-05 13:43:21 +00:00
Anton Hansson
481ba3e20a Merge "Remove --ignore-classes-on-classpath argument" am: c02168f5d1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697265

Change-Id: Iddb39d3a5db3a29a70a58114dc58aba75c4ede11
2021-05-05 13:36:34 +00:00
SongFerngWang
127dc78e43 [security] SubscriptionGroup is exposed to unprivileged callers
SubscriptionInfo.mGroupUUID is not cleared in
conditionallyRemoveIdentifiers if the caller only has READ_PHONE_STATE
(based on a check to checkReadPhoneState) and not READ_DEVICE_IDENTIFIERS.
Bug: 181053462
Test: atest SubscriptionManagerTest

Change-Id: Ic2b62523330dc6e2169ad851715c4ab3da3b29cf
2021-05-05 21:33:00 +08:00
Anton Hansson
c02168f5d1 Merge "Remove --ignore-classes-on-classpath argument" 2021-05-05 13:17:56 +00:00
Stanislav Zholnin
ecb45f7e33 Fix issues with getHistoricalOps() results overflowing Binder connection.
Test: manually tested.
Bug: 186193371
Change-Id: I391cb36a86308c89056965a47596707257a2a0af
2021-05-05 14:07:02 +01:00
Dave Mankoff
2bbaf1e48a Merge "Prevent NPE on ExpandableNotificationRow." into sc-dev 2021-05-05 12:59:21 +00:00
Vadim Caen
b5881bd59f Merge "Remove uses of deprecated splashscreenContent attribute" into sc-dev 2021-05-05 12:45:40 +00:00
arangelov
40a5b55171 Update "turn on work" dialog strings
Fixes: 186879935
Test: compiled
Change-Id: Ie4056c0fd009c9c2a136e66f07e5aa0a247cb828
2021-05-05 13:30:39 +01:00
Beverly
56e8540e14 Wait for screen on callback to send aodInterrupt
We don't want to pre-emptively attempt to turn on HBM before the screen
is on.

Test: manual, atest SystemUITests
Fixes: 186079912
Change-Id: I88f89d1fde2dd5bcf3b99e38043a48382e807d7f
2021-05-05 12:25:35 +00:00
Jerry Chang
49a59525f2 Revert "Make sure tasks below home task is invisible while in split"
This reverts commit ead969a489.

Reason for revert: to verify if this brokes wm flicker presubmit

Fix: 187082054

Change-Id: I5cab74668ee985f23ceb2a28aa2c8b9bfa506311
2021-05-05 12:23:50 +00:00
Peter_Liang
0c6aa86ea7 Add key ACCESSIBILITY_FLOATING_MENU_MIGRATION_TOOLTIP_PROMPT.
The key used to show the migration information related to
the accessibility floating menu.

Bug: 175365399
Test: atest SettingsProviderTest
Change-Id: Ifabc412b990c72ad345bab2d5d8539a57bd6ca5d
2021-05-05 19:24:30 +08:00
Santos Cordon
2a0573bb9d Merge "Better fix for non-SDR brightness." into sc-dev 2021-05-05 11:05:21 +00:00
Wesley.CW Wang
6b0f53d6b6 Update battery saver footer strings
Bug: 183689347
Test: make
Change-Id: I259a64c503c6243f048064a129f5ad2819f75310
2021-05-05 18:54:33 +08:00
Treehugger Robot
6628a77236 Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 44ab24bb22 am: 0efa9c5f25 am: 3c30d79513
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690666

Change-Id: Idcae2ea15fdc931a17220ff67d294d415de2a4e7
2021-05-05 10:50:44 +00:00
Treehugger Robot
f28d438063 Merge "CEC: Drop obsolete method" am: a1f337fe73 am: 9b85cbe8c9 am: f8042eae3d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690665

Change-Id: I24acf8ebf0263d6b2a0118b80e0998c9beeb80e1
2021-05-05 10:49:48 +00:00
Treehugger Robot
3c30d79513 Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 44ab24bb22 am: 0efa9c5f25
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690666

Change-Id: Ib3606b476cb32de6539d5f9772fd60a163f44a2f
2021-05-05 10:25:58 +00:00
Treehugger Robot
f8042eae3d Merge "CEC: Drop obsolete method" am: a1f337fe73 am: 9b85cbe8c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690665

Change-Id: Ibd490bf35c8cd9b4ed69ceb3e6a25d20f321e0ca
2021-05-05 10:25:21 +00:00
Anton Hansson
26c843fd12 Remove --ignore-classes-on-classpath argument
This argument doesn't appear to alter the output.

Bug: 186197911
Test: diff metadata.zip, stubs.srcjar, annotations.zip before and after
Change-Id: I5147cf1f0658c78e5ab24952285c8fc1c036a55d
2021-05-05 11:11:57 +01:00
Ruslan Tkhakokhov
6dbbc95c95 Merge "Link to developer documentation in the doc for android:dataExtractionRules" into sc-dev 2021-05-05 10:06:11 +00:00
Treehugger Robot
0efa9c5f25 Merge "CEC: Drop TODOs marked as fixed/obsolete" am: 44ab24bb22
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690666

Change-Id: I0de95de146439015490ba3c73a012c0dc2176b29
2021-05-05 10:06:00 +00:00
Treehugger Robot
9b85cbe8c9 Merge "CEC: Drop obsolete method" am: a1f337fe73
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690665

Change-Id: Ia7779c8e681d80ae77ae8c5dad737cb1ec3e73d5
2021-05-05 10:02:23 +00:00
TreeHugger Robot
8a66bf557f Merge "Close audio source after getting callback from HotwordDetectionService" into sc-dev 2021-05-05 10:00:56 +00:00
Treehugger Robot
44ab24bb22 Merge "CEC: Drop TODOs marked as fixed/obsolete" 2021-05-05 09:43:43 +00:00
Treehugger Robot
a1f337fe73 Merge "CEC: Drop obsolete method" 2021-05-05 09:43:12 +00:00
Stanislav Zholnin
6a193b5db0 Do not hold AppOpsService lock while calling DeviceConfig
Fix: 187095462
Test: locally tested
Change-Id: I8916ee89cc9862368c11b7648c67d27441fef3d8
2021-05-05 10:38:02 +01:00
Siim Sammul
f53378bd31 Merge "Add sharding to Binder Latency collection and make it configurable. The hash code of the binder class will be used to select which apis will be collected for based on the configured modulo." into sc-dev 2021-05-05 09:30:57 +00:00
Andrea Ambu
c3f72bcf3d hotword: Fix inconsistent @NonNull and API comment
- setMediaSyncEvent does not need to accept any @Nullable param.
- getMediaSyncEvent return @Nullable.

This CL manually define the getter to allow for the @Nullable/@NotNull
and doc asymmetry.

Bug: 186469575
Fix: 186469575
Test: CtsVoiceInteractionTestCases
Change-Id: Icc0b6282e6ee13c8fcaa7dea763a39c430e66644
2021-05-05 10:24:51 +01:00
Riddle Hsu
4a17665e89 Merge "Tell activity metrics logger whether a new activity is created" into sc-dev 2021-05-05 08:50:56 +00:00
Edgar Wang
bbc997cf11 Merge "Update user profile picker style" into sc-dev 2021-05-05 08:45:19 +00:00
Kholoud Mohamed
c03a2bfe05 Merge "Add metrics in AccountManager" into sc-dev 2021-05-05 08:31:08 +00:00
Ruslan Tkhakokhov
46ab02aacc Link to developer documentation in the doc for
android:dataExtractionRules

This addresses API review comments.

Bug: 183938038
Test: m -j
Change-Id: I5a4fde0bc14971781d073ff992a6fe920e841922
2021-05-05 08:19:15 +00:00
tomnatan
2697018f70 Add an API method for clearing compat overrides on release builds
This will be useful when we want to clear overrides for apps that are no longer needed regardless of the version that is installed on device, e.g., when an app is being uninstalled, when we want to rollback an override, or when we deprecate a change-id.

In addition, rename CompatChanges#setPackageOverride to
addPackageOverrides.

Bug: 183183372
Test: atest FrameworksServicesTests:CompatConfigTest
Test: atest FrameworksServicesTests:PlatformCompatTest
Change-Id: Iff416c8b4c88b5eddc9e21c73219198d23266fa1
2021-05-05 07:10:41 +00:00
Silin Huang
8833128a37 Support non-active tokens in QuickAccessWallet.
1. Individual card states (active, pendingActivation, suspended) have
their own header icon and label. When scrolling between cards that have
different states, the icon and label will fade in/out.
2. The pendingActivation cards will have a verification button
underneath the card view; the button text is parsed from cards label.
3. Add an overflow menu for wallet view, it will navigate to Lock Screen
Settings page. (TODO in next CL)
4. Update the way we render header icon: because gmscore now provide new
version of icons, the programmatical tweaks no longer needed on the SysUI side.
5. Add Falsing prevention for the locked state wallet view:
cardImage/actionButton/appButton
6. Other UI polish: change the Wallet Tile secondary label to card last4
digits, etc.

demo:
https://drive.google.com/file/d/1syNnPFdIGh24sHWU2So-wsPxZTIg7xI9/view?usp=sharing&resourcekey=0-Iw3ZotiOJlE8jPImK7QQhQ

Test: manual
Test: atest
Bug: 186496392
Bug: 150332483
Fix: 184057200
Fix: 184905963
Change-Id: I84f487154104ffe1636c98ef1538bf99102c0442
2021-05-04 23:51:53 -07:00
Joanne Chung
bd351242a9 Merge "API feedback: seperate start and resume state for UiTranslationStateCallback" into sc-dev 2021-05-05 06:36:24 +00:00
Jerry Chang
6a60e58c46 Merge "Add a flag to determin whether to support legacy split" into sc-dev 2021-05-05 06:33:39 +00:00
Nathalie Le Clair
feb0a155bd Merge "Remove actions that delay standby flow" into sc-dev 2021-05-05 06:27:44 +00:00
lucaslin
79169e1ac9 Replace hidden API with public API
NetworkInfo will be a part of mainline module, so external callers
cannot call its hidden API. Use the public API instead.

Bug: 182859030
Test: 1. Remove "framework-connectivity.impl"
      2. make SettingsLibs
Change-Id: I671aaf5099f7cd3459588a78cb99de39a0e23f95
Merged-In: I671aaf5099f7cd3459588a78cb99de39a0e23f95
    (Cherry-picked from ag/14140215)
2021-05-05 05:52:41 +00:00
lucaslin
2e5cfe4ebf Replace MAX_NETWORK_TYPE with TYPE_VPN
ConnectivityManager#MAX_NETWORK_TYPE is a hidden API which cannot
be accessed after ConnectivityManager becomes a part of mainline
module.
Use the max public network type - TYPE_VPN should be enough since
TYPE_* is deprecated and no longer extended.

Bug: 182859030
Test: 1. Remove "framework-connectivity.impl"
      2. cd frameworks/base/core/tests/bandwidthtests; mm
Change-Id: I27579a942a0424db647ad1f3383db78d5a0c69a9
Merged-In: I27579a942a0424db647ad1f3383db78d5a0c69a9
    (Cherry-picked from ag/14111130)
2021-05-05 05:41:50 +00:00
Jing Ji
ec65308e4b Skip STATE_SERVICE_RESTARTING while dumping procstats to statsd
Because it's not a real process state.

Bug: 186438656
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Test: atest CtsStatsdHostTestCases
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I26d170f5acac8434548aa62b439c26141ad99c3e
2021-05-04 22:31:32 -07:00
Songchun Fan
32af550aeb [am] report new incremental crash/anr metrics
BUG: 184844615
Test: atest android.cts.statsdatom.incremental.AppErrorAtomTests#testAppCrashOnIncremental
Change-Id: Ic429445a4bae47033e2f90c143eaf6fc0ac2c666
2021-05-04 22:22:41 -07:00
TreeHugger Robot
c237dc5a1e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-05 05:11:50 +00:00
Joanne Chung
8e9d678ff0 API feedback: seperate start and resume state for UiTranslationStateCallback
Bug: 185274258
Test: manual
Test: atest android.translation.cts.UiTranslationManagerTest

Change-Id: Ic2246a9ef64a214ce39e187056a9add56e616d1a
2021-05-05 12:31:25 +08:00
Yi-Ling Chuang
ee156a8c47 Merge "Set background color to the AppBarLayout" into sc-dev 2021-05-05 03:38:32 +00:00
Lucy Chang
bb52fabf07 Merge "Correct typo in TYPE_SYSTEM description" into sc-dev 2021-05-05 03:36:26 +00:00