[Settings] Replace ImsDirectQuery
This is a code refactor to replace 1. Legacy ImsQuery into ImsExecutorQuery 2. ImsDirectQuery into ImsQuery 3. SystemTty into Tty Bug: 140542283 Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=VideoCallingPreferenceControllerTest Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingPreferenceControllerTest Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSettingsForSubTest Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSliceHelperTest Change-Id: I239021c60fff47de307ac7e21641bee56e205861
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.settings.network.ims;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
/**
|
||||
@@ -26,12 +24,7 @@ import androidx.annotation.VisibleForTesting;
|
||||
abstract class ImsQueryController {
|
||||
|
||||
@VisibleForTesting
|
||||
ImsDirectQuery isSystemTtyEnabled(Context context) {
|
||||
return new ImsQuerySystemTtyStat(context);
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
ImsDirectQuery isTtyOnVolteEnabled(int subId) {
|
||||
ImsQuery isTtyOnVolteEnabled(int subId) {
|
||||
return new ImsQueryTtyOnVolteStat(subId);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user