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

How does this work? #3

Closed
mueller-ma opened this issue Apr 12, 2017 · 6 comments
Closed

How does this work? #3

mueller-ma opened this issue Apr 12, 2017 · 6 comments

Comments

@mueller-ma
Copy link

Hi,

I have created a profile with bluetooth on and maximum brightness. Then I created an event, selected the profilem checked the clock button and entered a time. When this time has come, nothing happend. Outline was running. Did I miss something?

@renyuneyun
Copy link
Owner

renyuneyun commented Apr 12, 2017

Sorry for the inconvenience and ambiguity.
Easer uses the Android system-level notification mechanism to listen for time events, and that mechanism is said to be usually inexact (for battery concern). Therefore, the event will be triggered shortly after that time - the greatest latent I observed is 3 minutes.

I should really notify users about this, maybe in a future version or in the README file.

By the way, each "event" takes exactly one item (either data, time, location or so). Don't be misguided by the checkboxs (they are remnants of the previous framework of Easer, and that will be solved in the near future).

The next version will include a display in the outline page to show what, when and why the last profile is loaded, which may be useful to address issues of delay / latency.

@mueller-ma
Copy link
Author

mueller-ma commented Apr 12, 2017

Do I have to restart the app under "Outline"? Or press the FAB?

Edit: for an unknown reason one event fails to save (I cannot even remove it) and the app crashes when unlocking my device

@renyuneyun
Copy link
Owner

Hmm, it shouldn't crash... Anyway, I'll stop Easer from saving incorrect events and/or profiles in the near future. (Actually, I thought this function should already be there...)
For now, if you can use adb shell (or any adb GUI tools, or you have root privilege), you can navigate to /data/data/ryey.easer/event/ and remove the incorrect one; or you could remove all data by using 'clear data' (from system-level app settings).

What does you mean by saying "have to restart"? The FAB means "reload" all profiles and events, though it doesn't seem to be needed at all; to restart the service, you could only stop then start. There is nothing other than UI and the only service, so you can safely terminate the app by any ways you like.

@renyuneyun
Copy link
Owner

20b9868 (v0.2.5.1) should have solved this problem (which checks the validity of the new event and profile).
0aad57a (v0.2.5.2) will remove your accidentally saved broken events / profiles when saving a new one with the same name.

I'll leave this issue open for now, until you have the chance to try the new version (after f-droid has them in repo).

@renyuneyun
Copy link
Owner

Hi!
Is this solved?

@mueller-ma
Copy link
Author

Yes

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