Merge "Add a static to get the Ip Memory Store"

am: bee0cbe5df

Change-Id: I8cf868ca1801f30a772fea7716e0b9fd322a80de
This commit is contained in:
Chalard Jean
2019-03-11 08:04:48 -07:00
committed by android-build-merger

View File

@@ -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);
}
}