Permalink
Browse files

Settings: enable fast scroll for all app list views

Why? - Why not?

Change-Id: Id67fa3e331aa7986f4a83eaaee39dc782a28e020
  • Loading branch information...
maxwen authored and akhilnarang committed May 27, 2017
1 parent 2ae7f2d commit 01abb011458694fd513e683d0f3ae1682323716d
@@ -53,7 +53,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/no_applications"
android:textAppearance="?android:attr/textAppearanceLarge" />
android:textAppearance="?android:attr/textAppearanceMedium" />
</FrameLayout>
@@ -413,7 +413,7 @@ private boolean isFastScrollEnabled() {
case LIST_TYPE_STORAGE:
return mSortOrder == R.id.sort_order_alpha;
default:
return false;
return true;
}
}
@@ -1035,7 +1035,7 @@ public void onRebuildComplete(ArrayList<AppEntry> entries) {
}
private void rebuildSections() {
if (mEntries!= null && mManageApplications.mListView.isFastScrollEnabled()) {
if (mEntries!= null && mManageApplications.isFastScrollEnabled()) {
// Rebuild sections
if (mIndex == null) {
LocaleList locales = mContext.getResources().getConfiguration().getLocales();

0 comments on commit 01abb01

Please sign in to comment.