summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-12-10 20:43:40 -0800
committerDavid Anderson <dvander@google.com>2019-12-12 14:13:39 -0800
commita3bf8478a3b40a7a205c829162102bc3dffd4428 (patch)
tree366e6a850772276882edea341721d28703af4822 /debuggerd/handler/debuggerd_handler.cpp
parent40a8b07e4dd786a445648deded7a4ecac5acc81e (diff)
remount: Do not run the create-scratch logic on older devices.
The prologue of fs_mgr_overlayfs_create_scratch() will implicitly succeed on physical block devices, and implicitly fail if for some reason they can't be accessed. This patch makes the success and failure cases explicit. The logic specific to DAP has been moved to CreateDynamicScratch. fs_mgr_overlayfs_create_scratch now calls GetScratchStrategy, and only calls CreateDynamicScratch for DAP-launch devices. In the case a physical block device can be used, no action is taken. Bug: 134949511 Test: adb remount and adb_remount_test.sh Change-Id: I0af7cda9bc551416c9e2ffca5a36305f89d3bf46
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions