Rename to isTetheringFeatureEnabled

DeviceConfigUtils has isFeatureEnabled for NetworkStack and Tethering
which were confusing since the difference was only the arguments.
This CL renames isFeatureEnabled for Tethering module to
isTetheringFeatureEnabled to avoid confusion.

Bug: 279108992
Test: m
Change-Id: I05255bb38619afbe621d29524d7910d206a149f1
This commit is contained in:
Motomu Utsumi
2023-08-15 15:52:27 +09:00
parent 23b0bab6b1
commit 624aeb4274
3 changed files with 14 additions and 14 deletions

View File

@@ -1413,10 +1413,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
}
/**
* @see DeviceConfigUtils#isFeatureEnabled
* @see DeviceConfigUtils#isTetheringFeatureEnabled
*/
public boolean isFeatureEnabled(Context context, String name) {
return DeviceConfigUtils.isFeatureEnabled(context, NAMESPACE_TETHERING, name,
return DeviceConfigUtils.isTetheringFeatureEnabled(context, NAMESPACE_TETHERING, name,
TETHERING_MODULE_NAME, false /* defaultValue */);
}