mirror of
https://github.com/markqvist/Sideband.git
synced 2025-05-06 00:14:56 -04:00
Start service on Android
This commit is contained in:
parent
536c77396f
commit
f8f058687e
2 changed files with 3 additions and 8 deletions
|
@ -150,13 +150,6 @@ public class PythonService extends Service implements Runnable {
|
|||
// builder.setSmallIcon(context.getApplicationInfo().icon);
|
||||
builder.setSmallIcon(service_icon);
|
||||
notification = builder.build();
|
||||
|
||||
// Log.v("python service", "Testing WM locks...");
|
||||
// WifiManager wm = (WifiManager) getSystemService(Context.WIFI_SERVICE);
|
||||
// MulticastLock ml = wm.createMulticastLock("sometag");
|
||||
// Log.v("python service", "WM locks done");
|
||||
|
||||
|
||||
}
|
||||
startForeground(getServiceId(), notification);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue