| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit cef32a8b8ad109cd3066e4ad249fadbb72aa5574.
Reason for revert: incomplete cherry pick
Bug: 276129326
Bug: 261036568
Change-Id: I493c610e60bb3c60851d09c85340822039723829
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: atest ProcessStatsTest
Bug: 271320793
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1635233cd4eabd0225769f37e737b770388bf340)
Merged-In: I22e0e266a346f24c7ca0a95bf450320c8b68cbb1
Change-Id: I22e0e266a346f24c7ca0a95bf450320c8b68cbb1
|
| | |\ \ \
| | |_|/
| |/| |
| | | | |
usage." into tm-qpr-dev
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
tm-qpr-dev
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also merge various cached states into a single one.
Test: atest ProcessStatsTest
Bug: 271160990
Bug: 260242581
Change-Id: I678d9ac5268dcc863b209bb2c2e8430d54f39ff7
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |\ \ \
| | |_|/
| |/| | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This helps with merge conflicts downstream
Bug: 271868131
Test: atest LatencyTrackerTest
Test: build
Merged-In: I99cbf06c39cb7d405f62ef647b179ac98b4f00f7
Merged-In: I2296c7ce75e8cbd8e45fcee9e2e2f0bf8c57e334
Change-Id: I06b23aa4def3b9e1fb69a270573ea0e3158db970
|
| | |\ \ \
| | |/ /
| |/| /
| | |/ |
atoms" into tm-qpr-dev" into tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into tm-qpr-dev
Bug: 271160990
Test: atest ProcessStatsTest
Change-Id: Idd9f8f394ffab2fda75803b7c7658d2220b8735d
Merged-In: Idd9f8f394ffab2fda75803b7c7658d2220b8735d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
Change AudioManger getMode() binder call to addOnModeChangedListener()
Fix volume controls show media instead of call volume during a call.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
6f82cb827c4f05aa0958835df8846bb06c83b673
Change-Id: I9c32bd030e79f67cc888fe3c19805dfce680a91a
Merged-In: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50
|
| | |\ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | | |
* changes:
Revert "Add config to control BatteryStats reset logic"
Revert "Reset BatteryStats when device has been plugged in for a..."
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Revert submission 21485850
Reason for revert: introduced deadlock
Reverted changes: /q/submissionid:21485850
Change-Id: Id3f920a130bc20d59abefc0a2f018873b08415ed
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Revert submission 21485850
Reason for revert: introduced deadlock
Reverted changes: /q/submissionid:21485850
Change-Id: Ib8dfc28154e9004e48f5537aef677b77724072b6
|
| | |\ \ \ \ |
|
| | | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After protolog-to-file stops, BaseProtoLogImpl.mBuffer still uses a lot of memory.
Bug: 262244460
Merged-In: If618dad902df3c7fc1b2a943fe550c7c34a2d65e
Change-Id: If618dad902df3c7fc1b2a943fe550c7c34a2d65e
|
| | |\ \ \ \
| | | |_|/
| | |/| | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | |\| | | |
|
| | | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 231130476
Test: recorded perfetto trace while the clock moves on lockscreen
Change-Id: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50
Merged-In: I8a574715e3a341b7a3a0edd368cdb0015b8b4b50
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 261036568
Test: manually via supplied tool (see bug)
Change-Id: Iee1a75ef6ecbf471badeb42d8ebea11e74d884c1
Merged-In: I83e93c373538460e38ec17f1fd8e39d7aea95c10
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|