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

Notification dissappears #4

Open
mindcombatant opened this issue Nov 4, 2014 · 1 comment
Open

Notification dissappears #4

mindcombatant opened this issue Nov 4, 2014 · 1 comment

Comments

@mindcombatant
Copy link

The Notification dissapears almost immediatley after closing the app, and as a result, Android stops the app automatically later.

this occurs on a Nexus 7 older model, 32GB WiFi only, running Android 4.4.4, i do not know about other phones or tablets.

P.S. this app has great potential!

@mafik
Copy link
Owner

mafik commented Nov 4, 2014

Note to whoever wants to fix this:

This issue may be a result of a hack that removes notification:

  1. SaidItService registers as a foreground service and puts up a notification.
  2. Then it calls to FakeService which registers itself as a foreground service and puts up a notification with the same id (so only one notification is visible for the two services).
  3. Then FakeService closes itself and removes notification - leaving SaidItService running in the background without notification.

Removing code responsible for starting FakeService could fix the issue but would also add an ugly notification - which other users probably wouldn't want. I see two options:

  1. Go with the persistent notification - maybe find a reasonable use for it - starting and stopping recording would be nice.
  2. Find another hack to hide the notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants