am 2b95bc9b: Cleanup : remove a useless member

* commit '2b95bc9b642a05727e3295524745faa71a67c85f':
  Cleanup : remove a useless member
main
Jean Chalard 2014-05-12 03:33:44 +00:00 committed by Android Git Automerger
commit 6dcbe306de
1 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,6 @@ public final class SubtypeSwitcher {
private /* final */ RichInputMethodManager mRichImm; private /* final */ RichInputMethodManager mRichImm;
private /* final */ Resources mResources; private /* final */ Resources mResources;
private /* final */ ConnectivityManager mConnectivityManager;
private final LanguageOnSpacebarHelper mLanguageOnSpacebarHelper = private final LanguageOnSpacebarHelper mLanguageOnSpacebarHelper =
new LanguageOnSpacebarHelper(); new LanguageOnSpacebarHelper();
@ -111,10 +110,10 @@ public final class SubtypeSwitcher {
} }
mResources = context.getResources(); mResources = context.getResources();
mRichImm = RichInputMethodManager.getInstance(); mRichImm = RichInputMethodManager.getInstance();
mConnectivityManager = (ConnectivityManager) context.getSystemService( ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(
Context.CONNECTIVITY_SERVICE); Context.CONNECTIVITY_SERVICE);
final NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); final NetworkInfo info = connectivityManager.getActiveNetworkInfo();
mIsNetworkConnected = (info != null && info.isConnected()); mIsNetworkConnected = (info != null && info.isConnected());
onSubtypeChanged(getCurrentSubtype()); onSubtypeChanged(getCurrentSubtype());