Multiple packages might share a UID, but appOpsService might not have
cached the uid->package mapping for those yet. Hence the only way to
list all packages for a uid is to ask package manager.
setUidMode already handled this correctly, hence factor out the code
into notifyOpChangedForAllPkgsInUid and reuse it from
commitUidStatePendingLocked.
Bug: 148180766
Test: (on master) atest CtsAppOpsTestCases:android.app.appops.cts.ForegroundModeTest
Change-Id: I99a8f255a60d3523da7eb36a8f2c9426af1a1fea
Merged-In: I2d5d6c7aa38d201707349a137c9c29b7987775be
(cherry picked from commit 29e092bf29)
If long press timeout is not 'short', we disable deep press.
Also InputManagerService.java will now be responsible for keeping track
of the feature state.
In ViewConfiguration, we update the default value to 400 to match the
value in the settings (b/30159825)
Bug: 148311342
Bug: 30159825
Test: see the description in the frameworks/native change
Change-Id: I88b933e9e863d40e383afdc990e09b848e23192e
Merged-In: I88b933e9e863d40e383afdc990e09b848e23192e
This reverts commit d2a71cc4b8.
Reason for revert: Inadvertently broke link handling stickiness even for well behaved apps
Bug: 146204120
Test: install app that handles web urls; set to 'always' in Settings;
install same apk again. Verify that app is still in 'always' state via
'adb shell dumpsys package d'
Merged-In: If9046cb420961b8ef0333e9f1115eb69fb92242e
Change-Id: I36d9c352e741e88b9fc773b084bef3991b6d96ed
Icons are being cut off when the app letterboxes (b/151868088)
Note: icons will be inset even when the app isn't letterboxing.
Fixes: 151868088
Change-Id: I870849628a3ff724fd73f36261c87ea23d858f1a
Meteredness (SubscriptionPlan, CarrierConfig)
Bandwidth estimates
Bug: 151630253
Test: DcTrackerTest, DataConnectionTest, SubscriptionManagerTest
Test: manual testing with cmd phone cc set-value that unmetered values
result in NET_CAPABILITY_NOT_METERED
Test: manual testing with TestServiceState that NR_NSA and NR_NSA_MMWAVE
bandwidths are updated when ServiceState changes
Change-Id: I718fb1540892bd3630439a06955d82f6c35dcdfc
Merged-In: Idb67fb7676adf9e1158113e7b8b08e655f470920
Modifying the text per PWG request
(cherry-picked from 16475488a22b2a8d6457252cf2d069d231ac7eae)
Bug: 150028125
Test: atest com.android.server.wifi
Merged-In: I065525fdbd64b9509ef0f47bb35954d267c65fd2
Change-Id: Iac4358b080f44367d2b6e08715c4ed9959810ec2
This avoids race condition that, KeyguardUpdateMonitor refreshes active
sub list however CarrierTextController filtered it based on stale active
data subId.
By move filterMobileSubscriptionInSameGroup into KeyguardUpdateMonitor,
it becomes the single source of truth about which carrier name should be
shown.
Bug: 138456731
Bug: 151600673
Test: manual and unittest
Change-Id: Ida3a90c5408b056cad7a79fbba84fe880ce1e5be
Merged-In: Ida3a90c5408b056cad7a79fbba84fe880ce1e5be
(cherry picked from commit 5c63b51d9e)
In status bar, keyguard, and quicksettings, things that live in the
"status bar" area now properly obey status_bar_padding_top.
Also refresh layout resources on configuration change in the status bar,
fixing a couple of annoying bugs
Test: manual
Bug: 151221263
Change-Id: Ib4474ae2bd52919c2eecf9400c2711fd224fcc09