OSDN Git Service

Bug fix: support tab doesn't show offline UI initially.
authorFan Zhang <zhfan@google.com>
Thu, 23 Jun 2016 15:38:00 +0000 (08:38 -0700)
committerFan Zhang <zhfan@google.com>
Thu, 23 Jun 2016 15:38:00 +0000 (08:38 -0700)
commita8219fb1c1b7d285d4a0a924f2ee5f118b48c9b4
tree439691c10595dfca92eb834f900f2048193d4af0
parenta00e3b78de74bd50b981e6bb5cdb9346b5bd4512
Bug fix: support tab doesn't show offline UI initially.

Bug: 29601818

The support UI correctly monitors network state change after being
displayed, but it fails to set initial hasInternet flag. So we
manually refresh this flag as part of onResume.

Change-Id: Icbf3cca708a961390073cfa77ec08bec7dd4d82f
src/com/android/settings/dashboard/SupportFragment.java