Commit Graph

644824 Commits

Author SHA1 Message Date
TreeHugger Robot
4d7108812a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 14:24:26 +00:00
TreeHugger Robot
a02615b9cc Merge "Fix SystemVibrator constant support checks on device without vibrator" into sc-dev 2021-06-24 14:20:40 +00:00
TreeHugger Robot
ab6793a6c2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 14:20:17 +00:00
Selim Cinek
cf3dbf7a4d Merge "Fixed an issue where notifications wouldn't animate on height change" into sc-dev 2021-06-24 14:13:35 +00:00
Issei Suzuki
d80badd6d6 Merge "Stop animation when screen times out and the user turns on the phone." into sc-dev 2021-06-24 13:51:12 +00:00
TreeHugger Robot
43aeef53ea Merge "Fix a flicker problem on top app bar" into sc-dev 2021-06-24 13:32:55 +00:00
TreeHugger Robot
2eca07915f Merge "Allow app zygote preload to retain files across fork" into sc-dev 2021-06-24 13:18:02 +00:00
Mohammad Samiul Islam
d8244c55fd Merge "Update the session object with the error msg from ApexSessionInfo" into sc-dev 2021-06-24 13:04:13 +00:00
Lais Andrade
efc9cc93be Fix SystemVibrator constant support checks on device without vibrator
Fix the implementation of SystemVibrator to return always no support to
all effect and primitive constants on devices with no vibrator.

Fix: 191414125
Test: FrameworksCoreTests:VibratorTest
Change-Id: I0fd9e27d6e2890df9ee206029488ea70ff50712d
2021-06-24 12:33:40 +01:00
Bill Yi
6d374428e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4177c33b000a1a9a69e930eae724c5357e499f60
2021-06-24 11:03:17 +00:00
Wei Sheng Shih
f2d2fb5292 Merge "Clear padding and background after create view from context." into sc-dev 2021-06-24 10:47:13 +00:00
Selim Cinek
88323dfae8 Fixed an issue where notifications wouldn't animate on height change
When switching between templates, the old intrinsic height was 0
before the layout, which suppressed the height animation. We're now
also animating if the previous height was 0 but the view already
had a height.

Fixes: 187979400
Test: add gmail notification, archive, observe animation
Change-Id: I3fa2edf9a39b586a685a96f89a74ead597143981
2021-06-24 12:42:16 +02:00
Samiul Islam
6473c8ea19 Update the session object with the error msg from ApexSessionInfo
Now that apexd returns an error message with details about why APEX
activation has failed, we can append it to session object's error
message.

Bug: 178192690
Test: atest
StagedInstallInternalTest#testApexActivationFailureIsCapturedInSession

Change-Id: Id2d1df7f86ca85b044cfa15990eae548a176882b
2021-06-24 11:24:39 +01:00
Mill Chen
b18068a0b9 Fix a flicker problem on top app bar
The height of top app bar area is dependent on the line count of title.
This mechanism is always triggered when entering either subsetting page
or rotating the screen, regardless the state of collapsing toolbar. That
is saying this mechanism caused a flicker problem or a title in wrong
color. The mechanism will be updated to check the state of collapsing
toolbar to make sure that it is only triggered if the collapsing toolbar
is in expanded state.

This changes also added null checker to app bar since there's no
AppBarLayout existing in the older version of Android.

Fix: 186419089
Fix: 187709056
Fix: 191746368
Test: visual verified
1) Navigate to a subsetting page with multiline title
2) Rotate the screen to landscape mode and collapse the title
3) Rotate the screen to portrait mode and see if the title is in
collapsing state

Change-Id: Ica868245e0b0a799f76b7f953c606c8e543375f6
2021-06-24 17:54:27 +08:00
Jacqueline Bronger
f137ba9818 Merge "Add shrinking animation to the tv privacy chip." into sc-dev 2021-06-24 09:25:10 +00:00
TreeHugger Robot
0b401758f6 Merge "Update the text size for collapsedTextAppearance" into sc-dev 2021-06-24 09:11:33 +00:00
Bill Yi
7b571b6d4f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2cce4b35bcb5b4f1a59079f6ac168155b4b2be15
2021-06-24 07:15:45 +00:00
Ytai Ben-tsvi
7461a5576b Merge "Fix permission checking in SoundTriggerService" into sc-dev 2021-06-24 07:00:23 +00:00
Jason Hsu
146efcb572 Merge "Fix error config for accessibility floating menu under multi-users" into sc-dev 2021-06-24 06:34:36 +00:00
TreeHugger Robot
dbdd7012bc Merge "Enforce permissions check in getLastTimeAnyComponentUsed" into sc-dev 2021-06-24 06:26:58 +00:00
Anh Pham
3e244be4e9 Merge "Update API doc w/ high-rate permission requirement" into sc-dev 2021-06-24 06:22:24 +00:00
Bill Yi
72c30b0aed [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c572e42279 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie625d84c19967f7dba9d9ffa84665093b8a0617d
2021-06-24 05:25:59 +00:00
Bill Yi
4423a12047 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1275f03469 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8831ecaa3e1cd3bf02a2c5c52d29137a9716ca45
2021-06-24 05:14:00 +00:00
TreeHugger Robot
aa05ee926d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 05:09:04 +00:00
Joanne Chung
27f397f55a Merge "Fix TextViewTranslationTest test fail." into sc-dev 2021-06-24 04:46:50 +00:00
TreeHugger Robot
6041a06620 Merge "Add BluetoothLeAudio to BluetoothAdapter#getProfileProxy and BluetoothAdapter#closeProfileProxy" into sc-dev 2021-06-24 04:31:07 +00:00
Xiao Ma
d6910efffd Merge "Remove netlink-client dependency from net-module-wifi." into sc-dev 2021-06-24 04:19:47 +00:00
TreeHugger Robot
3245ab133d Merge "Disable group volume control bar in output switcher systemUI dialog" into sc-dev 2021-06-24 04:01:53 +00:00
TreeHugger Robot
2a96e3f0fd Merge "[Output Switcher] Adjust casting volume in output switcher cause icons to flicker" into sc-dev 2021-06-24 04:01:40 +00:00
Joanne Chung
5f980cbdaf Merge "Add hidden TYPE_ACTIVITY_STARTED to allow notify activity start event." into sc-dev 2021-06-24 03:48:29 +00:00
wilsonshih
0797c86219 Clear padding and background after create view from context.
When create view with Context, there will also load some view
attributes from the Context and pre-set to the View object, to ensure
the splash screen view not affected by those attributes, clear padding
and background after create those view objects.

Bug: 191339594
Test: manual launch several apps from Launcher/Notification.
Tets: atest SplashscreenTests
Change-Id: I05be9c296a04cd49a0896ad8aef57643720d60ce
2021-06-24 11:10:07 +08:00
Bill Yi
9a1abd28b1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie9ecf128bd33d5df70557e41e8744b181a2b6ff5
2021-06-24 03:08:55 +00:00
Bill Yi
1275f03469 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iccc02a965d76e0036f8921ab3d6821e63be97f62
2021-06-24 02:43:22 +00:00
Rhed Jao
293b6bf6a2 Merge "Enforce package visibility to the api checkUriPermission" into sc-dev 2021-06-24 02:40:22 +00:00
Cassie Wang
f98a5efba1 Merge "Prevent instant apps from using AppSearch." into sc-dev 2021-06-24 02:36:40 +00:00
tim peng
5d85d8f344 Merge "Output Switcher shows "+" button next to some non-expandable device" into sc-dev 2021-06-24 02:33:31 +00:00
Alexander Dorokhine
635e511b0e Merge "Sync framework from jetpack." into sc-dev 2021-06-24 02:16:24 +00:00
Bill Yi
c572e42279 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6139b98307255f87871317af546cfb86824d5bbc
2021-06-24 02:09:05 +00:00
Joanne Chung
8b95d38fa4 Merge "Bug fix: Move the implementation out from View.onTranslationResponse." into sc-dev 2021-06-24 02:08:40 +00:00
Joanne Chung
cdcf3a8339 Add hidden TYPE_ACTIVITY_STARTED to allow notify activity start event.
The current launcher implementation, the resumed Activity doesn't
enter paused state when entering overview. The launcher will have
a start activity event when entering overview but we don't provide
start event now.

We are not allowed to add new APIs now, we add new hidden constant
constants in ActivityEvent and send the event when the activity is
started.

Bug: 189968849
Test: manual. Checks if the activity start events are received by
ContentCaptureService
Test: atest ActivityRecordTests

Change-Id: I8e4f8b7ac8f24c66ccad9f7e884cac9e20ce3cc6
2021-06-24 10:04:14 +08:00
Lucas Dupin
598f0602e2 Merge "Do not blur when changing brightness" into sc-dev 2021-06-24 02:02:59 +00:00
Wei Sheng Shih
3abf2a7ca9 Merge "Create splash screen if activity launched with FLAG_ACTIVITY_CLEAR_TASK" into sc-dev 2021-06-24 01:41:09 +00:00
Yan Yan
388e0cba03 Merge "Include IkeTunnelConnectionParams in #hashCode and #equals" into sc-dev 2021-06-24 01:39:56 +00:00
Wei Sheng Shih
9df91d3d55 Merge "Allow transfer starting window to windowDisableStarting activity." into sc-dev 2021-06-24 01:38:48 +00:00
Peiyong Lin
16e34e50a7 Merge "Add more downscale factors." into sc-dev 2021-06-24 01:25:53 +00:00
Matt Casey
01ce414de4 Merge "Fix screenshot to corner animation" into sc-dev 2021-06-24 00:36:11 +00:00
PETER LIANG
0112603da7 Merge "Fixing the menu overlap with the system bars under half oval type." into sc-dev 2021-06-24 00:27:21 +00:00
Rahul Sabnis
a8d3435cfd Add BluetoothLeAudio to BluetoothAdapter#getProfileProxy and
BluetoothAdapter#closeProfileProxy

Tag: #feature
Bug: 15083918
Test: Manual
Merged-In: Ia46dc4e50d42dbd574588b531045cb680aa09d94
Change-Id: Ia46dc4e50d42dbd574588b531045cb680aa09d94
2021-06-23 23:46:43 +00:00
Yan Yan
bfeb5980f2 Include IkeTunnelConnectionParams in #hashCode and #equals
This commit includes IkeTunnelConnectionParams in
VcnGatewayConnectionConfig#hashCode and
VcnGatewayConnectionConfig#equals.

This commit fixes the issue that VcnGatewayConnection was not
being restarted as expected.

Bug: 191317512
Test: atest FrameworksVcnTests (new tests added)
Test: atest CtsVcnTestCases
Original-Change: https://android-review.googlesource.com/1742657
Merged-In: I70182f9b645e55eced1e0a048a1bd87778c1c0f6
Change-Id: I70182f9b645e55eced1e0a048a1bd87778c1c0f6
2021-06-23 23:38:16 +00:00
Zhen Zhang
bdac90593f Enforce permissions check in getLastTimeAnyComponentUsed
Enforce the permission check for both INTERACT_ACROSS_USERS and
PACKAGE_USAGE_STATS permissions.

Bug: 191382775
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Change-Id: I1371070478306005b2b4a59a1bc794bc368ae0c4
2021-06-23 16:34:50 -07:00