aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2016-12-25 04:19:00 +0100
committeraudahadi <wan.audahadi@gmail.com>2016-12-26 12:15:46 +0530
commit018d6a93033b27f39da0ad4da433a75e10145807 (patch)
tree36933daef9ae162453900520859071834d253491
parent0ef88cff5bf951b0969bcd1f94855c6c789bbc4d (diff)
Revert "msm8916-common: ril: Return static radio capability from getRadioCapability"
This reverts commit 554d583d9e027149fc1d9dac3e41859c4082b0b8. Change-Id: Ifb6d29af5f8cd94335114b51e4b908102e91772e Conflicts: overlay/frameworks/base/core/res/res/values/config.xml
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml6
-rw-r--r--ril/com/android/internal/telephony/Asus8916RIL.java44
-rw-r--r--system.prop1
4 files changed, 0 insertions, 52 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index de46275..d35423f 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -160,7 +160,6 @@ TARGET_RELEASETOOLS_EXTENSIONS := $(VENDOR_PATH)/releasetools
# RIL
TARGET_RIL_VARIANT := caf
-BOARD_RIL_CLASS := ../../../$(VENDOR_PATH)/ril/
# Wifi
BOARD_HAS_QCOM_WLAN := true
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 2b72072..79350f9 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -384,12 +384,6 @@
-->
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
- <!-- The RadioAccessFamilies supported by the device.
- Empty is viewed as "all". Only used on devices which
- don't support RIL_REQUEST_GET_RADIO_CAPABILITY
- format is UMTS|LTE|... -->
- <string translatable="false" name="config_radio_access_family">GSM | WCDMA | LTE</string>
-
<!-- Default list of files pinned by the Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/arm64/boot-framework.oat"</item>
diff --git a/ril/com/android/internal/telephony/Asus8916RIL.java b/ril/com/android/internal/telephony/Asus8916RIL.java
deleted file mode 100644
index 7b628f0..0000000
--- a/ril/com/android/internal/telephony/Asus8916RIL.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2016 The CyanogenMod Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.internal.telephony;
-
-import static com.android.internal.telephony.RILConstants.*;
-
-import android.content.Context;
-import android.os.AsyncResult;
-import android.os.Message;
-
-public class Asus8916RIL extends RIL implements CommandsInterface {
- public Asus8916RIL(Context context, int preferredNetworkType, int cdmaSubscription) {
- super(context, preferredNetworkType, cdmaSubscription, null);
- }
-
- public Asus8916RIL(Context context, int preferredNetworkType,
- int cdmaSubscription, Integer instanceId) {
- super(context, preferredNetworkType, cdmaSubscription, instanceId);
- }
-
- @Override
- public void getRadioCapability(Message response) {
- riljLog("getRadioCapability: returning static radio capability");
- if (response != null) {
- Object ret = makeStaticRadioCapability();
- AsyncResult.forMessage(response, ret, null);
- response.sendToTarget();
- }
- }
-}
diff --git a/system.prop b/system.prop
index 43430af..e1c63ec 100644
--- a/system.prop
+++ b/system.prop
@@ -87,7 +87,6 @@ rild.libpath=/system/vendor/lib64/libril-qc-qmi-1.so
ril.subscription.types=NV,RUIM
ro.telephony.call_ring.multiple=false
ro.telephony.default_network=9,9
-ro.telephony.ril_class=Asus8916RIL
# Storage
ro.sys.sdcardfs=true