Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.99k stars 582 forks source link

Default launcher setting is lost after a short time #2156

Open leem53 opened 1 year ago

leem53 commented 1 year ago

Describe the bug Since the last update KISS my phone keeps asking me every few hours to select the default home app and offers KISS launcher as well as fr.neamar.kiss.DummyAct. The choice is only kept for a short time.

To Reproduce Since I don´t know what leads to the issue, I don´t know how to reproduce it but this is what happens:

  1. Go to home, android asks to select home app
  2. Select 'Remember my choice'
  3. Select 'KISS launcher'
  4. Use phone for some hours
  5. Back to 1

Expected behavior The default launcher should be kept and fr.neamar.kiss.DummyAct should not be included in the selection.

Screenshots Screenshot_2023-09-16-09-38-29-442-edit_android

Additional information

marunjar commented 1 year ago

This selection is pointing to some crash of KISS.

Do you have an option to get some logs through adb or when running https://f-droid.org/de/packages/taco.scoop/ https://f-droid.org/de/packages/com.dp.logcatapp/ or something similar?

Without detailed logs i think we cannot do anything here.

Livio78 commented 1 year ago

Hi leem53, how do you have Kiss Launcher 3.20.1 when the latest version of Kiss launcher is 3.20.0? Thanks, if it exists could you post it on Github?

licaon-kter commented 1 year ago

@Livio78 maybe they built it by themselves https://github.com/Neamar/KISS/releases/tag/v3.20.1

F-Droid will build it in the next cycle.

/LE:says Play so must be Play Beta releases

leem53 commented 1 year ago

@Livio78 maybe they built it by themselves https://github.com/Neamar/KISS/releases/tag/v3.20.1

F-Droid will build it in the next cycle.

/LE:says Play so must be Play Beta releases

Yes, it's the beta release from the play store

This selection is pointing to some crash of KISS.

Do you have an option to get some logs through adb or when running https://f-droid.org/de/packages/taco.scoop/ https://f-droid.org/de/packages/com.dp.logcatapp/ or something similar?

Without detailed logs i think we cannot do anything here.

Thank you for the fast reply. I've tried checking the logs but I'm not sure what I'm looking for. There are not that many errors, I found these for the last three days:

09-16 09:25:03.333 30581 21661 E AndroidRuntime: Process: fr.neamar.kiss, PID: 30581
09-16 09:25:03.333 30581 21661 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-16 09:25:03.333 30581 21661 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-16 09:25:03.333 30581 21661 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-16 09:25:03.333 30581 21661 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-16 09:25:03.337 30581 22234 E AndroidRuntime: Process: fr.neamar.kiss, PID: 30581
09-16 09:25:03.337 30581 22234 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-16 09:25:03.337 30581 22234 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-16 09:25:03.337 30581 22234 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-16 09:25:03.337 30581 22234 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-16 09:25:03.348 30581 22213 E AndroidRuntime: Process: fr.neamar.kiss, PID: 30581
09-16 09:25:03.348 30581 22213 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-16 09:25:03.348 30581 22213 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-16 09:25:03.348 30581 22213 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-16 09:25:03.348 30581 22213 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-16 10:19:53.946  5526 20386 E AndroidRuntime: Process: fr.neamar.kiss, PID: 5526
09-16 10:19:53.946  5526 20386 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-16 10:19:53.946  5526 20386 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-16 10:19:53.946  5526 20386 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-16 10:19:53.946  5526 20386 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-16 23:04:17.561 20452 20754 E AndroidRuntime: Process: fr.neamar.kiss, PID: 20452
09-16 23:04:17.561 20452 20754 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-16 23:04:17.561 20452 20754 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-16 23:04:17.561 20452 20754 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-16 23:04:17.561 20452 20754 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-17 23:12:44.536   992 20156 E AndroidRuntime: Process: fr.neamar.kiss, PID: 992
09-17 23:12:44.536   992 20156 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-17 23:12:44.536   992 20156 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-17 23:12:44.536   992 20156 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-17 23:12:44.536   992 20156 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-17 23:12:44.536   992 20158 E AndroidRuntime: Process: fr.neamar.kiss, PID: 992
09-17 23:12:44.536   992 20158 E AndroidRuntime:        at fr.neamar.kiss.DataHandler$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:2)
09-17 23:12:44.536   992 20158 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult.getDrawable(ShortcutsResult.java:35)
09-17 23:12:44.536   992 20158 E AndroidRuntime:        at fr.neamar.kiss.result.ShortcutsResult$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:169)
09-17 23:12:44.536   992 20158 E AndroidRuntime:        at fr.neamar.kiss.utils.Utilities$AsyncRun.doInBackground(Utilities.java:5)
09-18 00:01:57.861  1941  1941 E AppWidgetServiceImpl: Widget host dead: HostId{user:0, app:10271, hostId:442, pkg:fr.neamar.kiss}
09-18 12:29:41.586  3530  3559 E OverviewComponentObserver: updateOverviewTargets: defaultHome=ComponentInfo{fr.neamar.kiss/fr.neamar.kiss.MainActivity}
09-18 12:31:02.965  3530  3559 E OverviewComponentObserver: updateOverviewTargets: defaultHome=ComponentInfo{fr.neamar.kiss/fr.neamar.kiss.MainActivity}
09-18 12:35:26.756 11738 11738 E Finsky  : [2] qxb.ad(24): Empty ad click URL for itemId: fr.neamar.kiss
licaon-kter commented 1 year ago

I've seen a rather logical behaviour on some OEM ROMs, basically it sees it crash and for your protection it tries to offer you a way out so you don't end up in a launcher-less state or in a crash loop.

Not a bad idea

Now, are those crashes bad? Can they be made Warnings or some safer thing?

marunjar commented 1 year ago

This looks similar to #2158, but I'm not entirely sure since a lot of information seems to be missing in these errors.

I was hoping to find some stack traces to identify some line of code where actual crash occurs.