diff options
author | Scott Kennedy <skennedy@google.com> | 2012-12-05 11:11:32 -0800 |
---|---|---|
committer | Scott Kennedy <skennedy@google.com> | 2013-02-07 18:15:37 -0800 |
commit | d5edd2d02649dffb40065fdb6a16acf91552b800 (patch) | |
tree | d82dd21977830000c763035032adb868b1ba1b8c /unified_src | |
parent | 5d5002d9e8f5b424299a46088688ac662b5e1003 (diff) | |
download | android_packages_apps_UnifiedEmail-d5edd2d02649dffb40065fdb6a16acf91552b800.tar.gz android_packages_apps_UnifiedEmail-d5edd2d02649dffb40065fdb6a16acf91552b800.tar.bz2 android_packages_apps_UnifiedEmail-d5edd2d02649dffb40065fdb6a16acf91552b800.zip |
Move notifications to UnifiedEmail
This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.
It also requires some preferences to be moved into UnifiedEmail.
Depends on I71802444add85dc01f6645906a629ff80b964222 (UnifiedGmail)
Depends on Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2 (Email)
Change-Id: Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d
Diffstat (limited to 'unified_src')
-rw-r--r-- | unified_src/com/android/mail/preferences/PreferenceMigrator.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/unified_src/com/android/mail/preferences/PreferenceMigrator.java b/unified_src/com/android/mail/preferences/PreferenceMigrator.java new file mode 100644 index 000000000..ea7dd9761 --- /dev/null +++ b/unified_src/com/android/mail/preferences/PreferenceMigrator.java @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2012 Google Inc. + * Licensed to The Android Open Source Project. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.android.mail.preferences; + +import android.content.Context; + +/** + * Basic {@link BasePreferenceMigrator} implementation. Projects that extend UnifiedEmail need a + * class with the same name and package that actually performs migration (if necessary). + */ +public class PreferenceMigrator extends BasePreferenceMigrator { + @Override + protected void migrate(final Context context, final int oldVersion, final int newVersion) { + // Nothing required here. + } +} |