summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUmair Khan <omerjerk@gmail.com>2015-05-24 19:17:46 (GMT)
committerRajesh Yengisetty <rajesh@cyngn.com>2015-05-24 19:37:41 (GMT)
commitbbf808d921e01df02c273260a3e2ed67fa34551c (patch)
tree6a2f9f9ace84f18d47901e0c71c10a36288707d8
parent23102ccb5ebc36d58e0427bb224f158a7cdd1283 (diff)
downloadandroid_packages_apps_Trebuchet-bbf808d921e01df02c273260a3e2ed67fa34551c.zip
android_packages_apps_Trebuchet-bbf808d921e01df02c273260a3e2ed67fa34551c.tar.gz
android_packages_apps_Trebuchet-bbf808d921e01df02c273260a3e2ed67fa34551c.tar.bz2
Trebuchet : Activate the default homepage selection button on first run
As of now, when the Trebuchet is started for the first time, the set default homepage button is not activated on any of the screens. Activating it for the first time on default home screen makes more sense. Change-Id: Ia1b7272e177707616902d20ce90ff6ba293576b4 Signed-off-by: Umair Khan <omerjerk@gmail.com> (cherry picked from commit d15317d138a4f2c60c8cc80b60ada65c983549f9)
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 093619b..6f94445 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -367,7 +367,7 @@ public class Workspace extends SmoothPagedView
mCameraDistance = res.getInteger(R.integer.config_cameraDistance);
mOriginalDefaultPage = mDefaultPage = a.getInt(R.styleable.Workspace_defaultScreen, 1);
mDefaultScreenId = SettingsProvider.getLongCustomDefault(context,
- SettingsProvider.SETTINGS_UI_HOMESCREEN_DEFAULT_SCREEN_ID, -1);
+ SettingsProvider.SETTINGS_UI_HOMESCREEN_DEFAULT_SCREEN_ID, 1);
a.recycle();
setOnHierarchyChangeListener(this);