38cf8867a8d3e8d5159abd0bd0e6a3b0b8348b94 |
|
26-Sep-2010 |
Kenny Root <kroot@google.com> |
Remove OBBs from state list when volume unmounted Don't keep tracking OBBs when the volume they're located on goes away. Remove them from our state tracking maps and then send a notification to any listener that is still around. Add a dump handler to MountService so the state of the mount lists can be inspected. Change the API to just make a callback directly to the change listener when mount is called when it's already mounted or unmount called when it's already unmounted. Change-Id: Idb4afbb943ca5ca775825f908bff334e3ce1cfcc
/frameworks/base/core/java/android/content/res/ObbScanner.java
|
f1121dc1d35c7e8c317c278aad0dd4ad1358d870 |
|
29-Sep-2010 |
Kenny Root <kroot@google.com> |
Move all the permissions check up for unmount We have already scanned the state of the OBB in mountObb, so check the caller against the stored state in the unmountObb call. This allows us to ensure the calling binder is the same one that mounted it since we tie the lifecycle of the OBB to the lifecycle of the binder. Change-Id: I45d9cfbab5d3f5b37a6a9b594b10bd8b91cccc45
/frameworks/base/core/java/android/content/res/ObbScanner.java
|
05105f7abe02b2dff91d6260b3628c8b97816bab |
|
23-Sep-2010 |
Kenny Root <kroot@google.com> |
Update OBB API to include callbacks Add a callback for users of the StorageManager API to be able to receive notifications when the requested operation completes for mountObb and unmountObb. Add NDK API to get to ObbInfo like the Java API has. Also update the docs for the API and remove the "STOPSHIP" comments. Change-Id: I23a4409c7f8b74d3169614beba920b4d667990a4
/frameworks/base/core/java/android/content/res/ObbScanner.java
|
02c8730c1bf19daf48bec8c6995df676a00a73b1 |
|
01-Jul-2010 |
Kenny Root <kroot@google.com> |
Add API to call to vold for mounting OBBs * Unhide StorageService class; hide all the USB-related items * Add application-visible API to StorageManager for OBB files * Add class for parceling OBB info across binders (ObbInfo) * Add a JNI glue class to libutils/ObbFile (ObbScanner) * Add API to MountService to deal with calling into vold and checking permissions Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
/frameworks/base/core/java/android/content/res/ObbScanner.java
|