Snap for 7178253 from 5e57390696 to sc-v2-release
Change-Id: I58e402b67ea0e8fb0bfc124e3cb681ad992c778b
This commit is contained in:
@@ -31,7 +31,8 @@ public class Enable2gPreferenceController extends TelephonyTogglePreferenceContr
|
||||
private static final long BITMASK_2G = TelephonyManager.NETWORK_TYPE_BITMASK_GSM
|
||||
| TelephonyManager.NETWORK_TYPE_BITMASK_GPRS
|
||||
| TelephonyManager.NETWORK_TYPE_BITMASK_EDGE
|
||||
| TelephonyManager.NETWORK_TYPE_BITMASK_CDMA;
|
||||
| TelephonyManager.NETWORK_TYPE_BITMASK_CDMA
|
||||
| TelephonyManager.NETWORK_TYPE_BITMASK_1xRTT;
|
||||
|
||||
private CarrierConfigManager mCarrierConfigManager;
|
||||
private TelephonyManager mTelephonyManager;
|
||||
|
||||
@@ -81,11 +81,10 @@ public class AndroidKeystoreAliasLoader {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
while (aliases.hasMoreElements()) {
|
||||
String alias = aliases.nextElement();
|
||||
final String alias = aliases.nextElement();
|
||||
try {
|
||||
Key key = keyStore.getKey(alias, null);
|
||||
final Key key = keyStore.getKey(alias, null);
|
||||
if (key != null) {
|
||||
if (key instanceof PrivateKey) {
|
||||
mKeyCertAliases.add(alias);
|
||||
|
||||
Reference in New Issue
Block a user