cmsdk: mContext is private with SystemService now.

YOU MEAN WE HAVE SANE ABSTRACTION NOW?!

Change-Id: I5b37b656b2002013b368b43153927b796ec46e6a
This commit is contained in:
Adnan Begovic 2015-10-09 14:34:14 -07:00
parent 27a874f307
commit a79a53b8ea
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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