[android] Turned on pedestrian notification and dialogs.

This commit is contained in:
Dmitry Yunitsky 2015-08-26 12:00:05 +03:00 committed by Alex Zolotarev
parent 2ca194dff1
commit 1d21db8450
3 changed files with 8 additions and 11 deletions

View file

@ -55,8 +55,7 @@ public enum LikesManager
static
{
// TODO uncomment pedestrian likers after temp 5.0 release
// sOldUsersMapping.put(1, LikeType.FACEBOOK_PEDESTRIAN_FIRST_OLD_USERS);
sOldUsersMapping.put(1, LikeType.FACEBOOK_PEDESTRIAN_FIRST_OLD_USERS);
sOldUsersMapping.put(4, LikeType.GPLAY_OLD_USERS);
// sOldUsersMapping.put(4, LikeType.GPLUS_OLD_USERS);
sOldUsersMapping.put(6, LikeType.FACEBOOK_INVITES_OLD_USERS);
@ -67,11 +66,11 @@ public enum LikesManager
// sOldUsersMapping.put(44, LikeType.GPLUS_OLD_USERS);
sOldUsersMapping.put(50, LikeType.FACEBOOK_INVITES_OLD_USERS);
// if (MwmApplication.get().nativeGetInt(PEDESTRIAN_COUNT, 0) >= 3)
// {
// sOldUsersMapping.put(SESSION_NUM, LikeType.FACEBOOK_PEDESTRIAN_MASTER_OLD_USERS);
// sNewUsersMapping.put(SESSION_NUM, LikeType.FACEBOOK_PEDESTRIAN_MASTER_OLD_USERS);
// }
if (MwmApplication.get().nativeGetInt(PEDESTRIAN_COUNT, 0) >= 3)
{
sOldUsersMapping.put(SESSION_NUM, LikeType.FACEBOOK_PEDESTRIAN_MASTER_OLD_USERS);
sNewUsersMapping.put(SESSION_NUM, LikeType.FACEBOOK_PEDESTRIAN_MASTER_OLD_USERS);
}
sNewUsersMapping.put(3, LikeType.GPLAY_NEW_USERS);
sNewUsersMapping.put(9, LikeType.FACEBOOK_INVITE_NEW_USERS);

View file

@ -12,7 +12,6 @@ public class UpgradeReceiver extends BroadcastReceiver
public void onReceive(Context context, Intent intent)
{
MwmApplication.get().onUpgrade();
// TODO uncomment after temp 5.0 release
// WorkerService.queuePedestrianNotification();
WorkerService.queuePedestrianNotification();
}
}

View file

@ -14,8 +14,7 @@ public class UpgradeReceiverCompat extends BroadcastReceiver
if (context.getPackageName().equals(intent.getData().getSchemeSpecificPart()))
{
MwmApplication.get().onUpgrade();
// TODO uncomment after temp 5.0 release
// WorkerService.queuePedestrianNotification();
WorkerService.queuePedestrianNotification();
}
}
}