1. Move some work into backgroud thread when query data usage status.
2. Fix test case
Bug: 141833767
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: Ic1496323cd2bbaf794881394565d8d9bb0a89111
Modified and removed test to fix errors
a test was removed because it depends on static code
Test: robo tests
Fixes: 154566007
Fixes: 154566012
Change-Id: I66e03469ba2a14f2eb82842a92f64f26eaf21b65
- Edittext on edittextpreference
- Summary on edittextpreference
Bug: 142440775
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest -j
Test: Sanity test pass with customized carrier data
- data in summary and text of edittext preference correctly correctly
display on.
Change-Id: I3162de19659df79c5873c730d7d32e4ed998bcbe
Since panel activity is singleInstance, a newer panel will reuse the
same fragment as the previous panel when they are displayed one after
another.
Panel fragment has two kinds of exclusive header layout which shouldn't
be showed at the same time, so we have to reset their visible states
when creating panel content.
Fixes: 154668079
Test: robotest
Change-Id: I701a7cde4b43322fbc63ae1cb74c41dd23b37c0c
Adopt TelephonyBasePreferenceController in order to better support DSDS.
Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I502b93f01b289b72989ad3167131cc0c598b1583
Fix test case of DataUsageSummaryPreferenceControllerTest
Bug: 154562264
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I0b3366c86b0a621b9dda88bbcde6e118d37995b7
Mock objects do not know the relation between setChecked
and isChecked. Should not call mock objects's setter and
assume the getter will return the corresponding value.
Bug: 154564960
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiEnhancedMacRandomizationPreferenceControllerTest
Change-Id: Ib2e06f0fe60f7d6f90f76bd179a7aadccfcff4c4
- When clicking the expand/collapse button to see the posted
notifications from an app in the last 24 hours, refocus accessibility on
the button so the entire button (contentDescription + clickability) are
announced. Previously only the contentDescription update was being
announced.
- Fix local context menu of NotificationHistory elements by calling the
super method in performAccessibilityAction
Test: manual
Fixes: 153396313
Fixes: 153518629
Change-Id: I3d847ec1f2b72dcf411c6c7c7fe2dc061ccfde26
Settings Search need Settings to provide custom site map pairs to
build up full breadcrumb for the search results from Gesture Settings
page.
Bug: 147851992
Bug: 151206664
Test: visual and robotests
Change-Id: I4a61e6da48755184954c2c90834578030ffc2e10