- Jan 15, 2022
-
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
- Jan 14, 2022
-
-
Kalesh Singh authored
-
Selim Cinek authored
-
Shivam Agrawal authored
...only when the Task has no more running activities. Send a TaskFragment info changed callback if the callback is for the last activities to finish in a Task so that the TaskFragmentOrganizer can delete this TaskFragment. Otherwise, the Task may be removed before it becomes visible again to send this callback because it no longer has activities. As a result, the organizer will never get this info changed event and will not delete the TaskFragment because the organizer thinks the TaskFragment still has running activities. Bug: b/214090984 Test: atest TaskFragmentOrganizerControllerTest Test: atest ActivityEmbeddingLaunchTests Change-Id: Idb58975f4bfb6c67ed6cda3dc6b7c33abd960bbd
-
Bill Yi authored
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1daa90f3 -s ours am: 058f043b -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16637227 Change-Id: I2209a057d8020fcd6c81b03a0516795049ceab22
-
Kalesh Singh authored
This allows system_server to search/read tracefs entries. It is needed for attaching cpu timeinstate bpf programs to tracepoints. Bug: 208892266 Bug: 209513178 Bug: 214061655 Test: libtimeinstate_test Change-Id: I4139605eb7c5277887092b3d6a3fb26bf4f8f171 Merged-In: I4139605eb7c5277887092b3d6a3fb26bf4f8f171
-
Bill Yi authored
am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16637227 Change-Id: I2b5bccdecf6597d1d9bee0c2e3d2edb346d8bd7d
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Fabian Kozynski authored
-
Ming-Shin Lu authored
As CL[1] introduced WindowTokenClient for WindowProviderService (aka the parent class of InputMethodService starts from CL[2]) as a token that IME context can associate with the windowContainer of the InputMethod window in server side. Like the activity context, IME context can adopt configuration/resources update when the IME window changed by display/window changes. And, the IME context caller can also create another type of context with wrapping IME context (i.e. calling createDisplayContext to create a display context), that makes this context can be mixed the window token of WindowProviderService since it's the base context. However, the finalization of the context mixed WindowTokenClient will detach the token when the attached context type is non-window context, this action will mis-detach the token when it managed by WindowProviderService. So like SoftKeyboard previously using createDisplayContext in CL[3] to workaround context resources issues, will in-directly expose this mis-detach token issue as the above. Beside, the handling of WindowTokenClient#{onConfigurationChange, onWindowTokenRemoved} does not thread-safe since this is called from IPC. As the result, the fix is to ignore the check in ContextImpl#finalize to not detach the token when it managed by WindowProviderService, also make sure to post to the main handler when received onConfigurationChanged/onWindowTokenRemoved in WindowTokenClient. Note that this fix could help to resolve "The Window Context should have been attached to a DisplayArea." exception if the token has been detached as the above case that happens before the next WindowProviderService#attachToWindowToken invoked. [1]: I64a1614f32d097785915f6105b1813a929e0fe32 [2]: Ie565e30ed5dd3f2cfe27355a6dded76dc3adc14b [3]: Ic592a1d2fb2da149220c8b503b522b3e864bcc77 Bug: 213118079 Bug: 211062619 Test: manual as steps: 1) adb install -r EditTextVariations.apk 2) adb install -r SoftKeyboard.apk 3) adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard 4) adb shell ime set com.example.android.softkeyboard/.SoftKeyboard5 5) Enable screen auto-rotation 6) Launch EditTextVariations from launcher's shortcut 7) Tap the first EditText field to show IME 8) Rotate the device to the landscape mode 9) Expect the IME should not be shrunk Change-Id: I7beb7a122af93e596239a36db62073233cea0726
-
Selim Cinek authored
When waking up, the status bar state was immediately reset, stopping the transition. We now migrate the behavior from the pulse expansion to the ls shade transition controller and wait a bit longer. Fixes: 201341772 Test: click on expand from pulsing Change-Id: Ie7caa06b45c3fd4c2aec72dfecf82e76e06ff3f2
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I6f3e8c8db4fa47e49f9fe68dd4d084d866617a61
-
Maria Yang authored
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: If056f82f31f969ae333f07c7882a6dc3cf0508b9
-
TreeHugger Robot authored
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Iaf42323ce36547d1209961307cdc93c65a64066e
-
Benedict Wong authored
-
- Jan 13, 2022
-
-
Mariia Sandrikova authored
* changes: DO NOT MERGE Revert "[2/n] Camera Compat UI: Add interfaces for client-server..." DO NOT MERGE Revert "[3/n] Camera Compat UI: Add a camera compat control." DO NOT MERGE Revert "Log the CameraCompatControlEventReported atom."
-
Michele Berionne authored
Bug: 204136145 Test: unit testing Change-Id: I9779180ff1c3e926f97e010ca6026c5fb950046d
-
Michael Wachenschwanz authored
Merge "Merge "Move PowerStatsLogger off of the main thread." am: 19041e21 am: a4b7960b am: 7c7930e5 am: a3426965" into sc-v2-dev
-
TreeHugger Robot authored
-
Evan Laird authored
-
Evan Laird authored
A previous refactor of DeviceProvisionedController removed the semantics of getting a callback when adding a new listner. This change lets NetworkController check the initial state after registering for updates, and removes the doAnswer call from NetworkControllerBaseTest to mimic this behavior Also add the field to dumpsys Test: manual; check `adb shell -n dumpsys activity service com.android.systemui/.SystemUIService | grep -A1 "NetworkController state:"` Test: atest SystemUITests Bug: 210512851 Change-Id: I82c8b15ad1b2d43494fa28178715ea0d0721fea7
-
Pavel Grafov authored
-
Josh Tsuji authored
-
Mariia Sandrikova authored
Revert submission 16468379 Reason for revert: Feature development is moving to T. Reverted Changes: Id9b9a8930:[3/n] Camera Compat UI: Add a camera compat contro... Id6be4a954:Enable a camera app compat control on Large screen... I083aa6718:[2/n] Camera Compat UI: Add interfaces for client-... Bug: 206602997 Change-Id: I9ad876043fd61f708a8f468fffd1ef371bfa0866
-
Aurimas Liutikas authored
Revert submission 16468379 Reason for revert: Feature development is moving to T. Reverted Changes: Id9b9a8930:[3/n] Camera Compat UI: Add a camera compat contro... Id6be4a954:Enable a camera app compat control on Large screen... I083aa6718:[2/n] Camera Compat UI: Add interfaces for client-... Bug: 206602997 Change-Id: I318b89b87cd3b05a3f3dcd428e3d80fe81465011
-
Mariia Sandrikova authored
This reverts commit 4e5bb886. Reason for revert: Feature development is moving to T. Bug: 206602997 Change-Id: Ia5da62807034a1657d65ac1bd15a2fff940d7160
-
Lais Andrade authored
-
Ayush Sharma authored
getGlobalProxyAdmin is a hidden API and called just from Settings. So enforcing system uid check. Bug: 206127671 Test: NA Change-Id: Id4bce828bc69867c9c4d20b991e9e53e8ae385f2 Merged-In: Id4bce828bc69867c9c4d20b991e9e53e8ae385f2 (cherry picked from commit 554e19a3)
-
Tom Natan authored
-
Benedict Wong authored
This change ensures that the VCN listens for changes on a per-subscription basis. In the DSDS case, the Settings.Global.MOBILE_DATA toggles is insufficient, as the toggles for individual subscriptions are changed instead of the global toggle. Without this patch, the VCN may ignore changes in the user toggles, and continue providing data service even after user data is disabled. Similarly, it may fail to bring up a VCN when user data is re-enabled. Bug: 214247774 Test: atest FrameworksVcnTests Original-Change: https://android-review.googlesource.com/1947700 Change-Id: I1e84c25f48eab90dca163eda809fc11d5d21bc31 Merged-In: I1e84c25f48eab90dca163eda809fc11d5d21bc31
-
Louis Chang authored
Migrate the dimmer to TaskFragment and the dim surface needs to be offset relative to its parent task. Bug: 202379687 Test: verify dim in two pane Change-Id: I95fe47ebc66d419b42c1da8cc8216773c295f1d1 (cherry picked from commit 9b588133)
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Chris Li authored
-
Winson Chung authored
-
Chris Li authored
-