Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Export via tasker results in black screen during the export #1211

Closed
jpeg729 opened this issue Jan 31, 2014 · 4 comments
Closed

Export via tasker results in black screen during the export #1211

jpeg729 opened this issue Jan 31, 2014 · 4 comments
Labels

Comments

@jpeg729
Copy link
Contributor

jpeg729 commented Jan 31, 2014

Starting export via

adb shell am start -a biz.bokhorst.xprivacy.action.EXPORT

results in the screen going black except for the status bar (and probably the navbar - but I don't have one).

The code sets the theme to NoDisplay but that only works if it is set in the manifest, and if it is set in the manifest, you can't choose to display a ui in the code.

The only solution that I can see is to move the exportTask to a separate service and call it from ActivityShare.

@M66B
Copy link
Owner

M66B commented Jan 31, 2014

Maybe this works instead of NoDisplay: Theme.Translucent.NoTitleBar

@M66B
Copy link
Owner

M66B commented Jan 31, 2014

@jpeg729
Copy link
Contributor Author

jpeg729 commented Jan 31, 2014

Theme.Translucent.NoTitleBar is what we used to have before I started helping out. I think it is one of the first things I changed, because it was blocking input, the main list was still visible during the operation, but not responding to input.

The other example seems pretty similar.

@M66B
Copy link
Owner

M66B commented Jan 31, 2014

I agree that the only structural solution is to make an intent service for this.

@M66B M66B closed this as completed Jan 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants