X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosdroid%2Fsrc%2Forg%2Faltusmetrum%2FAltosDroid%2FTelemetryService.java;h=a1c5fede10b668c395ebd1d90e6c46418432c02f;hb=24503eb330bf887f5c76afe2aaa9c9f2ce177460;hp=a4e85ad07294c1b2687d828da66e59ade1b6a17a;hpb=7aab6e6b6e361455a7515fe6db7b0e9a6e4c786c;p=fw%2Faltos diff --git a/altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java b/altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java index a4e85ad0..a1c5fede 100644 --- a/altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java +++ b/altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java @@ -51,13 +51,13 @@ public class TelemetryService extends Service { private NotificationManager mNM; @Override - public void onCreate() { + public void onCreate() { // Create a reference to the NotificationManager so that we can update our notifcation text later mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); } @Override - public int onStartCommand(Intent intent, int flags, int startId) { + public int onStartCommand(Intent intent, int flags, int startId) { Log.i("TelemetryService", "Received start id " + startId + ": " + intent); CharSequence text = getText(R.string.telemetry_service_started); @@ -84,7 +84,7 @@ public class TelemetryService extends Service { } @Override - public void onDestroy() { + public void onDestroy() { // Demote us from the foreground, and cancel the persistent notification. @@ -95,7 +95,7 @@ public class TelemetryService extends Service { } @Override - public IBinder onBind(Intent intent) { + public IBinder onBind(Intent intent) { return mBinder; }