Commit Graph

643203 Commits

Author SHA1 Message Date
Nataniel Borges
a50b03521f Merge "Promote stable flicker tests (ime)" into sc-dev 2021-06-07 12:56:31 +00:00
Nataniel Borges
128a9fdbcb Merge "Promote stable flicker tests (app launch)" into sc-dev 2021-06-07 12:56:23 +00:00
Selim Cinek
00630da0cf Merge "Animation reveal animation for HUN and Shelf" into sc-dev 2021-06-07 09:56:48 +00:00
Selim Cinek
f7477f8ff4 Merge "Fixed an issue where the notification scrim could become transparent" into sc-dev 2021-06-07 09:34:20 +00:00
Owen Kim
566ff78c26 Merge changes from topic "revert-14802973-JAWUFIIXLT" into sc-dev
* changes:
  Revert "Only rescale wallpaper if its > display height"
  Revert "Cache set wallpaper as PNG instead of JPEG"
2021-06-07 09:29:48 +00:00
Silin Huang
ebcaa39d6b Merge "Polish Wallet empty state view." into sc-dev 2021-06-07 06:37:08 +00:00
Owen Kim
1e54afcc1a Revert "Only rescale wallpaper if its > display height"
Revert submission 14802973

Reason for revert: Droid cop: Possible culprits for Bug 190325415
Reverted Changes:
Ifc451f540:Cache set wallpaper as PNG instead of JPEG
Ifefd3e56d:Only rescale wallpaper if its > display height

Change-Id: If7c0b310a99189f8e80ca0b1049731edc9595696
2021-06-07 05:45:29 +00:00
Owen Kim
723d2c2ce9 Revert "Cache set wallpaper as PNG instead of JPEG"
Revert submission 14802973

Reason for revert: Droid cop: Possible culprits for Bug 190325415
Reverted Changes:
Ifc451f540:Cache set wallpaper as PNG instead of JPEG
Ifefd3e56d:Only rescale wallpaper if its > display height

Change-Id: I659f228ed54d09bdc950788adaf762e419dc3160
2021-06-07 05:45:29 +00:00
TreeHugger Robot
5a59138240 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 38b6a92dc5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a3a57facb08dfe2e262e20d8c40ab8644881132
2021-06-07 05:19:25 +00:00
Bill Yi
faa09625c7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 91c8a39a12 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I97165383b9bff263beeab78655c47e8c062f7bcf
2021-06-07 05:19:10 +00:00
TreeHugger Robot
33aee4d073 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 8709fbb945 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id3f7cc165538a61f6e0bc218c92e7c457d794b69
2021-06-07 05:18:48 +00:00
Bill Yi
70cc1ec3c9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c76927a570 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib392bd875d54def0775d99323943af38376f6317
2021-06-07 05:18:34 +00:00
TreeHugger Robot
02e4e7fd5a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-07 05:17:10 +00:00
TreeHugger Robot
38b6a92dc5 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-07 05:12:20 +00:00
TreeHugger Robot
2a4751ce15 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-07 05:05:28 +00:00
TreeHugger Robot
8709fbb945 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-07 05:04:38 +00:00
Silin Huang
cb639a9e4b Polish Wallet empty state view.
Another change is a bug fix that do not use the cached "mWalletEnabled"
on cards querying, because that param is for the wallet preference only.
We use "cardsRetriever"s to handle querying cards on wallet
feature/service not available.
Also register the wallet service event listener to WalletActivity, this
enables the wallet activity finish after the user makes an NFC payment
tap.

Fixes: 189869634
Fixes: 187970986
Fixes: 188972317
Test: manual- see demo:
https: //drive.google.com/file/d/1I-vwffhRqR2HDHR8wQqitOqzH0tWjMEI/view?usp=sharing&resourcekey=0-3BZsJl_c7jzW7muwNG9hmA
Change-Id: If907cb5d6c89878d2a5a6a282284e3bf77f7188f
2021-06-06 21:18:54 -07:00
Lucas Dupin
d377bbc227 Merge "Don't blur during app launch animations" into sc-dev 2021-06-07 02:46:37 +00:00
Bill Yi
2df38e8e1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06d1e331076b4794cf463e1d8c2346624981002d
2021-06-07 02:44:12 +00:00
Les Lee
a9818b3081 Merge "Usage Settings: Fix NPE when subscriberId is Null." into sc-dev 2021-06-07 02:41:39 +00:00
Bill Yi
db2f5d8c29 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d0efa06d7f23207ce1b69a0705fabc668688e93
2021-06-07 02:37:53 +00:00
Bill Yi
91c8a39a12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd94f03349c3ee63615d614921293df26e06e7e3
2021-06-07 02:31:18 +00:00
Bill Yi
e9a1e9c087 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I533228ce7301d8a794d2f82c8ebc70436a1bb622
2021-06-07 02:20:31 +00:00
Bill Yi
c76927a570 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib291e0784555dda3b0f672964d1570156ac87a7b
2021-06-07 02:18:02 +00:00
Bill Yi
dabeaafd44 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88221e0fa0f1965182edc75d237729f2d0ecfcf2
2021-06-07 02:15:26 +00:00
Jay Aliomer
0f14525260 Animation reveal animation for HUN and Shelf
Test: visual
Fixes: b/187175147
Fixes: b/186892139

Change-Id: Ieea6531aecdaae81f681f1c46c6f8f6936655ee2
2021-06-05 11:56:56 -04:00
Anton Hansson
ad82033c4a Merge "Make ApiLint's new_since arg the merged txt file" into sc-dev 2021-06-05 08:10:12 +00:00
Lyn Han
8b6cc5fd2e Merge "Do not expand quick settings when shade first opens" into sc-dev 2021-06-05 04:55:52 +00:00
Les Lee
c98d3dde68 Usage Settings: Fix NPE when subscriberId is Null.
For mobile, a old API: buildTemplateMobileAll doesn't includes the
merged wifi network, call the new API: buildTemplateCarrierMetered
to replace the old one.

But new API: buildTemplateCarrierMetered requires non-null subscriberId.
Call old API: buildTemplateMobileAll when subscriberId is NULL since
the matched result is always empty when subscriberId is NULL. No any different
between buildTemplateCarrierMetered and buildTemplateMobileAll.

Bug: 190233044
Bug: 190135429
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtilsTest
Change-Id: I3c7166e60e32142d5995d41722955dd54c21938f
2021-06-05 03:14:33 +00:00
Hui Yu
4ba381fd83 Merge "resetFgsRestrictionLocked() must be called AFTER logFGSStateChangeLocked()." into sc-dev 2021-06-05 02:46:25 +00:00
Charles Chen
de90ce294c Merge "Revert "Don't request PIN field focus again unless re-enabled"" into sc-dev 2021-06-05 01:48:54 +00:00
Ilya Matyukhin
6b5853f94a Merge "Remove unnecessary arguments from disableHbm" into sc-dev 2021-06-05 00:43:01 +00:00
Hui Yu
a6c9fe409c resetFgsRestrictionLocked() must be called AFTER
logFGSStateChangeLocked().

Otherwise logFGSStateChangeLocked() picks up the wrong fields value from
ServiceRecord.

Bug: 190231954
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I9ccfcb695da803350657836975ce03e05f26b4a4
2021-06-04 16:53:31 -07:00
Lyn Han
4d351c5089 Merge "Use small corner radius for roundness updates from shelf" into sc-dev 2021-06-04 23:35:41 +00:00
Nate Myren
57b72445ad Merge "Remove invalid source tags in AppOpsPolicy" into sc-dev 2021-06-04 22:49:43 +00:00
Jing Ji
6d3b5033d7 Merge "Fix potential overflow with casting long to int in AppExitInfoTracker" into sc-dev 2021-06-04 22:49:41 +00:00
Sally Yuen
00d32f2d61 Merge "Add AccessibilityManager#removeClient" into sc-dev 2021-06-04 22:33:10 +00:00
Jeff Sharkey
c206d63edc Merge "Emit "usesPermissionFlags" in "dump badging"." into sc-dev 2021-06-04 22:06:55 +00:00
Jing Ji
a57d682aaf Merge "Fix a race condition in acquiring content provider" into sc-dev 2021-06-04 22:06:42 +00:00
Jeff Sharkey
0b4b1ccbdb Merge "Don't export HeapDumpProvider." into sc-dev 2021-06-04 22:06:23 +00:00
Kevin Chyn
5eaac85506 Merge "Update default progress bar size" into sc-dev 2021-06-04 22:02:28 +00:00
Anton Hansson
4f90aa5148 Make ApiLint's new_since arg the merged txt file
ApiLint tries to only lint "new" APIs, i.e. those introduced since the
last frozen API. Using android-non-updatable's last frozen txt does not
work well for this, as it is incomplete API surface on its own, so
metalava cannot see all APIs that were present in the previous API
(such as methods inherited from ART), and so makes the wrong decisions
for which APIs are new.

Bug: 171506470
Test: m checkapi
Change-Id: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44
2021-06-04 22:23:59 +01:00
Nate Myren
c38dc5456c Remove invalid source tags in AppOpsPolicy
Ensure that, if present, null, "null", and "" attribution tags are not
considered valid source tags

Test: build
Bug: 189484870
Change-Id: I65601c9bb79399bf0f63fbb540090ed3ed6f8337
2021-06-04 14:03:39 -07:00
Lee Shombert
6b5bbd62f9 Merge "A space-efficient 2D matrix" into sc-dev 2021-06-04 20:58:22 +00:00
Jing Ji
acf1398086 Fix potential overflow with casting long to int in AppExitInfoTracker
It'll result in unexpected behavior during sorting.

Also updated the test case to capture this case.

Bug: 186132521
Bug: 189975360
Test: atest ApplicationExitInfoTest
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: I7542f73b1acf4ddee16f712d0d97223e151935f7
2021-06-04 13:46:37 -07:00
James O'Leary
0e8f141f4a Merge changes Ifc451f54,Ifefd3e56 into sc-dev
* changes:
  Cache set wallpaper as PNG instead of JPEG
  Only rescale wallpaper if its > display height
2021-06-04 20:44:14 +00:00
Ilya Matyukhin
8dc49b532d Remove unnecessary arguments from disableHbm
Bug: 187081118
Test: UdfpsControllerTest
Change-Id: I0b9b333ecdacb36fcfa30242e6781d04b11f6850
2021-06-04 13:38:59 -07:00
Sally
4a41eca71b Add AccessibilityManager#removeClient
Whenever an app makes a Text toast, this gets routed through systemUI
starting from R. Two A11yManagerClients are registered with
A11yManagerService for every toast. Since clients aren't removed until
the process is killed, there are a bunch of clients from systemui
hanging around and potentially cause the system to crash.

We add a way here to explicitly unregister a client

Test: build and flash,
atest android.view.accessibility.AccessibilityManagerTest
Bug: 189010828

Change-Id: I3f71bac475b4539c7be5b328adeb0be35a0b5543
2021-06-04 20:28:26 +00:00
Selim Cinek
6b5d83475b Merge "Removed logic that sized the view before the shelf" into sc-dev 2021-06-04 20:04:04 +00:00
Lucas Dupin
a48422c324 Don't blur during app launch animations
During app launch, we might poke a hole into the shade window to reveal
the app. We should not blur what's behind the shade, otherwise the app
window would also be blurred.

Also, even when dismissing the shade sliding it, the blur spring would
create an unpleasant feeling.

Test: manual
Test: atest NotificationShadeDepthControllerTest
Test: atest ActivityLaunchAnimatorTest
Test: atest KeyguardViewMediatorTest
Test: atest StatusBarNotificationActivityStarterTest
Fixes: 190086066
Change-Id: Ie5e5df7496eca74ca2715d2df8467636198c60f8
2021-06-04 12:52:36 -07:00