File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/com/owncloud/android/jobs Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,7 @@ public class NotificationJob extends Job {
9393 private static final String KEY_NOTIFICATION_ACTION_TYPE = "KEY_NOTIFICATION_ACTION_TYPE" ;
9494 private static final String PUSH_NOTIFICATION_ID = "PUSH_NOTIFICATION_ID" ;
9595 private static final String NUMERIC_NOTIFICATION_ID = "NUMERIC_NOTIFICATION_ID" ;
96- private static final String APP_SPREED = "spreed" ;
9796
98- private SecureRandom randomId = new SecureRandom ();
9997 private Context context ;
10098 private UserAccountManager accountManager ;
10199
@@ -154,6 +152,7 @@ protected Result onRunJob(@NonNull Params params) {
154152 }
155153
156154 private void sendNotification (Notification notification , Account account ) {
155+ SecureRandom randomId = new SecureRandom ();
157156 Intent intent = new Intent (context , NotificationsActivity .class );
158157 intent .addFlags (Intent .FLAG_ACTIVITY_CLEAR_TOP );
159158 intent .putExtra (KEY_NOTIFICATION_ACCOUNT , account .name );
You can’t perform that action at this time.
0 commit comments