summaryrefslogtreecommitdiffstats
path: root/media/java/android/mtp/MtpStorage.java
diff options
context:
space:
mode:
Diffstat (limited to 'media/java/android/mtp/MtpStorage.java')
-rw-r--r--media/java/android/mtp/MtpStorage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/mtp/MtpStorage.java b/media/java/android/mtp/MtpStorage.java
index e20eabc..7b8102b 100644
--- a/media/java/android/mtp/MtpStorage.java
+++ b/media/java/android/mtp/MtpStorage.java
@@ -59,7 +59,7 @@ public class MtpStorage {
*
* @return the storage ID
*/
- public static int getStorageId(int index) {
+ public static int getStorageIdForIndex(int index) {
// storage ID is 0x00010001 for primary storage,
// then 0x00020001, 0x00030001, etc. for secondary storages
return ((index + 1) << 16) + 1;