-
Notifications
You must be signed in to change notification settings - Fork 296
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
Overlays Tab #1508
base: master
Are you sure you want to change the base?
Overlays Tab #1508
Conversation
Signed-off-by: Theray Tharow <[email protected]>
How does with AM, load a SystemService Interface for use as it will be the best way to interact with overlays Signed-off-by: Theray Tharow <[email protected]>
@MuntashirAkon I can't seem to get the AppDetailsOverlayFragment to find the overlayInfos that i loaded into the veiwModel. Any suggestions?, |
I need to take a look at your code which I cannot right now as I'm quite busy with work.
You can add IOverlayManager interface in the hiddenapi library (watch out for any API changes for each Android release), and then load it through ProxyBinder#getService(). You can find plenty of examples in the *Compat classes. |
for (OverlayInfo o : overlays) { | ||
overlayItems.add(new AppDetailsOverlayItem(o)); | ||
} | ||
mOverlays.postValue(overlayItems); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possibly throwing an error before reaching here. You can try catching exceptions here for testing.
Add Basic Support for an Overlays tab that shows available/enabled/disabled overlays that can effect the current app in should hide tab in older devices as Overlays are newer then the min api AM supports
There be many issues at the moment any help would be appreciated.
At the current moment I can't seem to get the AppDetailsOverlayFragment to load the data required to show the items in the tab tho i may be missing something.
Further work on PackageInstaller replacement is on going, but slow. I need a much better understanding on how the rest of AM works before that project can be completed as it needs to integrate into systems to which i do not even know of. nor can seem to find.