I have a service that is running in the same process.
<service
android:name=".service.GlassService"
android:exported="true"
android:label="@string/app_name" />
I start the service using startService().
startService(new Intent(this, GlassService.class));
When I swipe down and exit the application, service lives on. When I kill it from DDMS, service is restarted, calling service with START_STICKY
nor START_NOT_STICKY
don't make a difference.
The only way I can stop service is when I explicitly call stopService() or stopItself() or omitting startService().
This is not the case on other android devices. Is this behavior typical for Google Glass ?