Commit Graph

44460 Commits

Author SHA1 Message Date
Bill Yi
13d52b8e02 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I38491ea70f1e01a398e8f50c729e112c745b5c53
2021-04-19 15:14:16 +00:00
Bill Yi
a2927ef378 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1f6ec6ab6ce85a3a54c06968988a1b468f087e88
2021-04-18 07:40:12 +00:00
Beth Thibodeau
b9f3c7138d Merge "Increase maximum allowed size for status bar icons" into rvc-qpr-dev 2021-04-02 21:35:46 +00:00
Beth Thibodeau
6f6c9c22e4 Merge "Sanitize text fields" into rvc-qpr-dev 2021-04-02 21:29:49 +00:00
Beth Thibodeau
bca2b3aeab Increase maximum allowed size for status bar icons
The previous size was causing some apps to crash which otherwise worked
fine. This more closely matches the hard limit in RecordingCanvas
(which we need to stay below to prevent SystemUI from crashing).

Fixes: 182891864
Fixes: 182232777
Bug: 169255797
Test: atest StatusBarIconViewTest
Test: manual - posting notifications with different drawable sizes
Change-Id: I8deacc651e05a202ec980eeb8bcdf4f92daea8eb
(cherry picked from commit 5cd7976f7d)
2021-04-01 18:16:59 +00:00
Miranda Kephart
1672873e27 Merge "[DO NOT MERGE] Make PendingIntents in screenshots immutable" into rvc-qpr-dev 2021-04-01 14:51:14 +00:00
Mady Mellor
215fe70123 Merge "DO NOT MERGE Fix bubbles for workprofile" into rvc-qpr-dev 2021-03-31 16:32:11 +00:00
TreeHugger Robot
168e02b329 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 16:23:28 +00:00
TreeHugger Robot
2d28697996 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 16:21:49 +00:00
TreeHugger Robot
b9c74d5f8c Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-31 16:21:09 +00:00
Bill Yi
1a180aec01 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2d2fe622835a65c9adaa4ca49161fe6234e0f110
2021-03-31 00:37:53 -07:00
Bill Yi
0caa9c20c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I43fe7082262fef413adb30b3f558d880b4e9bd92
2021-03-31 00:04:33 -07:00
Bill Yi
9d1b0a1932 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0765f2b7325766625a8d07dfc3e092530f961273
2021-03-30 23:31:42 -07:00
Bill Yi
63bedd2542 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15017f0dbebf0572b34451a271993f5be7808172
2021-03-30 21:52:43 -07:00
Mady Mellor
edddfb37ef DO NOT MERGE Fix bubbles for workprofile
- use getPackageManagerForUser when looking up app info
- use the userId on the bubble, not the currentUserId from
  BubbleController when writing to XML as the currentUserId
  in BubbleController does not account for workprofile.

Test: atest SystemUITests
Test: atest BubbleControllerTest
Test: - have a managed work profile
      - install the bubbles app *only* for the work profile
      - make some bubbles
      => Notice bubbles appear
      - dismiss all the bubbles
      - restart the device, add a bubble
      - open the bubble, navigate to the bubble overflow
      => notice the previously dismissed workprofile bubbles
        are in the overflow
Bug: 184041127
Change-Id: Iefc4e4e80a569a4f3b4ac3b8a1268de1b475409b
2021-03-30 23:23:08 +00:00
TreeHugger Robot
4d7d9c5fce Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-29 06:00:13 +00:00
TreeHugger Robot
1693fa81d1 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-29 05:54:21 +00:00
Bill Yi
19183d5f5e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia74e84643d003dc17312d0441ed688baadfb3188
2021-03-28 00:18:43 -07:00
Bill Yi
df4dcbdef0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4385898e8f31a1d053b77695962e2dbedabc9dd3
2021-03-27 23:13:02 -07:00
TreeHugger Robot
f52bf29d5e Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-27 18:30:49 +00:00
TreeHugger Robot
b3369c3928 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-27 18:30:30 +00:00
TreeHugger Robot
4dce43161d Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-27 18:24:20 +00:00
Bill Yi
c7ff4f5174 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib393f1993b9485bbc807e4b03eabca6279c437a2
2021-03-27 11:32:02 +00:00
Bill Yi
15bd86ad6d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieb647bf8840a48d6590bfb8539c9088edd7e6c4a
2021-03-27 11:12:31 +00:00
Bill Yi
60f6eb1f2a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I993d5d541f2e86e4b17cdeeadf96a3b81da9c09d
2021-03-27 09:56:42 +00:00
Miranda Kephart
1656070996 [DO NOT MERGE] Make PendingIntents in screenshots immutable
S and later will require PendingIntents to explicitly specify whether
they are mutable or immutable.

Bug: 182166925
Bug: 162738636
Test: manual, just a flag change (tested that normal screenshot
flow works, verified that the log nags for unspecified mutability
disappeared)

Change-Id: I79b78f80c2d6af07a3826b6f79d0d86a5fc2f756
(cherry picked from commit ba571eaa74)
2021-03-25 13:38:30 +00:00
TreeHugger Robot
302f9bd796 Merge "Prevent caching unexpected IME shown state for legacy split" into rvc-qpr-dev 2021-03-24 02:36:17 +00:00
TreeHugger Robot
8fab4c9222 Merge "Make sure to hide IME adjust dims when exiting split mode" into rvc-qpr-dev 2021-03-24 02:36:12 +00:00
Jerry Chang
73c06b9218 Prevent caching unexpected IME shown state for legacy split
Due to DisplayImeController listens to insetsChanged and display
rotation at all time, it might caching unexpected IME shown state in
DividerImeController. Since RemoteInsetsControllerTarget only
controlling insets during split mode, it won't receive hideInsets event
when the target app request to hide IME. Thus leaving unexpected IME
state in split component. When the next time entering split screen,
it'll adjust split layout with wrong IME state.

Update to not caching IME shown state in DividerImeController if the
split is not activated.

Bug: 176846448
Test: atest WMShellUnitTests
Test: open IME and rotate and dock two apps in split mode, observed
the divider bar is interactable and there's no dim layer on the
secondary split

Merged-In: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
Change-Id: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
2021-03-18 14:49:35 +08:00
TreeHugger Robot
788527c931 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-15 17:27:56 +00:00
1
b197862d97 Make sure to hide IME adjust dims when exiting split mode
If the IME is showing while exiting split mode, the IME-adjust dims
won't be changed to hidden. This makes sure to hide the IME-adjust dims
when leaving split mode. This phases in fix of ag/12683264 to R.

Bug: 168505685
Fix: 181781489
Test: atest WMShellUnitTests
Test: manual check switching user while showing IME in split mode,
      there won't have overlapping dim remains on the screen.
Merged-In: I778df71616827c01f415231d8bbc20b037181d10
Change-Id: Ib7b843effd6c58e2d2546c8845a629701d87a521
2021-03-12 18:04:20 +08:00
Bill Yi
b51058da22 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic8b967ecb544aa886302eb4a13f0542464ee1608
2021-03-12 00:38:07 -08:00
Beth Thibodeau
95cc34cd98 Sanitize text fields
Bug: 180518039
Test: manual, verify no ANR and media displays normally
Change-Id: I1c99e3257107f71eb5049ef19614e2c6836f808c
2021-03-11 23:11:03 +00:00
Winson Chung
183e9b78ce Ensure that ML model results are still bounded by the gesture insets
- In some cases, the ML model may return that it is a valid swipe
  even if it is out of the current inset bounds

Bug: 178561216
Test: Enable ML model, rotate to landscape and try to swipe near
      the edges
Merged-In: Iaecd11acf50a1a19fe5964e11e06fb564ca6988c
Change-Id: Iaecd11acf50a1a19fe5964e11e06fb564ca6988c
(cherry picked from commit 8afd10c966)
2021-03-10 22:53:15 +00:00
TreeHugger Robot
84da0714a2 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-03-08 17:24:57 +00:00
Bill Yi
8fc8c017f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e4528f615372f2cfbbcfd068a9c31fd5bdd7157
2021-03-08 08:33:51 +00:00
kwaky
3cc2f503bf Move posting logic from PerDisplay to DisplayWIndowInsetsControllerImpl.
Partial backport of I9a354f742167b907c32537eb022e22c0d5bfb97a.

Bug: 178071393
Test: Manual & Existing Unit Tests
Merged-In: I9a354f742167b907c32537eb022e22c0d5bfb97a

Change-Id: Ie8210170776d1a5a3b736b6d43989cc59ba30f48
2021-03-05 12:44:46 -08:00
Miranda Kephart
42dc4d3f45 Merge "[DO NOT MERGE] Make screenshot error notification PendingIntent immutable" into rvc-qpr-dev 2021-03-04 15:27:13 +00:00
Hongwei Wang
aec33803a3 Merge "Restrict the overridden min size for PiP" into rvc-dev am: 2ed6d3891b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13746374

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I453ace9178d14a715d6ade840c132e9ef74919b3
2021-03-03 23:51:57 +00:00
Hongwei Wang
2ed6d3891b Merge "Restrict the overridden min size for PiP" into rvc-dev 2021-03-03 23:01:26 +00:00
Beth Thibodeau
0ef492ff12 Merge "Limit maximum allowed size for a status bar icon" into rvc-qpr-dev 2021-03-03 20:53:18 +00:00
Hongwei Wang
2a18b15dfb Restrict the overridden min size for PiP
Per go/cdd-proposal-pip-size, the absolute minimum size when overridden
should be 48dp.

Bug: 174302616
Test: atest PinnedStackTests#testEnterPipWithTinyMinimalSize
Merged-In: I2f0dfd9a79049aaf696fde8703994deaecce63f5
Change-Id: I2f0dfd9a79049aaf696fde8703994deaecce63f5
2021-03-03 11:37:19 -08:00
Bill Yi
be333346b3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45f5d57fe0b27b6b103c6af8f6941d6a0f36005e
2021-03-01 08:25:12 +00:00
TreeHugger Robot
087715166a Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-02-16 08:00:23 +00:00
Bill Yi
6021f3f5bc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic41c36cbc0349642d9bdda7f72c8a3d17de9648c
2021-02-15 07:55:29 -08:00
TreeHugger Robot
1639387a8e Merge "DO NOT MERGE Disable privacy indicators" into rvc-qpr-dev 2021-02-15 11:21:02 +00:00
TreeHugger Robot
ff04eafad2 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-02-13 18:15:00 +00:00
Bill Yi
a6d7c030de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5dbcafcca06381b60c05cfdb2ee0b745c88a8b57
2021-02-13 03:48:46 -08:00
Fabian Kozynski
2628cf48a1 DO NOT MERGE Disable privacy indicators
Test: manual
Fixes: 180018342
Change-Id: Ia5057e23a9974ef8ff3652c50adc0216844a7099
2021-02-11 21:00:27 +00:00
Evan Rosky
a3f107c0e8 Apply split-screen resize on sync queue
This keeps it synchronized with dismissal and thus avoids
a race between pending and sync transaction application

Bug: 170801863
Test: launch a forced-multiwindow sizecompat app in split and
      then dismiss split to that app. App should not be cropped.
Change-Id: I686605928ededcd5c5d032789fd883e17f437948
Merged-in: I4d89be443af5616174ea44e62774133e3b99597c
2021-02-11 01:13:08 +00:00