Commit Graph

644860 Commits

Author SHA1 Message Date
Beth Thibodeau
e9408eaf89 Merge "Use notification action to stop recording" into sc-dev 2021-06-24 17:02:18 +00:00
TreeHugger Robot
503d4d6ca2 Merge "profcollectd: Avoid hard-coding Betterbug name" into sc-dev 2021-06-24 16:50:45 +00:00
Julia Reynolds
f9343c8baf Merge "Add flag for remote streams" into sc-dev 2021-06-24 16:44:34 +00:00
TreeHugger Robot
8c9039fca8 Merge "Save one notifyColorListeners() call" into sc-dev 2021-06-24 16:25:22 +00:00
Tiger Huang
ef1bb2c9fa Merge "Release leashes of insets controls if they are not needed" into sc-dev 2021-06-24 15:11:04 +00:00
Ching-Sung Li
518bc8ac70 Save one notifyColorListeners() call
Do color extraction if needed then notify color listeners once.

Bug: 191628465
Test: Build pass and then manually test
Change-Id: Ief9c86f4c55377c78ce2550d3cbaa2af68ff03d5
2021-06-24 23:10:04 +08:00
TreeHugger Robot
0acf11a23d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 36c22c0885 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2b7a8d2bc1c1662a150e50dd30fd1bc8c2a5f67c
2021-06-24 14:48:05 +00:00
TreeHugger Robot
f120e8be2f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: a32bbd623b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ieeaac3ce9b79abe018b1b53cdc5690251f49ec53
2021-06-24 14:47:54 +00:00
TreeHugger Robot
caf0999760 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 78d010cecb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I204189e5c1c5accf7a776f5a2f7e0da72ce32a47
2021-06-24 14:47:35 +00:00
TreeHugger Robot
36c22c0885 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-24 14:47:07 +00:00
Matt Casey
4bb1104c87 Merge "Always save long screenshot temp file to the same place" into sc-dev 2021-06-24 14:44:32 +00:00
Patrick Baumann
c9af2bc35e Merge "Use my uid to filter application info" into sc-dev 2021-06-24 14:40:36 +00:00
TreeHugger Robot
a32bbd623b Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-24 14:34:45 +00:00
TreeHugger Robot
c2049abd0a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 7b22ad6b4f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8b366dc8de26e5f533c190bdc639cd1d124a7e32
2021-06-24 14:34:45 +00:00
TreeHugger Robot
151a323803 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: a1cd130e85 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2724ed6166122b35b1e4ff91a18ab81ad9290a54
2021-06-24 14:34:32 +00:00
TreeHugger Robot
e1d99ad406 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 9793fea6c1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2ceb55a36818b496c3681cecf62fc751b9eb4b3a
2021-06-24 14:33:56 +00:00
TreeHugger Robot
78d010cecb Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-06-24 14:31:54 +00:00
Yi Kong
2d17c2844d profcollectd: Avoid hard-coding Betterbug name
Use vendor config file to provide the uploader package name and action
name, so that OEMs can implement their own uploaders.

Test: manual
Bug: 178561556
Bug: 183487233
Change-Id: Ib398f34825233db1b9a9f2e4da78c7ce35953164
2021-06-24 22:30:37 +08:00
TreeHugger Robot
90372108c3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 14:29:55 +00:00
TreeHugger Robot
7b22ad6b4f Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-24 14:29:47 +00:00
TreeHugger Robot
a1cd130e85 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-24 14:29:37 +00:00
TreeHugger Robot
badd6e9a2e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 14:27:36 +00:00
TreeHugger Robot
4d7108812a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-24 14:24:26 +00:00
TreeHugger Robot
9793fea6c1 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-24 14:21:06 +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
Tiger Huang
c7746aa3de Release leashes of insets controls if they are not needed
Previously, leashes would be only released by GC in some cases, but the
timing could be late. This CL proactively release them as long as they
are not needed. The cases were:

1. The leashes in DisplayImeController. It didn't release leashes while
   receiving a new one.

2. The leashes returned from addWindow/relayoutWindow. The leashes would
   be copied to prevent others from releasing them before writeToParcel.
   The copied leashes could be redundant after writeToParcel.

3. The leashes held by the client whose window is removed. If a window
   is removed, the server won't invoke mClient.insetsControlChanged, so
   the client would never get notified about losing control to release
   the leashes. This could happen if the window doesn't have an exiting
   animation.

Fix: 175851610
Test: Steps in the bug.
Test: Show and dismiss a dialog which doesn't have FLAG_ALT_FOCUSABLE_IM
      or any window animation. Repeat this thousands of times. And see
      if there are many insets leashes as offscreen layers in `dumpsys
      SurfaceFlinger`
Change-Id: I5eb774ac071154a8d7205dbd1ab4a5f8eca215c3
2021-06-24 09:42:32 +00: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
Bill Yi
0fe318cee5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iab06102760026577118b197516acb08fb8f82525
2021-06-24 07:11:20 +00:00
Ytai Ben-tsvi
7461a5576b Merge "Fix permission checking in SoundTriggerService" into sc-dev 2021-06-24 07:00:23 +00:00
Bill Yi
c44449004f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If5d2bc97c42f5fabb1c89d25f5e6a8bec86932b5
2021-06-24 06:57:28 +00:00
Bill Yi
a21da8321f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I062da27e5569cd183ccd5f14cef018948b8e2a06
2021-06-24 06:53:09 +00:00
Bill Yi
1cf457e5df Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I61b631495cba91b612fcbef0d457a77a21456cf7
2021-06-24 06:51:44 +00:00
Bill Yi
67b0ac8da2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2edeb5a903d5fdfcf0d84041f0a5c340b7d3a24a
2021-06-24 06:46:51 +00:00
Bill Yi
242113f7b8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66587315ffccec26aab0ab245f30871413116a13
2021-06-24 06:43:24 +00:00
Bill Yi
313e8b9242 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I70fb8cbf70acaf63166c3e68da2e96053069dccf
2021-06-24 06:40:37 +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