summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-12-04 14:17:40 +0000
committerAbhijeet Kaur <abkaur@google.com>2019-12-04 14:17:40 +0000
commit10c5655ea3a75513286c6bfc2bba388742b01855 (patch)
treeceb8864a1ae287e35edb9dd9fb902b289990a65f /tools/aapt2/java/JavaClassGenerator.cpp
parentb984771e9967eea293272bd023ed48931466150c (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions