Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Change start-up flag kDisableNotifications from jelly bean to ICS to …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
chuan9 authored and rakuco committed Sep 16, 2015
1 parent 56aee71 commit 18a33ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/browser/android/content_startup_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 18a33ff

Please sign in to comment.