Age | Commit message (Collapse) | Author |
|
12431135, 12431136, 12431137, 12430870, 12431248, 12431249, 12431208, 12431021, 12429312] into rvc-d1-release
Change-Id: Ia43b73681d2cf541e6b290e9040ec5fc17625797
|
|
Currently, if SIM is inserted but IMSI is not available, such
as SIM PIN locked state. Information of such SIM will still
be available but IMSI is not. Which makes
NetworkStatsSubscriptionMonitor failed to store IMSI locally
for later RAT type query. Hence, NETWORK_TYPE_UNKNOWN is
always returned for such SIM.
Skip the registration until the IMSI is available. This is safe
since there will be another onSubscriptionsChanged event when
that happens.
Test: enable SIM PIN and manually test
Test: atest NetworkStatsSubscriptionsMonitorTest#testSubscriberIdUnavailable
Test: ./out/host/linux-x86/bin/statsd_testdrive 10082
Bug: 160941101
Merged-In: I408379b3c432d9e62e0837d6b4f6551cc7838e29
Change-Id: I408379b3c432d9e62e0837d6b4f6551cc7838e29
(cherry-picked from ag/12400327)
(cherry picked from commit 6afd939ba562ca463c29db805646eba6fe4e4297)
|
|
12424656, 12424657, 12424658, 12424659, 12424660, 12424661, 12424722, 12424723, 12424724, 12424725, 12424726, 12424511, 12424635, 12424636, 12424637, 12424638, 12424639] into rvc-d1-release
Change-Id: Ice2681f95bb577af902fb937edb5a567b8afe151
|
|
If the size of snapshot is mismatched, the removal of the starting
window will be deferred. But if the snapshot target is home, since
it is only presented for unlocking, it is better to dismiss it as
soon as possible to avoid outdated content from being shown on screen
if the windows of home have drawn.
Bug: 161530286
Test: Keep home on top and turn off screen with secured lock. Use
fingerprint to unlock. If home is drawn fast enough, the
previous state won't show on screen (e.g. the time on clock).
Change-Id: I103f49eb539f78455ad38f48f9cd853dee51b135
(cherry picked from commit a17c813b4029602fa3f1c2c9baa6455845496106)
(cherry picked from commit 106f745c3a13d172c0e4d9935861d060edb4a98f)
|
|
12417188, 12416815, 12417147, 12417003, 12417004, 12417005, 12417006, 12417007, 12417008, 12417009, 12417055, 12415658, 12416578, 12417056, 12417057, 12417103, 12417104, 12417189, 12417033, 12417034, 12417190, 12417191, 12417192, 12417193, 12417058, 12417059, 12417060, 12417061, 12417202, 12417072, 12417073] into rvc-d1-release
Change-Id: I77d854c809bed8be9828a273974326ef5fed7616
|
|
The previous logic restores the system bar as long as its insets source
is visible. There can be a timing issue that if the user swipes to show
transient bars while an immersive app just becomes the control target
but the hide-bar info haven't sent to WM yet, WM will re-show the bar
incorrectly.
This CL uses the requested visibility and the behavior to decide if we
should restore the postion and the visibility.
This CL also refines and caches the arguments of showTransient. In this
way, we don't have to create the array every time while invoking that
method.
Fix: 161247175
Test: atest InsetsPolicyTest
Merged-In: Idef314dfe6625399b88b3dacb4c74c7071453497
Change-Id: Idef314dfe6625399b88b3dacb4c74c7071453497
(cherry picked from commit 533682ebb39456df26097753d1f5172bff0e3d5d)
(cherry picked from commit 444e8dc6ce224f87b4d062d697a6db5a62e11183)
|
|
Activity with showWhenLocked flag is visible when screen is off and
leads to activity restart called.
This CL update the visibility condition for showWhenLocked and
dismisskeyguard activities and refer the keyguard visibility to
ensure the function works as expected.
Bug: 161036653
Test: atest ActivityRecordTests
atest CtsWindowManagerDeviceTestCases:KeyguardTests
atest CtsWindowManagerDeviceTestCases:KeyguardLockedTests
Change-Id: I9d56e40de964e9d11193fec7008f8d880028ac50
(cherry picked from commit 73d6c7926d2cdc39de617f7213fc85f303501f37)
(cherry picked from commit 31fc73a70719ed9a07a9a865c71b602e2fd0c53e)
|
|
The starting window cannot be removed because it is waiting for the
exiting animation finished, This may happen if the animation is not
applied when #selectAnimation cannot find an appropriate animation.
To make the state correct, the return result of #applyAnimationLocked
should not only reference to the hierarchial animation state.
Bug: 161847146
Test: atest WmTests
Change-Id: I69bcd29f2587a3644485a0db05e622f6775cc82f
Merged-In: I69bcd29f2587a3644485a0db05e622f6775cc82f
(cherry picked from commit 48288a505dbcfc31a9a01f75dba24d5f62d428a4)
|
|
When there is an insets animation, we will stop updating insets source
frames until the animation is done. The previous logic didn't update the
frames within the requested state while the animation is done. And the
frames was relied by InsetsPolicy while playing transient bar animation.
If the frames don't match the display, the insets would be wrong, and
the animation wouldn't be played correctly.
Fix: 161134197
Test: atest InsetsControllerTest
Merged-In: Id8f3c1956fbfe3ad16f167ff76297dde6c634e81
Change-Id: Id8f3c1956fbfe3ad16f167ff76297dde6c634e81
(cherry picked from commit 23c75281ef0de8fb2b44fb93d8cf36ecf86454c7)
|
|
12407778, 12407779, 12408288, 12408119, 12408120, 12408121, 12408342, 12408343, 12408344, 12408345, 12408346, 12408347, 12408348, 12407673, 12406215, 12408349, 12406235, 12406236, 12406237, 12406238, 12406239, 12406240, 12406241, 12408362] into rvc-d1-release
Change-Id: Iaa5cf5e12b15d064f0c0b4484d377e0a3aa3163e
|
|
Previous logic in onStateChanged notifies insetsChanged based on the
change of mLastDispatchedState, which can make us dispatch redundant
insets changes to the app.
In this CL, we only notifies insetsChanged if mState is really changed
in onStateChanged -- we use the final mState (after updateState and
applyLocalVisibilityOverride) to compare with the one before changing.
Fix: 161924448
Test: atest InsetsControllerTest WindowInsetsControllerTests
Test: Swipe up to home while IME open and see if there is any jank
Merged-In: Ia536cdf76805caa56ca1b6eaf2b3db83b6ecd94e
Change-Id: Ia536cdf76805caa56ca1b6eaf2b3db83b6ecd94e
(cherry picked from commit f8175d1a5b276386037006a77d1df132774e9ed8)
|
|
12401137, 12401040, 12401041, 12401262, 12401263, 12401264, 12401265, 12400619, 12400455, 12400456, 12400457, 12400458] into rvc-d1-release
Change-Id: I73ade6c5759896aff617406ecfcf5043c34f20fb
|
|
The WiFi + "x" still seems to appear under some conditions - code
path checking on changes in status not triggered correctly.
Also remove one of the calls to the WifiManager#getCurrentNetwork.
Partial fix to WifiManager#getCurrentNetwork blocking.
Bug: 161011371
Bug: 163425287
Test: atest NetworkControllerWifiTest
Test: visual inspection
Change-Id: I112bdff85e905807c4e2826c127aeaedcdb03fd1
(cherry picked from commit 57855efc386a84dd8f8fc6cdb0cad4df4bf36f94)
|
|
12361031, 12361032, 12361108, 12361109, 12361110, 12361145, 12360553, 12361111, 12361124, 12361112, 12361113, 12361146] into rvc-d1-release
Change-Id: Idaae43e6c9c2b7e7fa6b28c0c82c80973ae07c53
|
|
Currently, getAllCollapsedRatTypes is used to retrieve
all RAT types which will be recorded into NetworkStatsService.
However, there is a missing part that 5G NSA virtual RAT type
is not added into this list. This makes callers such as statsd
do not aware of 5G NSA RAT type and missed to collect data
usage of it.
Test: atest NetworkStatsSubscriptionsMonitorTest#test5g
Test: adb shell cmd stats pull-source 10082
Test: ./out/host/linux-x86/bin/statsd_testdrive 10082
Test: atest UidAtomTests#testMobileBytesTransfer \
UidAtomTests#testMobileBytesTransferByFgBg \
UidAtomTests#testDataUsageBytesTransfer
Bug: 163021464
Change-Id: I0faeda20f0506a48ac1131b234c5fc40d95dfbe0
Merged-In: I0faeda20f0506a48ac1131b234c5fc40d95dfbe0
(cherry picked from commit d75a22bc20675e478b8d230b3db3ab69eb91d9f2)
|
|
If the top activity is crashed before showing any window, when its
process reported dead, it will be regarded as no visible activity
and no need to resume next activity. That may lead to the next top
activity remains in paused state and may be unresponsive.
Bug: 159951007
Test: atest ActivityTaskManagerServiceTests# \
testResumeNextActivityOnCrashedAppDied
Change-Id: I635fceb9cf7b782f6ffbb9ebef7cb69053f64a0b
Merged-In: I635fceb9cf7b782f6ffbb9ebef7cb69053f64a0b
(cherry picked from commit f2e7da7a641ae6bf2b49fa487cc56e6fe20b3336)
(cherry picked from commit 9c62ef63fdafcb806c0ca8486429fc44bd9454ea)
|
|
Test: visual
Fixes: 161186825
Fixes: 163309955
Change-Id: I8e62eef0f32812380bc1d19d87d7611bd395eabb
(cherry picked from commit e5f5be9fd24cf4fa79839172029c078f76195e52)
|
|
eeeMMd doesn't properly translate dates in Japanese.
According to ICU team, we should be using EEEMMd instead.
The date output will be different in ja, ko, th out of 728 locales.
Test: visual
Fixes: 161186825
Change-Id: Ib551d532f08b89be3a0679c44c51b65f493f1a65
(cherry picked from commit 18bd42434f8c0d6624650e3accffe01f6cf7184a)
(cherry picked from commit 83f4bc398ec6d6cfe1f8d0b243ecaceb484d6f3b)
|
|
12350816, 12350695, 12350858, 12350984, 12350985, 12350908, 12350696, 12350697, 12350909, 12350859, 12350860, 12350861, 12350910, 12350564, 12351002, 12350817] into rvc-d1-release
Change-Id: Idafd10fc0aaca207d2e0f5bbaa57c1ca2ac7d43a
|
|
The semantics of FileDescriptor in AIDL are that the callee must close
the file descriptor it receives manually.
Fix: 157789860
Bug: 155136951
Test: treehugger
Change-Id: Ice9fc9abe2959a84ad138a95c900dff676653665
Merged-In: Ice9fc9abe2959a84ad138a95c900dff676653665
(cherry picked from commit db8ae41da255caad7640fc2c1b58d16aafb0e62b)
(cherry picked from commit e5a64d49da480f419aaf4424dda094763089d121)
|
|
By keeping track of them in preferenceshelper, so
they can be applied to apps/channel settings created on the
first boot post a factory reset
Test: atest
Bug: 140893722
Change-Id: Ied7d66bd4ca59f831fc77eff3ef6030a1ad8d6f7
(cherry picked from commit 204b391fc250262ee95f2ecb8ef3c2d3fcb18291)
(cherry picked from commit 046114dc687358eecfcb8a4a83013e459906d2cc)
|
|
Change-Id: Ifece461831a28aedf617c114267c9803d11b57e4
|
|
|
|
|
|
|
|
Auto-generated-cl: translation import
Change-Id: I231323075ed55d149dbbcb8d02d8ed7cb3380aea
|
|
Auto-generated-cl: translation import
Change-Id: Ib355ffc91b507ce25507bb5a75a12c17155ac1d5
|
|
Change-Id: I3c40933a3a396a064d6ee3d11e286d5e24c09aad
|
|
|
|
|
|
Auto-generated-cl: translation import
Change-Id: I5cdb4ae0d333cbf58312e160b19d5c65128adb15
|
|
Auto-generated-cl: translation import
Change-Id: Ia867d8eca71ec0437072b2e2353348a726d7e9a9
|
|
Auto-generated-cl: translation import
Change-Id: I3b8a3c9db6d78347404870b64cdd622f9ec94109
|
|
Change-Id: Ia2f2d5d765fdac515751afee9b09537f64482ec1
|
|
Added for AChoreographer in I66abc2e28e60f06987ce3a54be294c94b77524fc
Bug: 154874011
Bug: 158680912
Bug: 161406626
Test: builds
Change-Id: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb
Merged-In: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb
|
|
Bug: 163024455
Change-Id: Ia0710c3462f03a85bc22aaac7b190961da1f8be3
Merged-in: I9c1737647d762f478c0e452e5b72f98ec3d43c28
|
|
into rvc-d1-dev
|
|
a52141c6ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12324556
Change-Id: I59a2a2cec54d286299be1048db602e6c9c4071b0
|
|
|
|
Symptom:
Disabling an injected activity or provider can't remove the tile
entirely. The tile is still shown if the device has a work profile.
Root cause:
Settings loads tiles from all injected components of all users via
PackageManager. When an injected app disables its component of current
user to remove tiles, the component for the work profile user is still
enabled. Therefore the tiles are still loaded.
Solution:
Skip loading tiles from non-current user if the injected component is
tagged "primary_profile_only".
Bug: 161885575
Test: make RunSettingsLibRoboTests
Change-Id: I00338204ddccfcbcf84a3eed34e6b8f8d5829d56
|
|
rvc-d1-dev
|
|
This adds code to resolve the endpoint in the legacy VPN
runner if it was specified as a hostname, and enables the
previously added test that was disabled because this was
broken until this patch. See the linked bug for details.
This patch uses the async DNS API to do the resolution.
This lets the resolution be fully cancellable, though the
code is more complex than with the non-interruptible
getByName.
Test: VpnTest and in particular VpnTest#testStartRacoon
Fixes the test meant to test this
Also manual testing that resolution of a real
hostname works as expected, that failure to resolve
returns correctly, and that cancellation/interruption
will unblock the thread and terminate immediately.
Bug: 158974172
Change-Id: I90bec6d85706fa9b2f9a01f81701138a54347005
Merged-In: I96691f6091c43377f23a00621242ed034fcb0444
(cherry picked from commit 8ab570d9c9eb5e52b2c038818e3e4d1d3b98fda0)
|
|
The legacy VPN has, among many parameters, a host to connect to.
This host can be specified as a numeric address, or as a hostname.
When it's a name, resolution is required. Currently, name
resolution is performed by the native VPN daemons racoon and
mtpd. When a hostname is used, the framework does not know the
IP address of the VPN server and does not add a throw route for
the VPN server IP address. On older kernels this does not matter
because the legacy PPP kernel code binds the PPP socket to the
right network, but on newer devices that use the upstream PPP
code, this does not work. See b/133797637.
This patch instruments the legacy VPN code so that it can be
run in tests, and uses this instrumentation to simulate passing
a configuration that contains a host, and verifies that the
arguments passed to the mptd and racoon daemons receive the
expected server address, and that the expected throw route is
correctly installed.
It then adds two tests : one specifying the server as a numeric
address, and one as a hostname. As the resolution is currently
broken, the latter of these tests is added disabled, and the
followup fix to the issue enables it.
This test is basic and very targeted, but it's what we need right
now. Also there are plans to remove this entire code path in S, so
the test being ad-hoc is not much of a problem.
Test: this
Bug: 158974172
Change-Id: I96f4bbb9b109e3e5813d083bed1989d88fb156b8
Merged-In: I3c4a94181bd71df68121fa0f71669fa4fa588bdd
(cherry picked from commit dece7f3f74cb67f2a046f3a2a9757b559abc2aac)
|
|
Change-Id: Ibbc1ca3b450ac29a21b0305893f7845b38250900
|
|
|
|
Prevents the robolectric shadows jar from including ExoPlayer
symbols, which collide with app-bundled class files.
Bug: 161753405
Test: Manually checked robolectric jar contents.
Test: Built sargo-userdebug, flashed and tested on physical device.
Change-Id: I3bdc9e0b22cd0dea40f5bad15b0e6c619d32faf6
|
|
secondary dex opt." into rvc-dev am: eddf0c94d2 -s ours
am skip reason: Change-Id Iae4fc0b6fc73707ada8895b38c3ae3f772ac2cd0 with SHA-1 8e41a2debb is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12280079
Change-Id: Ia64d23ca6ed8b45553963af97ce65e153ab7af87
|
|
rvc-dev
|
|
Auto-generated-cl: translation import
Change-Id: I4efc1a23c45bbff500fe38afbbea32d7f0b172b9
|
|
into rvc-d1-dev
|