[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #34268 [Circumvention/Snowflake]: Creating a service to do the work in the background and implementing a wakelock.
#34268: Creating a service to do the work in the background and implementing a
wakelock.
-----------------------------------------+--------------------
Reporter: HashikD | Owner: (none)
Type: task | Status: new
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------------------+--------------------
For the application to act as a proxy in the background we need to run it
as a service. In Android there are two types of services...
**Background service**: Counter-intuitively this is not what we are going
to use since the Android system will kill the service after the user
leaves the application.\\
----
**Foreground service**: This service requires us to run a notification
constantly. But this service will work even if the user leaves the
application.\\
**Problem**: Service gets killed if the screen is turned off.\\
**Solution**: Implementing Android's Wakelock feature so that the Android
system will not kill our service.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34268>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs