forked from organicmaps/organicmaps
[android] Turned on pedestrian notification and dialogs.
This commit is contained in:
parent
2ca194dff1
commit
1d21db8450
3 changed files with 8 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue