boolean handleRegistrationIntent(Context context, Intent intent) {
String error = intent.getStringExtra(ADM_ERROR_KEY);
String registrationId = intent.getStringExtra(ADM_REGISTRATION_ID_KEY);
String unregistered = intent.getStringExtra(ADM_UNREGISTERED_KEY);
if (error != null) {
<BUG>Log.e(TAG, "Error during ADM registration: " + error);
</BUG>
} else if (registrationId != null) {
<BUG>Log.i(TAG, "Registering for ADM messages with registrationId: " + registrationId);
</BUG>
Appboy.getInstance(context).registerAppboyPushMessages(registrationId);

boolean handleRegistrationIntent(Context context, Intent intent) {
String error = intent.getStringExtra(ADM_ERROR_KEY);
String registrationId = intent.getStringExtra(ADM_REGISTRATION_ID_KEY);
String unregistered = intent.getStringExtra(ADM_UNREGISTERED_KEY);
if (error != null) {
AppboyLogger.e(TAG, "Error during ADM registration: " + error);
} else if (registrationId != null) {
AppboyLogger.i(TAG, "Registering for ADM messages with registrationId: " + registrationId);
Appboy.getInstance(context).registerAppboyPushMessages(registrationId);
