Enable second reboot for FUSE sys prop change to take effect
Regression from http://ag/9759956. System properties change was as expected but the mounts (fuse vs sdcardfs) change was not as expected. Second reboot was failing as it was too early in the boot phase to reboot. Reboot can only be called after systemReady() phase, fix by calling reboot after bootCompleted() for the first reboot. Bug: 144419848 Test: Using adb command to change the fuse system property. * `adb shell setprop persist.sys.fflag.override.settings_fuse true && adb reboot` * After reboot run `adb shell getprop persist.sys.fuse` shows true * `adb shell ls /sdcard` should be accessible. * `adb shell cat /proc/mounts` should have `/dev/fuse/storage/emulated fuse` * Similarly for false case. `adb shell setprop persist.sys.fflag.override.settings_fuse false && adb reboot` * After reboot run `adb shell getprop persist.sys.fuse` shows false. * `adb shell ls /sdcard` should be accessible. * `adb shell cat /proc/mounts` should have `/data/media /storage/emulated sdcardfs`. Change-Id: I986fa1168b46091009a9dfe9fd04e0d0f5b6efa4
Loading
Please register or sign in to comment