mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
Fix PN at first launch
This commit is contained in:
parent
19fa28254a
commit
c863a5bcac
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ public class ApiEightPlus {
|
|||
Log.d("Push Notification : storing current sender id = " + newPushSenderID);
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
editor.putString(context.getString(R.string.push_sender_id_key), newPushSenderID);
|
||||
|
||||
Log.d("Push Notification : new id = " + regId);
|
||||
editor.putString(context.getString(R.string.push_reg_id_key), regId);
|
||||
|
||||
editor.commit();
|
||||
} else {
|
||||
Log.d("Push Notification : already registered with id = " + regId);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue