Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0160e156 authored by Benjamin Miller's avatar Benjamin Miller
Browse files

Docs: fixed example in SharedPreferencesBackupHelper

Test: make ds-docs and manual inspection of generated HTML
Bug: 111822295
Change-Id: I415b891ca684684eb88e2ab42ca06460022f0e42
parent a093fb5d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ import java.io.File;
 *     // identify the SharedPreferenceBackupHelper's data.
 *     static final String MY_PREFS_BACKUP_KEY = "myprefs";
 *
 *     // Simply allocate a helper and install it
 *     void onCreate() {
 *     // Allocate a helper and install it.
 *     public void onCreate() {
 *         SharedPreferencesBackupHelper helper =
 *                 new SharedPreferencesBackupHelper(this, PREFS_DISPLAY, PREFS_SCORES);
 *         addHelper(MY_PREFS_BACKUP_KEY, helper);