diff options
Diffstat (limited to 'sdk/src/java/cyanogenmod/app')
4 files changed, 4 insertions, 4 deletions
diff --git a/sdk/src/java/cyanogenmod/app/CMStatusBarManager.java b/sdk/src/java/cyanogenmod/app/CMStatusBarManager.java index d696a82..ecd3106 100644 --- a/sdk/src/java/cyanogenmod/app/CMStatusBarManager.java +++ b/sdk/src/java/cyanogenmod/app/CMStatusBarManager.java @@ -68,7 +68,7 @@ public class CMStatusBarManager { if (context.getPackageManager().hasSystemFeature( cyanogenmod.app.CMContextConstants.Features.STATUSBAR) && sService == null) { - throw new RuntimeException("Unable to get CMStatusBarService. The service either" + + Log.wtf(TAG, "Unable to get CMStatusBarService. The service either" + " crashed, was not started, or the interface has been called to early in" + " SystemServer init"); } diff --git a/sdk/src/java/cyanogenmod/app/CMTelephonyManager.java b/sdk/src/java/cyanogenmod/app/CMTelephonyManager.java index 4285f44..866d34a 100644 --- a/sdk/src/java/cyanogenmod/app/CMTelephonyManager.java +++ b/sdk/src/java/cyanogenmod/app/CMTelephonyManager.java @@ -60,7 +60,7 @@ public class CMTelephonyManager { if (context.getPackageManager().hasSystemFeature(CMContextConstants.Features.TELEPHONY) && sService == null) { - throw new RuntimeException("Unable to get CMTelephonyManagerService. " + + Log.wtf(TAG, "Unable to get CMTelephonyManagerService. " + "The service either crashed, was not started, or the interface has been " + "called to early in SystemServer init"); } diff --git a/sdk/src/java/cyanogenmod/app/LiveLockScreenManager.java b/sdk/src/java/cyanogenmod/app/LiveLockScreenManager.java index c5fa4ce..bd6a515 100644 --- a/sdk/src/java/cyanogenmod/app/LiveLockScreenManager.java +++ b/sdk/src/java/cyanogenmod/app/LiveLockScreenManager.java @@ -49,7 +49,7 @@ public class LiveLockScreenManager { sService = getService(); if (context.getPackageManager().hasSystemFeature( CMContextConstants.Features.LIVE_LOCK_SCREEN) && sService == null) { - throw new RuntimeException("Unable to get LiveLockScreenManagerService. " + + Log.wtf(TAG, "Unable to get LiveLockScreenManagerService. " + "The service either crashed, was not started, or the interface has " + "been called to early in SystemServer init"); } diff --git a/sdk/src/java/cyanogenmod/app/ProfileManager.java b/sdk/src/java/cyanogenmod/app/ProfileManager.java index c2470cb..fd74903 100644 --- a/sdk/src/java/cyanogenmod/app/ProfileManager.java +++ b/sdk/src/java/cyanogenmod/app/ProfileManager.java @@ -224,7 +224,7 @@ public class ProfileManager { if (context.getPackageManager().hasSystemFeature( cyanogenmod.app.CMContextConstants.Features.PROFILES) && sService == null) { - throw new RuntimeException("Unable to get ProfileManagerService. The service either" + + Log.wtf(TAG, "Unable to get ProfileManagerService. The service either" + " crashed, was not started, or the interface has been called to early in" + " SystemServer init"); } |