Merge "Add a static to get the Ip Memory Store" am: bee0cbe5df
am: 9f1414dac1
Change-Id: Ibcd5e3cfb34262b69661329878f27587eaf84180
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