Cleanup : remove a useless member
Change-Id: I7871c3243c82b5a19acf266033187795a2ea1767main
parent
59c3ef1ff8
commit
2b95bc9b64
|
@ -52,7 +52,6 @@ public final class SubtypeSwitcher {
|
|||
|
||||
private /* final */ RichInputMethodManager mRichImm;
|
||||
private /* final */ Resources mResources;
|
||||
private /* final */ ConnectivityManager mConnectivityManager;
|
||||
|
||||
private final LanguageOnSpacebarHelper mLanguageOnSpacebarHelper =
|
||||
new LanguageOnSpacebarHelper();
|
||||
|
@ -111,10 +110,10 @@ public final class SubtypeSwitcher {
|
|||
}
|
||||
mResources = context.getResources();
|
||||
mRichImm = RichInputMethodManager.getInstance();
|
||||
mConnectivityManager = (ConnectivityManager) context.getSystemService(
|
||||
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(
|
||||
Context.CONNECTIVITY_SERVICE);
|
||||
|
||||
final NetworkInfo info = mConnectivityManager.getActiveNetworkInfo();
|
||||
final NetworkInfo info = connectivityManager.getActiveNetworkInfo();
|
||||
mIsNetworkConnected = (info != null && info.isConnected());
|
||||
|
||||
onSubtypeChanged(getCurrentSubtype());
|
||||
|
|
Loading…
Reference in New Issue