Age | Commit message (Collapse) | Author |
|
12933064, 12932558, 12932852, 12932349, 12932649, 12932853, 12932854, 12932650, 12933102, 12932350, 12933103, 12933295, 12932351, 12932651, 12932652, 12933104, 12933105, 12933315, 12932584, 12933260, 12932559, 12933176, 12932560, 12932561, 12932352, 12932353] into sparse-6782484-L76100000728111977
Change-Id: Ib8b0253840392af1c6ab53e12b61f9ce57d25631
|
|
It really shouldn't have mattered whether we use uids or appIds for
this cache but given the way NetworkPolicy iterates over all apps
on the device (all_apps * all_users), it is possible that we end
up checking the permission state of apps which are not installed
on a user which will always be DENIED and we end up caching this.
So, we could end up treating an app as not having INTERNET permission
on a user even though it has.
Also, update the cache stragety to always check with PackageManager
when the permission state is denied in the cache just to be safe, until
NetworkPolicy iteration of apps is fixed.
Bug: 168299219
Test: atest cts/hostsidetests/net/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Test: manual
Change-Id: I6f2a60695a519a972c96ec8e053d3be5dc732461
Merged-In: I6f2a60695a519a972c96ec8e053d3be5dc732461
(cherry picked from commit 97c29c74766cd6bee5d36792e52ba769b77b1406)
|
|
Activities were unable to be started while dream started and
keyguard locked because the started activities were not on the
top-most focused tasks (it was the dream task on top).
Even the activities were set as launched behind, the visibilities
of the belonging tasks were still invisible and aborted the
launches.
Making the task visible if the top activity is launched behind
and also starting activities on all visible tasks for attached
application.
Bug: 168326273
Test: making phone call on Auto while Dream started on Phone
Test: atest DreamManagerServiceTests
Test: atest ActivityRecordTests
Change-Id: I199435bcfc7593e6c58488cd6de7c2289d5d0e20
(cherry picked from commit 0f26f573f5f79970a99b46c0b55b8c1d4e106ae5)
|
|
Bug: 160944177
Test: manual - verified repro steps in b/160944177#comment32
Change-Id: I2925814132c712b2482681f699f647bf5707e664
(cherry picked from commit f5e463fa86ac5ce4789ecf92f0ddb868cd32c866)
Merged-In: I2925814132c712b2482681f699f647bf5707e664
(cherry picked from commit 283a2e1d6e850ac80c7fb3b88e67ad23eb9e816e)
|
|
This way we'll avoid cancelling and recreating timers.
Bug: 160036959
Test: atest MediaTimeoutListenerTest
Change-Id: Ic150156cc6078cd6477f48f05c8195d98a6d4fa4
(cherry picked from commit f53329235d5c1e9efdf051838f6a25c6dc5b5cfa)
Merged-In: Ic150156cc6078cd6477f48f05c8195d98a6d4fa4
(cherry picked from commit 5d04490f318d68fcc5437bcea87a14225ae99e38)
|
|
Test: atest
Bug: 155251236
Change-Id: I190a03385b9136748aa75dbd26ed4556cf81599a
(cherry picked from commit 858b4ae2b2ff6870e739192f4046a3ed2f914407)
(cherry picked from commit 238de217662d27688c644ddcd523bf12b3404d9e)
|
|
telecom plays dialer's ringtone, so we allow them to play sounds when
DND is on in priority mode. We trust that telecom will abide by the DND
rules and exceptions (ie: checking for starred contacts)
Test: manual
Bug: 163525045
Change-Id: I798f1d968821e7d1b0a97b9b034c1ef0726f8242
Merged-In: I798f1d968821e7d1b0a97b9b034c1ef0726f8242
(cherry picked from commit c384c930fd64e8c8e02b7bc28314b7f692ef8c9f)
|
|
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)
(cherry picked from commit dfc8abb1ffc7bf6c7d7b47cf2e9e14bf6422f95c)
|
|
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)
(cherry picked from commit 1e8e7a94872de70aa6e661fe960854e01447b1c0)
|
|
Adds the following:
* Button for accessing settings
* Button for dismissing player (similar path to when a package is
uninstalled)
Guts will close automatically if:
* QS is collapsed
* Media carousel changes pages
Also, flattened the view hierarchy to support animations between states.
Test: manual
Test: atest com.android.systemui.media
Bug: 156036025
Change-Id: I340e0b37393573f81a3bf12d5e453eccf5982473
Merged-In: I340e0b37393573f81a3bf12d5e453eccf5982473
(cherry picked from commit 429360fb399f4aa2bb51cbcdf76deb0f319e130f)
(cherry picked from commit 2e0f351d3508c9d4dadc206d5cc056afa8adb1ce)
|
|
Revert submission 10144846-revert-10103769-load_wifi_service_dynamically-XZNQJHXURR
Reason for revert: Changes in build system to store uncompressed and aligned DEX files for java libs in APEXes.
Reverted Changes:
Icc0b680c2: Revert "SystemServer: Dynamically load wifi-servic...
I83a2f93e3: Revert "product: Remove wifi-service off SystemSer...
Bug: 148099857
Bug: 162371380
Bug: 162746981
Test: Compiles
Change-Id: I6c3f36873cae476dc76fd353d20fb6bd2c177f0b
(cherry picked from commit 2c17b6690f84c3eabfdc7ef6301571d860448d92)
|
|
In SQLiteQueryBuilder, allow empty tokens when checking for invalid
tokens during the strict grammar check.
Fixes: 151151800
Fixes: 161769478
Test: atest SQLiteQueryBuilderTest#testStrictQueryEmptyToken
Change-Id: Iac1cdd643253fd186a164b863d65d6e92698fd38
(cherry picked from commit e409ec2492f47be9a0f3917bbbb324624eec7b5e)
(cherry picked from commit b7cffcab3228c7de9d6450f746cd5066dcfbb621)
|
|
Fixes: 159999176
Fixes: 159997845
Test: manual
Test: atest ChooserActivityTest
Change-Id: Ie867ee419b3595023195022b0f9f12e5da214938
(cherry picked from commit b85215ff62262b29c8686adc7924765676283ca1)
|
|
This prevents the padding from growing on screen rotations.
Fixes: 160005616
Test: manual
Test: atest ChooserActivityTest
Change-Id: I87fcfede3cf9cfad63adeb07b67ed68df403453f
(cherry picked from commit 96078b10521676bd60ffff60f14619c1dcdaead6)
|
|
This fixes an edge case where after performing
a variety of gestures vertical scrolling ends
up disabled. That's because at some point
the old tab's vertical scrolling is disabled
and the new tab's is enabled.
Fixes: 160086572
Test: manually played with scrolling and swiping
Test: atest ChoserActivityTest
Test: atest ResolverActivityTest
Change-Id: Id241bef19af88a48bf43217627d636403a514568
(cherry picked from commit 61d251fb66e6f4cc3de735ad8ee9e1c0e697f4f9)
|
|
12403961, 12403861, 12405327, 12405278, 12404928, 12405287, 12405279, 12405385, 12405280] into rvc-release
Change-Id: I1df6a2622fc05500084cb4c8004ce3f4d2f38614
|
|
Added for AChoreographer in I66abc2e28e60f06987ce3a54be294c94b77524fc
Bug: 154874011
Bug: 158680912
Bug: 161406626
Test: builds
Change-Id: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb
Merged-In: Iac1f8eafc4d25a5a7c8b6d8eed3f6686705fc2fb
(cherry picked from commit 1315f1105e22066579f009facf60bc538d21d9fd)
|
|
12373784, 12373477, 12373478, 12373479, 12373765, 12373526] into rvc-release
Change-Id: I01dc559688e848fa22517d779c7d54bbfd5205a2
|
|
Bug: 163024455
Change-Id: Ia0710c3462f03a85bc22aaac7b190961da1f8be3
Merged-in: I9c1737647d762f478c0e452e5b72f98ec3d43c28
(cherry picked from commit 29154b178d6a672decfafbac41c232d8b0d33c88)
|
|
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)
|
|
The current secondary dex opt doesn't distinct between
opt performed and skipped, which causes unnecessary traces
purge for IORap.
Bug:161633001
Test: manually trigger bg-dexopt via 'adb shell cmd jobscheduler run -f
android 800' and check the log.
(cherry picked from commit ff800a363bbdec0eaac0960340689a20ebc9bf7a)
Merged-In: Iae4fc0b6fc73707ada8895b38c3ae3f772ac2cd0
Change-Id: Iae4fc0b6fc73707ada8895b38c3ae3f772ac2cd0
(cherry picked from commit 9b4958afb079bc2907d62f1bba8ca11d22c6f2c5)
|
|
12364605, 12363956, 12363957, 12363958, 12364309, 12364483, 12364484, 12364564, 12364333, 12364334, 12364335, 12364336, 12364337, 12364607] into rvc-release
Change-Id: Ida8066f2651eb78529f4de6b18a82f3cf672975c
|
|
Bug: 156020795
Test: manual, atest
Change-Id: I72206c7a52b067b77d6542d170a6483713dfeee7
(cherry picked from commit 84e08280d3882cfe4bad12ab426016c6d0efc7fb)
(cherry picked from commit 02bdeeffb3135de0f3e18c3a85e6730b021fd191)
|
|
Bug: 160390416
Test: verified command still works from shell
Change-Id: I23bb06e00f1623e4f27c02d7eb2c0d273b40771b
Merged-In: I23bb06e00f1623e4f27c02d7eb2c0d273b40771b
(cherry picked from commit bfdb7121ef7ae85520abbdcb4b9d05923d91999c)
|
|
Change-Id: Ieeedf8fa54ece8e2350733732a399802f1cc7c93
|
|
Previously, when binding to the FUSE daemon from the system_server, we
depended on the main thread to deliver the service connected
message. The main thread can unfortunately be very delayed from other
services running long tasks. In some cases, we might even have
deadlocks of the following nature:
T1: vold -> storage_manager_service # mount waiting for main thread
task while holding vold lock
T2 (main thread): other_service -> vold # other task blocked on vold
lock while on the main thread.
Now we move the bind callback to a dedicated handler thread. This
allows the vold mount to complete independent of other tasks running
on the system_server main thread.
We also revert the temporary fix to unblock the retail demo use case
that uncovered this deadlock:
I8ff153f2649e3a1d05f2e3e6e382bbba8c79630c
All of this only affects the demo user and is a no-op for other users
Test: Manual
Bug: 161702661
Bug: 162209395
Change-Id: I9b6ccff5705bb78cb1ff7a31e3dd2f26d9b400c6
(cherry picked from commit 0af8530dd302d14cccac28382a8b39886dff33bd)
|
|
12257742, 12257668, 12257743, 12257513, 12257278, 12257279, 12257514, 12257644, 12257669, 12257670, 12257671] into rvc-release
Change-Id: I3669363c1b98ac139f341e0bd898cbbff15cb061
|
|
For non-telephony networks, this was always set to 0 before R.
In R, it is currently set to the same value as the network type.
This is incorrect because the two have different namespaces.
or example, currently, any network of type WIFI (==1) will have
a subtype of NETWORK_TYPE_GPRS (==1). Similarly, all ETHERNET
networks will have subtype NETWORK_TYPE_1XRTT, all VPN networks
will have a subtype of NETWORK_TYPE_TD_SCDMA, etd.
Bug: 161653721
Test: builds, boots
Change-Id: I07e111c1762e0021c931cefc27f193f78578748b
(cherry picked from commit a40ff70cad00a6c298e07c2c38e95d58074a7157)
|
|
12236709, 12236710, 12236711, 12236687, 12236608, 12236629, 12236688, 12236459, 12236460, 12236536, 12236412] into rvc-release
Change-Id: I27766eaf2a654e4676823df532a0c930dd385d6b
|
|
A long timeout seems to break demo users when calling
DevicePolicyManagerService#enableSystemApp.
We soft-revert Ia8f6f121448f6b5e484fd3e8cca845fdd89afc23 just for demo
users while investigating the root cause.
Test: Manual
Bug: 161702661
Change-Id: I8ff153f2649e3a1d05f2e3e6e382bbba8c79630c
(cherry picked from commit 1d6554f0e1c7882070d10a7dff6f9d6aae6fb252)
|
|
Set supported flags from AudioAttributes into VibrationAttributes on the
builder constructor.
Fix: b/161761418
Test: manual
Change-Id: I4a8e1db278843b2f9f19aba43b0b8f264cb696bd
(cherry picked from commit c2777148df6f9f9880917bd3a5284f63c6d7e58f)
|
|
For backwards compatibility, we allow phone, system UID to
access cell identity through getServiceState. Cell broadcast
service, which is used to be part of telephony, now is running
under network stack UID. We should consider network stack UID as
trustable components like system/telephony.
Fix: 157618105
Test: Manual
Change-Id: I9b2dfc778752e130f5c7e44c4b2e45b63ac6f918
(cherry picked from commit 56cfdd1e873c6c7762f9c7a3cde6a321b85c8ce8)
|
|
Fixes: 161606040
Test: atest
Change-Id: I8ab108aea23ea6a139f758abdaf222f5f3641104
(cherry picked from commit dfd9f17703c9d2eee22ef8634fceb3e0b46d69fc)
|
|
When the preferred handler of an action is saved with "always", the set
of components displayed as options to the user are saved with it. On
subsequent queries, if that set of components change, the preference is
cleared to allow the user to consider the new set. With the introduction
of app visibility filtering in R (and to a lesser extent, Instant Apps
in O), the set of apps that an app can see may be less than the set that
the system can. As a result, if the caller calls resolveIntent and
cannot see all of the apps the system can, it may reset the user
preference unexpectedly.
This change ensures that before we clear the user preference that we're
comparing against the full set of apps. As such, if we encounter a call
to the method from an app that cannot see all apps, we avoid any
mutations and instead just return the set of apps that the user can see
or the preferred app if it's part of the set they can see. If the system
calls or if the call is part of an activity start, we'll allow reset of
the preference.
Test: Manual - Install 3 cameras, verify preference only reset on start
Fixes: 157548344
Change-Id: Icb50a66500edba26c4c6c3e80a6a9c544d4d63d6
(cherry picked from commit 312755820a8d5ec76d4d0c26a36a9c354591e248)
|
|
Bug: 144138979
Test: grant camera appOp and observe logging
Test: use camera app and observe logging
Change-Id: I6422b432f0d6fcf411073c0528a4ee485d46f005
(cherry picked from commit 5a7e66275155eb1df02012132cd7104feb73251f)
(cherry picked from commit fc76b97d1bc731b227be6bc756af743976bd3374)
|
|
12221711, 12221712, 12221713, 12221714, 12221715, 12221922] into rvc-release
Change-Id: I14320cf554490ba37927f626de5bf266db3923cc
|
|
This is a follow up CL to our previous CL [1], which aimed to adjust
the timing to change navbar icons that depend on the IME window
visibility.
One thing we overlooked is that only InputMethodService#IME_VISIBLE
needed to be cleared to keep the back button icon to behave as if the
IME window was invisible. For the IME switcher icon to work as
intended, the current protocol requires InputMethodService.IME_ACTIVE
to remain to be set even when an IME window is invisible as long as
there is an active session between the app and the IME.
[1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4
c22eec9d35e797417b8630fff178ec53e7c29b65
Fix: 160283619
Test: Manually done as follows:
1. Build aosp_coral-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
6. Open any app that has an EditText
7. Focus in to the EditText. Make sure the IME shows up and the IME
switcher icon is visible on the navbar.
8. Attach a hardware keyboard. Make sure that the IME becomes hidden
while the IME switcher icon remains to be visible on the navbar.
9. Detach the hardware keyboard. Make sure that the IME switcher
icon remains to be visible on the navbar.
Change-Id: I4a9ddf514a32a221c2372be0ca166fbdac555932
Merged-In: I4a9ddf514a32a221c2372be0ca166fbdac555932
(cherry picked from commit 5749b51f8c739f8fa82760a8a7868e9b05aa9dd2)
|
|
Bug: 161812603
Test: m -j offline-sdk-docs & manual verify the javadoc
Change-Id: I741bbf7b83badcd7f1610f31bbd41a49b8b975fb
(cherry picked from commit 3bda3bf8c6e06b910df1f219d983c803bcf49da6)
|
|
This change modifies the flow of uri permission grants to ensure that
even when we're not granting URI permissions, we still take the
opportunity to grant app visibility.
This change also re-grants visibility based on any persisted URI grants
at boot time.
Bug: 161912313
Bug: 161721834
Change-Id: I077b263fc3dc01f3505c39fc0e36d3419bab3c5f
(cherry picked from commit 9406f1dea8be7f1a72738990f536480bdf488a7c)
|
|
12213702, 12213319, 12213491, 12213118, 12213065, 12213602, 12213603] into rvc-release
Change-Id: I64fc3baa2e76b9f22537a753eb52dff8e2c9fa34
|
|
Manually partially revert I4910c2a06cc67b0470477b245fc1de54b75f10f9 so
that we don't use a window that's animating away as control target.
Fix: 161659326
Bug: 153145997
Test: atest NavigationBarColorTest#testSetNavigationBarColor
Change-Id: I68db516c91da69e0f4dcbdfab6d6a757c4cdc75b
(cherry picked from commit 588fa46cf4d6604b9050d67cbe2a596d52d4f6c3)
|
|
rvc-release
Change-Id: I96f4acd2bc4ae6cccf9bdb93f9c84d34b24603da
|
|
We use same reference from TextView to set the initial
surrounding text. The actual surrounding text may be
modified before retrieval since the mSurroundingText
is mutable. Use a copy of subText should avoid this
concurrent issue.
Bug: 160390184
Test: atest FrameworksCoreTests:EditorInfoTest
Change-Id: I6082a4cae2fcdc4c529dc14e2e5e7a45ab1aae4d
(cherry picked from commit 0ebe70cb0fa685693d7834b4b4ee94515149c8fb)
|
|
User feedback shows that this string causes confusion that the
update is going to start immediately.
Bug: 161179448
Test: Fake OTA test
Change-Id: I9590ebf76c81ef104f490ba31ada7c482cd70d56
(cherry picked from commit 3750b50e76e484e956e1d721a4e09ea1b0f94480)
|
|
Change-Id: I538293eb83bf3caf72bc986d7aad9f6a385c1f1b
|
|
|
|
|
|
Auto-generated-cl: translation import
Change-Id: Ib6b5679f22901d2d9e7996e25b19318cc1916460
|
|
|
|
|