Also update shared preferences with background media capturing enabled
We use shared preferences to determine whether to start media
notification service. In this case, we should also update it when the
background media capturing is enabled.
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
index 7fa35910..aeac097 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
@@ -152,7 +152,7 @@
if (notificationIds == null) return;
Iterator<String> iterator = notificationIds.iterator();
while (iterator.hasNext()) {
- // When background media capturing is enabled, this operation is a no-op because a
+ // When background media capturing is enabled, this operation is a no-op because the
// foreground service handles notification updates. We avoid calling
// isBackgroundMediaCapturingEnabled() here because this code may execute during early
// startup before the JNI library is initialized.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |