Merge "Add a static to get the Ip Memory Store"
am: bee0cbe5df
Change-Id: I8cf868ca1801f30a772fea7716e0b9fd322a80de
This commit is contained in:
@@ -171,4 +171,9 @@ public class IpMemoryStore {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/** Gets an instance of the memory store */
|
||||
public static IpMemoryStore getMemoryStore(final Context context) {
|
||||
return (IpMemoryStore) context.getSystemService(Context.IP_MEMORY_STORE_SERVICE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user