Vadim Caen
21421cd776
DO NOT MERGE Only rely on developer option for back animation am: ab58191c7f am: 1d83999ad0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18310267
Change-Id: I59cdc9e93cce4e8b7cbeaea5f0816d5a78a7d7de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-23 19:34:50 +00:00
Vadim Caen
1d83999ad0
DO NOT MERGE Only rely on developer option for back animation am: ab58191c7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18310267
Change-Id: I150be6a4fae771ffe6e841806772aa2218ae871b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-23 19:32:00 +00:00
Vadim Caen
ab58191c7f
DO NOT MERGE Only rely on developer option for back animation
...
BackNavigationController was still relying on a debug setting. Now the
animation request is handled via a boolean parameter passed by sysui,
which has access to the developer option.
Test: Existing test modified
Bug: 231502692
Change-Id: Icda4692e05396407d961610de0ce709492adadc1
Merged-In: Icda4692e05396407d961610de0ce709492adadc1
2022-05-23 10:43:04 +00:00
Louis Chang
e606dcceb0
Merge "Do not propagate always-on-top config to child containers" into tm-dev am: 0e52eb3aa7 am: 626fa3b45a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18492569
Change-Id: Ibde53f5879bc37ffdb748b412643bdf88ebc0d14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-23 05:38:32 +00:00
Louis Chang
626fa3b45a
Merge "Do not propagate always-on-top config to child containers" into tm-dev am: 0e52eb3aa7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18492569
Change-Id: Ia5ecab69d7040152e664a8e9ac6405a676e5e8e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-23 05:18:44 +00:00
Louis Chang
0e52eb3aa7
Merge "Do not propagate always-on-top config to child containers" into tm-dev
2022-05-23 04:53:00 +00:00
Antoan Angelov
3278aeffd4
Merge "Also parse integer, long and boolean extras for NFC" into tm-dev am: 79e7d4b5f6 am: 01411697cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18281174
Change-Id: I2e14f3dbf889dd5abb6c4ed76c116407ba9bce00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 22:45:13 +00:00
Antoan Angelov
01411697cf
Merge "Also parse integer, long and boolean extras for NFC" into tm-dev am: 79e7d4b5f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18281174
Change-Id: Ib978ead84ce57dc3aef8a624747af8feed63a163
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 22:26:16 +00:00
Antoan Angelov
79e7d4b5f6
Merge "Also parse integer, long and boolean extras for NFC" into tm-dev
2022-05-20 21:12:56 +00:00
Louis Chang
8c5ad556c6
Do not propagate always-on-top config to child containers
...
Doesn't make sense to propagate the always-on-top config to
child containers. It also prevents positioning a newly
added child WC to top.
Bug: 230008268
Test: atest ConfigurationContainerTests
Change-Id: I981636f3297e5c77393320d052a7f1b4e5c5e97b
2022-05-20 21:22:37 +08:00
Alex Johnston
9e5d639171
Merge "Update network logging delegation docs" into tm-dev am: f428adf2e4 am: 2e71fc0ac5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18475051
Change-Id: I1f17a5b9d72d12c0a424bd3829075bd2ee7a22ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:52:34 +00:00
Calvin Pan
ae4658500e
Merge "Avoid printing call stack for the app that doesn't add the LocaleConfig" into tm-dev am: cdcff91c57 am: 3b35df974a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18452917
Change-Id: I14846dfe7ddc309941389b252b3c1c692fce82c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:48:28 +00:00
Alex Johnston
2e71fc0ac5
Merge "Update network logging delegation docs" into tm-dev am: f428adf2e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18475051
Change-Id: If03a62dc85831f97083ee8333cc48cdc80fe4174
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:25:38 +00:00
Calvin Pan
3b35df974a
Merge "Avoid printing call stack for the app that doesn't add the LocaleConfig" into tm-dev am: cdcff91c57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18452917
Change-Id: Ia7718f03133f127e1f62c23afe3a3d4a66188a78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:22:27 +00:00
Alex Johnston
f428adf2e4
Merge "Update network logging delegation docs" into tm-dev
2022-05-20 08:29:47 +00:00
Issei Suzuki
a198a65234
Merge "Add ActivityOption to remove keyguard when an activity is launched." into tm-d1-dev
2022-05-20 07:29:31 +00:00
Alex Johnston
8d1317ca37
Update network logging delegation docs
...
Bug: 228445895
Test: NA
Change-Id: I98ddd4f012fa1d6bcd12fc31ab176cf1e43e8838
2022-05-19 14:33:53 +01:00
Alex Johnston
00090b1d4a
Merge "Add background protection when work biometrics is shown" into tm-dev am: ed00c662dc am: 9eeb0112fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18351382
Change-Id: Ic48ca6f44aabcb4cc02ac03dc656603f8e8a3c4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:00:03 +00:00
Sanjana Sunil
ad494b49bb
Merge "Set correct volume storage path for SDK sandbox" into tm-dev am: 0b28d29298 am: 49f81abcbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17983856
Change-Id: I2f605ab06441b647bd46eb80271509090aa8e336
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 21:59:50 +00:00
TreeHugger Robot
5e287d77d9
Merge "Improve javadoc for Wi-Fi related policies" into tm-dev am: e51b62b2a3 am: 46c447841b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18374443
Change-Id: I1116841f8b67c8fc0859e02af4c21dae18c922bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 21:53:35 +00:00
Sudheer Shanka
8ea69bab70
Merge "Update OWNERS for broadcast response related classes." into tm-dev am: 9af0eed1de am: 851c7f61ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18377776
Change-Id: Ic1cf7242ebe613ec73fd10884743e424f82f6ca6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 21:52:49 +00:00
Calvin Pan
cb612e4f8b
Avoid printing call stack for the app that doesn't add the LocaleConfig
...
Most apps have not added the LocaleConfig yet and it will print each application's stack when settings query package status.
To keep the logs clearer and reduce calls to getStackTrackString() to improve a little performance.
Bug: 232557302
Test: Saving about 80% under java stack tracing mode
Change-Id: Ic28641c35bad24928418820159a92efc1e146538
2022-05-18 11:21:12 +00:00
Alex Johnston
ed00c662dc
Merge "Add background protection when work biometrics is shown" into tm-dev
2022-05-17 16:35:37 +00:00
Sanjana Sunil
0b28d29298
Merge "Set correct volume storage path for SDK sandbox" into tm-dev
2022-05-17 15:40:12 +00:00
Issei Suzuki
36f0a83ead
Add ActivityOption to remove keyguard when an activity is launched.
...
Replaced ActivityOption#dismissKeyguardIfInsecure by
ActivityOption#dismissKeyguard, with which the server doesn't check if
the keyguard is insecure again. The caller has to make sure if the
keygaurd can be dismissed without additional authentication.
Bug: 203044476
Test: atest KeyguardLockedTests KeyguardTransitionTests
Change-Id: Ia83da6286875f1a539edbaf515fe01c07ce1ba76
Merged-In: Ia83da6286875f1a539edbaf515fe01c07ce1ba76
2022-05-17 10:13:57 +00:00
TreeHugger Robot
e51b62b2a3
Merge "Improve javadoc for Wi-Fi related policies" into tm-dev
2022-05-16 22:04:37 +00:00
Sudheer Shanka
9af0eed1de
Merge "Update OWNERS for broadcast response related classes." into tm-dev
2022-05-16 21:26:19 +00:00
Sanjana Sunil
79241ae7d9
Set correct volume storage path for SDK sandbox
...
Context.getDataDir() for SDK sandbox incorrectly returns /data volume
path even if the actual storage is on another volume. This CL sets the
correct storage path by checking the uuid from the ApplicationInfo of
the client app and setting it to the same value.
Bug: 229736419
Test: atest
SdkSandboxStorageHostTest#testSdkSharedStorage_DifferentVolumeIsUsable
Change-Id: Ib72ea559363cdeb4b7cfcc2f48ca8ddace96e352
Merged-In: Ib72ea559363cdeb4b7cfcc2f48ca8ddace96e352
2022-05-16 15:43:37 +00:00
Rubin Xu
1638b20f44
Improve javadoc for Wi-Fi related policies
...
Bug: 226128486
Test: none
Change-Id: I21f0f0eb1f9a4754d42f4ae3c8e8a36865d58afa
2022-05-16 15:38:14 +00:00
Alex Johnston
b3aa96f89f
Add background protection when work biometrics is shown
...
* Remove existing coloured background.
* Add a background with a layout that includes a
badged icon of the app being opened.
Manual testing steps:
* Set up device with a work profile using TestDPC
* Set a fingerprint in the work profile
* Open a work app
* Lock the device
* Verify the background protection is shown behind
the biometric prompt
Screenshots:
* Dark mode: https://screenshot.googleplex.com/3SwGWrBREYoZFaH
* Light mode: https://screenshot.googleplex.com/8bzX9wLoFGJ2ado
Bug: 206761107
Test: Manual testing
WorkLockActivityControllerTest
TaskStackListenerImplTest
Change-Id: I90d117a97d7457a3186953c16db8bd0bbac048ed
2022-05-16 14:20:56 +01:00
Tony Huang
0a066377f3
Merge "Remove supportsSplitScreenMultiWindow" into tm-qpr-dev
2022-05-16 08:04:27 +00:00
Wei Sheng Shih
6cfafc4b2b
Merge "Send client relaunch event to WMCore." into tm-dev am: a688a7499d am: ad95d22b9d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18367863
Change-Id: I7e0cbe1713b18456605b17098ea8f3e1edcc4ed6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-16 03:53:22 +00:00
Riddle Hsu
044de12a14
Merge "Round screen size of configuration" into tm-qpr-dev
2022-05-16 03:13:29 +00:00
Riddle Hsu
9605ca616b
Merge changes Ibd113f4f,I09c2feff into tm-qpr-dev
...
* changes:
Remove client side deferred config for cached state
Defer sending config change to cached process
2022-05-16 03:12:44 +00:00
Wei Sheng Shih
a688a7499d
Merge "Send client relaunch event to WMCore." into tm-dev
2022-05-16 01:55:24 +00:00
Jon Spivack
b6a381d22f
Merge "Revert "Fix default mode for system alert window on low-RAM device."" into tm-dev am: 074f4aa65d am: a7392da71a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18365482
Change-Id: Id0b2c0aee207206669111db90ff59916a80c9258
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 22:32:05 +00:00
Jon Spivack
074f4aa65d
Merge "Revert "Fix default mode for system alert window on low-RAM device."" into tm-dev
2022-05-13 22:15:19 +00:00
Sooraj Sasindran
3b3215cc25
Merge "Let managed profile owner retrieve enterprise apn" into tm-dev am: e182078fba am: cb81650464
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18213100
Change-Id: I2587ac5e9a274ea175419fefaeaa88c58af65c8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 17:45:32 +00:00
Sudheer Shanka
caf0790d49
Update OWNERS for broadcast response related classes.
...
Bug: 206518114
Test: n/a
Change-Id: I88e4bb13f536b732ca839d20111bd503a017885e
2022-05-13 10:37:38 -07:00
Kholoud Mohamed
29bdc3e3f7
Revert "Revert "RESTRICT AUTOMERGE Add feature flag to disable resource updatability APIs"" am: 704a86f316 am: 965185b792
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18344247
Change-Id: Idaab7634e9a7701a0b07f306d5c5258944cecb8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 17:36:08 +00:00
Sooraj Sasindran
e182078fba
Merge "Let managed profile owner retrieve enterprise apn" into tm-dev
2022-05-13 15:04:51 +00:00
Kholoud Mohamed
965185b792
Revert "Revert "RESTRICT AUTOMERGE Add feature flag to disable resource updatability APIs"" am: 704a86f316
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18344247
Change-Id: I2fe0890edd406a55e8d96fc2bfcc0da6df01f205
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 10:24:40 +00:00
Kholoud Mohamed
2c18b2e130
Merge "Revert "Revert "RESTRICT AUTOMERGE Add feature flag to disable resource updatability APIs""" into tm-dev
2022-05-13 09:27:17 +00:00
wilsonshih
2623b92278
Send client relaunch event to WMCore.
...
By sending the local relaunch event to server side, WMCore can keep
the starting window when client remove the original window, and because
client won't preserve the original window, the result of redrawed view
will match the new configuration.
Bug: 230998394
Test: launch chrome => swipe to go home => change toggle to either light
or dark theme => launch chrome again. Verify the app won't become transparent and the starting window remains on screen until client
report finish draw.
Change-Id: Ic8f1ebaf0bbaf2b060338ca08a11069481c09b9a
2022-05-13 06:54:12 +00:00
Riddle Hsu
7371d0be41
Remove client side deferred config for cached state
...
Since [1], the server side won't send the config change to a
cached state process, until it has an active state again.
So the logic of client side deferring can be removed.
[1]: I09c2feffba2fc124c623796af69de9f6adb60a39
Bug: 217934273
Test: ActivityThreadTest
Change-Id: Ibd113f4fb3b566e4e9cf5d7960b63a5c7790fb75
2022-05-13 14:50:09 +08:00
Jon Spivack
3462a1af3a
Revert "Fix default mode for system alert window on low-RAM device."
...
This reverts commit 8152335ad4 .
Reason for revert: This change caused regression b/230273264
Bug: 230273264
Fixes: 230273264
Change-Id: I041e3a12cc2a0d913e533b8bf414febdf0bf65ec
2022-05-13 03:28:24 +00:00
Sooraj Sasindran
03e3789af9
Let managed profile owner retrieve enterprise apn
...
Let managed profile owner retrieve enterprise apn
All override apn functionality should restricted to
device owner or managed profile owner only and not any
profile owner
Bug: 231360296
Test: system test with test dpc to confirm insertion, query and delete
from managed profile works fine
Change-Id: I06cdaa43ef015a5432956cbf2c62fd6c8f3a4353
2022-05-12 09:50:53 -07:00
Issei Suzuki
107dabed07
Merge "Add ActivityOption to remove keyguard when an activity is launched." into tm-qpr-dev
2022-05-12 15:31:42 +00:00
Kholoud Mohamed
704a86f316
Revert "Revert "RESTRICT AUTOMERGE Add feature flag to disable resource updatability APIs""
...
This reverts commit 00c0a92877 .
Reason for revert: fixed the original issue
Change-Id: Ie5905820de253630935ad59ba83d93446b8a377f
2022-05-12 14:23:21 +00:00
Julia Reynolds
cb38803c23
Merge "Fix blockable system notifications" into tm-dev am: ddfeaa18f7 am: 0c63a032f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18292722
Change-Id: I444b147a291bb8cf9db30f3ecb20fa00d8e7535e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 12:50:06 +00:00