Changes for supporting UICC feature

start fuse service for uicc storage and add storage volumes in
storage xml list to let it handled by MountService

Creating new directory "uicc1" under /storage where the fuse emulated
partition gets mounted

Change-Id: I7354d9806ebf38bd13d41e59bc342a387d5dac14
This commit is contained in:
Uday Kiran jandhyala 2014-09-04 11:58:05 +05:30
parent 355418552a
commit 3a61b7e9e6
2 changed files with 6 additions and 2 deletions

View File

@ -48,7 +48,7 @@
android:emulated="false"
android:removable="true"
android:allowMassStorage="true" />
<!--storage android:mountPoint="/storage/uicc0"
<storage android:mountPoint="/storage/uicc0"
android:storageDescription="@string/storage_uicc"
android:primary="false"
android:emulated="false"
@ -59,7 +59,7 @@
android:primary="false"
android:emulated="false"
android:removable="true"
android:allowMassStorage="false" /-->
android:allowMassStorage="false" />
<storage android:mountPoint="/storage/usbotg"
android:storageDescription="@string/storage_usb"
android:primary="false"

View File

@ -45,6 +45,7 @@ on init
mkdir /mnt/media_rw/uicc1 0700 media_rw media_rw
mkdir /storage/sdcard1 0700 root root
mkdir /storage/uicc0 0700 root root
mkdir /storage/uicc1 0700 root root
mkdir /storage/usbotg 0700 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
@ -751,6 +752,9 @@ service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1
service fuse_uicc0 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/uicc0 /storage/uicc0
class late_start
service fuse_uicc1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/uicc1 /storage/uicc1
class late_start
service fuse_usbotg /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/usbotg /storage/usbotg
class late_start