Merge "Add a static to get the Ip Memory Store" am: bee0cbe5df

am: 9f1414dac1

Change-Id: Ibcd5e3cfb34262b69661329878f27587eaf84180
This commit is contained in:
Chalard Jean
2019-03-11 08:14:03 -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);
}
}