summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian DC <radian.dc@gmail.com>2017-12-06 19:53:42 (GMT)
committerBruno Martins <bgcngm@gmail.com>2019-10-20 13:00:37 (GMT)
commitf1341548f60e120194412576ee4f7c7714c2f2a1 (patch)
tree171deb774b34bdf68a41707c59321cf24fbdb54e
parent2c8118585a5e5dacfbce8726ad5389af354fa4e8 (diff)
downloadandroid_packages_apps_Trebuchet-f1341548f60e120194412576ee4f7c7714c2f2a1.zip
android_packages_apps_Trebuchet-f1341548f60e120194412576ee4f7c7714c2f2a1.tar.gz
android_packages_apps_Trebuchet-f1341548f60e120194412576ee4f7c7714c2f2a1.tar.bz2
Provider: Initialize createEmptyRowOnFirstScreen without QSB
Change-Id: Ib29b20b051b8fe976f20e92b141c373c8f0cfae3
-rw-r--r--src/com/android/launcher3/provider/ImportDataTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/provider/ImportDataTask.java b/src/com/android/launcher3/provider/ImportDataTask.java
index 7b62f53..5fef673 100644
--- a/src/com/android/launcher3/provider/ImportDataTask.java
+++ b/src/com/android/launcher3/provider/ImportDataTask.java
@@ -103,7 +103,7 @@ public class ImportDataTask {
String profileId = Long.toString(UserManagerCompat.getInstance(mContext)
.getSerialNumberForUser(Process.myUserHandle()));
- boolean createEmptyRowOnFirstScreen;
+ boolean createEmptyRowOnFirstScreen = false;
if (FeatureFlags.QSB_ON_FIRST_SCREEN) {
try (Cursor c = mContext.getContentResolver().query(mOtherFavoritesUri, null,
// get items on the first row of the first screen (min screen id)