MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.51k stars 86 forks source link

Setting app shortcut causing bootloop #1047

Open offbeat-stuff opened 3 months ago

offbeat-stuff commented 3 months ago

Description

So I set a shortcut for settings app in the favourites and now it crashes when the main launcher. It does not crash when a different launcher is set as Home app. As it crashes repeatedly (like a bootloop) I cannot set it as home app anymore.

Strack trace

java.lang.SecurityException: Cannot get shortcuts for unrelated profile 0
    at android.os.Parcel.createExceptionOrNull(Parcel.java:3028)
    at android.os.Parcel.createException(Parcel.java:3012)
    at android.os.Parcel.readException(Parcel.java:2995)
    at android.os.Parcel.readException(Parcel.java:2937)
    at android.content.pm.ILauncherApps$Stub$Proxy.getShortcuts(ILauncherApps.java:1104)
    at android.content.pm.LauncherApps.getShortcuts(LauncherApps.java:1228)
    at de.mm20.launcher2.appshortcuts.LauncherShortcutDeserializer.deserialize(AppShortcutSerialization.kt:146)
    at de.mm20.launcher2.searchable.SavableSearchableRepositoryImpl.access$fromDatabaseEntity(SavableSearchableRepository.kt:151)
    at de.mm20.launcher2.searchable.SavableSearchableRepositoryImpl$get$$inlined$map$1$2.emit(Emitters.kt:111)
    at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:5)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:17)
    at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:1)
    at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:128)
    at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt:12)
[14 lines truncated]

Device info

APP.VERSION : 1.33.0
APP.VERSIONCODE : 2024081700
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : com.saggitt.omega
TIMEZONE : Asia/Kolkata
VERSION.RELEASE : 13
VERSION.INCREMENTAL : a31c48-5b465e
VERSION.SDK.NUMBER : 33
BOARD : vicky
BOOTLOADER : MBM-3.1-vicky_g_vext-2404a-T2SVS33.68-21-10-6-a31c48
BRAND : motorola
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : T2SVS33.68-21-10-6
FINGERPRINT : motorola/vicky_g_sys/vicky:13/T2SVS33.68-21-10-6/a31c48-5b465e:user/release-keys
HARDWARE : mt6789
HOST : ilclbld198
ID : T2SVS33.68-21-10-6
MANUFACTURER : motorola
MODEL : moto g72
PRODUCT : vicky_g_sys
TAGS : release-keys
TIME : 1716801211000
TYPE : user