summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/transcode/TranscodeDisableCachePreferenceController.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-04-14 16:50:15 +0800
committerLucas Lin <lucaslin@google.com>2021-04-14 09:07:54 +0000
commit4400038635455df1d29a2b362a59f2b70e27aa17 (patch)
tree64adfc85c69d09729a7f64a35ff6ba1a8bcd195b /src/com/android/settings/development/transcode/TranscodeDisableCachePreferenceController.java
parent8371ee713de6b76906b191d3ff668d129437eded (diff)
Remove the usage of hidden API and fix the test
- Network class will be inside mainline module, so the external callers cannot call its hidden API. Remove the usage of hidden API. - The orignal test looks wrong because it shouldn't set the data of intent, it should set the extra of intent instead. (Refer to the design of ConnectivityService.java) Fix the test and remove the @Ignore annotation. - Add 2 new tests to cover the case of receiving unexpected network. Bug: 182859030 Bug: 183920404 Test: 1. Remove "framework-connectivity.impl" 2. make RunSettingsRoboTests \ ROBOTEST_FILTER=WifiNoInternetDialogTest Change-Id: Ie48a1651629ad9c067728f667cdd91f2f0bccd07
Diffstat (limited to 'src/com/android/settings/development/transcode/TranscodeDisableCachePreferenceController.java')
0 files changed, 0 insertions, 0 deletions