- Nov 06, 2023
-
-
Makoto Onuki authored
Bug: 292533010 Test: atest CtsGetBindingUidImportanceTest ... with and without android.app.get_binding_uid_importance set. Change-Id: Iee6f0e08ba499f2f51d8173e45168c69933cd451
-
- Oct 30, 2023
-
-
Zyan Wu authored
Test: None Bug: 308352352 Doc: https://docs.google.com/document/d/15MiUQNkH2cXjrHbsLRxW5v4pyddwgyTBK-9cKB1oD58 Change-Id: Ibe3a336ebb3525a719147fe6f991c910b214e370
-
- Oct 25, 2023
-
-
Nick Chameyev authored
Adds logic to UnfoldTransitionHandler that takes over animating a transition if it contains changes related to unfold. Bug: 259220649 Test: atest PhysicalDisplaySwitchTransitionLauncherMixedTest Test: manual unfold 20 times => verify that there is no black screen delay Test: artificially increase collecting of rotation transition => rotate and unfold device, check that animation works Flag: handle_mixed_unfold_transitions Change-Id: I3285c1b6a45da63ac7846e9d5929db9426b069ae
-
- Oct 24, 2023
-
-
Prabir Pradhan authored
... until we figure out a way to determine if a device supports a specific HID usage code. Right now, having a usage code mapping means we automatically assume the device can report the key code. Assuming a device can support a stylus keycode makes the device get classified as a stylus, leading to widespread misclassifications. Bug: 291529805 Test: atest inputflinger_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5fb192aaec7a1d4ebb1384d96b3f79d4b2ca2f2c) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:55930e07d69fbd8ffd27d677a06fd0ba71a30bf8) Merged-In: I580514bdcbbfbe93df83fa3faa6262077e881243 Change-Id: I580514bdcbbfbe93df83fa3faa6262077e881243
-
Evan Rosky authored
This introduces a new ReadyTracker class based around tracking explicit conditions instead of an arbitrary set of heuristics mixed with legacy. Usage involves constructing a ReadyCondition and adding it to a transition's tracker. Once the condition is met, call `meet()` on the condition. The new ReadyTracker considers the transition ready if there was at-least one condition added and all the added conditions have been met. This is just the base implementation so it isn't really functional yet. This does add ready-conditions in most of the places where the old method's defer/continue were used. Bug: 294925498 Test: atest TransitionTests Change-Id: I6cbd9152d03e707e0e7134fa8ada2902e5af847e
-
- Oct 20, 2023
-
-
Pierre Barbier de Reuille authored
The new scaling takes into account the asymmetry in pixel size on the external display for better rendering. Bug: 304248677 Test: atest WmTests:ContentRecorderTests Change-Id: I7502538c5423343da93c20bfb7c6c8bea33dd7d2
-
- Oct 06, 2023
-
-
Marzia Favaro authored
Collect the changes on a dim layer and assign only the last requested to a transaction - Avoids issues with transaction ending up in the wrong order - Allows smooth transactions between different alpha values - Does not treat the entering animation as a special animation case Test: DimmerTests Bug: 281632483 Bug: 295291019 Change-Id: Ic3e6ce1f107bfc3ac925eb167b8bc89a5df478c8
-
- Oct 04, 2023
-
-
Seigo Nonaka authored
Bug: 281769620 Test: Manually done Test: atest FontListParserTest TypefaceSystemFallbackTest Test: atest CtsGraphicsTestCases CtsTextTestCases Change-Id: Ice5a51024c7fbba2af7c5886c751e2508c3670d7
-
- Oct 03, 2023
-
-
Philip Junker authored
Bug: 290068850 Test: manual Change-Id: I394f38d6960deae36237b3a7122fd343dc7a1934
-
- Oct 02, 2023
-
-
Victor Hsieh authored
With v4 signature and fs-verity, verifying an APK integrity is O(1) time. This allows us to enforce signature and detect persistent attack (via tampering with an APK) across a reboot for updated system apps. For the first step, we don't implement a policy (e.g. all priv apps) and only protect the packages in an allowlist specified by a resource property. This is due to the ecosystem complexity, where some OEM may preload app from another developer, since developer's v4 signature may need extra plumbing depending on how they are installed. Some implementation details: After a system package is updated, during the boot we still want to retrieve the SigningDetails from the APK in the dm-verity protected partition. This is to harden and protect the allowlisted apps from tampered record in an attacking scenario. The SigningDetails of the disabled pacakge is then used during the reconcile phase, to ensure the updated package has consistent signature with the original version. Originally, canSkipForcedPackageVerification checks splits explicitly. This is not necessary because ParsingPackageUtils.getSigningDetails can only succeed (e.g. during collectCertificatesLI, when forced) if the splits are consistent with the base. Delete some dead code, e.g. in the skipVerify condition. Bug: 277344944 Test: 1. locally add com.android.egg to the allowlist 2. build EasterEgg with v4 signature; and EasterEgg2 with a different signing key 3. adb install-multiple --no-incr EasterEgg.apk EasterEgg.apk.idsig 4. with root, replace base.apk and base.apk.idsig with EasterEgg2, chown and enable fsverity 5. adb shell stop/start 6. verify from logcat that the APK is recovered by expected check * With some code change to force condition. Change-Id: I0b62b73208c7d4e6b8613f1ae3aa726de8d8fa65
-
Arpit Singh authored
We don't have a way to determine if devices can actually report HID usage keys. Marking them as fallback only. Bug: 297094448 Test: atest inputflinger_tests Change-Id: I45710f9e6237c86613717fab779dbd7cc5c66c86
-
- Sep 21, 2023
-
-
dakinola authored
Feature flag check is no longer needed and leads to scenarios where partial screen sharing fails despite the device being capable of it, so its better to remove this extra point of failure. Bug: 301273469 Test: manually built & smoke test Test: atest WmTests:ContentRecorderTests Change-Id: Iad8926c377a2cae7c1b08f874926d09cc46274a4
-
Riddle Hsu authored
Otherwise the client won't report finishRelaunching to decrease mPendingRelaunchCount and cause ActivityRecord#isSyncFinished to return false. Also skip pre-loading recents(home) if its process is still cached (e.g. intermediate state when switching user). Otherwise the transaction may be failed by frozen state. Bug: 301034389 Test: atest RecentsAnimationTest#testPreloadRecentsActivity Test: Create multiple users with using different font size, wallpaper, dark theme. Launch several apps on each users. Switch between the users multiple times. There won't be transition timeout when returning from other apps to home. Merged-In: Ia2761e1e9fadf98ab952440ae884c12cc78697c8 Change-Id: Ia2761e1e9fadf98ab952440ae884c12cc78697c8
-
Chris Göllner authored
There have been a few reports on foldables where rotation lock suddenly changed, without user interaction. Adding these logs will make it easier to debug the issue. Bug: 289023967 Bug: 289534937 Bug: 279685215 Test: Manually - Change rotation lock and check logs in dumpsys Change-Id: If8de11265355f640a6ec54950bb3250c231b34cf
-
Riddle Hsu authored
Otherwise the client won't report finishRelaunching to decrease mPendingRelaunchCount and cause ActivityRecord#isSyncFinished to return false. Also skip pre-loading recents(home) if its process is still cached (e.g. intermediate state when switching user). Otherwise the transaction may be failed by frozen state. Bug: 301034389 Test: atest RecentsAnimationTest#testPreloadRecentsActivity Test: Create multiple users with using different font size, wallpaper, dark theme. Launch several apps on each users. Switch between the users multiple times. There won't be transition timeout when returning from other apps to home. Change-Id: Ia2761e1e9fadf98ab952440ae884c12cc78697c8
-
- Sep 18, 2023
-
-
Naomi Musgrave authored
Aside from resizing the VirtualDisplay from MediaProjection#createVirtualDisplay, an app may also set a new output surface on the VirtualDisplay. This output surface is where the mirrored layers are rendered out to, so we must transform the mirrored layers in response to any Surface size changes. Bug: 300481174 Test: atest WmTests:ContentRecorderTests Change-Id: I062379b9d702fb2c3a13e5442ee14036d1a31637
-
Naomi Musgrave authored
Bug: 300481174 Test: checked logs Change-Id: I52c62c5c5e09d2e4aa9c37b23b4ef645cf98bc7b
-
- Sep 15, 2023
-
-
Ikram Gabiyev authored
Implement most changes in Core to support the btn nav + auto-enter pip flow for pip2 experiment. Design of this flow is described in more detail here: go/pip2-transitions. The change should not have any effects when pip2 experiment is off. Bug: 298263450 Test: mp droid Change-Id: Iba32999a55238a0e5e00df37ec9a2ba4db8d7996
-
- Sep 12, 2023
-
-
Jyoti Bhayana authored
To allow only platform signed apps to access camera as User 0 in Headless user Mode, add a new permission android.permission.CAMERA_HEADLESS_SYSTEM_USER with protection level of "signature". Bug:296959023 Test: Test that headless system user is not able to access the camera without the new permission. Change-Id: I8fab31e1d7e483b476fe1761c8b35e1766119b25
-
Naomi Musgrave authored
To avoid malformed transformations due to inaccurate bounds when the task is in PIP. pause recording entirely when the task enters PIP and resume when the task leaves PIP. Bug: 297514518 Test: atest WmTests:ContentRecorderTests Test: manual MediaProjection smoke tests, change windowing modes Change-Id: I92ba7a211d0c719e60d8a397f2ba1b250903eb01
-
- Sep 08, 2023
-
-
Roman Kiryanov authored
it is added to the vendor partition. Bug: 212639052 Test: press the assist button, check that keyboard Test: events are delivered to the guest (`adb shell getevent -lt`) Test: and the asistant window appears. Change-Id: I1b836b975df2fc46383b3f83a6276936874bfea9 Signed-off-by:
Roman Kiryanov <rkir@google.com>
-
- Sep 07, 2023
-
-
Naomi Musgrave authored
Attempted comparing orientations from different enums; manifested as wildly incorrect transformations when handling a rotation & the virtual display is resized. Bug: 289976187 Test: atest WmTests:ContentRecorderTests Test: manual check full display & single app capture with rotations Change-Id: I10b03c5169a03b6540181b4bc4a3f47fa421f675
-
- Aug 28, 2023
-
-
Zyan Wu authored
Bug: 290068850 Test: Manual Smoke Change-Id: I10592f5a2fa628a99a50af32bceb9fbc3abc7610
-
- Aug 23, 2023
-
-
Prabir Pradhan authored
... until we figure out a way to determine if a device supports a specific HID usage code. Right now, having a usage code mapping means we automatically assume the device can report the key code. Assuming a device can support a stylus keycode makes the device get classified as a stylus, leading to widespread misclassifications. Bug: 291529805 Test: atest inputflinger_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5fb192aaec7a1d4ebb1384d96b3f79d4b2ca2f2c) Merged-In: I580514bdcbbfbe93df83fa3faa6262077e881243 Change-Id: I580514bdcbbfbe93df83fa3faa6262077e881243
-
- Aug 22, 2023
-
-
Prabir Pradhan authored
... until we figure out a way to determine if a device supports a specific HID usage code. Right now, having a usage code mapping means we automatically assume the device can report the key code. Assuming a device can support a stylus keycode makes the device get classified as a stylus, leading to widespread misclassifications. Bug: 291529805 Test: atest inputflinger_tests Change-Id: I580514bdcbbfbe93df83fa3faa6262077e881243
-
Robin Lee authored
Test: atest 'CtsSecurityTestCases:android.security.cts.ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions' Bug: 286882367 Bug: 290586831 Bug: 237290578 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0be0367ece4d946de576f7bb1e6e6777633a736d) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8bddf5091e0bf4e8252abc66169a7bcc9459001a) Merged-In: Iffe5625ae57c21874805ef98b67faac9f56f87f5 Change-Id: Iffe5625ae57c21874805ef98b67faac9f56f87f5
-
- Aug 11, 2023
-
-
Vlad Popa authored
This is necessary for the settings app to set the bt audio device type on the AudioManager. Test: manually set the bt audio device type Bug: 287011781 Merged-In: I4978b56091b1132f112d4ddec500710964854ec7 Change-Id: I4978b56091b1132f112d4ddec500710964854ec7
-
- Aug 10, 2023
-
-
dakinola authored
Bug: 290540247 Test: N/A Change-Id: Ic3cc9ecff0d27e973925addb7cf4a87a430c2666
-
- Aug 08, 2023
-
-
Vlad Popa authored
This is necessary for the settings app to set the bt audio device type on the AudioManager. Test: manually set the bt audio device type Bug: 287011781 Change-Id: I4978b56091b1132f112d4ddec500710964854ec7
-
- Aug 05, 2023
-
-
Mark Renouf authored
Revert submission 23792411-pss-new-chooser-qpr Reason for revert: Additional dependency collided with ongoing development. Most of the a11y bugs motivating this seem to be specific to partial screenshare, so this ended up adding cost to Chooser development without clearly solving the underlying issue.. Need to regroup on a more sustainable solution to this. Bug: 294040231 Test: Presubmits Reverted changes: /q/submissionid:23792411-pss-new-chooser-qpr Change-Id: I3a8be177fdd93fc7414e610019476ceeb40c9e7d
-
- Aug 02, 2023
-
-
Winni Chang authored
In https://source.android.com/docs/core/interaction/input/keyboard-devices, the HID usage is 0x07 instead of 0x0c. Bug: 289991012 Change-Id: Ied076abe8822a779f6cef65c68e8ee5296f0c574
-
- Jul 27, 2023
-
-
Chris Göllner authored
The old one in the framework is deprecated, and not developed anymore. Partial Screen Sharing is the only thing still using it, and preventing it from being removed. There also bug fixes and improvements in the new one, that the Partial Screen Sharing feature would benefit from. Bug: 265905535 Test: MediaProjectionAppSelectorScreenshotTest Test: Manually build and run to trigger the app selector Change-Id: Icbc5b3bcf641288e12fc99973d8dae3467256a2c
-
- Jul 26, 2023
-
-
Robin Lee authored
Test: atest 'CtsSecurityTestCases:android.security.cts.ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions' Bug: 286882367 Bug: 290586831 Bug: 237290578 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0be0367ece4d946de576f7bb1e6e6777633a736d) Merged-In: Iffe5625ae57c21874805ef98b67faac9f56f87f5 Change-Id: Iffe5625ae57c21874805ef98b67faac9f56f87f5
-
Robin Lee authored
Test: atest 'CtsSecurityTestCases:android.security.cts.ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions' Bug: 286882367 Bug: 290586831 Bug: 237290578 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0be0367ece4d946de576f7bb1e6e6777633a736d) Merged-In: Iffe5625ae57c21874805ef98b67faac9f56f87f5 Change-Id: Iffe5625ae57c21874805ef98b67faac9f56f87f5
-
- Jul 25, 2023
-
-
Seigo Nonaka authored
Not to break the apps that reads fonts.xml and add new features to the system font customization at the same time, this CL introduces new hidden XML file font_fallback.xml which is currently a copy of the fonts.xml. The fonts.xml still exists but may not contain the latest system font settings due to compatibility problems. Application should use the public API for accessing system installed fonts which is available from API29. Bug: 281769620 Test: atest CtsGraphicsTestCases Test: atest CtsTextTestCases Change-Id: I556b5fffb0c78f0c6150b472fd240b9a546de93f Merged-In: I556b5fffb0c78f0c6150b472fd240b9a546de93f
-
- Jul 24, 2023
-
-
Philip Junker authored
Change-Id: Iae340f77cbd117fcd519fd8a5d7c076b5d18dc0a bug: 291854577 Test: none
-
- Jul 21, 2023
-
-
Chris Li authored
Keep track of the WindowProcessController that WindowContextListener is listening for. Bug: 290876897 Test: No-op until the dispatch site is hooked. Pass existing tests. Change-Id: If2d7e171520e38a1142257bae6e2574df90eed5d
-
- Jul 19, 2023
-
-
Robin Lee authored
Test: atest 'CtsSecurityTestCases:android.security.cts.ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions' Bug: 290586831 Bug: 237290578 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0be0367ece4d946de576f7bb1e6e6777633a736d) Merged-In: Iffe5625ae57c21874805ef98b67faac9f56f87f5 Change-Id: Iffe5625ae57c21874805ef98b67faac9f56f87f5
-
- Jul 17, 2023
-
-
Robin Lee authored
Change-Id: Iffe5625ae57c21874805ef98b67faac9f56f87f5 Test: atest 'CtsSecurityTestCases:android.security.cts.ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions' Bug: 290586831 Bug: 237290578
-
- Jul 12, 2023
-
-
Zhen Zhang authored
Bug: 290924390 Test: builld successfully Test: flash aosp_mokey_go32-userdebug and go to settings, battery saving mode is fixed at unrestricted for dlc Change-Id: I7a5be87b89b4f31e10e0b9c0d5fca21ed40f9f92
-