755764 Commits

Author SHA1 Message Date
Yi-yo Chiang
8c48dc11cf Merge "DSU service: Log insufficient storage space error" am: 9b420e664a am: 1e43855f6c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049806

Change-Id: I7b12a1c5d2dfb833c5330c44a35b110fc18c1859
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:29:33 +00:00
Tiger Huang
d513c66b1e Merge "Let setFrames can take frames passed from the client" into tm-dev 2022-04-01 08:26:17 +00:00
Yi-yo Chiang
1e43855f6c Merge "DSU service: Log insufficient storage space error" am: 9b420e664a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2049806

Change-Id: I929141ce4840a879b62664c917904aa541b3f635
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 08:15:47 +00:00
Calvin Pan
a15af39f7f Fix fetching incorrect items after filtering
Using parent view's adapter to prevent getting incorrect item after
filtering the list.

Bug: 227447626
Bug: 227289977
Bug: 227279371

Test: By manual
Change-Id: Ic7dde57cdc0dd44adf803317f836131d578f044b
(cherry picked from commit d3df5bdf8436f320f1370922a52cf7d8e38d809b)
2022-04-01 08:05:04 +00:00
Yi-yo Chiang
9b420e664a Merge "DSU service: Log insufficient storage space error" 2022-04-01 07:53:59 +00:00
Ming-Shin Lu
63a95a2795 Fix insets animations being skipped when the host view was invisible
In case the insets animation frame will not be scheduled by render
thread when the host window was not visible to user, added
ViewRootInsetsControllerHost#isVisibleToUser to check when invoking
applySurfaceParams to schedule the next frame, if the host was not
visible means we don't have to synchronize with the window host and
just apply the surface transaction on the UI thread directly.

Fix: 206992027
Test: manual as steps
  1) Receive any incoming message
  2) Tap on inline reply to show the keyboard
  3) Tap on the voice input button on the keyboard
  4) when permission dialogue prompts on the screen, expecting both
     notification shade panel collpse animation and IME hiding animation
     are working fine without any stucked frame.

Change-Id: I266587d5a3f136149d116214e2a49de92466ec2e
2022-04-01 15:36:41 +08:00
Brian Lindahl
01aefc5462 Rename DensityMap to DensityMapping per API review
Test: build and presubmit passes
Test: atest DensityMappingTest
Bug: 215434050
Fixes: 215434050
Merged-In: Id54d23c088e98c6e629b62ccb74c9b1cd751615e
Change-Id: Id54d23c088e98c6e629b62ccb74c9b1cd751615e
(cherry picked from commit 140a80e4be09863ed221968c15a69931ef3a2e8f)
2022-04-01 07:01:05 +00:00
Sam Dubey
246a190e03 Merge "Revert "Fix shouldControlUnlockedScreenOff."" into tm-dev 2022-04-01 06:47:02 +00:00
Riddle Hsu
577eebd547 Merge "Skip reporting ANR on zero pid process" into tm-dev 2022-04-01 05:40:54 +00:00
Varun Shah
d12b43dd0e Add initial logging for App Background Restrictions metrics.
Bug: 217744262
Test: statsd_testdrive 441
Change-Id: I13c9f2acd6abc1e3b61aaff28086b9e53155d780
2022-03-31 22:38:19 -07:00
Sarah Chin
ac94df2bab SetDataEnabled indicate calling package
Test: atest TelephonyManagerTest
Bug: 226149142
Change-Id: I769437e9332f27c0990c37f60ad6d9db284e86cf
2022-03-31 21:15:05 -07:00
Edgar Wang
9b7c98ce66 Merge "Update TabLayout background to align the latest spec" into tm-dev 2022-04-01 04:00:37 +00:00
Bill Yi
c25a868c01 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 03:44:13 +00:00
Eun-Jeong Shin
cd1c5cadb6 Merge "Update LogcatManagerService to call getUidProcessState to retrieve process state" into tm-dev 2022-04-01 02:57:04 +00:00
Eun-Jeong Shin
2959437e25 Merge "Update user consent dialog for device log access" into tm-dev 2022-04-01 02:53:22 +00:00
Ling Ma
c901b0b863 Truncate operator name to fit into SystemProp size
Test: manual
Bug: 210502588
Change-Id: I59a87fa256a9be54755199034e138a63d89f0885
2022-04-01 02:24:22 +00:00
Wei Sheng Shih
3b3491b9c3 Merge "Keep wallpaper on top when finish a non-fullscreen unoccluding window" into tm-dev 2022-04-01 02:16:52 +00:00
Julia Reynolds
e628998148 Merge "Fix race condition when removing auto-summaries" into tm-dev 2022-04-01 02:10:38 +00:00
Lucas Silva
fc8beb0ae1 Prevent the bouncer from showing over dreams when swiping down the
shade.

Currently, since the bouncer and notification shade utilize the same
panel, we see the bouncer appear when swiping down the shade. With this
fix, we only allow the bouncer to expand if the shade is not expanded.

Bug: 226419441
Bug: 224996347
Test: locally on device
Change-Id: I6f702cc1d262bb3a0397fadf7f14b8f3c683900d
2022-04-01 02:01:53 +00:00
Ling Ma
58d9786a64 Add truncateStringForUtf8Storage()
Test: manual
Bug: 210502588
Change-Id: I5d4ded0cb30151bc567cfedcdb1bbbdb9abdca9b
2022-03-31 18:57:05 -07:00
Peter Kalauskas
471391ddeb Merge "Use long-running executor for bg guest creation" into tm-dev 2022-04-01 01:52:25 +00:00
Zoey Chen
641107b271 Merge "LE_Broadcast New LeBroadcast and Assistant at ProfileManager" into tm-dev 2022-04-01 01:33:05 +00:00
Kweku Adams
c3e62a40be Merge "Make sure to stop EJs when quota is finished." into tm-dev 2022-04-01 01:02:15 +00:00
TreeHugger Robot
06acf51dd8 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:54 +00:00
TreeHugger Robot
3794415786 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:40 +00:00
TreeHugger Robot
2910ffa53f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:36 +00:00
TreeHugger Robot
3fb5abfc0b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-01 00:37:14 +00:00
TreeHugger Robot
463a4c728b Merge "rename renounce fine location data" into tm-dev 2022-04-01 00:26:55 +00:00
Lucas Dupin
87befadbd8 Merge "Clip media player to its bounds" into tm-dev 2022-04-01 00:01:11 +00:00
Jared Duke
2974e295ee Merge "Fix static lib collision between system_server + framework" am: a6f4bbd418 am: e9c7689391 am: 8496003245
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050305

Change-Id: I71a150e55528d1e5834cc9ec0ff97bf2cde9d11d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 23:41:33 +00:00
Pablo Gamito
2b770a7e86 Re-deprecate animation backgroundColor API
It's prefered to keep the API deprecated since the API was previously
deprecated and made a noop. Undeprecating it would lead to inconsistent
behavior across android versions. With the API not working on some
versions which can easily look like a bug from a developer's
perspective.

Instead we create a new API for the animation background effect refering
to an animation backdrop instead of a background. This also required
updating other API references of background in this context to backdrop.

Bug: 226122431
Test: atest CtsWindowManagerDeviceTestCases:ActivityTransitionTests

Merged-In: I4493d22a33606d639d498b6dc0f6f1bfa3d7f135
Change-Id: I4493d22a33606d639d498b6dc0f6f1bfa3d7f135
2022-03-31 23:27:01 +00:00
Jared Duke
8496003245 Merge "Fix static lib collision between system_server + framework" am: a6f4bbd418 am: e9c7689391
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050305

Change-Id: Ib370572baa0f44a0236a8de0157573a9ea700d45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 23:22:12 +00:00
Jing Ji
4935cbc65a Merge "Add support to persist app background restriction settings." into tm-dev 2022-03-31 23:21:25 +00:00
Tony Wickham
56febb3537 Merge "Add a log when initializing OverviewProxy" into tm-dev 2022-03-31 23:20:46 +00:00
Hongwei Wang
901e20fdf0 Merge "Do not set shadow when leaving PiP mode" into tm-dev 2022-03-31 23:19:32 +00:00
Sally Qi
acdf1d1252 Merge "Disable HDR dimming when screen rotates." into tm-dev 2022-03-31 23:19:06 +00:00
Jared Duke
e9c7689391 Merge "Fix static lib collision between system_server + framework" am: a6f4bbd418
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050305

Change-Id: I00e1ae911b097b894083f9ba55a9ad3c45fb797e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 23:06:02 +00:00
Songchun Fan
2e06c6008e Revert "[AppsFilter] read-only interface for snapshots"
This reverts commit 8cb3e6aac93147287bcb9fa41a284b1745d47c75.

Reason for revert: boot time regression

Change-Id: I5e6dc8e80d33256cf7dd8c0d5f1415373fba9048
2022-03-31 23:02:21 +00:00
Jay Sullivan
5c375eacdd Merge "Add perm split W_E_S to A_M_L and sort" into tm-dev 2022-03-31 22:59:24 +00:00
Eric Biggers
2cee2d3bb3 Merge "EntropyMixer: ensure new seed file is as good as old one" am: bcbd6fe8cd am: f11ba55d9b am: e0bb053ef0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050961

Change-Id: I29e5ba469f3ebd7a43e78a8d51c4a018ae5942c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 22:50:21 +00:00
Jared Duke
a6f4bbd418 Merge "Fix static lib collision between system_server + framework" 2022-03-31 22:47:33 +00:00
John Wu
a8262d359c Merge "Change default shared UID migration strategy to NEW_INSTALL_ONLY" into tm-dev 2022-03-31 22:41:19 +00:00
Jing Ji
b26cd864ee Include cached battery usage in app-restriction proto dump
Bug: 203105544
Test: adb shell dumpsys activity app-restrictions --proto |
        gqui from rawproto:- proto
	$ANDROID_BUILD_TOP/frameworks/base/core/proto/android/os/appbatterystats.proto:android.os.AppBatteryStatsProto
	--protoprint_annotations=no
Change-Id: I220908b307fb0df293ae963329f4e16efed295b7
2022-03-31 15:41:06 -07:00
Eric Biggers
e0bb053ef0 Merge "EntropyMixer: ensure new seed file is as good as old one" am: bcbd6fe8cd am: f11ba55d9b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050961

Change-Id: Ib2ebef7cce61178ff84c74c50cc5e9bdcf1391f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 22:29:57 +00:00
Eric Biggers
f11ba55d9b Merge "EntropyMixer: ensure new seed file is as good as old one" am: bcbd6fe8cd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2050961

Change-Id: I727fa54020dac846ac2343aefdce4f7017cb8dad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 22:14:41 +00:00
TreeHugger Robot
67059aaeae Merge "Link to death recipient for AIDL HAL" into tm-dev 2022-03-31 22:14:10 +00:00
Dmitri Plotnikov
0d1965421d Truncate battery history tags and remove Log.wtf
Bug: 216559196
Test: atest FrameworksCoreTests:BatteryStatsTests

Change-Id: I252ef24e1bbf9fb9210b3830dd37277de92c763d
2022-03-31 15:06:05 -07:00
Eric Biggers
bcbd6fe8cd Merge "EntropyMixer: ensure new seed file is as good as old one" 2022-03-31 21:56:11 +00:00
SongFerngWang
548388f7ee LE_Broadcast New LeBroadcast and Assistant at ProfileManager
1. LocalBluetoothLeBroadcast implements the LocalBluetoothProfile.
2. LocalBluetoothLeBroadcastAssistant implements the LocalBluetoothProfile.
3. LocalBluetoothProfileManager new the LocalBluetoothLeBroadcast and
the LocalBluetoothLeBroadcastAssistant

Bug: 227511707
Test: build pass
Change-Id: Ia8932b97192603a3c7d1e06d8f97eb3158c05b45
2022-03-31 21:19:05 +00:00
Lucas Dupin
fef49f5b9b Clip media player to its bounds
Fixes: 224873875
Test: perfetto da house down!
Change-Id: I50601648cdc231cd5a5835afcd62eaa27e1eceb2
2022-03-31 14:17:59 -07:00