Skip to content

Commit cc6ed7b

Browse files
author
Christopher Tate
committed
Explicitly enable backup by default in SDK builds
This change parallels a frameworks/base change that makes the default backup state at boot "enabled, with LocalTransport as the currently active transport." Device vendors who wish to ship the Google backup transport need to explicitly disable backup by default (it is enabled when the user agrees to the opt-in disclosure). Change-Id: I6b0c5c059ef58effd5c121107ea3a5edd9e936cc
1 parent f0f2aba commit cc6ed7b

File tree

1 file changed

+3
-0
lines changed
  • sdk_overlay/frameworks/base/packages/SettingsProvider/res/values

1 file changed

+3
-0
lines changed

sdk_overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
*/
1818
-->
1919
<resources>
20+
<!-- The SDK builds do not talk to a remote backend, and enabling by
21+
default makes for the best developer experience. -->
22+
<bool name="def_backup_enabled">true</bool>
2023
<string name="def_backup_transport">android/com.android.internal.backup.LocalTransport</string>
2124
</resources>

0 commit comments

Comments
 (0)