This commit is contained in:
costin
2010-12-08 23:47:33 +00:00
parent 6aff08cddc
commit 5e7fa73be0
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ public abstract class C2DMBaseReceiver extends IntentService {
/**
* 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
}
@@ -185,7 +185,7 @@ public abstract class C2DMBaseReceiver extends IntentService {
}
} else {
try {
onRegistrered(context, registrationId);
onRegistered(context, registrationId);
C2DMessaging.setRegistrationId(context, registrationId);
} catch (IOException ex) {
Log.e(TAG, "Registration error " + ex.getMessage());

View File

@@ -34,7 +34,7 @@ public class C2DMReceiver extends C2DMBaseReceiver {
}
@Override
public void onRegistrered(Context context, String registration) {
public void onRegistered(Context context, String registration) {
DeviceRegistrar.registerWithServer(context, registration);
}