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

Freeze during onDemand Internrt:inet #1429

Closed
an0n981 opened this issue Feb 22, 2014 · 9 comments
Closed

Freeze during onDemand Internrt:inet #1429

an0n981 opened this issue Feb 22, 2014 · 9 comments
Labels

Comments

@an0n981
Copy link
Contributor

an0n981 commented Feb 22, 2014

With the upcoming removal of socket, I have moved my onDemand popup for Internet access to Internet:inet. This way each time an app is launched I have to allow access. Since all my apps are greenified when the screen goes off, this is every time I open an app. When using this setup and checking once for 15 seconds the phone freezes for around 30-40 seconds 3 out of 4 times upon pressing the allow button, the other 25 % percent of the time the app opens immediately.

@an0n981
Copy link
Contributor Author

an0n981 commented Feb 22, 2014

Edit: tapping allow repeatedly opens the app much fast

@M66B
Copy link
Owner

M66B commented Feb 23, 2014

I cannot reproduce this issue. Maybe it is an interaction with Greenify. Can you try again with Greenify disabled?

@M66B M66B added the question label Feb 23, 2014
@an0n981
Copy link
Contributor Author

an0n981 commented Feb 23, 2014

Enabling/Disabling Greenify does not affect it. I have however narrowed it down to only happening when onDemand is also selected for functions in the storage category

@M66B
Copy link
Owner

M66B commented Feb 23, 2014

The on demand dialog is generic code, so all categories and functions are treated equally.

@an0n981
Copy link
Contributor Author

an0n981 commented Feb 23, 2014

Attached are my setting for Tapatalk Pro. Please try these settings once. When the onDemand popup for inet comes check once for 15 seconds then allow

@an0n981
Copy link
Contributor Author

an0n981 commented Feb 23, 2014

@M66B
Copy link
Owner

M66B commented Feb 23, 2014

I still can't reproduce it.

Allowing/denying once it the simplest case, since it only updates a cache and return the selected result to the client:
https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/PrivacyService.java#L1502

I don't think XPrivacy is causing this.

@M66B M66B closed this as completed Feb 23, 2014
@an0n981
Copy link
Contributor Author

an0n981 commented Feb 23, 2014

This issue has been fixed in the newest test. Maybe it was caused by usage being in the same db. Especially since it only happened when 2 onDemand were checked that have no usage data

@M66B
Copy link
Owner

M66B commented Feb 23, 2014

Good!

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