Status header not clickable in DataUsageSummary

Status header (DataUsageSummaryPreference) is not clickable in the
DataUsageSummary.

So remove the legacy logics, to unblock unified default template.

Bug: 234104784
Test: m RunSettingsRoboTests
Change-Id: I3dddf4ec3f84d53fd07afbb62d171942a6acce5d
This commit is contained in:
Chaohui Wang
2023-10-09 16:51:18 +08:00
parent 0bcf5b79f8
commit 51e1576c34
4 changed files with 5 additions and 77 deletions

View File

@@ -13,7 +13,6 @@ public class ShadowDataUsageUtils {
public static boolean IS_MOBILE_DATA_SUPPORTED = true;
public static boolean IS_WIFI_SUPPORTED = true;
public static boolean HAS_SIM = true;
public static int DEFAULT_SUBSCRIPTION_ID = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
@Implementation
@@ -31,11 +30,6 @@ public class ShadowDataUsageUtils {
return DEFAULT_SUBSCRIPTION_ID;
}
@Implementation
protected static boolean hasSim(Context context) {
return HAS_SIM;
}
@Implementation
protected static boolean hasEthernet(Context context) { return false; }
}