Skip to content
Commit 62c0cec8 authored by Ruslan Tkhakokhov's avatar Ruslan Tkhakokhov
Browse files

Skip restore of read-only directories

Currently trying to restore a read-only directory results in only the
directory being restored but not its contents. This causes problems for
some apps (see the associated bug). Skip restore of read-only directories
while we evaluate the priority of proper suport for this use case.

Bug: 194894879
Test: Manual:
        1. Populate a read-only directory in an app's folder
	(/data/user/0/<package-name>)
	2. Run backup for the app
	3. Clear app data (adb shell pm clear <package-name>
	4. Run restore for the app
	5. Inspect app folder to ensure all writable content is
	restored.
Change-Id: I644a5784fb42352ba28ac944d3aa3564b0215a78
parent 77d46742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment