} else {
throw new RuntimeException("Could not login: " + loginResponse.error);
}
}
private void handleCloudMessage(DataMessageStanza message) {
<BUG>if (message.persistent_id != null) {
String old = getSharedPreferences().getString(PREF_LAST_PERSISTENT_ID, "");
if (!old.isEmpty()) {
old += "|";
}
getSharedPreferences().edit()
.putString(PREF_LAST_PERSISTENT_ID, old + message.persistent_id).apply();</BUG>
}

} else {
throw new RuntimeException("Could not login: " + loginResponse.error);
}
}
private void handleCloudMessage(DataMessageStanza message) {
if (message.persistent_id != null) {
GcmPrefs.get(this).extendLastPersistedId(message.persistent_id);
}
