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
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
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
Svet Ganov
2ae82e1302
Fix a serialization issue in sync op reporting
...
If the application thread is not ready yet we cannot
get the package name and were shrt circuiting which
let to leaving the remainder of the payload in the
parcel breaking subsequent content reads.
bug: 184616098
Test: atest CtsAppOpsTestCases
Change-Id: I83f0d74deb87f2b4517d8a4d10b5331c7d41bb89
2021-05-07 00:12:58 +00:00
Ben Lin
5a1149e1b2
Merge "PiP: API - explain isStashed in more detail." into sc-dev am: 394f4792e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14284623
Change-Id: Ie3d68ed75d66e67e6b6b5152117c388193e7b2b7
2021-05-06 21:38:00 +00:00
Ben Lin
394f4792e6
Merge "PiP: API - explain isStashed in more detail." into sc-dev
2021-05-06 21:29:58 +00:00
TreeHugger Robot
c23cd2285a
Merge "Rename OnProjectionStateChangeListener -> OnProjectionStateChangedListener" into sc-dev am: 8c62b2ba7c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429650
Change-Id: Ia661cc856047a819a6f6dfac65cd8add3524100c
2021-05-06 18:43:19 +00:00
TreeHugger Robot
8c62b2ba7c
Merge "Rename OnProjectionStateChangeListener -> OnProjectionStateChangedListener" into sc-dev
2021-05-06 18:36:32 +00:00
Eran Messeri
d5296e3ec4
Move myself to emeritus section
...
Will no longer be actively developing Device Policy Manager code.
Bug: 187395769
Test: N/A
Change-Id: Ifed25031a8b57e22dec0c8c5e07e27a92431b13f
2021-05-06 15:13:18 +01:00
TreeHugger Robot
55b6b984af
Merge "Fix issues with getHistoricalOps() results overflowing Binder connection." into sc-dev am: 38e2d409ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14440241
Change-Id: I24ea1108dbf52b077b0d7143b726a6fa8dc05617
2021-05-06 13:10:28 +00:00
TreeHugger Robot
38e2d409ea
Merge "Fix issues with getHistoricalOps() results overflowing Binder connection." into sc-dev
2021-05-06 12:53:24 +00:00
Ben Lin
5059bd6b37
PiP: API - explain isStashed in more detail.
...
Bug: 185972980
Test: None. Documentation update.
Change-Id: I7653a394a9ecdc0c89e65604a466f8448439f8fe
2021-05-05 18:44:24 -07:00
Svetoslav Ganov
8fb897acef
Merge "Prepare AttributionSource to expose to native" into sc-dev am: 720add59c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14381260
Change-Id: I14f40269541872bf807f669283da9a6f3d722f97
2021-05-05 23:44:49 +00:00
Svetoslav Ganov
720add59c7
Merge "Prepare AttributionSource to expose to native" into sc-dev
2021-05-05 23:23:54 +00:00
Kurt Dresner
81f2994f35
Rename OnProjectionStateChangeListener -> OnProjectionStateChangedListener
...
Bug: 175130323
Test: Presubmits
Change-Id: Ica48cd073e256055d5cac0f12e9ce814227eb0d6
2021-05-05 15:27:31 -07:00
Chavi Weingarten
c5be7a03e5
Merge "Capture layer and children when calling takeSurfaceControlScreenshot" into sc-dev am: 9a0bcd29df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14430168
Change-Id: I2a8e936eb50e33b38c2caf27b3b0e023d500c65d
2021-05-05 19:56:31 +00:00
Chavi Weingarten
9a0bcd29df
Merge "Capture layer and children when calling takeSurfaceControlScreenshot" into sc-dev
2021-05-05 19:43:52 +00:00
TreeHugger Robot
7d33178a94
Merge "Add javadoc for trampoline restrictions" into sc-dev am: 969a1a8643
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14440247
Change-Id: I2c84ef76b406e0d36b040cfeea8777116ef85fc7
2021-05-05 18:47:22 +00:00
TreeHugger Robot
969a1a8643
Merge "Add javadoc for trampoline restrictions" into sc-dev
2021-05-05 18:41:38 +00:00
Tom Natan
25bf625342
Merge "Add an API method for clearing compat overrides on release builds" am: b9680bac79 am: 9e9e1c4af5 am: 65654644bc am: 43bf4624ec
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688626
Change-Id: If0f4b50388f57b79ce42043678f283eb140923ec
2021-05-05 16:46:27 +00:00
Tom Natan
43bf4624ec
Merge "Add an API method for clearing compat overrides on release builds" am: b9680bac79 am: 9e9e1c4af5 am: 65654644bc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688626
Change-Id: Id1b221629fee21648ee2a4683ab9a34b2efef1d6
2021-05-05 16:41:16 +00:00
Tom Natan
65654644bc
Merge "Add an API method for clearing compat overrides on release builds" am: b9680bac79 am: 9e9e1c4af5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688626
Change-Id: Ic1b9bb5b3f6cfba5192838020fc1b9770715f80a
2021-05-05 16:13:03 +00:00
Bernardo Rufino
0875925d06
Add javadoc for trampoline restrictions
...
Added to notification APIs and browser exemption in ROLE_BROWSER in
topic CL.
Bug: 167676448
Test: Builds
Change-Id: Ibb4bee91fc2b8fcd8bbe194812cc8c3fa22c41ec
2021-05-05 16:41:42 +01:00
Tom Natan
b9680bac79
Merge "Add an API method for clearing compat overrides on release builds"
2021-05-05 14:58:41 +00:00
Stanislav Zholnin
ecb45f7e33
Fix issues with getHistoricalOps() results overflowing Binder connection.
...
Test: manually tested.
Bug: 186193371
Change-Id: I391cb36a86308c89056965a47596707257a2a0af
2021-05-05 14:07:02 +01:00
tomnatan
2697018f70
Add an API method for clearing compat overrides on release builds
...
This will be useful when we want to clear overrides for apps that are no longer needed regardless of the version that is installed on device, e.g., when an app is being uninstalled, when we want to rollback an override, or when we deprecate a change-id.
In addition, rename CompatChanges#setPackageOverride to
addPackageOverrides.
Bug: 183183372
Test: atest FrameworksServicesTests:CompatConfigTest
Test: atest FrameworksServicesTests:PlatformCompatTest
Change-Id: Iff416c8b4c88b5eddc9e21c73219198d23266fa1
2021-05-05 07:10:41 +00:00
Louis Chang
3e41f18978
Merge "Remove WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY" into sc-dev am: ba6bf9dad3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14242368
Change-Id: Ib7739d7ef39c3412a6b9bb3c47a28441d5ce0747
2021-05-05 00:00:39 +00:00
Louis Chang
ba6bf9dad3
Merge "Remove WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY" into sc-dev
2021-05-04 23:42:51 +00:00
chaviw
80bb00b977
Capture layer and children when calling takeSurfaceControlScreenshot
...
When calling UiAutomationConnection.takeSurfaceControlScreenshot, it
should capture the requested SurfaceControl and its children. The
current code only captures the children. Therefore, call setChildrenOnly
with false to ensure it captures the parent, as well.
Test: ASurfaceControlTest
Bug: 185390632
Change-Id: I62707f808934177c8db05485ac28559982b8c607
2021-05-04 14:32:48 -05:00