am: 33aba7c0d0 -s ours
am skip reason: change_id I6153e27dd00dd9cdf8682f135eb39f8af3a75608 with SHA1 41855ec8b9 is in history
Change-Id: I8b50c0da43c795b0db04a695b3242136fd6d936c
System RROs can never be uninstalled. Also, enabled RRO, i.e.
RRO applied to their target packages, must not be uninstalled by
end-user because that may be dangerous to the configuration of
its target package. Disabled RROs, i.e. RRO not applied to their
target packages, are free to be uninstalled to reclaim space.
Bug: 124556507
Test: manual + `make RunSettingsRoboTests ROBOTEST_FILTER=AppButtonsPreferenceControllerTest`
Change-Id: Ib6bd2765c8cb88a5887de817a08a1541eaee0cab
- Add boolean useDynamicSliceSummary() in Sliceable interface. This is
the switch equivalent to android:allowDynamicSummaryInSlice in xml. It
moves the setter closer to regular Sliceable APIs, thus less easily to
miss.
- Coverted all android:allowDynamicSummaryInSlice to use the java API.
- Except 2 prefs in my_device_info. They incorrectly set this to true
previously (controller is not sliceable, no point setting
dynamicSliceSummary to true. They just won't do anything)
Fixes: 128446156
Test: robolectric
Change-Id: Ic57acd590dec3e87dcf4592df137321d14b854d9
notifyHierarchyChanged() is used before when we have
connected/disconnect deivce in same list. So only use it in
DevicePickerFragment.java, not other normal fragments.
Also that call will rebuild whole preference list, which is heavy.
Bug: 119479725
Test: Manual
Change-Id: I06cf221588001b38634fec9f02dee8bc1e561ea8
We were using hard-coded colors to tint the icons on storage screen
for some reasons. Change it to the same way we tint other icons,
as there's no reason to keep it special, and also per partner's
request to keep it consistent with other screens.
Also update the ic_sim_sd icon from png to vectors.
Test: Manual/Visual verification
BUG: 113977374
Change-Id: Ia0210635e936b6798aaf9e48dd8815a197396065
When users turn grayscale off in Settings, Settings will send an intent
to receivers who have requested the CONTROL_DISPLAY_COLOR_TRANSFORMS
permission. We also specify FLAG_RECIEVER_INCLUDE_BACKGROUND to make
sure that the intent could be sent to manifest receivers.
Bug: 118387886
Test: robotests
Change-Id: Ib0c959e72dd4068014951347df35409790c77ab5
When there is only one condition card, sometimes talkback will focus on
entire grid. In fact, the entire grid is a recycler view which is the
container to put all contextual cards. Mark the recycler view with no
important for accessibility to fix it.
Fixes: 128896302
Test: visual
Change-Id: I177fa014ec3208001b3a490dbdf9b6b6195985ea
Solves casting problem in WifiCallingSettingsForSubTest that causes all
tests in this file to fail in the setup-function.
The wfc mode buttons has changed from being a ListPreference to be a
ListWithEntrySummaryPreference. The test cases have now been updated
accordingly.
Problem was introduced by the following two patches that conflict with
each other. The test cases in WifiCallingSettingsForSubTest works
correctly when each patch is tested in isolation, but failed when they
were both merged:
73ffcf49998498436a96
Bug: 129545431
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Change-Id: Ib6988e514bbad2023ba6cfc2e1d8734b68cabc31
In DSDS mode, we put an extra header at the top of the Network &
internet page with a listing of your available connectivity (mobile
subscriptions, plus wifi). The PreferenceCategory that contains these
prefs has space reserved for a title by default, but we don't need or
want a title here. This CL gets rid of that extra space by using the
custom layout we already have and use in other places for this purpose.
Fixes: 129562555
Test: visual (get device into DSDS mode with multiple SIMs, and look at
the header at the top of the Network & internet page - there should be
no extra space at the top)
Change-Id: I8f9aae9c07303b2d7ecfc8b6722a4d66555392f1
This reverts commit 2ef3dacad8.
Reason for revert: use Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND to implement
Change-Id: I39754866d1c18eb6c024dcc0555e763a82b7a14f
Write to NFC dialog should be removed since WPS isn't supported anymore
Test: atest WifiSettingsTests
Bug: 112745354
Change-Id: I2bccf0b234c5f3138c48700904c2d578072e8cd6
SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.
Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
Merged-In: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
When condition card is collapsed, there are only showing icons.
Accessibility can't speak meaningful information after tap it. Use
existed condition expend string to assign content description.
Fixes:128897141
Test: manual
Change-Id: I49bc1ee8af424e90aac6555829c545914355862b