summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
diff options
context:
space:
mode:
authorHelena Josol <helenajosol@google.com>2014-10-16 16:51:42 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-16 16:51:43 +0000
commitd37a1f5abec5a442508d850a0e26c96ece225f91 (patch)
tree9caeb86576b20f83e43e2d550c943e10cfeb651e /src/com/android/launcher3/Launcher.java
parent34899b9c1a65827ab510d6c6c2e3dd84a824b472 (diff)
parent28db280b7af14614f2b168ea8c5d496cda650321 (diff)
downloadandroid_packages_apps_Trebuchet-d37a1f5abec5a442508d850a0e26c96ece225f91.tar.gz
android_packages_apps_Trebuchet-d37a1f5abec5a442508d850a0e26c96ece225f91.tar.bz2
android_packages_apps_Trebuchet-d37a1f5abec5a442508d850a0e26c96ece225f91.zip
Merge "Add more Launcher files to delete on Clear Launcher Data" into ub-now-queens
Diffstat (limited to 'src/com/android/launcher3/Launcher.java')
-rw-r--r--src/com/android/launcher3/Launcher.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 2c495d6b4..d5cb55b03 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -648,7 +648,7 @@ public class Launcher extends Activity
private static void readConfiguration(Context context, LocaleConfiguration configuration) {
DataInputStream in = null;
try {
- in = new DataInputStream(context.openFileInput(LauncherFiles.LAUNCHER_PREFS));
+ in = new DataInputStream(context.openFileInput(LauncherFiles.LAUNCHER_PREFERENCES));
configuration.locale = in.readUTF();
configuration.mcc = in.readInt();
configuration.mnc = in.readInt();
@@ -671,7 +671,7 @@ public class Launcher extends Activity
DataOutputStream out = null;
try {
out = new DataOutputStream(context.openFileOutput(
- LauncherFiles.LAUNCHER_PREFS, MODE_PRIVATE));
+ LauncherFiles.LAUNCHER_PREFERENCES, MODE_PRIVATE));
out.writeUTF(configuration.locale);
out.writeInt(configuration.mcc);
out.writeInt(configuration.mnc);
@@ -680,7 +680,7 @@ public class Launcher extends Activity
// Ignore
} catch (IOException e) {
//noinspection ResultOfMethodCallIgnored
- context.getFileStreamPath(LauncherFiles.LAUNCHER_PREFS).delete();
+ context.getFileStreamPath(LauncherFiles.LAUNCHER_PREFERENCES).delete();
} finally {
if (out != null) {
try {