Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61da879b authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge \\"Added a getPrimaryStorageSize() method.\\" into nyc-mr1-dev am: ba367646

am: 02e2d72d

Change-Id: I71a1554683697b5b6dde0c47bc2a4464b56b691b
parents 5403ed32 02e2d72d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -118,6 +118,10 @@ public class StorageManager {
    public static final int FLAG_INCLUDE_INVISIBLE = 1 << 10;

    private static volatile IMountService sMountService = null;
    private static final String INTERNAL_STORAGE_SIZE_PATH =
            "/sys/block/mmcblk0/size";
    private static final String INTERNAL_STORAGE_SECTOR_SIZE =
            "/sys/block/mmcblk0/queue/hw_sector_size";

    private static final String INTERNAL_STORAGE_SIZE_PATH =
            "/sys/block/mmcblk0/size";