diff options
| author | Luan Nguyen <luann@google.com> | 2015-02-13 00:15:09 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2015-02-13 00:15:09 +0000 |
| commit | 71cf2b6d5344a45413f0c77691d7e1efb18b398f (patch) | |
| tree | 94dd38e2431391760e014b7783e9e845f938b87d /docs/html/guide/topics | |
| parent | b14aec1b954f6fea5fc3ead9a289c8896f372096 (diff) | |
| parent | e0306bbece4fd32d1e2f837dc515506180e04e8e (diff) | |
| download | frameworks_base-71cf2b6d5344a45413f0c77691d7e1efb18b398f.zip frameworks_base-71cf2b6d5344a45413f0c77691d7e1efb18b398f.tar.gz frameworks_base-71cf2b6d5344a45413f0c77691d7e1efb18b398f.tar.bz2 | |
am e726495a: am fe5e7e92: Merge "docs: Fix issue with onCreate() method declaration in file backup section" into lmp-docs
automerge: e0306bb
* commit 'e0306bbece4fd32d1e2f837dc515506180e04e8e':
docs: Fix issue with onCreate() method declaration in file backup section
Diffstat (limited to 'docs/html/guide/topics')
| -rw-r--r-- | docs/html/guide/topics/data/backup.jd | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index f09ff9e..5710a47 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -643,7 +643,8 @@ public class MyPrefsBackupAgent extends BackupAgentHelper { // Allocate a helper and add it to the backup agent @Override public void onCreate() { - SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, PREFS); + SharedPreferencesBackupHelper helper = + new SharedPreferencesBackupHelper(this, PREFS); addHelper(PREFS_BACKUP_KEY, helper); } } @@ -688,8 +689,10 @@ public class MyFileBackupAgent extends BackupAgentHelper { static final String FILES_BACKUP_KEY = "myfiles"; // Allocate a helper and add it to the backup agent - void onCreate() { - FileBackupHelper helper = new FileBackupHelper(this, TOP_SCORES, PLAYER_STATS); + @Override + public void onCreate() { + FileBackupHelper helper = new FileBackupHelper(this, + TOP_SCORES, PLAYER_STATS); addHelper(FILES_BACKUP_KEY, helper); } } |
