- Jun 03, 2024
-
-
Joshua Trask authored
We can use this as a "default" ranker in cases where we already know the desired ranking from the client (subclass/caller) request, as in `NfcResolverActivity`. Test: new unit test Bug: 327665515 Flag: EXEMPT bugfix Change-Id: Ie3a7c1d061c5834559d5a15d1ceca1c12613ce60
-
- May 29, 2024
-
-
Ben Murdoch authored
If application supplied keyboard shortcuts have an icon, clear that icon before processing it in the shortcut helper. Icons are not intended for use by applications. Additionally resolves a race condition between receiving IME and app specific shortcuts, and closes the shortcut helper if it is showing while a user switch takes place. Bug: 331180422 Flag: com.android.systemui.validate_keyboard_shortcut_helper_icon_uri Test: See b/331180422; atest KeyboardShortcutsTest KeyboardShortcutListSearchTest Change-Id: Ia628886e80e956d0c423d7a7ebe67b2b8ca8c264
-
Chris Li authored
Bug: 339380439 Test: flag only Change-Id: I49e4107b2ae43898664dd4ccb48ffc6090413a2f
-
Chris Li authored
Similar to ActivityTransactionItem, but for WindowState. Bug: 339380439 Test: Refactor only Flag: EXEMPT refactor Change-Id: I52e12fa57b26a0dabb4e7de48e93e7cafa16581c
-
- May 28, 2024
-
-
George Mount authored
Fixes: 342666766 Adds support for Animated Vector Drawables that operate on the Render Thread to VRR. The votes from their respective Views are considered on each vote. Test: new tests, manual testing Change-Id: I1e761d62e5bc4a706cc7fb2904f26aaa68e87584
-
Priyanka Advani authored
This reverts commit 8947d494. Reason for revert: Droidmonitor created revert for b/343271861. Will be verifying through ABTD before submission. Change-Id: I54768ea2d2acbd72e633428cf8679ec533521be0
-
Lee Shombert authored
The sqlite value API sqlite3_column_blob() returns a null if the column type is SQLITE_NULL or a zero-length SQLITE_BLOB. SQLiteRawStatement.getColumnBlob() now distinguishes between these two cases: if the column type is SQLITE_NULL, return null, otherwise return a byte array of length zero. New unit tests have been added. Unit tests have also been added for SQLiteRawStatement.getColumnText()'s handling of empty strings and null values. Test: atest * FrameworksCoreTests:android.database * CtsDatabaseTestCases Flag: EXEMPT bugfix Bug: 342687891 Change-Id: Ia041eeb761267de0a4b59af3ddcba6433b231bbb
-
Tomasz Wasilczyk authored
Bug: 331855229 Test: connect BT phone and check messages Change-Id: I85e158c5cb73878e448ed839f63e8884198dbcb0
-
Johannes Gallmann authored
Bug: 322836622 Flag: android.view.inputmethod.predictive_back_ime Test: Manual, i.e. verifying that only onBackInvoked is called on ImeBackAnimationController when 3-button-nav is enabled Change-Id: I97469cf64af6ad70885749e67cf0a052426f9b75
-
dakinola authored
Found an issue with screen recording, where if you open an app to be recorded, but close the initial activity before recording starts, the recording fails because we expect to identify the task to the record by looking for an activity with matching launch cookie. As a backup, we also supply the task id (when possible) into the projection and try to find the opened task that way. Fix: 333779790 Flag: None Test: manual testing by attempting to screenrecord Google Photos while on the trash acvitity, then navigating back to the home activity before recording starts Test: atest FrameworksCoreTests:ContentRecordingSessionTest Test: atest FrameworksServicesTests:MediaProjectionManagerServiceTest Test: atest WmTests:WindowManagerServiceTests Test: atest RecordingServiceTest Change-Id: Ied4c8f117ce39288971d293dbcafa022711bf26a
-
Oli Thompson authored
Bug: 298661886 Test: manual Change-Id: Ib2b5c4d7306fcf4e921898797e9fba1d76e50c66
-
wilsonshih authored
Core won't ask to draw snapshot window if the aspect ratio isn't match. Add a flag to verify if it is safe to delete. Flag: com.android.window.flags.draw_snapshot_aspect_ratio_match Bug: 341020277 Test: presubmit Change-Id: I3e2b3435ba2ffe60c90c22ed563435e0c1e781d7
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ia7e7ddd46fae06e551fec715a7de5e8bd6166432
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ie37561923f716a922dc4750b55e2bbb5049fcced
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I2f2cb2f409cae6b94c1b075a640d0275ba2e89b9
-
Massimo Carli authored
Fix: 341290175 Test: m Change-Id: Icfd314e7646235f15b22ede3ed1e46c418157a9d
-
- May 27, 2024
-
-
Li Li authored
Currently it's hard to debug why a binder transaction fails and who's causing the issue. To help debugging this kind of issues, dump the stack of the sender when the transaction fails. Bug: 331005349 Test: logcat Change-Id: I1a032784932ebe10af5f355ec1364a5d68831f2b
-
Tiger authored
This is for fixing the broken build. Fix: 342955819 Flag: NA Test: presubmit Merged-In: Ic8ddfffb8550cb9875e329d7a9e8b39711a512bd Change-Id: I25238a2a23ab263e595d4ef9ec1f03c4bdf9b1f2
-
- May 26, 2024
-
-
David Jacobo authored
Revert submission 27019285-ACTION_NETWORK_PROVIDER_SETTINGS Reason for revert: b/338527563 CL seems to be introducing jank for systemui tests somehow, reverting to get out of the way Reverted changes: /q/submissionid:27019285-ACTION_NETWORK_PROVIDER_SETTINGS Change-Id: Iee77e2443420d57e36a9164969c35e839ef07e9c
-
- May 24, 2024
-
-
jasonwshsu authored
* In Android V, we can add qs as one of the accessibility shortcut option to be more discoverable. Bug: 338327560 Flag: EXEMPT bugfix Test: atest A11yShortcutAutoAddableListTest AccessibilityQsShortcutsRepositoryImplForDeviceTest Change-Id: I52f3b6d201a5886da4d8e9da15322a2f4cd5ab6b
-
Lee Shombert authored
The method that checks for the use of temporary tables cleans its statement before it runs the query. This leaves the statement in a "dirty" state between checks, which locks the tables_used table. This change cleans the statement after the query is run so that no locks are held. The unit test has been updated. Flag: EXEMPT bugfix Bug: 342497314 Test: atest * CtsDatabaseTestCases * FrameworksCoreTests:android.database Change-Id: I54032d8c360b123596ca73e6c294dbb285e05361
-
Shane authored
vrr_bugfix_24q4 flag to gate toolkit VRR idle handling Fixes: 342281415 Test: atest ViewFrameRateTest Change-Id: If1ad3a60c90f74882d3445a99b89736d0d80847c
-
George Mount authored
This reverts commit 6a0a927a, but changes the required idle time to 750ms so that blinking cursors are not affected. Change-Id: Idf7865b47c0b0bdac2b63d7174316c4d6be70d4f Test: v2/android-crystalball-eng/health/microbench/systemui/systemui-foldable-latency-suite Test: v2/android-crystalball-eng/health/microbench/systemui/main/systemui-quicksettings-1-jank-suite
-
Julia Reynolds authored
Test: NotificationManagerServiceTest Flag: android.app.remove_remote_views Bug: 342602960 Change-Id: I7c1973ddcf4410d4acc638288630e597c61298a1
-
Dmitri Plotnikov authored
Bug: 333941740 Test: atest PowerStatsTestsRavenwood; atest PowerStatsTests Flag: com.android.server.power.optimization.streamlined_misc_battery_stats Change-Id: I4c9c94b67e957e95938389ad5293bd0de1cfd74b
-
Charles Munger authored
Bug: 342497314 Change-Id: Idc5ee572f16ff71ea5001fe8965b54437eeea1a5
-
Charles Munger authored
Change-Id: I63c9f4a057b7f470c9f44be6f73e61e1cb31f3c6
-
Anna Zhuravleva authored
Set string for talkback to describe profile badge in the notification header. Bug: 329375307 Test: checked talkback announcement for installation notificaiton while installing apps for work and private profiles Change-Id: I3789150d2a889e7db201a85fd5697122bc1e8c44
-
Yeabkal Wubshit authored
Bug: 342517578 Test: n/a Change-Id: I058b82d50684f75b164406df298b9d83cb3cf79d
-
Yeabkal Wubshit authored
The CTS sharesheet app will crash without these values. Adding these values enables the app to successfully start, and the associated CTS test to pass. Bug: 338516644 Test: atest CtsSharesheetTestCases Change-Id: I6d620d67164a3153fbd7208e2f32f89ccc666a98
-
Jorge Gil authored
Bug: None Test: dumpsys window windows - check caption flags are readable Change-Id: I05779601844b6e87633b54acd951b77ca67f52b8
-
- May 23, 2024
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ib24695d814fee9db3724569c7189ae2a42dae8cd
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Idc2fa879be8b55cd325877bcee0ff8b9bd0e04ff
-
Yifei Zhang authored
Enable auto-brightness in doze so that we can support top-of-minute updates. Disable auto-brightness in doze temporarily if the offload session doesn't allow it - we don't want to use auto-brightness while the offload session is in control of the display. Update the auto-brightness value in AutomaticBrightnessController when switching modes. This can be done in the same thread and there's no need to notify the listeners if the mode is switched from updatePowerState(). Use the display state and not the policy when setting auto-brightness state - this is reverting to the code we had before and in ag/26495348 we decided to rely on the state consistently. Don't use the initial doze brightness based on last observed lux because of b/328714026. Don't use the default doze brightness when auto-brightness enabled in doze - sometimes AutomaticBrightnessController might not provide a brightness value (when the lux isn't ready yet or the sensor is temporarily disabled). We don't want to cause unexpected brightness changes in those situations with the default doze brightness. Test: adb logcat | grep -i "brightnessEvent" Test: atest AutomaticBrightnessControllerTest Test: atest AutomaticBrightnessStrategyTest Test: atest BrightnessReasonTest Test: atest DisplayPowerControllerTest Test: atest DisplayOffloadSessionImplTest Test: atest LocalDisplayAdapterTest Bug: 327392714 Bug: 328714026 Change-Id: Ie3ae27e69d3edad41d27cc1f871295e8a73c09cb
-
Garfield Tan authored
The most prominent removal in this CL is the removal of BackdropFrameRenderer. No code would ever create BackdropFrameRenderer even without this CL, so we can safely remove it. There is a piece of code in libhwui that was introduced with it, but I decide to clean it up after this CL goes in just in case some other code I don't know relies on that. This CL also removed a bunch of resources tied to the legacy caption. It also removed the implementation of android.view.Window#setResizingCaptionDrawable() which doesn't do anything with captions in WM shell. We should optimize our captions well enough to be responsive enough for fluid resizing, so we don't need the app to provide a background drawable to alleviate janky UX. It also removed mResizingBackgroundDrawable. Unlike other removed drawables, mResizingBackgroundDrawable was also used to calculate background paddings. Changed the code that calculates background paddings to avoid using it as well. The new logic doesn't enforce non-translucent background anymore because the old logic only changes ColorDrawable, which doesn't have any paddings with any colors. Therefore the new logic is equivalent to the old one with regard to background paddings. Bug: 333724879 Test: Presubmit tests. Change-Id: Ie98c9226935d22cfa4d98df8ade3f604f57a10d4
-
Makoto Onuki authored
- Support a few more ParcelFileDescriptor APIs. - Support OsConstants and a couple of Os APIs. - Also clean up f/b/ravenwood. Now we have "runtime-common" library that can be used from different components of Ravenwood infra, with native code support. Bug: 292141694 Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Test: CtsOsTestCases (on tree hugger) Flag: EXEMPT hostside test change only Change-Id: I259a04201e05e615e17da0529cb500a102887ec9
-
Ibrahim Yilmaz authored
Bug: 336229954 Flag: android.app.Flags.compact_heads_up_notification Test: SystemUITest and manual Change-Id: Iedf0fb9b4770fe38d0f5f83a976ecbfad6ed1c89
-
Rubin Xu authored
Make DPM.getRequiredPasswordComplexity fully coexistable. Bug: 335624297 Test: PasswordComplexityTest PasswordTest ManagedProfilePasswordTest FrameworksServicesTests:DevicePolicyManagerTest Change-Id: I6e8ad8ee3389c9f779f6f04e859a0f22d5fbac29
-
Julia Reynolds authored
Test: SystemZenRulesTest Bug: 333420153 Flag: android.app.modes_ui Change-Id: Ie87b5703779ed2e4bf24df1b623ab7140a3f5ee9
-
Nate Myren authored
Also re-registers the AttributionSource if needed Change-Id: I81bbba6a041cc87aef77cfa1f21c1016b35a10a2 Fix: 333272850 Test: presubmit (cherry picked from commit 02f4520f)
-