cmsdk: mContext is private with SystemService now.
YOU MEAN WE HAVE SANE ABSTRACTION NOW?! Change-Id: I5b37b656b2002013b368b43153927b796ec46e6a
This commit is contained in:
parent
27a874f307
commit
a79a53b8ea
|
@ -40,6 +40,7 @@ public class AppSuggestManagerService extends SystemService {
|
|||
public static final String ACTION = "org.cyanogenmod.app.suggest";
|
||||
|
||||
private AppSuggestProviderInterface mImpl;
|
||||
private Context mContext;
|
||||
|
||||
private final IBinder mService = new IAppSuggestManager.Stub() {
|
||||
public boolean handles(Intent intent) {
|
||||
|
@ -57,6 +58,7 @@ public class AppSuggestManagerService extends SystemService {
|
|||
|
||||
public AppSuggestManagerService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -61,6 +61,7 @@ import org.cyanogenmod.platform.internal.R;
|
|||
public class CMStatusBarManagerService extends SystemService {
|
||||
private static final String TAG = "CMStatusBarManagerService";
|
||||
|
||||
private Context mContext;
|
||||
private Handler mHandler = new Handler();
|
||||
private CustomTileListeners mCustomTileListeners;
|
||||
|
||||
|
@ -77,6 +78,7 @@ public class CMStatusBarManagerService extends SystemService {
|
|||
|
||||
public CMStatusBarManagerService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -41,6 +41,7 @@ public class CMTelephonyManagerService extends SystemService {
|
|||
private static boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG);
|
||||
|
||||
private TelephonyManager mTelephonyManager;
|
||||
private Context mContext;
|
||||
private final IBinder mService = new ICMTelephonyManager.Stub() {
|
||||
|
||||
/**
|
||||
|
@ -177,6 +178,7 @@ public class CMTelephonyManagerService extends SystemService {
|
|||
|
||||
public CMTelephonyManagerService(Context context) {
|
||||
super(context);
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue