summaryrefslogtreecommitdiff
path: root/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java
diff options
context:
space:
mode:
authorMegha Joshi <mjoshi@google.com>2010-08-13 10:57:39 -0700
committerMegha Joshi <mjoshi@google.com>2010-08-20 11:47:18 -0700
commitc51da235c20bab67ad1ef23884f36bb76740f3a0 (patch)
tree3c7c5747fc0f8f3eb59f939f5f87431075e4d959 /samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java
parent4779ab6f9aa4d6b691f051e069ffac31475f850a (diff)
Clean up sample code to look better.
Change-Id: I91bdfc7ce2d32f23dc7ce9a4276cba37d7fafc42
Diffstat (limited to 'samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java')
-rw-r--r--samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java b/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java
index b8a903ddb..2c163be66 100644
--- a/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java
+++ b/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticationService.java
@@ -13,7 +13,6 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-
package com.example.android.samplesync.authenticator;
import android.app.Service;
@@ -26,7 +25,9 @@ import android.util.Log;
* and returns its IBinder.
*/
public class AuthenticationService extends Service {
+
private static final String TAG = "AuthenticationService";
+
private Authenticator mAuthenticator;
@Override
@@ -47,9 +48,8 @@ public class AuthenticationService extends Service {
@Override
public IBinder onBind(Intent intent) {
if (Log.isLoggable(TAG, Log.VERBOSE)) {
- Log.v(TAG,
- "getBinder()... returning the AccountAuthenticator binder for intent "
- + intent);
+ Log.v(TAG, "getBinder()... returning the AccountAuthenticator binder for intent "
+ + intent);
}
return mAuthenticator.getIBinder();
}