Skip to content

Commit

Permalink
[Android] Allow constructor of Notifications on Android.
Browse files Browse the repository at this point in the history
We support notifications in Android but upstream doesn't so we
should make sure they are enabled.

We should really consider if the "desktop" notifications are the way
forward for us in Android now that we have ServiceWorker and
push notifications.

https://codereview.chromium.org/920153002

BUG=XWALK-3653
  • Loading branch information
Olli Raula authored and Maksim Sisov committed Aug 16, 2016
1 parent c772e9f commit 00bcc4a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions content/child/runtime_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableOrientationEvent(true);
WebRuntimeFeatures::enableFastMobileScrolling(true);
WebRuntimeFeatures::enableMediaCapture(true);
// Android won't be able to reliably support non-persistent notifications, the
// intended behavior for which is in flux by itself.
WebRuntimeFeatures::enableNotificationConstructor(false);
WebRuntimeFeatures::enableNewMediaPlaybackUi(true);
// Android does not yet support switching of audio output devices
WebRuntimeFeatures::enableAudioOutputDevices(false);
Expand Down

0 comments on commit 00bcc4a

Please sign in to comment.