Implement setNetworkPreferenceForUser.
Test: FrameworksNetTests Change-Id: I8f18083b5857289892fe8adea5f5ea3f5dbe0809
This commit is contained in:
@@ -72,6 +72,14 @@ public final class OemNetworkPreferences implements Parcelable {
|
||||
@NonNull
|
||||
private final Bundle mNetworkMappings;
|
||||
|
||||
/**
|
||||
* Return whether this object is empty.
|
||||
* @hide
|
||||
*/
|
||||
public boolean isEmpty() {
|
||||
return mNetworkMappings.keySet().size() == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the currently built application package name to {@link OemNetworkPreference} mappings.
|
||||
* @return the current network preferences map.
|
||||
|
||||
Reference in New Issue
Block a user