- The reason is the fixed value of the paddingStart.
- Change the value when display size is changing.
Fixes: 177968087
Test: manual test
Change-Id: Ibdcdc51e4ee7d8c327d03f0a4aee5891efe1cbd0
According to ag/13310367 this file was meant to be moved, but it was copied instead. I think it is safe to delete the duplicate? Please let me know if that's not true.
Test: gradle builds, and hopefully presubmit passes here
Bug: 152086714
Change-Id: I5714a330a659d0bb9a37d433749f60ec330aa27e
There can be a race condition of the timeout and operation
completion both getting executed - both setting the callback
to null - which causes the other one to have an NPE.
Bug: 175084231
Test: Testing rapid succession recovery operations
Change-Id: If9d8418f1535d0e075c4abf2723c4b2734e8fa1a
Background:
* On organization-owned devices with managed profiles,
the work admin needs to be able to restrict
IMEs on the personal side.
* They should be able to restrict IMEs without having
visibility on the personal side. This is done by
introducing the ability for the admin to set the
permitted IMEs on the parent profile.
Changes:
* Update DPM permitted input methods apis to be
callable on the parent profile.
* Update RestrictedLockUtilsInternal to check the
permitted input methods on the parent profile
Manual test steps:
* Set up organization-owned device and download
IME apps on the personal profile
* Download TestDPC
* Select prefence Set input methods on parent
* Select allow only system IMEs and check Settings to see
all non-system IMEs are disabled.
* Select allow all IME apps and check Settings to see
no IME apps are disabled.
Bug: 170459562
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.settingslib.RestrictedLockUtilsTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testPermittedInputMethods
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testPermittedInputMethodsLogged
Change-Id: Iecd19adb6d3ca064a8d7f9ff0c1c41aa64bd6ace
This preference uses SettingsSpinner & SettingsSpinnerAdapter
which provide default layouts for both view and drop down view
of the Spinner.
Bug: 177617478
Test: atest SettingsSpinnerPreferenceTest
Change-Id: I9ceb2db6d82692ee21b6d96af7b42c49400d5071
Settings used AdpativeIcon for injection icons of homepage and the
rainbow icons of connected devices. In the past, the default inset was
6dp which is to generate the 36dp icon. Based on the Android S design,
we would like to apply different size to the homepage icon. Therefore,
make the AdaptiveIcon to support different insets.
Fixes: 177213699
Test: robotest & visual with turning on/off silky home
Change-Id: I1739eeb58e362f24719ef2476c442c867d0ecb3a
This CL contains the below major logic changes:
1. Only show QS/SB Icons for the current default network
2. Support the new "no internet" icons
3. Add a new callback "setConnectivityStatus"
4. Use WiFi scan results for network availability check
Bug: 176428921
Test: Unit Tests, Manual Tests
Change-Id: Ib5e95353205cad4e0bdbd57ef823044fcc54b10d
Now we compress logs, 16MiB is a *lot* of logging, often over 100MiB
when decompressed. This can cause trouble for tools (and their
corresponding timeouts) if they're expecting 16MiB to mean "less than
16MiB" rather than "about 10 times 16MiB".
This patch doesn't address the issue of devices that are already
configured too high, since it's not obvious that we reasonably can. A
user can set the system property themselves, and we have no way to
distinguish the two cases.
Bug: https://issuetracker.google.com/176959217
Test: treehugger
Change-Id: Iba92061b278c487c3dc9a98aa54f014dfb2ea1c9
- androidx.core.content.res.TypedArrayUtils is not available in
another path, remove it from dependency.
- Move layout from SettingsLib to FooterPerference
- Move FooterPreferenceStyle from SettingsLib to SettingsTheme
Bug: 177181159
Test: manual & robotest
Change-Id: Ieccc6b789704cf66b9cf67560951610deb250514
When the device is connected to the Carrier WiFi, the Cellular icons
will be shown in the SysUI instead of the WiFi icons.
Bug: 175317582
Test: Unit tests, Manual tests
Change-Id: I4e090f3058724937ba9bbe131d91379ad2383083
Wi-Fi subsystem restart callbacks have been added to the framework.
Modify the shim to use these callbacks rather than indirectly monitor
whether the WiFi subsystem has restarted.
Bug: 175084231
Test: TBD - pending UI test integration
Change-Id: I9c127532d7cefbf2ff6612562ab46865e456b43a