Commit 05736585 authored by Hua, Chunbo's avatar Hua, Chunbo Committed by Commit Bot

Fix preferences typo in offline indicator controller.

Bug: 880486
Change-Id: Ia10f8917c02adff50747ad722a8d8a2174edbba2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422325Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Chunbo Hua <chunbo.hua@intel.com>
Cr-Commit-Position: refs/heads/master@{#809331}
parent 379640b1
...@@ -241,7 +241,7 @@ public class OfflineIndicatorController implements ConnectivityDetector.Observer ...@@ -241,7 +241,7 @@ public class OfflineIndicatorController implements ConnectivityDetector.Observer
// If this is the first time to show offline indicator, show it. Otherwise, it will only // If this is the first time to show offline indicator, show it. Otherwise, it will only
// be shown if the user has been continuously online for the required duration, then goes // be shown if the user has been continuously online for the required duration, then goes
// back to being offline. // back to being offline.
// TODO(jianli): keep these values in shared prefernces. (http://crbug.com/879725) // TODO(jianli): keep these values in shared preferences. (http://crbug.com/879725)
if (mHasOfflineIndicatorShownSinceActivityResumed && !mWasOnlineForRequiredDuration) { if (mHasOfflineIndicatorShownSinceActivityResumed && !mWasOnlineForRequiredDuration) {
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment