Skip to content

Commit

Permalink
Launcher2: disable the persistent quick search bar by default
Browse files Browse the repository at this point in the history
Change-Id: I431d4b213d8ea3e269f570db32c706f73207dc7b
  • Loading branch information
MongooseHelix committed Mar 30, 2012
1 parent f2402f0 commit f46bc4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/xml/preferences.xml
Expand Up @@ -24,7 +24,7 @@
<CheckBoxPreference android:key="ui_homescreen_general_search"
android:title="@string/preferences_interface_homescreen_general_search_title"
android:summary="@string/preferences_interface_homescreen_general_search_summary"
android:defaultValue="true" />
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>

Expand Down
Expand Up @@ -12,7 +12,7 @@ public static class Interface {
public static class Homescreen {
public static boolean getShowSearchBar(Context context) {
final SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_KEY, 0);
return preferences.getBoolean("ui_homescreen_general_search", true);
return preferences.getBoolean("ui_homescreen_general_search", false);
}
}

Expand Down

0 comments on commit f46bc4d

Please sign in to comment.