mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Fix typo
This commit is contained in:
@@ -86,7 +86,7 @@ public abstract class C2DMBaseReceiver extends IntentService {
|
|||||||
/**
|
/**
|
||||||
* Called when a registration token has been received.
|
* Called when a registration token has been received.
|
||||||
*/
|
*/
|
||||||
public void onRegistrered(Context context, String registrationId) throws IOException {
|
public void onRegistered(Context context, String registrationId) throws IOException {
|
||||||
// registrationId will also be saved
|
// registrationId will also be saved
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -185,7 +185,7 @@ public abstract class C2DMBaseReceiver extends IntentService {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
onRegistrered(context, registrationId);
|
onRegistered(context, registrationId);
|
||||||
C2DMessaging.setRegistrationId(context, registrationId);
|
C2DMessaging.setRegistrationId(context, registrationId);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
Log.e(TAG, "Registration error " + ex.getMessage());
|
Log.e(TAG, "Registration error " + ex.getMessage());
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class C2DMReceiver extends C2DMBaseReceiver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRegistrered(Context context, String registration) {
|
public void onRegistered(Context context, String registration) {
|
||||||
DeviceRegistrar.registerWithServer(context, registration);
|
DeviceRegistrar.registerWithServer(context, registration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user