From c1700610b6b226ffcbac5ca842237f6386adbb44 Mon Sep 17 00:00:00 2001 From: chuan9 Date: Mon, 14 Sep 2015 10:03:30 +0800 Subject: [PATCH] Change start-up flag kDisableNotifications from jelly bean to ICS to resolve no notifications on android 4.0 BUG=XWALK-4669 Related to:XWALK-3645 It's a regression caused by upstream dropping support for Android ICS and out subsequent patches to reenable it. --- content/browser/android/content_startup_flags.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/browser/android/content_startup_flags.cc b/content/browser/android/content_startup_flags.cc index 85f0c1af166f6..dc592fbe1c5a6 100644 --- a/content/browser/android/content_startup_flags.cc +++ b/content/browser/android/content_startup_flags.cc @@ -83,7 +83,7 @@ void SetContentCommandLineFlags(bool single_process, // Web Notifications are only supported on Android JellyBean and beyond. if (base::android::BuildInfo::GetInstance()->sdk_int() < - base::android::SDK_VERSION_JELLY_BEAN) { + base::android::SDK_VERSION_ICE_CREAM_SANDWICH_MR1) { parsed_command_line->AppendSwitch(switches::kDisableNotifications); }