Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1341548 authored by Adrian DC's avatar Adrian DC Committed by Bruno Martins
Browse files

Provider: Initialize createEmptyRowOnFirstScreen without QSB

Change-Id: Ib29b20b051b8fe976f20e92b141c373c8f0cfae3
parent 2c811858
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -103,7 +103,7 @@ public class ImportDataTask {
        String profileId = Long.toString(UserManagerCompat.getInstance(mContext)
        String profileId = Long.toString(UserManagerCompat.getInstance(mContext)
                .getSerialNumberForUser(Process.myUserHandle()));
                .getSerialNumberForUser(Process.myUserHandle()));


        boolean createEmptyRowOnFirstScreen;
        boolean createEmptyRowOnFirstScreen = false;
        if (FeatureFlags.QSB_ON_FIRST_SCREEN) {
        if (FeatureFlags.QSB_ON_FIRST_SCREEN) {
            try (Cursor c = mContext.getContentResolver().query(mOtherFavoritesUri, null,
            try (Cursor c = mContext.getContentResolver().query(mOtherFavoritesUri, null,
                    // get items on the first row of the first screen (min screen id)
                    // get items on the first row of the first screen (min screen id)