Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App list loading is slow on Redmi Note 10 Pro after kill and relaunch #439

Closed
deepaks2112 opened this issue Jan 7, 2024 · 2 comments
Closed

Comments

@deepaks2112
Copy link

Device: Redmi Note 10 Pro
MIUI: MIUI Global 14.0.1
Android: 13 TKQ1.221013.002

Current Behaviour:
When a lot of apps running simultaneously for a long time or I go to recent apps and clear all, then launch OLauncher and open app drawer very quickly, the app list is empty for 2-3 seconds. Video.

Expected Behaviour:
App list should not appear to be empty when OLauncher is killed and launched afresh and drawer is opened up.

Steps to reproduce:

  1. Open OLauncher
  2. Swipe up to open app drawer
  3. Ensure app list is loaded
  4. Go to recent apps
  5. Click on close all
  6. Reopen OLauncher
  7. Quickly open app drawer

@tanujnotes I was wondering if it is okay to persist the last fetched app list in shared preferences and use it as a cache while the app list gets populated asynchronously by the current implementation. I have coded a fix for it using shared prefs as a cache. I think MIUI is notorious and kills all background services including the default launcher.

@deepaks2112
Copy link
Author

I have 181 apps installed on my phone including system apps.

@tanujnotes
Copy link
Owner

We already use livedata which takes care of the caching for the most part.

@tanujnotes tanujnotes closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants