cmsdk: Temporary build fixes
Change-Id: I18a1aa9ade95de63fe18eaaeca388b118c8ffe8c
This commit is contained in:
@@ -32,6 +32,7 @@ public class ThemeVersion {
|
||||
private static final int CM11 = 1;
|
||||
private static final int CM12_PRE_VERSIONING = 2;
|
||||
|
||||
/*
|
||||
public static int getVersion() {
|
||||
int version;
|
||||
try {
|
||||
@@ -203,4 +204,5 @@ public class ThemeVersion {
|
||||
return new ComponentVersion(id, component, name, minVersion, targetVersion);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.location.LocationManager;
|
||||
import android.net.wifi.WifiManager;
|
||||
import android.net.wimax.WimaxHelper;
|
||||
/* import android.net.wimax.WimaxHelper; */
|
||||
import android.nfc.NfcAdapter;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
@@ -325,12 +325,12 @@ public final class ConnectionSettings implements Parcelable {
|
||||
}
|
||||
break;
|
||||
case PROFILE_CONNECTION_WIMAX:
|
||||
if (WimaxHelper.isWimaxSupported(context)) {
|
||||
/* if (WimaxHelper.isWimaxSupported(context)) {
|
||||
currentState = WimaxHelper.isWimaxEnabled(context);
|
||||
if (currentState != forcedState) {
|
||||
WimaxHelper.setWimaxEnabled(context, forcedState);
|
||||
}
|
||||
}
|
||||
} */
|
||||
break;
|
||||
case PROFILE_CONNECTION_NFC:
|
||||
if (nfcAdapter != null) {
|
||||
|
||||
@@ -24,9 +24,9 @@ import android.os.RemoteException;
|
||||
import android.os.ServiceManager;
|
||||
import android.util.Log;
|
||||
import android.view.WindowManagerPolicy;
|
||||
import android.view.WindowManagerPolicyControl;
|
||||
/* import android.view.WindowManagerPolicyControl; */
|
||||
import com.android.internal.policy.IKeyguardService;
|
||||
import com.android.internal.policy.PolicyManager;
|
||||
/* import com.android.internal.policy.PolicyManager; */
|
||||
import cyanogenmod.app.Profile;
|
||||
import cyanogenmod.os.Build;
|
||||
|
||||
@@ -110,7 +110,7 @@ public final class LockSettings implements Parcelable {
|
||||
/** @hide */
|
||||
public void processOverride(Context context, IKeyguardService keyguard) {
|
||||
boolean enable;
|
||||
final DevicePolicyManager devicePolicyManager =
|
||||
/* final DevicePolicyManager devicePolicyManager =
|
||||
(DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);
|
||||
if (devicePolicyManager != null && devicePolicyManager.requireSecureKeyguard()) {
|
||||
enable = true;
|
||||
@@ -131,7 +131,7 @@ public final class LockSettings implements Parcelable {
|
||||
keyguard.setKeyguardEnabled(enable);
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "unable to set keyguard enabled state to: " + enable, e);
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
|
||||
Reference in New Issue
Block a user