Ahaan Ugale
824e387465
Merge "Pipe UiTranslationSpec through to the UiTranslationController." into sc-dev am: cc4fa5f3b6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14510558
Change-Id: Id006d635005a08b619a99742b7b8d41ad950a7f8
2021-05-13 15:37:30 +00:00
Ahaan Ugale
cc4fa5f3b6
Merge "Pipe UiTranslationSpec through to the UiTranslationController." into sc-dev
2021-05-13 15:24:12 +00:00
Jeff DeCew
77a19bed9f
Merge "Allow populating left_icon independently of right_icon." into sc-dev am: cd86f38402
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14519486
Change-Id: Idf12863d566a9de68c3d8e486efd66c2c7a22992
2021-05-12 23:39:20 +00:00
Jeff DeCew
cd86f38402
Merge "Allow populating left_icon independently of right_icon." into sc-dev
2021-05-12 23:32:35 +00:00
Makoto Onuki
9305afd315
Merge "Clean up setForegroundServiceBehavior()" into sc-dev am: b5ddeefc09
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14518585
Change-Id: Iaa4d0fc3c2ce7ba9448e1e1d22e60aaf6a79e513
2021-05-12 20:19:31 +00:00
Makoto Onuki
b5ddeefc09
Merge "Clean up setForegroundServiceBehavior()" into sc-dev
2021-05-12 19:59:44 +00:00
Jeff DeCew
b85d1f4f39
Allow populating left_icon independently of right_icon.
...
* Mainly this fixes a "bug" with the BigPictureStyle.showBigPictureWhenCollapsed() that would cause the big picture, which is known to be important for the notification, to be hidden on the right and shown on the left. Instead the BigPicture will now remain visible in its large form on the right, and the left icon will be populated with the large icon.
* Additionally, this fixes some quirks with other layouts, such as MediaStyle and MessagingStyle that the largeIcon would be missing (sometimes only in one expansion state) when it could be shown in the left column.
* Finally, this fixes a few bugs in the expansion animation that were caused by logic for determining the showing icon being inconsistent between Notification.java and the notification view wrappers.
Bug: 186421651
Test: post notifications of all these types in and outside of groups.
Change-Id: Ifd1d817afcb1b6fa8cfb79baee96364af8c7af3c
2021-05-12 15:57:43 -04:00
Ahaan Ugale
f765882432
Pipe UiTranslationSpec through to the UiTranslationController.
...
And use it to conditionally enable content padding for requested views.
Fix: 179693024
Test: atest android.translation.cts.UiTranslationManagerTest
Test: adb shell dumpsys activity <ACTIVITY> --translation
Change-Id: I23fb29a60525d736f2dcf9d11b548c62332c412c
2021-05-12 11:47:15 -07:00
Jeff DeCew
e07dcedf9b
Merge "Show minimized header text with the correct text weight" into sc-dev am: 9e30756592
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14506599
Change-Id: Ifa55cc928ea55696eb9fc46f8878710bd1d71a90
2021-05-12 18:00:25 +00:00
Jeff DeCew
9e30756592
Merge "Show minimized header text with the correct text weight" into sc-dev
2021-05-12 17:57:57 +00:00
Makoto Onuki
f0a6659080
Clean up setForegroundServiceBehavior()
...
Test: build
Bug: 186433888
Change-Id: Ie27cc91cf013bdfb90ab9c60a8c56370f226b87d
2021-05-12 08:22:41 -07:00
Ryan Mitchell
d12c50729d
Merge "Use internal lock for ResourcesManager" into sc-dev am: 75baeda560
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14425147
Change-Id: I4613e35c73e3f3df73d5b395ad4b466eb0a7afed
2021-05-12 15:12:43 +00:00
Ryan Mitchell
75baeda560
Merge "Use internal lock for ResourcesManager" into sc-dev
2021-05-12 15:02:06 +00:00
Jeff DeCew
2f44158f48
Merge changes I11400a55,I49461363,Ia18b2dc3,I8c554755 into sc-dev am: aeddbdc7c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14492078
Change-Id: I1ef35ad6e81a211422c30972c970e191ac9d984f
2021-05-11 22:41:29 +00:00
Jeff DeCew
aeddbdc7c9
Merge changes I11400a55,I49461363,Ia18b2dc3,I8c554755 into sc-dev
...
* changes:
Simplify SmartReplyView padding layout logic
Smart action buttons now have 8dp corner radius
Fix measure logic so that priority children can have more than 1/N space.
Update the style of emphasized notification actions.
2021-05-11 22:35:37 +00:00
Jeff DeCew
9c1f4e12c9
Show minimized header text with the correct text weight
...
Fixes: 184863420
Test: visual
Change-Id: Ic16f9e88e118e7ea5fe14054cf1c35318d4a6ddd
2021-05-11 17:10:34 -04:00
Kholoud Mohamed
ed8e57b593
Merge "Allow forceUpdateUserSetupComplete for non system users" into sc-dev am: 80ed0ced6c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14487533
Change-Id: I16d1865bcd6deb125062562850f4e9776866a65d
2021-05-11 14:56:50 +00:00
Kholoud Mohamed
80ed0ced6c
Merge "Allow forceUpdateUserSetupComplete for non system users" into sc-dev
2021-05-11 14:50:38 +00:00
Rubin Xu
624060d8e4
Merge "Update SecurityLog javadoc" into sc-dev am: c91f0da4fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14487856
Change-Id: I2970c04a0216fbfaa36675faa459d473df7b438c
2021-05-11 09:41:45 +00:00
Rubin Xu
c91f0da4fd
Merge "Update SecurityLog javadoc" into sc-dev
2021-05-11 09:31:51 +00:00
kholoud mohamed
158dd8fc09
Allow forceUpdateUserSetupComplete for non system users
...
Test: atest android.devicepolicy.cts.DevicePolicyManagerTest
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Bug: 183716601
Change-Id: Id2340ac1c6404ac41ca7b5a31c6fbb1577804595
2021-05-11 09:25:20 +01:00
Charles Chen
3db473fb61
Merge "Fix IME switch dialog crash on Dual rootDA display" into sc-dev am: c8bf38ce25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14305130
Change-Id: I014c3f314db5fe6c166e9833f5e8cadb15d01e96
2021-05-11 04:19:23 +00:00
Charles Chen
c8bf38ce25
Merge "Fix IME switch dialog crash on Dual rootDA display" into sc-dev
2021-05-11 04:08:49 +00:00
Jeff DeCew
2ca6b4399a
Update the style of emphasized notification actions.
...
* This removed many of the differences between CallStyle and emphasized actions.
* These actions are now pill shaped with a solid bg color, no stroke, less height, less spacing between, and wrapping content instead of splitting space equally.
Fixes: 187533622
Test: manual testing with Notify, Notify2, and Clock (using timers and alarms)
Change-Id: I8c554755755c59f2756870f7cd2e0c533d22d823
2021-05-10 21:41:52 -04:00
Jing Ji
975fbad614
Merge "Add support to log app kill stats into statsd" into sc-dev am: 0ec24536c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14417792
Change-Id: I6c83da95a39aadd036ea5b36827d1a06626eb4c0
2021-05-10 16:43:25 +00:00
Jing Ji
0ec24536c5
Merge "Add support to log app kill stats into statsd" into sc-dev
2021-05-10 16:34:21 +00:00
Rubin Xu
b59d8e1e21
Update SecurityLog javadoc
...
Bug: 183695861
Test: m -j docs
Change-Id: Idf05e69bda53ffe205683898984b6aa4677f2466
2021-05-10 15:20:45 +01:00
Jeff DeCew
32db70f729
Merge "Remove exception whe Colorized notificiation uses COLOR_DEFAULT." into sc-dev am: 0601cb9bd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14468736
Change-Id: I41c292252f01e1a65b72abb470f4c23a0acf371e
2021-05-10 13:43:27 +00:00
Jeff DeCew
0601cb9bd7
Merge "Remove exception whe Colorized notificiation uses COLOR_DEFAULT." into sc-dev
2021-05-10 13:29:08 +00:00
Ruslan Tkhakokhov
a9222e953b
Merge "Don't restore notification channel if its sound is unavailable" into sc-dev am: c4646c09ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14424418
Change-Id: Ibfa45a607eaa6193ad25f1dcad333567140d07aa
2021-05-09 21:03:18 +00:00
Ruslan Tkhakokhov
c4646c09ba
Merge "Don't restore notification channel if its sound is unavailable" into sc-dev
2021-05-09 20:36:02 +00:00
Hyunyoung Song
856e6cdb59
Merge "All Apps Search API council feedback (second round)" into sc-dev am: 048fc0ae1a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14469987
Change-Id: Ibd991565345d3b87344105997fd4b77e24cad216
2021-05-09 19:59:02 +00:00
Hyunyoung Song
048fc0ae1a
Merge "All Apps Search API council feedback (second round)" into sc-dev
2021-05-09 19:05:04 +00:00
Jing Ji
40eba65382
Add support to log app kill stats into statsd
...
Bug: 184859606
Bug: 154511130
Test: statsd_testdrive
Test: atest CtsStatsdAtomHostTestCases:AppExitHostTest
Change-Id: Ia7856c95346c1f0f621948abd11d9648ffbdd7c5
2021-05-08 19:11:28 -07:00
Jing Ji
bfc90ccd6d
Merge "Kill process if it's cached & idle and in forced-app-standby mode" into sc-dev am: d5c7dc045b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14449187
Change-Id: I8957a310766931025e1b6797bce5a8cf83a2f26a
2021-05-09 00:37:03 +00:00
Jing Ji
d5c7dc045b
Merge "Kill process if it's cached & idle and in forced-app-standby mode" into sc-dev
2021-05-09 00:23:05 +00:00
Jing Ji
6cf25139a0
Kill process if it's cached & idle and in forced-app-standby mode
...
This behavior could be turned OFF via the flag kill_fas_cached_idle
in device_config.
Bug: 152573287
Test: atest FrameworksServicesTests:ActivityManagerTest
Test: atest FrameworksMockingServicesTests:AppStateTrackerTest
Change-Id: Ifa6950582fbf6a24595b36163810f3c7e9345394
2021-05-07 14:27:30 -07:00
Hyunyoung Song
c8478e5a9d
All Apps Search API council feedback (second round)
...
Bug: 186756959
Test: atest CtsSearchUiServiceTestCases
Change-Id: I0c83d79ede8801f71c89e71cc6ec2c73b2d8bfcd
2021-05-07 11:41:43 -07:00
Jeff DeCew
e7cc53041d
Remove exception whe Colorized notificiation uses COLOR_DEFAULT.
...
This restores behavior of API 30 that ensures that ranking is unaffected by the notification's color. Specifically, this allows apps to set COLOR_DEFAULT on Colorized notifications, which in future versions may result in using a system-provided (theme-dependant) background color.
Bug: 187508265
Test: atest NotificationComparatorTest NotificationTest AppOpsCoordinatorTest NotificationGutsManagerTest NotificationManagerServiceTest NotificationBuilderTest
Change-Id: I4a61e9c8dc75871b79ec5ed5ce4416343e8d014f
2021-05-07 13:57:17 -04:00
Lucas Dupin
4b0f1eef5a
Merge "Allow I/O wallpaper to use dark text mode." into sc-dev am: 284edfdcc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14467777
Change-Id: Ib35d98e59f311f4920d4889f2bfed4362cac8226
2021-05-07 16:03:03 +00:00
Lucas Dupin
284edfdcc6
Merge "Allow I/O wallpaper to use dark text mode." into sc-dev
2021-05-07 15:53:16 +00:00
Rubin Xu
af37a00f81
Merge "Remove unused isProfileActivePasswordSufficientForParent()" into sc-dev am: c4ac63a881
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14467997
Change-Id: I0d001af9a966844c56ba3d5148c78752b5d6bd1a
2021-05-07 14:04:53 +00:00
Rubin Xu
f7a6c02cc8
Remove unused isProfileActivePasswordSufficientForParent()
...
Bug: 182561862
Test: builds
Change-Id: I26d18113862c64c51333f62b81db65e335ccd18c
2021-05-07 11:22:35 +01:00
Charles Chen
71cb758286
Fix IME switch dialog crash on Dual rootDA display
...
The crash is because when the IME switch dialog created window token
is removed, it should switch back to listen to ImeContainer.
However, previous CL use the wrong API findAreaForToken, which only
finds the DisplayArea.Token under mAreaForLayer list.
In this scenario, we cannot find one because ImeContainer is moved to
its sub-RootDisplayArea.
This CL updates the naming and add more javaDoc to prevent from
confusion.
Test: atest WindowContextListenerControllerTests
Test: manual - repro steps in b/186366728#comment1
fixes: 186366728
Change-Id: I50d3247b0a158e83d09be893d31802d673a60697
2021-05-07 10:03:02 +00:00
Shan Huang
4d5a9f9d76
Allow I/O wallpaper to use dark text mode.
...
Test: Manual
Bug: 187489482
Change-Id: I8e30d536dc1083b8ff8b96899aead1d80becba2e
2021-05-07 17:37:37 +08:00
Treehugger Robot
8d72d46ca2
Merge "Move myself to emeritus section" am: c8fd9b844b am: b4a032843b am: cc7e711cfd am: 397273a160
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697183
Change-Id: Id060b5e58f373d0daaac5da74aae28391ce85334
2021-05-07 04:11:33 +00:00
Treehugger Robot
397273a160
Merge "Move myself to emeritus section" am: c8fd9b844b am: b4a032843b am: cc7e711cfd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697183
Change-Id: Idd77c2249d3bc6a7b59ff95d4616bf3e8cf1e048
2021-05-07 03:39:34 +00:00
Treehugger Robot
cc7e711cfd
Merge "Move myself to emeritus section" am: c8fd9b844b am: b4a032843b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697183
Change-Id: Ie735d8b711a7e852c010398f5ea2f9ce00ead32b
2021-05-07 03:11:46 +00:00
TreeHugger Robot
f4f6454726
Merge "Fix a serialization issue in sync op reporting" into sc-dev am: 6a483f4f46
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14457952
Change-Id: I8b76a6d59681d8282340de80510d25c6a3be507d
2021-05-07 02:00:35 +00:00
TreeHugger Robot
6a483f4f46
Merge "Fix a serialization issue in sync op reporting" into sc-dev
2021-05-07 01:57:32 +00:00