Skip to content

TaskBar updates #986

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

Merged
merged 3 commits into from
Apr 3, 2025
Merged

TaskBar updates #986

merged 3 commits into from
Apr 3, 2025

Conversation

matejdro
Copy link
Contributor

@matejdro matejdro commented Mar 22, 2025

This PR adds 3 new functionalities to the Taskbar:

Option to also show Taskbar on the Home Screen

This is especially useful with the 3rd party launchers, where taskbar disappears on opening Launcher and does not reappear.

Option to keep "All apps" button when using PixelXpert recents

Currently, PixelXpert recents implementation removed those buttons. This adds a toggle that can bring them back.

I've noticed there was some similar code for this already in, but commented out. So I reused large chunk of it.

Option to enable native recents implementation in the Pixel Launcher

It seems like with recent updates, (I think 15 QPR1?), Pixel Launcher now has native recents functionality, but it is hidden. New toggle is added to enable it. To reduce confusion, I have renamed previous recents button to "PixelXpert recents".

@matejdro
Copy link
Contributor Author

matejdro commented Mar 22, 2025

Hm, I have noticed that taskbar on home screen option is not that reliable. I will try to make it better shortly, but I would appreciate any tips (I'm very new to this LSposed thing).

EDIT: This will take a bit longer than I expected as I have some other things to do first. If desired, I can remove that commit and merge other two in until then.

@siavash79 siavash79 merged commit e4c15f6 into siavash79:canary Apr 3, 2025
@siavash79
Copy link
Owner

Thanks

@siavash79
Copy link
Owner

one point though: StateControllerClass: when we hook to the method to set the result directly without caring about the current result (and if nothing special happens during the method run), we don't need to hook to "after" at all. we can hook to "before" instead and save the cpu some tiny run time

@matejdro matejdro deleted the updates_pr branch April 4, 2025 09:03
@matejdro
Copy link
Contributor Author

matejdro commented Apr 4, 2025

Thanks, will check this and fix in the next PR.

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

Successfully merging this pull request may close these issues.

3 participants