diff options
author | RGIB <gibellini.roberto@gmail.com> | 2015-11-10 23:30:28 +0100 |
---|---|---|
committer | Roberto Gibellini <gibellini.roberto@gmail.com> | 2015-11-10 15:21:32 -0800 |
commit | d7180da4d9d5a65339972f2fbba42ea2567f4290 (patch) | |
tree | 2e36e99b854abd428e4ba17a00734421c100db3a | |
parent | 1e502d4813b8c8d79e99c6a109b16c8cab7ba270 (diff) | |
download | device_samsung_n5110-d7180da4d9d5a65339972f2fbba42ea2567f4290.zip device_samsung_n5110-d7180da4d9d5a65339972f2fbba42ea2567f4290.tar.gz device_samsung_n5110-d7180da4d9d5a65339972f2fbba42ea2567f4290.tar.bz2 |
Fix Internal Storage [1/3]
Change-Id: I60cce0bbb3b3a3af17186f5cb97c7504864fab05
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 23 | ||||
-rwxr-xr-x | rootdir/init.smdk4x12.rc | 32 |
2 files changed, 31 insertions, 24 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 9fc6090..f75bfac 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -60,4 +60,27 @@ <item>9</item> </integer-array> + <!-- Control the behavior when the user long presses the home button. + 0 - Nothing + 1 - Menu key + 2 - Recent apps view in SystemUI + 3 - Launch assist intent + 4 - Voice Search + 5 - In-app Search + This needs to match the constants in + policy/src/com/android/internal/policy/impl/PhoneWindowManager.java + --> + <integer name="config_longPressOnHomeBehavior">2</integer> + + <!-- Control the behavior when the user double-taps the home button. + 0 - Nothing + 1 - Menu + 2 - Recent apps view in SystemUI + 3 - Launch assist intent + 4 - Voice Search + 5 - In-app Search + This needs to match the constants in + policy/src/com/android/internal/policy/impl/PhoneWindowManager.java + --> + <integer name="config_doubleTapOnHomeBehavior">2</integer> </resources> diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc index da79dd5..8760833 100755 --- a/rootdir/init.smdk4x12.rc +++ b/rootdir/init.smdk4x12.rc @@ -7,28 +7,12 @@ on init mkdir /mnt/shell/emulated 0700 shell shell mkdir /storage 0550 system sdcard_r mkdir /storage/emulated 0555 root root - mkdir /storage/sdcard0 0700 root root - mkdir /storage/sdcard1 0700 root root - mkdir /storage/usbdisk0 0700 root root - mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw - mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw - mkdir /mnt/media_rw/usbdisk0 0700 media_rw media_rw - - export EXTERNAL_STORAGE /storage/emulated/legacy - export SECONDARY_STORAGE /storage/sdcard1:/storage/usbdisk0 - export EMULATED_STORAGE_SOURCE /mnt/shell/emulated - export EMULATED_STORAGE_TARGET /storage/emulated - - # for backwards compatibility - symlink /storage/emulated/legacy /sdcard - symlink /storage/emulated/legacy /mnt/sdcard - symlink /storage/emulated/legacy /storage/sdcard0 - symlink /mnt/shell/emulated/0 /storage/emulated/legacy - symlink /storage/sdcard1 /extSdCard - symlink /storage/sdcard1 /mnt/extSdCard - symlink /storage/usbdisk0 /usbdisk0 - symlink /storage/usbdisk0 /mnt/usbdisk0 - + mkdir /storage/sdcard 0700 root root + mkdir /storage/sdcard 0700 root root + mkdir /storage/usb 0700 root root + mkdir /mnt/media_rw/sdcard 0700 media_rw media_rw + mkdir /mnt/media_rw/sdcard 0700 media_rw media_rw + mkdir /mnt/media_rw/usb 0700 media_rw media_rw mkdir /efs 0771 radio system mkdir /tombstones symlink /efs /factory @@ -506,11 +490,11 @@ service at_distributor /system/bin/at_distributor service sdcard /system/bin/sdcard -u 1023 -g 1023 /data/media /mnt/shell/emulated class late_start -service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard1 /storage/sdcard1 +service fuse_sdcard /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard /storage/sdcard class late_start disabled -service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk0 /storage/usbdisk0 +service fuse_usb /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usb /storage/usb class late_start disabled |