Skip to content

Commit 084714c

Browse files
author
Ognjen Manevski
committed
PR changes.
1 parent eba2ae3 commit 084714c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Examples/restcomm-olympus/app/app.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
121121
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/splits-support" />
122122
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
123+
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
123124
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
124125
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
125126
</content>

Examples/restcomm-olympus/app/src/main/java/org/restcomm/android/olympus/SigninActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private void updatePrefs()
256256
/** Push notifications will not work if these parameters are replaced with real values: **/
257257
/** PUSH_NOTIFICATIONS_APPLICATION_NAME, PUSH_NOTIFICATIONS_FCM_SERVER_KEY **/
258258
prefEdit.putString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_APPLICATION_NAME, "Olympus");
259-
prefEdit.putString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_FCM_SERVER_KEY, "");
259+
prefEdit.putString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_FCM_SERVER_KEY, BuildConfig.TEST_PUSH_FCM_KEY);
260260

261261
prefEdit.putString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_ACCOUNT_EMAIL, txtPushAccount.getText().toString());
262262
prefEdit.putString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_ACCOUNT_PASSWORD, txtPushPassword.getText().toString());

Examples/restcomm-olympus/app/src/main/java/org/restcomm/android/olympus/Util/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static HashMap<String, Object> createParameters(SharedPreferences prefs,
104104
params.put(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_ENABLE_PUSH_FOR_ACCOUNT, prefs.getBoolean(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_ENABLE_PUSH_FOR_ACCOUNT , true));
105105
params.put(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_PUSH_DOMAIN, prefs.getString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_PUSH_DOMAIN ,""));
106106
params.put(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_HTTP_DOMAIN, prefs.getString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_HTTP_DOMAIN ,""));
107-
params.put(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_FCM_SERVER_KEY, BuildConfig.TEST_PUSH_FCM_KEY);
107+
params.put(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_FCM_SERVER_KEY, prefs.getString(RCDevice.ParameterKeys.PUSH_NOTIFICATIONS_FCM_SERVER_KEY ,""));
108108

109109
return params;
110110
}

0 commit comments

Comments
 (0)