summaryrefslogtreecommitdiff
path: root/core/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Start editor as the launching user instead of personalMatt Casey2025-10-071-2/+2
| | | | | | | | | Bug: 407991863 Test: atest ChooserActivityTest Flag: EXEMPT what year is it (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e7373294dc606ac65a4c9f69d848946424f7c9ee) Merged-In: I57395b53585cc167032494f36b4086910bcf45fa Change-Id: I57395b53585cc167032494f36b4086910bcf45fa
* Sanitize cross-profile intents.Andrey Yepin2025-10-071-2/+35
| | | | | | | | | | | | Remove package or component information from payload intents (and their selectors) for cross-profile sharing. Bug: 407764858 Test: manual testing with test app Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:39cad715d8e0bfc6266ddf553fc1cc120181e227) Merged-In: Ib153416d98325da300fe383b877374bc6b21ff90 Change-Id: Ib153416d98325da300fe383b877374bc6b21ff90
* Check underlying intent as well as intent selectoroli2025-07-081-8/+19
| | | | | | | | | | | | | | | When checking if an intent can be forwarded across profiles, the selector action is checked rather than the intent itself. This means badIntents can be spoofed with a different selector and launched across profiles. Bug: 376674080 Test: manually tested Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc28861349e0113f807016501da3e1fd963b59fa) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6e534e7eb72e380626be9c265800e1371e512108) Merged-In: If04e1020fc5a09f04630ba08d7e3b3012f2aa577 Change-Id: If04e1020fc5a09f04630ba08d7e3b3012f2aa577
* Verify that the caller has permissions for the icons it provided.Andrey Yepin2025-07-081-1/+49
| | | | | | | | | | | | Bug: 277207798 Test: manual testing: first reroduce the issue as described in the ticket then check that it is not reproduceable after the fix. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e73bb60fed12daa78ddad8308b31b0c78f1c3c66) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:855bfe0dc6e7d2e1528c97ab53b06b6a32cea575) Merged-In: Ic8cb75ed586e94c5895065f772bfb21013396dd0 Change-Id: Ic8cb75ed586e94c5895065f772bfb21013396dd0 Change-Id: I958812064bf6117042ebf7945c8563eca9f491fb
* Prevent Sharing when FRP enforcement is in effectMark Renouf2024-11-151-0/+8
| | | | | | | | | | | | | | ADB command to trigger sharing: ``` adb shell 'am start -a android.intent.action.CHOOSER --eu android.intent.extra.INTENT "intent:#Intent;action=android.intent.action.SEND;type=text/plain;S.android.intent.extra.TEXT=Shared%20text;end"' ``` Bug: 327645387 Test: manual; trigger FRP; attempt to open share sheet using adb (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1c7101154d42f804d52d65643a7e79dfee22295a) Merged-In: I1db78ab74babe71b516f601be35cf476b5e43271 Change-Id: I1db78ab74babe71b516f601be35cf476b5e43271
* Add the protection to avoid data overflow in BinaryXmlSerializer.javalpeter2024-08-271-0/+10
| | | | | | | | | | | | Add an integer overflow check in the writeShort in these two methods: 1.BinaryXmlSerializer#attributeBytesHex 2.BinaryXmlSerializer#attributeBytesBase64 Bug: 307288067 Test: atest BinaryXmlTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2f04963358987679cb4cbab085ec78c1b5e0ed0e) Merged-In: I81f5ed43342d5b906f36f3733c2115232da90ac1 Change-Id: I81f5ed43342d5b906f36f3733c2115232da90ac1
* Verify UID of incoming Zygote connections.Martijn Coenen2024-08-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Only the system UID should be allowed to connect to the Zygote. While for generic Zygotes this is also covered by SELinux policy, this is not true for App Zygotes: the preload code running in an app zygote could connect to another app zygote socket, if it had access to its (random) socket address. On the Java layer, simply check the UID when the connection is made. In the native layer, this check was already present, but it actually didn't work in the case where we receive a new incoming connection on the socket, and receive a 'non-fork' command: in that case, we will simply exit the native loop, and let the Java layer handle the command, without any further UID checking. Modified the native logic to drop new connections with a mismatching UID, and to keep serving the existing connection (if it was still there). Bug: 319081336 Test: manual (cherry picked from commit 2ffc7cb220e4220b7e108c4043a3f0f2a85b6508) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f1d4b34ad51b6ccb84ab042486923da8b2451e0f) Merged-In: I3f85a17107849e2cd3e82d6ef15c90b9e2f26532 Change-Id: I3f85a17107849e2cd3e82d6ef15c90b9e2f26532
* Fix security vulnerability that creates user with no restrictions when ↵Tetiana Meronyk2024-04-091-0/+12
| | | | | | | | | | accountOptions are too long. Bug: 293602970 Test: atest UserManagerTest#testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved && atest UserManagerTest#testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8dc6feaee7c0a5cea093b5280acaad862921cf3e) Merged-In: I23c971f671546ac085060add89485cfac6691ca3 Change-Id: I23c971f671546ac085060add89485cfac6691ca3
* isUserInLockDown can be true when there are other strong authBeverly2024-04-091-2/+2
| | | | | | | | | | | | | requirements Bug: 315206668 Bug: 218495634 Flag: None Test: manual, atest LockPatternUtilsTest (cherry picked from commit d341f1ecdb011d24b17358f115391b3f997cb179) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ba8dfc68aada76127abafdb17d0f0896cc14447a) Merged-In: I5e979a7822dd7254b4579ab28ecf96df1db44179 Change-Id: I5e979a7822dd7254b4579ab28ecf96df1db44179
* DO NOT MERGE: "Hide" /Android/data|obb|sanbox/ on shared storageSergey Nikolaienkov2024-02-151-78/+88
| | | | | | | | | | | | | | | | | | | Implement shouldHideDocument() in the ExternalStorageProvider so that it resitcts access to 'Android/data/', 'Android/obb/' and 'Android/sandbox' on the integrated shared storage along with all their content and subdirectories. Clean up the abstract FileSystemProvider, specifically all variants of queryChildDocuments(). Bug: 200034476 Bug: 220066255 Bug: 283962634 Test: make & flash systemimage, run manually Test: atest ExternalStorageProviderTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:131e73e1b3839111463aae26bae1b3db6782eb38) Merged-In: I48c2ce7ff2d7fc067961ea2af0ea63818316f086 Change-Id: I48c2ce7ff2d7fc067961ea2af0ea63818316f086
* Move startWatchingModeWithFlags to the native supported binder callsEvan Severson2023-12-141-2/+2
| | | | | | | | | Bug: 247768581 Test: Add logging to verify invocation (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b1f82ee37403e40513ef3b9e2657feb3871c4e71) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3dddd6bc6e7ac57de69df8f1e66e03fff822d3b9) Merged-In: I54eefca5f0aa4f924debc1817b04a103b6e8e2e6 Change-Id: I54eefca5f0aa4f924debc1817b04a103b6e8e2e6
* fwb: Slim recents TSpiritCroc2023-08-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partly includes: commit fbbe5de6640ac0b8a52e948d246b19b4487ce521 Author: ezio84 <brabus84@gmail.com> Date: Sat Oct 21 14:46:24 2017 +0200 Slim Recents 3.0 [1/3] Refactored/improved everything. Slim Recents won't never die. http://i.imgur.com/PO3RSeg.gif [SpiritCroc] Bring to P Change-Id: I9deb0412e2421df2ac2755f2111a3cec70a7d2c4 commit c14325728a9d87d35e2137bb6f0dba77769592df Author: SpiritCroc <dev@spiritcroc.de> Date: Tue Apr 2 11:06:14 2019 +0200 Slim recents old enter/exit animation [1/3] Change-Id: Ib10f54d56de9c4dc6cab827c21cca9363ffaa820 Change-Id: I3c3486fa94a35f17e48c7a2943cad7fea5c69e78
* Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-08-0230-418/+1267
|\ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
| * Prevent sharesheet from previewing unowned URIs [RESTRICT AUTOMERGE] (corrected)Mark Renouf2023-03-311-2/+33
| | | | | | | | | | | | | | | | | | | | This is the corrected cherry-pick of 2a08fce4ebcc156efd3744ed19310815c1120b1c from master. Bug: 261036568 Test: manually via supplied tool (see bug) Change-Id: I1ac57c8eb2f509b19c278aacb8e88772095854f7 Merged-In: I83e93c373538460e38ec17f1fd8e39d7aea95c10
| * Revert "Prevent sharesheet from previewing unowned URIs [RESTRICT AUTOMERGE]"Mark Renouf2023-03-311-33/+2
| | | | | | | | | | | | | | | | | | | | This reverts commit cef32a8b8ad109cd3066e4ad249fadbb72aa5574. Reason for revert: incomplete cherry pick Bug: 276129326 Bug: 261036568 Change-Id: I493c610e60bb3c60851d09c85340822039723829
| * Merge changes from topic "latencytracker-vi-fix" into tm-qpr-devNicholas Ambur2023-03-231-6/+10
| |\ | | | | | | | | | | | | | | | | | | | | | * changes: cancel VI latency tracking for non ST triggers only start latency measurement on successful phrase triggers fix enable checks to check use action in LatencyTracker add LatencyTracker tracing cancel / timeout events
| | * fix enable checks to check use action in LatencyTrackerNicholas Ambur2023-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without checking the per-action enable, logging is only allowed based on the global enable flag instead of the enable flag per action. Checking the per-action enable flag allows for action latencies to be rolled out independent of each other. Test: manual verify action is logged with only action specific enable set Bug: 265850090 Change-Id: I4f8d21bca4a9e52fb3875e88387b8c8641f64c94 Merged-In: I4f8d21bca4a9e52fb3875e88387b8c8641f64c94
| | * add LatencyTracker tracing cancel / timeout eventsNicholas Ambur2023-03-221-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 265850090 Test: manual invoke hotword trigger collecting trace and verify in Perfetto UI that trace has cancel and timeout events Change-Id: Ie5acefe043575b198ce1fbd1526cc82116649cb3 (cherry picked from commit 3f793d7daa59e5a4b94fcf8f54ba669a0a505764) Merged-In: Ie5acefe043575b198ce1fbd1526cc82116649cb3
| * | Merge "Catch SercurityException while reading device properties" into tm-qpr-devWu Ahan2023-03-221-10/+34
| |\ \
| | * | Catch SercurityException while reading device propertiesAhan Wu2023-03-151-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is cherry-pcked to T QPR since it is required by ag/22099962. Bug: 270682188 Bug: 236948821 Test: abtd, see b/270682188#comment14 Change-Id: I204fc4b8bd7af3ca6432bddfe4e82c8f48208daf Merged-In: I204fc4b8bd7af3ca6432bddfe4e82c8f48208daf
| * | | Fix a memory leak in UidState.Yu-Ting Tseng2023-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: atest ProcessStatsTest Bug: 271320793 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1635233cd4eabd0225769f37e737b770388bf340) Merged-In: I22e0e266a346f24c7ca0a95bf450320c8b68cbb1 Change-Id: I22e0e266a346f24c7ca0a95bf450320c8b68cbb1
| * | | Merge "Proportionally attribute Mobile Radio Energy Consumption to Phone ↵TreeHugger Robot2023-03-213-17/+67
| |\ \ \ | | |_|/ | |/| | | | | | usage." into tm-qpr-dev
| | * | Proportionally attribute Mobile Radio Energy Consumption to Phone usage.Michael Wachenschwanz2023-03-163-17/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Proportionally split out the energy consumption of phone usage from the rest of the mobile radio energy consumption. Fixes: 244603408 Test: atest MobileRadioPowerCalculator Change-Id: I5db49ea7c88cfd502db36265ae5a6555f728d2f7 Merged-In: I5db49ea7c88cfd502db36265ae5a6555f728d2f7 (cherry picked from commit 4789053d52cdb92c44ccee76c7e4babc2bbbb3dc)
| * | | Merge "Add bound_top, bound_fgs and frozen states to ProcessStats." into ↵Yu-Ting Tseng2023-03-143-71/+69
| |\ \ \ | | | | | | | | | | | | | | | tm-qpr-dev
| | * | | Add bound_top, bound_fgs and frozen states to ProcessStats.Yu-Ting Tseng2023-03-133-71/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also merge various cached states into a single one. Test: atest ProcessStatsTest Bug: 271160990 Bug: 260242581 Change-Id: I678d9ac5268dcc863b209bb2c2e8430d54f39ff7
| * | | | Add setting to disable PIN animation and passwordAndreas Miko2023-03-141-0/+23
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Test: Unit - atest SettingsRoboTests Test: Manual - Set PIN lock and enabled/disabled the setting to observe animation change during PIN entry Bug: b/204799468 Merged-In: I587b993ef5515a075442e82ebafae88bebdffc20 Change-Id: I587b993ef5515a075442e82ebafae88bebdffc20
| * | | Merge "Cherry pick constants to LatencyTracker" into tm-qpr-devFabian Kozynski2023-03-131-0/+37
| |\ \ \ | | |_|/ | |/| |
| | * | Cherry pick constants to LatencyTrackerFabian Kozynski2023-03-091-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps with merge conflicts downstream Bug: 271868131 Test: atest LatencyTrackerTest Test: build Merged-In: I99cbf06c39cb7d405f62ef647b179ac98b4f00f7 Merged-In: I2296c7ce75e8cbd8e45fcee9e2e2f0bf8c57e334 Change-Id: I06b23aa4def3b9e1fb69a270573ea0e3158db970
| * | | Merge "Merge "Client logging changes for ProcessState and ProcessAssociation ↵Yu-Ting Tseng2023-03-083-0/+244
| |\ \ \ | | |/ / | |/| / | | |/ atoms" into tm-qpr-dev" into tm-qpr-dev
| | * Merge "Client logging changes for ProcessState and ProcessAssociation atoms" ↵Yu-Ting Tseng2023-03-023-0/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into tm-qpr-dev Bug: 271160990 Test: atest ProcessStatsTest Change-Id: Idd9f8f394ffab2fda75803b7c7658d2220b8735d Merged-In: Idd9f8f394ffab2fda75803b7c7658d2220b8735d
| * | Reduce the memory usage of the ProtoLogToFilehaoyu.wang2023-03-032-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The protolog in wm/am is generally less than 1kb after being writtem to ProtoOutputStream, but 'new ProtoOutputStream()' will at least create a byte array of 8kb each time. This will cause each log to occupy at least 7kb of useless memory. When the log cached by 'ProtoLogToFile' reaches BUFFER_CAPACITY(1MB), it will occupy 70MB of memory. This has a greater impact on some low-memory devices. Bug: 271179026 Bug: 262244460 Merged-In: I368278df6f801b2b2b67974089d4a7f4147d91cc Change-Id: I368278df6f801b2b2b67974089d4a7f4147d91cc
| * | Merge changes from topic "fix-volume-slider-during-phone-call" into tm-qpr-devBishoy Gendy2023-03-031-3/+28
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Change AudioManger getMode() binder call to addOnModeChangedListener() Fix volume controls show media instead of call volume during a call.
| | * | Change AudioManger getMode() binder call to addOnModeChangedListener()Bishoy Gendy2023-03-031-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove binder call from running each time with clicking on volume up and down keys. Replace it with listener instead. Bug: 240705522 Test: Manual using Signal App / Youtube and Sample MediaRouter App. Change-Id: I842133770a583217940ebc929d8d929f4cd27a51
| | * | Fix volume controls show media instead of call volume during a call.Bishoy Gendy2023-03-031-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - On some apps like Signal, When the app is in the foreground and there is a active phone call, volume controls show media volume control instead of call volume control. - Investigation showed that with apps having the right behaviour "MediaSession.dispatchVolumeKeyEvent" is called, while with apps having the wrong behaviour "MediaSessionService.dispatchVolumeKeyEventToSessionAsSystemService" is called. - Following this guided to the cause of the steps to reproduce it in other apps by calling "Activty.setMediaController". - Issue was reproducible on the Sample MediaRouter App. - Fixed it through checking not being in a call before forwarding the volume event to the session. Bug: 240705522 Test: Manual using Signal App / Youtube and Sample MediaRouter App. Change-Id: Iabac3c80631fd429daba23454488fceedbcc584d (cherry picked from commit ed9f9d1b0adfb55557b34bdd76504ab8abdeae7e) Merged-In: Iabac3c80631fd429daba23454488fceedbcc584d
| * | | Merge "Revert^2 "ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION"" into tm-qpr-devChristian Göllner2023-03-031-1/+8
| |\ \ \
| | * | | Revert^2 "ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION"Christian Göllner2023-03-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f82cb827c4f05aa0958835df8846bb06c83b673 Change-Id: I9c32bd030e79f67cc888fe3c19805dfce680a91a Merged-In: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50
| * | | | Merge changes from topic "revert-21485850-AFHEQKBZWB" into tm-qpr-devMichael Wachenschwanz2023-03-031-231/+18
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | * changes: Revert "Add config to control BatteryStats reset logic" Revert "Reset BatteryStats when device has been plugged in for a..."
| | * | | Revert "Add config to control BatteryStats reset logic"Michael Wachenschwanz2023-03-021-118/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 21485850 Reason for revert: introduced deadlock Reverted changes: /q/submissionid:21485850 Change-Id: Id3f920a130bc20d59abefc0a2f018873b08415ed
| | * | | Revert "Reset BatteryStats when device has been plugged in for a..."Michael Wachenschwanz2023-03-021-113/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 21485850 Reason for revert: introduced deadlock Reverted changes: /q/submissionid:21485850 Change-Id: Ib8dfc28154e9004e48f5537aef677b77724072b6
| * | | | Merge "Reset buffer after stop protolog to file" into tm-qpr-devHongwei Wang2023-03-011-0/+1
| |\ \ \ \
| | * | | | Reset buffer after stop protolog to filehaoyu.wang2023-02-281-0/+1
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After protolog-to-file stops, BaseProtoLogImpl.mBuffer still uses a lot of memory. Bug: 262244460 Merged-In: If618dad902df3c7fc1b2a943fe550c7c34a2d65e Change-Id: If618dad902df3c7fc1b2a943fe550c7c34a2d65e
| * | | | Merge "Revert "ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION"" into tm-qpr-devChristian Göllner2023-03-011-7/+1
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Revert "ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION"Christian Göllner2023-03-011-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 21549375-CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION Reason for revert: Seems to be causing crashes in some cases, due to the jump in id from 69 to 71 in InteractionJankMonitor. Reverted changes: /q/submissionid:21549375-CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION Change-Id: Icfe6de96b40b4d815974e40e88e822030345198f Fixes: 271263026
| * | | | Merge "ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATION" into tm-qpr-devChristian Göllner2023-03-011-1/+7
| |\| | |
| | * | | ADD CUJ_LOCKSCREEN_CLOCK_MOVE_ANIMATIONChristian Göllner2023-02-281-1/+7
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 231130476 Test: recorded perfetto trace while the clock moves on lockscreen Change-Id: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50 Merged-In: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50
| * / / Prevent sharesheet from previewing unowned URIs [RESTRICT AUTOMERGE]Mark Renouf2023-02-271-2/+33
| |/ / | | | | | | | | | | | | | | | | | | Bug: 261036568 Test: manually via supplied tool (see bug) Change-Id: Iee1a75ef6ecbf471badeb42d8ebea11e74d884c1 Merged-In: I83e93c373538460e38ec17f1fd8e39d7aea95c10
| * | Merge changes from topic ↵Michael Wachenschwanz2023-02-221-18/+231
| |\| | | | | | | | | | | | | | | | | | | | | | "cherrypick-config_batteryStatsResetOnUnplugHighBatteryLevel-zmiab0332q" into tm-qpr-dev * changes: Reset BatteryStats when device has been plugged in for a long time. Add config to control BatteryStats reset logic
| | * Reset BatteryStats when device has been plugged in for a long time.Michael Wachenschwanz2023-02-171-2/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BatteryStats continues to accumlate some stats while plugged in. The avoid overflows or excessive memory usage, occasionally reset while plugged in for extended periods of time. Bug: 256919205 Test: atest BatteryStatsResetTest Change-Id: If0db995ffaf4866bbadc828a0ade37a10da91553 Merged-In: If0db995ffaf4866bbadc828a0ade37a10da91553
| | * Add config to control BatteryStats reset logicMichael Wachenschwanz2023-02-171-16/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, fix the significant charge reset logic and add BatteryStats reset tests. Fix: 269538224 Bug: 256919205 Test: atest BatteryStatsResetTest Change-Id: Id4a6dd22708ddee38dd6c10ceb6c81f6a7bfb44f Merged-In: Id4a6dd22708ddee38dd6c10ceb6c81f6a7bfb44f
| * | Expose calls to get the inset sensitivity for the calling userWinson Chung2023-02-171-7/+45
| |/ | | | | | | | | | | | | | | | | | | | | - Launcher is a per-user process so we should only use the per-user settings calls (since it doesn't hold INTERACT_ACROSS_USERS) Bug: 231648761 Bug: 269392826 Test: Unable to reproduce 269392826, but verified this doesn't break existing paths to adjust the insets Change-Id: I4dfaed2b393e44e0455448222c997facbb3f3116