This reverts commit f1564bc866.
Reason for revert: We now know how to properly fix this
Fixes: 191727929
Change-Id: I6380796dd987b097fe6d9ad36123676b9861ba3a
launch help page""
This reverts commit c2d0388962.
Reason for revert: Reverting the revert and avoiding the TH failure
Fixes: 191727929
Change-Id: I741f35aab78ba32f69f204dbdf4ebcf632bd741c
IllustrationPreference.
Root cause:
The component is unable to parse composition if the lottie file format is not correct.
Solution:
Add the failure listener was provided from lottie animation view to avoid throwing the exception to crash.
Bug: 194223160
Test: manual test in the aosp ROM by forrest build
Change-Id: I8e515d244f904921b9d6f3e6bdf439550bc562a9
Fixes: 191727929
Test: manually performed policy transparency BYOD test
Test: manually performed policy transparency DO test
Test: manually performed policy transparency DO on
managed user test
Test: atest ActionDisabledLearnMoreButtonLauncherTest
Change-Id: Ief0cc2fab98b28f0836b3dee79e91ea365d37274
Update the not-connected iconography to use an exclamation mark instead
of the 'x'.
Test: manual; adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level -2 -e datatype lte
Fixes: 175335798
Change-Id: Iff4b7d9e7fe113c50b92a45cace3a742f7af42f6
We introduced the collapsing toolbar on S. To enable this feature needs
to correspondingly adjust the theme that the activity uses. However
these changes might cause some mainline module apps get crashed when
running on R. A customize layout is allowed to use for some cases that
need to roll back to the layout used in R.
Bug: 192395187
Test: visual verified
Change-Id: I9b409842198a2d52a6440cdd9ad68268293681f2
The view with R.id.content_parent is a LinearLayout in the R layout
file, and will cause a ClassCastException on R.
Bug: 182960931
Bug: 183757373
Test: presubmit
Change-Id: I15bf8f14ac1e6b0986b040e25a2b5f57735b62a8
Show "Unavailable" when factory Wi-Fi MAC address is default to align
with WifiDetailPreferenceController.
Bug: 192935640
Test: build
Change-Id: I38728410b11c0db1d922f29fc68fec6af75affe4
The current dynamic height adjusting workaround might cause that a
flicker problem happens in the collapsing toolbar and it might cause
that the collapsing toolbar has different background colors in some
setting pages. The new Material library has already supported the
dynamic height adjusting for multi-line titles, so we will use the new
mechanism instead.
Fix: 191038325
Fix: 189896657
Test: visual verified
1) Navigate to permission pages
2) Observe the title and check if it has different background color and
is overlapping with the back arrow
Change-Id: Ib928ab628cb7838460264f704bebf5c7a2aa9a47
- If we set a fixed height for the illustration and automatically
scale the width of the illustration, the size of the background
layer will be different from the size of the illustration. To
fix this problem, we must make the background layer the same
size as the illustration and automatically scale.
- Update the size of background to 412x300.
- Update the layout of frame's child views to wrap_content.
- Update the padding of frame to 16dp.
Bug: 190810977
Test: robotest and see the UI
Change-Id: I0422f91c24860154fea7c766d5670c314d62bebb
- Remove the duplicated setting in the ContentDescription.
Bug: 191735947
Test: manual test
Test: make RunSettingsLibRoboTests -j ROBOTEST_FILTER=com.android.settingslib.widget
Change-Id: If28d0002dd1087173623b654c67bc7597d721a85
apply the new settings widget lib for the emergency alert main feature
switch.
Bug: 183574149
Test: Manual
Change-Id: Idfdb2696056faf3dbe4ccb0061f2b61c33e94292
Test: ManagedDeviceActionDisabledByAdminControllerTest
Test: manually observed the policy transparency dialog
with launching the admin policies screen
Test: manually observed the policy transparency dialog
with launching the web help page
Fixes: 191727929
Change-Id: I03aaf2ddbaff3ea515404b257d1590c08ae3ab65
Actions:
1) Migrate and deprecate the widget AnimatedImagePreference
into SettingsLib IllustrationPreference. It would extend
to support the static (e.g., svg, png), animated (e.g., gif)
and lottie format image.
2) Create setImageUri() for IllustrationPreference.
3) Create setImageDrawable() for IllustrationPreference.
Bug: 190585192
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=com.android.settingslib.widget.IllustrationPreferenceTest
Change-Id: Iad5bc6af78cca4d57cb56eec104ef2384da7be9f