diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-10-09 14:34:14 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-09 14:56:20 -0700 |
commit | a79a53b8ea6aa1440a69e09ada0f380771345ab9 (patch) | |
tree | 0a78244ff565d721fe0d7b72e4f491e6d2549ed2 /cm | |
parent | 27a874f307bd9a2c6ef310383728728fab6b0fc1 (diff) | |
download | vendor_cmsdk-a79a53b8ea6aa1440a69e09ada0f380771345ab9.zip vendor_cmsdk-a79a53b8ea6aa1440a69e09ada0f380771345ab9.tar.gz vendor_cmsdk-a79a53b8ea6aa1440a69e09ada0f380771345ab9.tar.bz2 |
cmsdk: mContext is private with SystemService now.
YOU MEAN WE HAVE SANE ABSTRACTION NOW?!
Change-Id: I5b37b656b2002013b368b43153927b796ec46e6a
Diffstat (limited to 'cm')
3 files changed, 6 insertions, 0 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/AppSuggestManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/AppSuggestManagerService.java index d7a6ad4..345a164 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/AppSuggestManagerService.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/AppSuggestManagerService.java @@ -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 diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java index 7ad0b3b..ee913ed 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java @@ -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 diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMTelephonyManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMTelephonyManagerService.java index 25ca556..efd0a89 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMTelephonyManagerService.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMTelephonyManagerService.java @@ -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 |