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

Commit 6cb29d35 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

feat: Use correct userid for user profiles

parent bdaaa678
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ import android.content.ComponentName
import android.content.ContentValues
import android.content.Context
import android.content.Intent
import android.os.UserHandle
import android.os.UserManager
import com.android.launcher3.InvariantDeviceProfile
import com.android.launcher3.LauncherProvider
@@ -303,7 +304,7 @@ object BlissDbUtils {
            put("itemType", ITEM_TYPE_APPLICATION)
            put("modified", System.currentTimeMillis())
            put("options", 0)
            put("profileId", 0)
            put("profileId", UserHandle.myUserId())
            put("rank", 0)
            put("restored", 0)
            put("screen", favorite.screen)