Commit Graph

761239 Commits

Author SHA1 Message Date
TreeHugger Robot
6e463b4b9f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 358df3b4e2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic36fc0b47f0b6a69b5b30ba8cc9b98fb77d47fca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:41:52 +00:00
Bill Yi
85aa1c7472 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff47ad72ea -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icd916058848cbcc0c2824711b97c630ea155d0e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:41:43 +00:00
TreeHugger Robot
a14d9cc0ed [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 2634588109 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id25de115435b6828911e7d2cbe3569bd1d512ca6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:41:33 +00:00
Bill Yi
00039e118e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 89ad33d3d1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id2956bd52075485943428cddc6faa7b766047f7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:41:14 +00:00
Bill Yi
180049ef55 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cc88de1507 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ife285c0515cff9621c4689a7f3dd1165f61c4ed7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:40:56 +00:00
TreeHugger Robot
358df3b4e2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-01 22:16:15 +00:00
TreeHugger Robot
2634588109 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-01 22:16:15 +00:00
Sudheer Shanka
d79cb12422 Merge "Allow exemption of roles/permissions from broadcast response events." into tm-dev 2022-06-01 19:38:17 +00:00
Daniel Sandler
1806b0033a Merge "Triskaidekaphilia intensifies." into tm-dev 2022-06-01 19:06:11 +00:00
Matt Casey
a834a9bd52 Merge "Fix ResolverDrawerLayout child measurement" into tm-dev 2022-06-01 19:03:44 +00:00
Piotr Wilczyński
bd35c8dabf Merge "Save brightness into persistent data store using a handler" into tm-dev 2022-06-01 18:54:27 +00:00
Lyn Han
96aa1654b4 Merge "Remove divider height before first view in shade" into tm-dev 2022-06-01 17:38:34 +00:00
John Wu
d8320ce1ca Merge "Exempt connected apps from intent filter enforcement to itself" into tm-dev 2022-06-01 16:38:25 +00:00
Chavi Weingarten
3868362584 Merge "Remove lock when calling Surface.destroy" into tm-dev 2022-06-01 16:36:34 +00:00
Chavi Weingarten
d72491683d Merge "Release SC when RootTaskDA is no longer organized" into tm-dev 2022-06-01 14:48:21 +00:00
Vadim Caen
a147b66f61 Merge "Transfer the actual dispatcher when the window is preserved" into tm-dev 2022-06-01 14:35:57 +00:00
Matt Pietal
e16348ebdf Merge "Run unlock animation when device is already unlocked" into tm-dev 2022-06-01 12:44:28 +00:00
Lucas Silva
3abe51bcfd Merge "Disable dismissing the dream on activity start" into tm-dev 2022-06-01 12:42:45 +00:00
Lucas Silva
cd2cf901f1 Merge "Update ActivityStarter to dismiss dreams when starting activities." into tm-dev 2022-06-01 12:42:45 +00:00
Junyu Lai
5b73f4bef4 Merge "Fix crash when incrementing data usage request" into tm-dev 2022-06-01 09:45:05 +00:00
TreeHugger Robot
fcf090345b Merge "Extend the max count for retrying to request DirectActions to 7." into tm-dev 2022-06-01 08:22:04 +00:00
TreeHugger Robot
bd26701a6b Merge "Log why presentation was not shown" into tm-dev 2022-06-01 08:04:53 +00:00
Betty Chang
fc02968aac Merge "[LE] Test cases for Media Output Broadcast Dialog" into tm-dev 2022-06-01 07:20:49 +00:00
Peter Li
c80818f9ed Extend the max count for retrying to request DirectActions to 7.
Bug: 224789902
Change-Id: I986f1b5534c8cae69c770fb67cf9ebbbeb7c75dd
Test: atest CtsVoiceInteractionTestCases
2022-06-01 04:44:50 +00:00
TreeHugger Robot
0d84708056 Merge "Postpone the request direct actions before onStart" into tm-dev 2022-06-01 03:29:35 +00:00
Michael Wright
aabe27b7a4 Merge "Invoke BrightnessSetting callbacks even with identical brightness." into tm-dev 2022-06-01 02:41:25 +00:00
Louis Chang
b4c09cd2b1 Merge "Adding the new activity on the same TF of the cleared activity" into tm-dev 2022-06-01 02:40:46 +00:00
James O'Leary
d88a6933e8 Merge "Revert "Update light/dark detection."" into tm-dev 2022-06-01 01:29:41 +00:00
Ryan Lin
8ef351123b Merge "Drop the cloned windows from visible window list" into tm-dev 2022-06-01 01:29:36 +00:00
Junyu Lai
6675e03317 Fix crash when incrementing data usage request
This fixed a request leak problem which was introduced in previous
Android release but caught recently, where the budget of
MultipathPolicyTracker was cleaned before unregistering requests,
the logic in the tracker would skip the unregister if there is
no budget.

Ignore-AOSP-First: Urgent fix
Test: MultipathPolicyTrackerTest#testOnThresholdReached
Bug: 233733267
Fix: 145963406
Change-Id: Icee43a4ee913a6459a47632f608fa6cb8b2ed4c2
2022-06-01 09:25:02 +08:00
Matt Casey
fc51b366b4 Merge "Remove spans from edited text when copying back to clipboard" into tm-dev 2022-06-01 01:14:05 +00:00
Matt Casey
707b534826 Merge "Make source color textColorSecondary" into tm-dev 2022-06-01 01:13:58 +00:00
Matt Casey
8d5bcaa534 Merge "Fix Chooser enter transition animation" into tm-dev 2022-06-01 01:13:49 +00:00
Louis Chang
e107722e17 Merge "Restrict the smallest screen width dp of an embedded TF" into tm-dev 2022-06-01 01:07:42 +00:00
skxu
48a5cbb2d6 Log why presentation was not shown
Fixes: 219613425
Test: b/233833739
Change-Id: Ic95cc69b912e8144726124ebc8355c2d1e24079e
Merged-In: Ic95cc69b912e8144726124ebc8355c2d1e24079e
2022-06-01 00:10:02 +00:00
Raphael Kim
99945d5d70 Merge "Implement dumpsys for CompanionDeviceManagerService.CompanionDeviceManagerImpl" into tm-dev 2022-06-01 00:03:42 +00:00
John Wu
b4037e1489 Exempt connected apps from intent filter enforcement to itself
Directly use ActivityManager#checkComponentPermission() to check whether
the components should be exempted from the intent filter enforcement
added in T.

Bug: 234103620
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: I67d1b4bb7d3520370fa9095fb81189acb6c3ebc1
2022-05-31 23:12:09 +00:00
TreeHugger Robot
92538a9dbc Merge "Fix "NetworkCallback was not registered" crash" into tm-dev 2022-05-31 22:16:47 +00:00
chaviw
08a48506b0 Release SC when RootTaskDA is no longer organized
WM Shell receives a leash for the DA that it wants to organize. However,
it's not releasing the SC when it receives a vanished callback. This
causes the SC to leak every time a new RootTaskDA is organized and then
vanishes.

Test: Add and remove simulated displays. Ensure no leaks
Bug: 231752353
Change-Id: I181695f4bae65ccc0cd25e1b5480e33307e7834d
2022-05-31 16:48:31 -05:00
Matt Pietal
ea5a86dcd4 Run unlock animation when device is already unlocked
When the screen times out, the device may not immediately lock based
upon a user setting. In this case, keyguard is visible but not fully
locked. If the user uses finger auth, MODE_ONLY_WAKE is used but the
keyguard is not properly dismissed. Use MODE_WAKE_AND_UNLOCK to run
all animations.

Fixes: 231553219
Test: atest BiometricsUnlockControllerTest
Change-Id: I8ff2c2f983b64c7f62d7025fce227a2dd9eabf04
2022-05-31 17:37:47 -04:00
James O'Leary
676c0c450d Revert "Update light/dark detection."
Revert "Update smartspace shadow"

Revert "Update app icon shadows"

Revert submission 17935777-lightDarkDetection

Reason for revert: Talked with Adam Cohen, white shadows are controverstial and we'd need to escalate to senior UX if we want to ship. James would rather do it in U timeframe, will flag to UXers we work with that the opportunity to escalate is available if needed.
Reverted Changes:
Ia91221427:Update light/dark detection.
Ie12d3d054:Update app icon shadows
Icc88c3496:Update smartspace shadow

Change-Id: I7d6b972d29b328a7d5ca7ac7241156b6e51a2cd6
2022-05-31 21:12:38 +00:00
Piotr Wilczyński
8ac8592c83 Save brightness into persistent data store using a handler
Bug: 221393932
Test: atest PersistentDataStoreTest
Test: Manually change brightness, run 'adb shell dumpsys display | grep -A30 PersistentDataStore' and check that the brightness value has updated. Also reboot the device and check that the brightness value stays the same.
Change-Id: I3d59017198c70fcfd99d55333b92333ad1f16ec3
Merged-In: I3d59017198c70fcfd99d55333b92333ad1f16ec3
2022-05-31 20:33:48 +00:00
Bill Yi
ff47ad72ea Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I25edebe2655a89a600627c4cf99e06743cbb9371
2022-05-31 13:15:49 -07:00
Bill Yi
cc88de1507 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0a886eefd2a2d79df4f6c8e16471445c95ec2c9
2022-05-31 12:40:55 -07:00
Hongwei Wang
eb700c0090 Merge "Validate content overlay before removal" into tm-dev 2022-05-31 19:24:48 +00:00
Sudheer Shanka
8da64cacf3 Allow exemption of roles/permissions from broadcast response events.
Bug: 206518114
Test: atest tests/tests/app.usage/src/android/app/usage/cts/BroadcastResponseStatsTest.java
Change-Id: Iaae9775491caeae95ff04f4fd0fcb83b064a0f56
2022-05-31 12:21:13 -07:00
Bill Yi
89ad33d3d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I89eb09237d7d77e93ecb561a38f3044c609d3827
2022-05-31 12:02:49 -07:00
chaviw
9e3cd0533f Remove lock when calling Surface.destroy
Surface already has a lock on the native object so it's safe to call
destroy without holding additional locks. This also fixes ANR issues
where an app is still attempting to render when the window is destroyed.

Test: App from bug doesn't ANR
Bug: 234006724
Change-Id: I0d323c03f299e5857d1950870498f3182d019924
2022-05-31 13:48:56 -05:00
Lyn Han
bef187f918 Remove divider height before first view in shade
to save vertical space on lockscreen.

Bug: 214257536
Test: NotificationStackSizeCalculatorTest
Change-Id: I3132cf4bad09983661e1cd5b3eef8b3caf81799b
2022-05-31 11:19:46 -07:00
Lucas Silva
fae2ace6df Update ActivityStarter to dismiss dreams when starting activities.
This fixes an issue where activities are started below the dream.

Bug: 198041170
Test: atest CentralSurfacesImplTest
Test: manually on device
Change-Id: Iec7324f397161c3e0bbf626153f8cb453e6a86ca
2022-05-31 16:59:24 +00:00