From 861ba2d8746fa51609862a511cb2e47ebb44066e Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 23 Jan 2018 21:23:04 +0200 Subject: [PATCH] lineage-sdk: Remove lineage telephony service * Used for old MSIM API which is non-functional since a while Change-Id: Ica2b9ae119d5972e425082433df3a7b099ae404a --- api/lineage_current.txt | 13 - .../LineageTelephonyManagerService.java | 354 ----------------- lineage/res/AndroidManifest.xml | 14 - lineage/res/res/values-af/strings.xml | 6 - lineage/res/res/values-am/strings.xml | 2 - lineage/res/res/values-ar/strings.xml | 6 - lineage/res/res/values-as-rIN/strings.xml | 6 - lineage/res/res/values-ast-rES/strings.xml | 6 - lineage/res/res/values-az-rAZ/strings.xml | 6 - lineage/res/res/values-be-rBY/strings.xml | 6 - lineage/res/res/values-bg/strings.xml | 6 - lineage/res/res/values-bn-rBD/strings.xml | 2 - lineage/res/res/values-br-rFR/strings.xml | 2 - lineage/res/res/values-bs-rBA/strings.xml | 2 - lineage/res/res/values-ca/strings.xml | 6 - lineage/res/res/values-cs/strings.xml | 6 - lineage/res/res/values-csb-rPL/strings.xml | 2 - lineage/res/res/values-cy/strings.xml | 2 - lineage/res/res/values-da/strings.xml | 6 - lineage/res/res/values-de/strings.xml | 6 - lineage/res/res/values-el/strings.xml | 6 - lineage/res/res/values-en-rAU/strings.xml | 6 - lineage/res/res/values-en-rGB/strings.xml | 6 - lineage/res/res/values-en-rIN/strings.xml | 6 - lineage/res/res/values-en-rPT/strings.xml | 2 - lineage/res/res/values-eo/strings.xml | 2 - lineage/res/res/values-es-rCO/strings.xml | 2 - lineage/res/res/values-es-rMX/strings.xml | 2 - lineage/res/res/values-es-rUS/strings.xml | 6 - lineage/res/res/values-es/strings.xml | 6 - lineage/res/res/values-et-rEE/strings.xml | 6 - lineage/res/res/values-eu-rES/strings.xml | 6 - lineage/res/res/values-fa/strings.xml | 6 - lineage/res/res/values-fi/strings.xml | 6 - lineage/res/res/values-fil-rPH/strings.xml | 2 - lineage/res/res/values-fr-rCA/strings.xml | 2 - lineage/res/res/values-fr/strings.xml | 6 - lineage/res/res/values-frp-rIT/strings.xml | 2 - lineage/res/res/values-fy-rNL/strings.xml | 2 - lineage/res/res/values-ga-rIE/strings.xml | 2 - lineage/res/res/values-gd-rGB/strings.xml | 2 - lineage/res/res/values-gl-rES/strings.xml | 6 - lineage/res/res/values-gu-rIN/strings.xml | 6 - lineage/res/res/values-hi/strings.xml | 2 - lineage/res/res/values-hr/strings.xml | 6 - lineage/res/res/values-hu/strings.xml | 6 - lineage/res/res/values-hy-rAM/strings.xml | 2 - lineage/res/res/values-in/strings.xml | 6 - lineage/res/res/values-is-rIS/strings.xml | 2 - lineage/res/res/values-it/strings.xml | 6 - lineage/res/res/values-iw/strings.xml | 6 - lineage/res/res/values-ja/strings.xml | 6 - lineage/res/res/values-ka-rGE/strings.xml | 2 - lineage/res/res/values-kk-rKZ/strings.xml | 2 - lineage/res/res/values-km-rKH/strings.xml | 2 - lineage/res/res/values-kn-rIN/strings.xml | 6 - lineage/res/res/values-ko/strings.xml | 6 - lineage/res/res/values-ku/strings.xml | 2 - lineage/res/res/values-ky-rKG/strings.xml | 2 - lineage/res/res/values-lb/strings.xml | 6 - lineage/res/res/values-lo-rLA/strings.xml | 2 - lineage/res/res/values-lt/strings.xml | 6 - lineage/res/res/values-lv/strings.xml | 2 - lineage/res/res/values-mk-rMK/strings.xml | 2 - lineage/res/res/values-ml-rIN/strings.xml | 6 - lineage/res/res/values-mn-rMN/strings.xml | 2 - lineage/res/res/values-mr-rIN/strings.xml | 6 - lineage/res/res/values-ms-rMY/strings.xml | 2 - lineage/res/res/values-my-rMM/strings.xml | 2 - lineage/res/res/values-nb/strings.xml | 6 - lineage/res/res/values-ne-rNP/strings.xml | 2 - lineage/res/res/values-nl/strings.xml | 6 - lineage/res/res/values-oc-rFR/strings.xml | 2 - lineage/res/res/values-or-rIN/strings.xml | 6 - lineage/res/res/values-pa-rIN/strings.xml | 2 - lineage/res/res/values-pl/strings.xml | 6 - lineage/res/res/values-pt-rBR/strings.xml | 6 - lineage/res/res/values-pt-rPT/strings.xml | 6 - lineage/res/res/values-rm/strings.xml | 2 - lineage/res/res/values-ro/strings.xml | 6 - lineage/res/res/values-ru/strings.xml | 6 - lineage/res/res/values-si-rLK/strings.xml | 2 - lineage/res/res/values-sk/strings.xml | 6 - lineage/res/res/values-sl/strings.xml | 6 - lineage/res/res/values-sq-rAL/strings.xml | 2 - lineage/res/res/values-sr-rCS/strings.xml | 2 - lineage/res/res/values-sr/strings.xml | 6 - lineage/res/res/values-sv/strings.xml | 6 - lineage/res/res/values-sw/strings.xml | 2 - lineage/res/res/values-ta-rIN/strings.xml | 6 - lineage/res/res/values-te-rIN/strings.xml | 6 - lineage/res/res/values-th/strings.xml | 6 - lineage/res/res/values-tr/strings.xml | 6 - lineage/res/res/values-ug/strings.xml | 6 - lineage/res/res/values-uk/strings.xml | 6 - lineage/res/res/values-ur-rPK/strings.xml | 2 - lineage/res/res/values-uz-rUZ/strings.xml | 2 - lineage/res/res/values-vi/strings.xml | 6 - lineage/res/res/values-zh-rCN/strings.xml | 6 - lineage/res/res/values-zh-rHK/strings.xml | 2 - lineage/res/res/values-zh-rTW/strings.xml | 6 - lineage/res/res/values-zu/strings.xml | 2 - lineage/res/res/values/config.xml | 1 - lineage/res/res/values/strings.xml | 6 - .../app/ILineageTelephonyManager.aidl | 38 -- .../app/LineageContextConstants.java | 20 - .../app/LineageTelephonyManager.java | 358 ------------------ .../tests/telephony/LineageTelephonyTest.java | 101 ----- 108 files changed, 1331 deletions(-) delete mode 100644 lineage/lib/main/java/org/lineageos/platform/internal/LineageTelephonyManagerService.java delete mode 100644 sdk/src/java/lineageos/app/ILineageTelephonyManager.aidl delete mode 100644 sdk/src/java/lineageos/app/LineageTelephonyManager.java delete mode 100644 tests/src/org/lineageos/tests/telephony/LineageTelephonyTest.java diff --git a/api/lineage_current.txt b/api/lineage_current.txt index f8723f9a..b951285f 100644 --- a/api/lineage_current.txt +++ b/api/lineage_current.txt @@ -66,19 +66,6 @@ package lineageos.alarmclock { package lineageos.app { - public class LineageTelephonyManager { - method public static lineageos.app.LineageTelephonyManager getInstance(android.content.Context); - method public java.util.List getSubInformation(); - method public boolean isDataConnectionEnabled(); - method public boolean isDataConnectionSelectedOnSub(int); - method public boolean isSubActive(int); - method public void setDataConnectionState(boolean); - method public void setDefaultPhoneSub(int); - method public void setDefaultSmsSub(int); - method public void setSubState(int, boolean); - field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0 - } - public final class Profile implements java.lang.Comparable android.os.Parcelable { ctor public Profile(java.lang.String); method public void addSecondaryUuid(java.util.UUID); diff --git a/lineage/lib/main/java/org/lineageos/platform/internal/LineageTelephonyManagerService.java b/lineage/lib/main/java/org/lineageos/platform/internal/LineageTelephonyManagerService.java deleted file mode 100644 index 97939cef..00000000 --- a/lineage/lib/main/java/org/lineageos/platform/internal/LineageTelephonyManagerService.java +++ /dev/null @@ -1,354 +0,0 @@ -/** - * Copyright (c) 2015, 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 org.lineageos.platform.internal; - -import com.android.server.SystemService; - -import android.content.Context; -import android.os.IBinder; -import android.telephony.SubscriptionInfo; -import android.telephony.SubscriptionManager; -import android.telephony.TelephonyManager; -import android.util.Log; - -import java.util.List; - -import lineageos.app.LineageContextConstants; -import lineageos.app.LineageTelephonyManager; -import lineageos.app.ILineageTelephonyManager; - -/** - * Internal service which manages interactions with the phone and data connection - * - * @hide - */ -public class LineageTelephonyManagerService extends LineageSystemService { - private static final String TAG = "LineageTelephonyManagerSrv"; - private static boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG); - - private TelephonyManager mTelephonyManager; - private Context mContext; - private final IBinder mService = new ILineageTelephonyManager.Stub() { - - /** - * Returns the available SIM subscription information. - * - * @return The list of SIM subscriptions. The returning list can be null or empty. - * @hide - */ - @Override - public List getSubInformation() { - enforceTelephonyReadPermission(); - return getActiveSubscriptionInfoList(); - } - - /** - * Returns the state of the SIM by subscription ID. - * - * If the subscription ID is not valid the method will return {@code false}. - * - * @param subId The subscription ID to query. - * @return {@code true} if the SIM is activated (even without signal or requesting the - * PIN/PUK), {@code false} otherwise. - * @hide - */ - @Override - public boolean isSubActive(int subId) { - enforceTelephonyReadPermission(); - return LineageTelephonyManagerService.this.isSubActive(subId); - } - - /** - * Sets the state of one of the SIMs by subscription ID. - * - * If the subscription ID is not valid or the SIM already - * is in the desired state the method will do nothing. - * - * @param subId The subscription ID to set. - * @param state {@code true} to activate the SIM, {@code false} to disable. - * @hide - */ - @Override - public void setSubState(int subId, boolean state) { - enforceTelephonyModifyPermission(); - LineageTelephonyManagerService.this.setSubState(subId, state); - } - - /** - * Checks if the received subscription received has the data - * connection enabled. - * - * This method will return {@code true} (or {@code false} if inactive on the SIM) - * even when an internet connection is active through Wifi/BT. - * - * If the subscription ID is not valid the method will return {@code false}. - * - * @param subId The subscription ID to query. - * @return {@code true} if the data connection is enabled on the SIM, {@code false} otherwise. - * @hide - */ - public boolean isDataConnectionSelectedOnSub(int subId) { - enforceTelephonyReadPermission(); - return LineageTelephonyManagerService.this.isDataConnectionSelectedOnSub(subId); - } - - /** - * Checks if the network data connection is enabled. - * - * This method will return {@code true} (or {@code false} if inactive) - * even when an internet connection is active through Wifi/BT. - * - * @return {@code true} if the network data connection is enabled, {@code false} otherwise. - * @hide - */ - public boolean isDataConnectionEnabled() { - enforceTelephonyReadPermission(); - return LineageTelephonyManagerService.this.isDataConnectionEnabled(); - } - - /** - * Sets the network data conection active or inactive. - * - * @param state If {@code true} enables the network data connection, if {@code false} disables it. - * @hide - */ - public void setDataConnectionState(boolean state) { - enforceTelephonyModifyPermission(); - LineageTelephonyManagerService.this.setDataConnectionState(state); - } - - /** - * Sets the data connection state on one of the SIMs by subscription ID. - * - * If the subscription ID is not valid or the data connection is already - * enabled on the SIM the method will do nothing. - * - * @param subId The subscription ID to set the network data connection. - * @hide - */ - public void setDataConnectionSelectedOnSub(int subId) { - enforceTelephonyModifyPermission(); - LineageTelephonyManagerService.this.setDataConnectionSelectedOnSub(subId); - } - - /** - * Sets the default phone used to make phone calls as the one received on subId. - * - * If 0 is used as a parameter, then the option to choose what SIM to use is - * selected. - * - * @param subId The subscription to set as default for phone calls. - * To select SIM when calling use 0. - * @hide - */ - public void setDefaultPhoneSub(int subId) { - enforceTelephonyModifyPermission(); - LineageTelephonyManagerService.this.setDefaultPhoneSub(subId); - } - - /** - * Sets the default phone used to send SMS as the one received on subId. - * - * If 0 is used as a parameter, then the option to choose what SIM to use is - * selected. - * - * @param subId The subscription to set as default for sending SMS. - * To select SIM when sending SMS use 0. - * @hide - */ - public void setDefaultSmsSub(int subId) { - enforceTelephonyModifyPermission(); - LineageTelephonyManagerService.this.setDefaultSmsSub(subId); - } - }; - - public LineageTelephonyManagerService(Context context) { - super(context); - mContext = context; - } - - @Override - public String getFeatureDeclaration() { - return LineageContextConstants.Features.TELEPHONY; - } - - @Override - public void onStart() { - if (localLOGD) { - Log.d(TAG, "Lineage telephony manager service start: " + this); - } - publishBinderService(LineageContextConstants.LINEAGE_TELEPHONY_MANAGER_SERVICE, mService); - mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); - } - - private List getActiveSubscriptionInfoList() { - SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); - List subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); - if (localLOGD) { - Log.d(TAG, "The active subscriptions where obtained from the subscription manager."); - } - return subInfoList; - } - - private boolean isSubActive(int subId) { - boolean validSubscriptionId = SubscriptionManager.isValidSubscriptionId(subId); - - if (validSubscriptionId) { - int simState = SubscriptionManager.getSimStateForSlotIndex( - SubscriptionManager.getSlotIndex(subId)); - switch (simState) { - case TelephonyManager.SIM_STATE_ABSENT: - case TelephonyManager.SIM_STATE_CARD_IO_ERROR: - case TelephonyManager.SIM_STATE_PERM_DISABLED: - case TelephonyManager.SIM_STATE_NOT_READY: - if (localLOGD) { - Log.d(TAG, "The subscription " + subId + " is NOT active: " + simState); - } - return false; - default: - if (localLOGD) { - Log.d(TAG, "The subscription " + subId + " is active: " + simState); - } - return true; - } - } else { - Log.w(TAG, "Invalid subscription identifier: " + subId); - return false; - } - } - - private void setSubState(int subId, boolean state) { - if (localLOGD) { - Log.d(TAG, "Setting the subscription " + subId + " to inactive (false) or active (true): " + state); - } - - /* - if (state) { - SubscriptionManager.activateSubId(subId); - } else { - SubscriptionManager.deactivateSubId(subId); - } - */ - } - - private boolean isDataConnectionSelectedOnSub(int subId) { - boolean validSubscriptionId = SubscriptionManager.isValidSubscriptionId(subId); - - if (validSubscriptionId) { - /* - if (subId == SubscriptionManager.getDefaultDataSubId()) { - if (localLOGD) { - Log.d(TAG, "Data connection selected for subscription " + subId); - } - return true; - } else { - if (localLOGD) { - Log.d(TAG, "Data connection not selected for subscription " + subId); - } - return false; - } - */ - return true; - } else { - Log.w(TAG, "Invalid subscription identifier: " + subId); - return false; - } - } - - private boolean isDataConnectionEnabled() { - if (localLOGD) { - Log.d(TAG, "Checking if the network data connection is active"); - } - - boolean dataEnabled = mTelephonyManager.getDataEnabled(); - - if (localLOGD) { - Log.d(TAG, "Data network connection is inactive (false) or active (true): " + dataEnabled); - } - - return dataEnabled; - } - - private void setDataConnectionState(boolean state) { - if (localLOGD) { - Log.d(TAG, "Setting the network data connection inactive (false) or active (true): " + state); - } - - if (state) { - mTelephonyManager.enableDataConnectivity(); - } else { - mTelephonyManager.disableDataConnectivity(); - } - } - - private void setDataConnectionSelectedOnSub(int subId) { - if (localLOGD) { - Log.d(TAG, "Setting the network data connection for subscription " + subId); - } - - SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); - subscriptionManager.setDefaultDataSubId(subId); - } - - private void setDefaultPhoneSub(int subId) { - if (localLOGD) { - Log.d(TAG, "Setting the SIM for phone calls on subscription " + subId); - } - - SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); - /*if (subId == LineageTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) { - if (localLOGD) { - Log.d(TAG, "Activates the prompt for phone calls"); - } - SubscriptionManager.setVoicePromptEnabled(true); - } else { - SubscriptionManager.setVoicePromptEnabled(false); - subscriptionManager.setDefaultVoiceSubId(subId); - }*/ - subscriptionManager.setDefaultVoiceSubId(subId); - } - - private void setDefaultSmsSub(int subId) { - if (localLOGD) { - Log.d(TAG, "Setting the SIM for phone calls on subscription " + subId); - } - - SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); - /*if (subId == LineageTelephonyManager.ASK_FOR_SUBSCRIPTION_ID) { - if (localLOGD) { - Log.d(TAG, "Activates the prompt for SMS"); - } - SubscriptionManager.setSMSPromptEnabled(true); - } else { - SubscriptionManager.setSMSPromptEnabled(false); - subscriptionManager.setDefaultSmsSubId(subId); - }*/ - subscriptionManager.setDefaultSmsSubId(subId); - } - - private void enforceTelephonyReadPermission() { - mContext.enforceCallingOrSelfPermission( - lineageos.platform.Manifest.permission.READ_MSIM_PHONE_STATE, - "LineageTelephonyManagerService"); - } - - private void enforceTelephonyModifyPermission() { - mContext.enforceCallingOrSelfPermission( - lineageos.platform.Manifest.permission.MODIFY_MSIM_PHONE_STATE, - "LineageTelephonyManagerService"); - } -} diff --git a/lineage/res/AndroidManifest.xml b/lineage/res/AndroidManifest.xml index 9c02dc93..1b36c24f 100644 --- a/lineage/res/AndroidManifest.xml +++ b/lineage/res/AndroidManifest.xml @@ -36,20 +36,6 @@ - - - - - - LineageOS Stelsel - - kyk na die foon status en data koppeling met ondersteuning na menigvuldige SIMs - Laat \'n toep toe om te kyk na die foon status en data koppeling met ondersteuning van menigvuldige SIM. - - verander die foon status en data koppeling met ondersteuning na menigvuldige SIMs - Laat \'n toep toe om veranderinge te maak op jou foon status en data koppeling met ondersteuning van menigvuldige SIM. verander stelsel profiele Laat \'n toep toe om stelsel profiele te verander. diff --git a/lineage/res/res/values-am/strings.xml b/lineage/res/res/values-am/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-am/strings.xml +++ b/lineage/res/res/values-am/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ar/strings.xml b/lineage/res/res/values-ar/strings.xml index 4a6bd475..eaa2506a 100644 --- a/lineage/res/res/values-ar/strings.xml +++ b/lineage/res/res/values-ar/strings.xml @@ -19,12 +19,6 @@ نظام LineageOS - - عرض حالة الهاتف واتصال البيانات مع دعم SIMs متعددة - يسمح للتطبيق بعرض حالة الهاتف واتصال البيانات مع دعم SIMs متعددة. - - تعديل حالة الهاتف واتصال البيانات مع دعم شرائح SIM المتعددة - يسمح للتطبيق بتعديل حالة الهاتف واتصال البيانات مع دعم شرائح SIM المتعددة. تعديل الملفات التعريفية للنظام السماح للتطبيق بتعديل الملفات التعريفية للنظام. diff --git a/lineage/res/res/values-as-rIN/strings.xml b/lineage/res/res/values-as-rIN/strings.xml index 959696fa..f6980322 100644 --- a/lineage/res/res/values-as-rIN/strings.xml +++ b/lineage/res/res/values-as-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS ছিষ্টেম - - একাধিক SIMৰ সমৰ্থনত ফোন অৱস্থা আৰু ডাটা সংযোগ চাওক - এটা এপ্প্‌ক একাধিক SIMৰ সমৰ্থনত ফোন অৱস্থা আৰু ডাটা সংযোগ চাবলৈ অনুমতি দিয়ে। - - একাধিক SIMৰ সমৰ্থনত ফোন অৱস্থা আৰু ডাটা সংযোগ সংশোধন কৰক - এটা এপ্প্‌ক একাধিক SIMৰ সমৰ্থনত ফোন ষ্টেট আৰু ডাটা সংযোগ সংশোধন অনুমতি দিয়ে। ছিষ্টেম প্ৰ\'ফাইল সংশোধন কৰক এটা এপ্প্‌ক ছিষ্টেম প্ৰ\'ফাইল সংশোধন কৰিবলৈ অনুমতি দিয়ে diff --git a/lineage/res/res/values-ast-rES/strings.xml b/lineage/res/res/values-ast-rES/strings.xml index 8ebd6150..3fc00c37 100644 --- a/lineage/res/res/values-ast-rES/strings.xml +++ b/lineage/res/res/values-ast-rES/strings.xml @@ -19,12 +19,6 @@ Sistema LineageOS - - ver l\'estáu\'l teléfonu y conexón de datos con sofitu pa SIMs múltiples - Permite qu\'una aplicación vea l\'estáu\'l teléfonu y la conexón de datos con sofitu pa SIMs múltiples. - - modificar l\'estáu\'l teléfonu y la conexón de datos con sofitu pa SIMs múltiples - Permite qu\'una aplicación modifique l\'estáu\'l teléfonu y la conexón de datos con sofitu pa SIMs múltiples. modificar perfiles del sistema Permite qu\'una aplicación modifique los perfiles del sistema. diff --git a/lineage/res/res/values-az-rAZ/strings.xml b/lineage/res/res/values-az-rAZ/strings.xml index 1aec1e07..944156ea 100644 --- a/lineage/res/res/values-az-rAZ/strings.xml +++ b/lineage/res/res/values-az-rAZ/strings.xml @@ -19,12 +19,6 @@ LineageOS Sistemi - - telefon durumu və çoxlu SIM dəstəyi ilə verilənlər bağlantısını göstər - Tətbiqetməyə telefon durumunu və çoxlu SIM dəstəyi ilə verilənlər bağlantısını göstərməyə icazə verər. - - telefon durumunu və çoxlu SIM dəstəyi ilə verilənlər bağlantısını dəyişdir - Tətbiqetməyə telefon durumunu və çoxlu SIM dəstəyi ilə verilənlər bağlantısını dəyişdirmə icazə verər. sistem profillərini dəyişdir Tətbiqetməyə sistem profillərini dəyişdirmə icazəsi verər. diff --git a/lineage/res/res/values-be-rBY/strings.xml b/lineage/res/res/values-be-rBY/strings.xml index 8cb3b83b..5b83f718 100644 --- a/lineage/res/res/values-be-rBY/strings.xml +++ b/lineage/res/res/values-be-rBY/strings.xml @@ -19,12 +19,6 @@ Сістэма LineageOS - - прагляд стану тэлефона і перадачы дадзеных з падтрымкай некалькіх SIM-карт - Дазволіць дадатку доступ да інфармацыі пра стан тэлефона і перадачы дадзеных з падтрымкай некалькіх SIM-карт. - - змена стану тэлефона і перадачы дадзеных з падтрымкай некалькіх SIM-карт - Дазволяе дадатку зменіць стан тэлефона і перадачы дадзеных з падтрымкай некалькіх SIM-карт. змена сістэмных профіляў Дазваляць дадаткам змяняць сістэмныя профілі. diff --git a/lineage/res/res/values-bg/strings.xml b/lineage/res/res/values-bg/strings.xml index fef80509..081bba71 100644 --- a/lineage/res/res/values-bg/strings.xml +++ b/lineage/res/res/values-bg/strings.xml @@ -19,12 +19,6 @@ LineageOS Система - - Прегледайте състоянието на вашият телефон и мрежовите данни с поддръжка на множество СИМ карти - Разрешаване за достъп на прилажения до информация за състоянието на телефона с поддръжка на множество СИМ карти. - - Промяна в състоянието на вашият телефон и мрежовите данни с поддръжка на множество СИМ карти - Разрешаване за достъп на прилажения до информация за състоянието на телефона с поддръжка на множество СИМ карти. Модифициране на системни профили Позволява да модифицирате системни профили. diff --git a/lineage/res/res/values-bn-rBD/strings.xml b/lineage/res/res/values-bn-rBD/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-bn-rBD/strings.xml +++ b/lineage/res/res/values-bn-rBD/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-br-rFR/strings.xml b/lineage/res/res/values-br-rFR/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-br-rFR/strings.xml +++ b/lineage/res/res/values-br-rFR/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-bs-rBA/strings.xml b/lineage/res/res/values-bs-rBA/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-bs-rBA/strings.xml +++ b/lineage/res/res/values-bs-rBA/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ca/strings.xml b/lineage/res/res/values-ca/strings.xml index 5c2ea169..c60afdb0 100644 --- a/lineage/res/res/values-ca/strings.xml +++ b/lineage/res/res/values-ca/strings.xml @@ -19,12 +19,6 @@ Sistema de LineageOS - - mostra l\'estat del telèfon i la connexió de dades amb suport per múltiples SIMs - Permet una aplicació mostrar l\'estat del telèfon i la connexió de dades amb suport per múltiples SIMs. - - modificar l\'estat del telèfon i la connexió de dades amb suport per múltiples SIMs - Permet una aplicació modificar l\'estat del telèfon i la connexió de dades amb suport per múltiples SIMs. modifica els perfils del sistema Permet a una aplicació modificar els perfils del sistema. diff --git a/lineage/res/res/values-cs/strings.xml b/lineage/res/res/values-cs/strings.xml index 952a7443..57a730bc 100644 --- a/lineage/res/res/values-cs/strings.xml +++ b/lineage/res/res/values-cs/strings.xml @@ -19,12 +19,6 @@ Systém LineageOS - - zobrazit stav telefonu a datové připojení s podporou více SIM - Umožňuj prohlížet stav telefonu a datového spojení s podporou více SIM. - - změnit stav telefonu a datového spojení s podporou více SIM - Umožňuje změnit stav telefonu a datového spojení s podporou více SIM. změnit systémové profily Umožňuje upravovat systémové profily. diff --git a/lineage/res/res/values-csb-rPL/strings.xml b/lineage/res/res/values-csb-rPL/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-csb-rPL/strings.xml +++ b/lineage/res/res/values-csb-rPL/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-cy/strings.xml b/lineage/res/res/values-cy/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-cy/strings.xml +++ b/lineage/res/res/values-cy/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-da/strings.xml b/lineage/res/res/values-da/strings.xml index 403071ab..73319e56 100644 --- a/lineage/res/res/values-da/strings.xml +++ b/lineage/res/res/values-da/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - se status for forbindelse og data med understøttelse af flere SIM-kort - Gør det muligt for en app at se status for forbindelse og data med understøttelse af flere SIM-kort. - - ændre status for forbindelse og data med understøttelse af flere SIM-kort - Gør det muligt for en app at ændre status for forbindelse og data med understøttelse af flere SIM-kort. ændre systemprofiler Tillader en app at ændre systemprofiler. diff --git a/lineage/res/res/values-de/strings.xml b/lineage/res/res/values-de/strings.xml index 4b3897dd..cc3a2d28 100644 --- a/lineage/res/res/values-de/strings.xml +++ b/lineage/res/res/values-de/strings.xml @@ -19,12 +19,6 @@ LineageOS-System - - Systemstatus und Datenverbindung auf Unterstützung von mehreren SIM-Karten überprüfen - Ermöglicht der App, den Systemstatus und die Datenverbindung auf Unterstützung von mehreren SIM-Karten zu überprüfen. - - Systemstatus und Datenverbindung zur Unterstützung von mehreren SIM-Karten anpassen - Ermöglicht der App, den Systemstatus und die Datenverbindung zur Unterstützung von mehreren SIM-Karten anzupassen. Systemprofile ändern Ermöglicht der App, Systemprofile zu ändern. diff --git a/lineage/res/res/values-el/strings.xml b/lineage/res/res/values-el/strings.xml index eef7ae16..c9e3945f 100644 --- a/lineage/res/res/values-el/strings.xml +++ b/lineage/res/res/values-el/strings.xml @@ -19,12 +19,6 @@ Σύστημα LineageOS - - εμφάνιση κατάστασης του τηλεφώνου και της σύνδεσης δεδομένων με υποστήριξη για πολλαπλές SIM - Επιτρέπει σε μια εφαρμογή να εμφανίζει την κατάσταση του τηλεφώνου και της σύνδεσης δεδομένων με υποστήριξη για πολλαπλές SIM. - - τροποποίηση κατάστασης του τηλεφώνου και της σύνδεσης δεδομένων με υποστήριξη για πολλαπλές SIM - Επιτρέπει σε μια εφαρμογή να τροποποιεί την κατάσταση του τηλεφώνου και της σύνδεσης δεδομένων με υποστήριξη για πολλαπλές SIM. τροποποίηση προφίλ συστήματος Επιτρέπει σε μια εφαρμογή να τροποποιεί τα προφίλ του συστήματος. diff --git a/lineage/res/res/values-en-rAU/strings.xml b/lineage/res/res/values-en-rAU/strings.xml index 2266d1de..3c3ef48a 100644 --- a/lineage/res/res/values-en-rAU/strings.xml +++ b/lineage/res/res/values-en-rAU/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - view the phone state and data connection with support to multiple SIMs - Allows an app to view the phone state and data connection with support to multiple SIMs. - - modify the phone state and data connection with support to multiple SIMs - Allows an app to modify the phone state and data connection with support to multiple SIMs. modify system profiles Allows an app to modify system profiles. diff --git a/lineage/res/res/values-en-rGB/strings.xml b/lineage/res/res/values-en-rGB/strings.xml index 6b701c17..1d888994 100644 --- a/lineage/res/res/values-en-rGB/strings.xml +++ b/lineage/res/res/values-en-rGB/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - view the phone state and data connection with support to multiple SIMs - Allows an app to view the phone state and data connection with support to multiple SIMs. - - modify the phone state and data connection with support to multiple SIMs - Allows an app to modify the phone state and data connection with support to multiple SIMs. modify system profiles Allows an app to modify system profiles. diff --git a/lineage/res/res/values-en-rIN/strings.xml b/lineage/res/res/values-en-rIN/strings.xml index 80e1848e..09f14377 100644 --- a/lineage/res/res/values-en-rIN/strings.xml +++ b/lineage/res/res/values-en-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - view the phone state and data connection with support to multiple SIMs - Allows an app to view the phone state and data connection with support to multiple SIMs. - - Modify the phone state and data connection with support to multiple SIMs - Allows an app to modify the phone state and data connection with support to multiple SIMs. Modify system profiles Allows an app to modify system profiles. diff --git a/lineage/res/res/values-en-rPT/strings.xml b/lineage/res/res/values-en-rPT/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-en-rPT/strings.xml +++ b/lineage/res/res/values-en-rPT/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-eo/strings.xml b/lineage/res/res/values-eo/strings.xml index 2604039a..7ac40c03 100644 --- a/lineage/res/res/values-eo/strings.xml +++ b/lineage/res/res/values-eo/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-es-rCO/strings.xml b/lineage/res/res/values-es-rCO/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-es-rCO/strings.xml +++ b/lineage/res/res/values-es-rCO/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-es-rMX/strings.xml b/lineage/res/res/values-es-rMX/strings.xml index 92108e10..a7ef4f97 100644 --- a/lineage/res/res/values-es-rMX/strings.xml +++ b/lineage/res/res/values-es-rMX/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-es-rUS/strings.xml b/lineage/res/res/values-es-rUS/strings.xml index ae161c09..902f538d 100644 --- a/lineage/res/res/values-es-rUS/strings.xml +++ b/lineage/res/res/values-es-rUS/strings.xml @@ -19,12 +19,6 @@ Sistema de LineageOS - - ver el estado del teléfono y la conexión de datos con soporte SIM múltiple - Permite a una aplicación ver el estado del teléfono y la conexión de datos con soporte SIM múltiple. - - modificar el estado del teléfono y la conexión de datos con soporte SIM múltiple - Permite a una aplicación modificar el estado del teléfono y la conexión de datos con soporte SIM múltiple. modificar los perfiles del sistema Permite que una aplicación modifique los perfiles del sistema. diff --git a/lineage/res/res/values-es/strings.xml b/lineage/res/res/values-es/strings.xml index 317e4dee..fe4c3cca 100644 --- a/lineage/res/res/values-es/strings.xml +++ b/lineage/res/res/values-es/strings.xml @@ -19,12 +19,6 @@ Sistema de LineageOS - - ver el estado del teléfono y la conexión de datos con soporte multi SIM - Permite a una aplicación ver el estado del teléfono y la conexión de datos con soporte multi SIM. - - modificar el estado del teléfono y la conexión de datos con soporte multi SIM - Permite a una aplicación modificar el estado del teléfono y la conexión de datos con soporte multi SIM. modificar los perfiles del sistema Permite que una aplicación modifique los perfiles del sistema. diff --git a/lineage/res/res/values-et-rEE/strings.xml b/lineage/res/res/values-et-rEE/strings.xml index a9746023..cb794ec4 100644 --- a/lineage/res/res/values-et-rEE/strings.xml +++ b/lineage/res/res/values-et-rEE/strings.xml @@ -19,12 +19,6 @@ LineageOS Süsteem - - telefoni oleku ja andmeühenduse vaatamine, toetades mitmeid SIMe - Võimaldab rakendusel vaadata telefoni olekut ja andmeühendust, toetades mitmeid SIMe. - - telefoni oleku ja andmeühenduse muutmine, toetades mitmeid SIMe - Võimaldab rakendusel muuta telefoni olekut ja andmeühendust, toetades mitmeid SIMe. kasutada riistvara raamistikku diff --git a/lineage/res/res/values-eu-rES/strings.xml b/lineage/res/res/values-eu-rES/strings.xml index 1b3393c1..4820cd8c 100644 --- a/lineage/res/res/values-eu-rES/strings.xml +++ b/lineage/res/res/values-eu-rES/strings.xml @@ -19,12 +19,6 @@ LineageOS sistema - - ikusi telefonoaren egoera eta datu konexioa hainbat SIM txartelentzako euskarriarekin - Telefonoaren egoera eta datu konexioa hainbat SIM txartelentzako euskarriarekin ikustea ahalbidetzen dio aplikazioari. - - aldatu telefonoaren egoera eta datu konexioa hainbat SIM txartelentzako euskarriarekin - Telefonoaren egoera eta datu konexioa hainbat SIM txartelentzako euskarriarekin aldatzea ahalbidetzen dio aplikazioari. aldatu sistemaren profilak Sistemaren profilak aldatzea ahalbidetzen dio aplikazioari. diff --git a/lineage/res/res/values-fa/strings.xml b/lineage/res/res/values-fa/strings.xml index 0ccc42ef..5b495a97 100644 --- a/lineage/res/res/values-fa/strings.xml +++ b/lineage/res/res/values-fa/strings.xml @@ -19,12 +19,6 @@ سیستم سایانوژن‌مود - - مشاهده وضعیت تلفن و اتصال داده با پشتیبانی از چندین سیم کارت - به برنامه اجازه مشاهده وضعیت تلفن و اتصال داده را با پشتیبانی از چندین سیم کارت می‌دهد. - - تغییر وضعیت تلفن و اتصال داده با پشتیبانی از چندین سیم کارت - به برنامه اجازه ویرایش وضعیت تلفن و اتصال داده را با پشتیبانی از چندین سیم کارت می‌دهد. تغییر پروفایل‌های سیستم به برنامه اجازه می‌دهد تا پروفایل‌های سیستم را تغییر دهد. diff --git a/lineage/res/res/values-fi/strings.xml b/lineage/res/res/values-fi/strings.xml index f05e61f8..45bc6820 100644 --- a/lineage/res/res/values-fi/strings.xml +++ b/lineage/res/res/values-fi/strings.xml @@ -19,12 +19,6 @@ LineageOS Järjestelmä - - tarkastele puhelimen tilaa ja datayhteyttä useamman SIM-kortin tuella - Sallii sovelluksen tarkastella puhelimen tilaa ja datayhteyden tietoja usean SIM-kortin tuella. - - muokkaa puhelimen tilaa ja datayhteyttä useamman SIM-kortin tuella - Sallii sovelluksen muokata puhelimen tilaa ja datayhteyden tietoja usean SIM-kortin tuella. muokkaa järjestelmän profiileja Sallii sovelluksen muokata järjestelmäprofiileja. diff --git a/lineage/res/res/values-fil-rPH/strings.xml b/lineage/res/res/values-fil-rPH/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-fil-rPH/strings.xml +++ b/lineage/res/res/values-fil-rPH/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-fr-rCA/strings.xml b/lineage/res/res/values-fr-rCA/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-fr-rCA/strings.xml +++ b/lineage/res/res/values-fr-rCA/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-fr/strings.xml b/lineage/res/res/values-fr/strings.xml index 3bb1a405..bffb400d 100644 --- a/lineage/res/res/values-fr/strings.xml +++ b/lineage/res/res/values-fr/strings.xml @@ -19,12 +19,6 @@ Système LineageOS - - voir l\'état du téléphone et de la connexion de données en gérant le multi-SIM - Autorise une application à voir l\'état du téléphone et la connexion de données en gérant le multi-SIM. - - modifier l\'état du téléphone et la connexion de données en gérant le multi-SIM - Autorise une application à modifier l\'état du téléphone et la connexion de données en gérant le multi-SIM. modifier les profils de système Permet à une application de modifier les profils système. diff --git a/lineage/res/res/values-frp-rIT/strings.xml b/lineage/res/res/values-frp-rIT/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-frp-rIT/strings.xml +++ b/lineage/res/res/values-frp-rIT/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-fy-rNL/strings.xml b/lineage/res/res/values-fy-rNL/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-fy-rNL/strings.xml +++ b/lineage/res/res/values-fy-rNL/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ga-rIE/strings.xml b/lineage/res/res/values-ga-rIE/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ga-rIE/strings.xml +++ b/lineage/res/res/values-ga-rIE/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-gd-rGB/strings.xml b/lineage/res/res/values-gd-rGB/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-gd-rGB/strings.xml +++ b/lineage/res/res/values-gd-rGB/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-gl-rES/strings.xml b/lineage/res/res/values-gl-rES/strings.xml index 740cf914..2fa85449 100644 --- a/lineage/res/res/values-gl-rES/strings.xml +++ b/lineage/res/res/values-gl-rES/strings.xml @@ -19,12 +19,6 @@ Sistema LineageOS - - ver o estado do teléfono e a conexión de datos con capacidade para varias tarxetas SIM - Permítelle a unha aplicación ver o estado do teléfono e conexión de datos con capacidade para varias tarxetas SIM. - - modificar o estado do teléfono e a conexión de datos con capacidade para varias tarxetas SIM - Permite modificar o estado do teléfono e a conexión de datos con capacidade para varias tarxetas SIM. modificar perfís do sistema Permítelle a unha aplicación modificar os perfís do sistema. diff --git a/lineage/res/res/values-gu-rIN/strings.xml b/lineage/res/res/values-gu-rIN/strings.xml index 337a3dda..e29692f0 100644 --- a/lineage/res/res/values-gu-rIN/strings.xml +++ b/lineage/res/res/values-gu-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS સિસ્ટમ - - બહુવિધ SIMsના સ‌મર્થન સહ ફોન સ્થિતિ અને ડેટા જોડાણ જુઓ - ઍપને બહુવિધ SIMsના સ‌મર્થન સહ ફોન સ્થિતિ અને ડેટા જોડાણ જોવાની પરવાનગી કરી આપે છે. - - બહુવિધ SIMsના સ‌મર્થન સહ ફોન સ્થિતિ અને ડેટા જોડાણમાં ફેરફાર કરો - ઍપને બહુવિધ SIMsના સ‌મર્થન સહ ફોન સ્થિતિ અને ડેટા જોડાણ ફેરફાર કરવાની પરવાનગી કરી આપે છે. સિસ્ટમ પ્રોફાઇલ્સમાં ફેરફાર કરો ઍપને સિસ્ટમ પ્રોફાઇલ્સમાં ફેરફાર કરવાની પરવાનગી આપે છે. diff --git a/lineage/res/res/values-hi/strings.xml b/lineage/res/res/values-hi/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-hi/strings.xml +++ b/lineage/res/res/values-hi/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-hr/strings.xml b/lineage/res/res/values-hr/strings.xml index 7473d3a6..ea17bff1 100644 --- a/lineage/res/res/values-hr/strings.xml +++ b/lineage/res/res/values-hr/strings.xml @@ -19,12 +19,6 @@ LineageOS sustav - - prikaz stanja telefona i veze uz podršku za više SIM-ova - Dopušta aplikaciji prikaz stanja telefona i veze uz podršku za više SIM-ova. - - izmijeni stanje telefona i veze uz podršku za više SIM-ova - Dopušta aplikaciji izmijenu stanja telefona i veze uz podršku za više SIM-ova. izmijeni profile sustava Dopušta aplikaciji da izmijeni profile sustava. diff --git a/lineage/res/res/values-hu/strings.xml b/lineage/res/res/values-hu/strings.xml index 4a0adaa7..558a4f89 100644 --- a/lineage/res/res/values-hu/strings.xml +++ b/lineage/res/res/values-hu/strings.xml @@ -19,12 +19,6 @@ LineageOS rendszer - - telefon állapotának és adatkapcsolatának megtekintése több SIM támogatásával - Lehetővé teszi az alkalmazás számára, hogy megtekintse a telefon állapotát és az adatkapcsolatot több SIM támogatásával. - - telefon állapotának és adatkapcsolatának módosítása több SIM támogatásával - Lehetővé teszi az alkalmazás számára, hogy módosítsa a telefon állapotát és az adatkapcsolatot több SIM támogatásával. rendszerprofilok módosítása Lehetővé teszi az alkalmazás számára a rendszerprofilok módosítását. diff --git a/lineage/res/res/values-hy-rAM/strings.xml b/lineage/res/res/values-hy-rAM/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-hy-rAM/strings.xml +++ b/lineage/res/res/values-hy-rAM/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-in/strings.xml b/lineage/res/res/values-in/strings.xml index 8e2d1c9c..20b53168 100644 --- a/lineage/res/res/values-in/strings.xml +++ b/lineage/res/res/values-in/strings.xml @@ -19,12 +19,6 @@ Sistem LineageOS - - lihat status ponsel dan koneksi data dengan dukungan untuk beberapa SIM - Mengizinkan aplikasi untuk melihat status ponsel dan koneksi data dengan dukungan untuk beberapa SIM. - - ubah status ponsel dan koneksi data dengan dukungan untuk beberapa SIM - Mengizinkan aplikasi untuk mengubah status ponsel dan koneksi data dengan dukungan untuk beberapa SIM. memodifikasi profil sistem diff --git a/lineage/res/res/values-is-rIS/strings.xml b/lineage/res/res/values-is-rIS/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-is-rIS/strings.xml +++ b/lineage/res/res/values-is-rIS/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-it/strings.xml b/lineage/res/res/values-it/strings.xml index c8e7c79b..fbf0b9da 100644 --- a/lineage/res/res/values-it/strings.xml +++ b/lineage/res/res/values-it/strings.xml @@ -19,12 +19,6 @@ Sistema LineageOS - - vedi stato del dispositivo e connessione con supporto a più SIM - Consenti ad un\'app di vedere lo stato del telefono e della connessione con supporto per SIM multiple. - - modifica stato del dispositivo e connessione con supporto a più SIM - Consenti ad un\'app di modificare lo stato del telefono e della connessione con supporto per SIM multiple. modifica profili sistema Consenti ad un\'app di modificare i profili di sistema. diff --git a/lineage/res/res/values-iw/strings.xml b/lineage/res/res/values-iw/strings.xml index 5b70eec6..9c61e713 100644 --- a/lineage/res/res/values-iw/strings.xml +++ b/lineage/res/res/values-iw/strings.xml @@ -19,12 +19,6 @@ מערכת LineageOS - - הצג את מצב המכשיר ואת חיבור הנתונים עם תמיכה בכרטיסי SIM מרובים - מאפשר ליישום להציג את מצב המכשיר ואת חיבור הנתונים עם תמיכה בכרטיסי SIM מרובים. - - שנה את מצב המכשיר וחיבור הנתונים עם תמיכה בכרטיסי SIM מרובים - מאפשר ליישום לשנות את מצב המכשיר ואת חיבור הנתונים עם תמיכה בכרטיסי SIM מרובים. שנה פרופילי מערכת מאפשר ליישום לשנות פרופילי מערכת. diff --git a/lineage/res/res/values-ja/strings.xml b/lineage/res/res/values-ja/strings.xml index 47e0801b..ed08aaf8 100644 --- a/lineage/res/res/values-ja/strings.xml +++ b/lineage/res/res/values-ja/strings.xml @@ -19,12 +19,6 @@ LineageOS システム - - マルチSIMをサポートする端末の状態とデータ接続の表示 - マルチSIMをサポートする端末の状態とデータ接続の表示をアプリに許可します。 - - マルチSIMをサポートする端末の状態とデータ接続の変更 - マルチSIMをサポートする端末の状態とデータ接続の変更をアプリに許可します。 システムプロファイルの変更 システムプロファイルの変更をアプリに許可します。 diff --git a/lineage/res/res/values-ka-rGE/strings.xml b/lineage/res/res/values-ka-rGE/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ka-rGE/strings.xml +++ b/lineage/res/res/values-ka-rGE/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-kk-rKZ/strings.xml b/lineage/res/res/values-kk-rKZ/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-kk-rKZ/strings.xml +++ b/lineage/res/res/values-kk-rKZ/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-km-rKH/strings.xml b/lineage/res/res/values-km-rKH/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-km-rKH/strings.xml +++ b/lineage/res/res/values-km-rKH/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-kn-rIN/strings.xml b/lineage/res/res/values-kn-rIN/strings.xml index 87422c10..8f16504b 100644 --- a/lineage/res/res/values-kn-rIN/strings.xml +++ b/lineage/res/res/values-kn-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS ಸಿಸ್ಟಂ - - ಬಹು ಸಿಮ್‍ಗಳ ಬೆಂಬಲದ ಜೊತೆ ಫೋನ್ ಸ್ಥಿತಿ ಮತ್ತು ಡೇಟಾ ಸಂಪರ್ಕವನ್ನು ವೀಕ್ಷಿಸುವಿಕೆ - ಒಂದು ಆಪ್‍ಗೆ ಬಹು ಸಿಮ್‍ಗಳ ಬೆಂಬಲದ ಜೊತೆ ಫೋನ್ ಸ್ಥಿತಿ ಮತ್ತು ಡೇಟಾ ಸಂಪರ್ಕವನ್ನು ವೀಕ್ಷಿಸಲು ಅನುಮತಿಸುತ್ತದೆ. - - ಬಹು ಸಿಮ್‍ಗಳ ಬೆಂಬಲದ ಜೊತೆ ಫೋನ್ ಸ್ಥಿತಿ ಮತ್ತು ಡೇಟಾ ಸಂಪರ್ಕವನ್ನು ಮಾರ್ಪಡಿಸುವಿಕೆ - ಒಂದು ಆಪ್‍ಗೆ ಬಹು ಸಿಮ್‍ಗಳ ಬೆಂಬಲದ ಜೊತೆ ಫೋನ್ ಸ್ಥಿತಿ ಮತ್ತು ಡೇಟಾ ಸಂಪರ್ಕವನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ. ಸಿಸ್ಟಂ ಪ್ರೋಫೈಲ್‍ಗಳನ್ನು ಮಾರ್ಪಡಿಸು ಒಂದು ಆಪ್‍ಗೆ ಸಿಸ್ಟಂ ಪ್ರೊಫೈಲ್‍ಗಳನ್ನು ಮಾರ್ಪಡಿಸಲು ಅನುಮತಿಸುತ್ತದೆ. diff --git a/lineage/res/res/values-ko/strings.xml b/lineage/res/res/values-ko/strings.xml index 0c519871..39f125f6 100644 --- a/lineage/res/res/values-ko/strings.xml +++ b/lineage/res/res/values-ko/strings.xml @@ -19,12 +19,6 @@ LineageOS 시스템 - - 여러 개의 SIM 카드를 지원하면서 휴대전화의 상태와 데이터 연결 상태를 확인 - 앱이 여러 개의 SIM 카드를 지원하면서 휴대전화의 상태와 데이터 연결 상태를 확인하도록 허용합니다. - - 여러 개의 SIM 카드를 지원하면서 휴대전화의 상태와 데이터 연결 상태를 수정 - 앱이 여러 개의 SIM 카드를 지원하면서 휴대전화의 상태와 데이터 연결 상태를 수정하도록 허용합니다. 시스템 프로필 수정 앱이 시스템 프로필을 수정할 수 있도록 허용합니다. diff --git a/lineage/res/res/values-ku/strings.xml b/lineage/res/res/values-ku/strings.xml index a4eae18f..b1f56870 100644 --- a/lineage/res/res/values-ku/strings.xml +++ b/lineage/res/res/values-ku/strings.xml @@ -19,8 +19,6 @@ سیستەمی ساینەجنمۆد - - diff --git a/lineage/res/res/values-ky-rKG/strings.xml b/lineage/res/res/values-ky-rKG/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ky-rKG/strings.xml +++ b/lineage/res/res/values-ky-rKG/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-lb/strings.xml b/lineage/res/res/values-lb/strings.xml index 3c232210..4bd4d23f 100644 --- a/lineage/res/res/values-lb/strings.xml +++ b/lineage/res/res/values-lb/strings.xml @@ -19,12 +19,6 @@ LineageOS-System - - Systemstatus an Dateconnectioun op Ënnerstëtzung vu méi SIM-Kaarten iwwerpréiwen - Erlaabt der App, de Systemstatus an d\'Dateconnectioun op Ënnerstëtzung vu méi SIM-Kaarten z\'iwwerpréiwen. - - Telefonsstatus an Dateconnectioun op Ënnerstëtzung vu méi SIM-Kaarten iwwerpréiwen - Erlaabt der App, den Telefonsstatus an d\'Dateconnectioun op Ënnerstëtzung vu méi SIM-Kaarten z\'iwwerpréiwen. Hardware-Framework benotzen diff --git a/lineage/res/res/values-lo-rLA/strings.xml b/lineage/res/res/values-lo-rLA/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-lo-rLA/strings.xml +++ b/lineage/res/res/values-lo-rLA/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-lt/strings.xml b/lineage/res/res/values-lt/strings.xml index 5495e4f1..b3b844d4 100644 --- a/lineage/res/res/values-lt/strings.xml +++ b/lineage/res/res/values-lt/strings.xml @@ -19,12 +19,6 @@ „LineageOS“ sistema - - pažiūrėti telefono būseną ir duomenų ryšį su kelių SIM palaikymu - Leidžia programai pažiūrėti telefono būseną ir duomenų ryšį su kelių SIM palaikymu. - - keisti telefono būseną ir duomenų ryšį su kelių SIM palaikymu - Leidžia programai keisti telefono būseną ir duomenų ryšį su kelių SIM palaikymu. keisti sistemos profilius Leidžia programai keisti sistemos profilius. diff --git a/lineage/res/res/values-lv/strings.xml b/lineage/res/res/values-lv/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-lv/strings.xml +++ b/lineage/res/res/values-lv/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-mk-rMK/strings.xml b/lineage/res/res/values-mk-rMK/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-mk-rMK/strings.xml +++ b/lineage/res/res/values-mk-rMK/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ml-rIN/strings.xml b/lineage/res/res/values-ml-rIN/strings.xml index 7d097ee9..c2af3f1d 100644 --- a/lineage/res/res/values-ml-rIN/strings.xml +++ b/lineage/res/res/values-ml-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS സിസ്റ്റം - - ഒന്നിലധികം SIM കളുടെ പിന്തുണയോടെ ഫോൺ സ്ഥിതിയും ഡാറ്റ കണക്ഷനും കാണുക - ഒന്നിലധികം SIM കളുടെ പിന്തുണയോടെ ഫോൺ സ്ഥിതിയും ഡാറ്റ കണക്ഷനും കാണുവാന്‍ ഒരു ആപ്ലിക്കേഷനെ അനുവദിക്കുന്നു. - - ഒന്നിലധികം SIM കളുടെ പിന്തുണയോടെ ഫോൺ സ്ഥിതിയും ഡാറ്റ കണക്ഷനും പരിഷ്കരിക്കുക - ഒന്നിലധികം SIM കളുടെ പിന്തുണയോടെ ഫോൺ സ്ഥിതിയും ഡാറ്റ കണക്ഷനും പരിഷ്കരിക്കുവാന്‍ ഒരു ആപ്ലിക്കേഷനെ അനുവദിക്കുന്നു. സിസ്റ്റം പ്രൊഫൈലുകൾ പരിഷ്ക്കരിക്കുക സിസ്റ്റം പ്രൊഫൈലുകൾ പരിഷ്കരിക്കുന്നതിന് ഒരു ആപ്ലിക്കേഷനെ അനുവദിക്കുന്നു. diff --git a/lineage/res/res/values-mn-rMN/strings.xml b/lineage/res/res/values-mn-rMN/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-mn-rMN/strings.xml +++ b/lineage/res/res/values-mn-rMN/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-mr-rIN/strings.xml b/lineage/res/res/values-mr-rIN/strings.xml index e2760730..1cff08a6 100644 --- a/lineage/res/res/values-mr-rIN/strings.xml +++ b/lineage/res/res/values-mr-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS सिस्टिम - - फोन स्थिती आणि डेटा कनेक्शन अनेक सिम च्या सहयोगाने पाहा - अॅपला फोन स्थिती आणि डेटा कनेक्शन अनेक सिम च्या सहयोगाने पाहू देते. - - फोन स्थिती आणि डेटा कनेक्शन अनेक सिम च्या सहयोगाने सुधारित करा - अॅपला फोन स्थिती आणि डेटा कनेक्शन अनेक सिम च्या सहयोगाने सुधारित करण्याची परवानगी देते. सिस्टिम प्रोफाइल्स सुधारित करा अॅपला सिस्टिम प्रोफाइल्स सुधारित करण्याची परवानगी देते. diff --git a/lineage/res/res/values-ms-rMY/strings.xml b/lineage/res/res/values-ms-rMY/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ms-rMY/strings.xml +++ b/lineage/res/res/values-ms-rMY/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-my-rMM/strings.xml b/lineage/res/res/values-my-rMM/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-my-rMM/strings.xml +++ b/lineage/res/res/values-my-rMM/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-nb/strings.xml b/lineage/res/res/values-nb/strings.xml index 08c452e2..9383e194 100644 --- a/lineage/res/res/values-nb/strings.xml +++ b/lineage/res/res/values-nb/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - vis telefonens status og forbindelse med støtte til flere SIM-kort - Gir en app tilgang til å se telefonens status og forbindelse med støtte til flere SIM-kort. - - gjøre endringer til telefonens status og forbindelse med støtte til flere SIM-kort - Gir en app tilgang til å gjøre endringer på telefonens status og forbindelse med støtte til flere SIM-kort. endre system profiler Tillat en app å endre systemprofiler. diff --git a/lineage/res/res/values-ne-rNP/strings.xml b/lineage/res/res/values-ne-rNP/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ne-rNP/strings.xml +++ b/lineage/res/res/values-ne-rNP/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-nl/strings.xml b/lineage/res/res/values-nl/strings.xml index 494a81fe..4adf6193 100644 --- a/lineage/res/res/values-nl/strings.xml +++ b/lineage/res/res/values-nl/strings.xml @@ -19,12 +19,6 @@ LineageOS-systeem - - telefoonstatus en gegevensverbinding bekijken met ondersteuning voor multi-SIM - Hiermee kan de app de status van de telefoon en de gegevensverbinding weergeven met ondersteuning voor meerdere simkaarten. - - telefoonstatus en gegevensverbinding wijzigen met ondersteuning voor multi-SIM - Hiermee kan de app de status van de telefoon en van de gegevensverbinding wijzigen met ondersteuning voor meerdere simkaarten. systeemprofielen wijzigen Hiermee kan de app systeemprofielen wijzigen. diff --git a/lineage/res/res/values-oc-rFR/strings.xml b/lineage/res/res/values-oc-rFR/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-oc-rFR/strings.xml +++ b/lineage/res/res/values-oc-rFR/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-or-rIN/strings.xml b/lineage/res/res/values-or-rIN/strings.xml index be967a7d..23dcf075 100644 --- a/lineage/res/res/values-or-rIN/strings.xml +++ b/lineage/res/res/values-or-rIN/strings.xml @@ -19,12 +19,6 @@ ସିଆନୋଜେନ୍‍ମୋଡ୍‍ ସିଷ୍ଟମ୍‍ - - ଏକାଧିକ SIMର ସମଥନ ସହିତ ଫୋନ୍‍ ଥିତି ଓ ଡାଟା ସଂଯୋଗ ଦେଖନ୍ତୁ - ଏକାଧିକ SIMର ସମଥନ ସହିତ ଫୋନ୍‍ ସ୍ଥିତି ଓ ଡାଟା ସଂଯୋଗ ଦେଖିବାକୁ ଆପ୍ଲିକେସନ୍‍କୁ ଅନୁମତି ଦିଏ। - - ଏକାଧିକ SIMର ସମଥନ ସହିତ ଫୋନ୍‍ ସ୍ଥିତି ଓ ଡାଟା ସଂଯୋଗକୁ ସମ୍ପାଦନା କରନ୍ତୁ - ଏକାଧିକ SIMର ସମଥନ ସହିତ ଫୋନ୍‍ ସ୍ଥିତି ଓ ଡାଟା ସଂଯୋଗକୁ ସମ୍ପାଦନା କରିବାକୁ ଆପ୍ଲିକେସନ୍‍କୁ ଅନୁମତି ଦିଏ। ସିଷ୍ଟମ୍‍ ପ୍ରୋଫାଇଲ୍‍ ସମ୍ପାଦନା କରନ୍ତୁ ସିଷ୍ଟମ୍‍ ପ୍ରୋଫାଇଲ୍‍ ସମ୍ପାଦନା କରିବାକୁ ଆପ୍ଲିକେସନ୍‍କୁ ଅନୁମତି ଦିଏ। diff --git a/lineage/res/res/values-pa-rIN/strings.xml b/lineage/res/res/values-pa-rIN/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-pa-rIN/strings.xml +++ b/lineage/res/res/values-pa-rIN/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-pl/strings.xml b/lineage/res/res/values-pl/strings.xml index 214b5fe4..674691a2 100644 --- a/lineage/res/res/values-pl/strings.xml +++ b/lineage/res/res/values-pl/strings.xml @@ -19,12 +19,6 @@ System LineageOS - - pokaż stanu telefonu i połączenia danych z wsparciem dla wielu kart SIM - Pozwala aplikacji na wyświetlenie stanu telefonu i połączenia danych z wsparciem dla wielu kart SIM. - - zmodyfikuj stan telefonu i połączenia danych z wsparciem dla wielu kart SIM - Pozwala aplikacji na modyfikacje stanu telefonu i połączenia danych z wsparciem dla wielu kart SIM. modyfikuje profile systemowe Umożliwia aplikacji modyfikację profili systemowych. diff --git a/lineage/res/res/values-pt-rBR/strings.xml b/lineage/res/res/values-pt-rBR/strings.xml index a74fabe7..2f0bfb25 100644 --- a/lineage/res/res/values-pt-rBR/strings.xml +++ b/lineage/res/res/values-pt-rBR/strings.xml @@ -19,12 +19,6 @@ Sistema LineageOS - - veja a conexão de dados e o estado do telefone com suporte para vários SIMs - Permite que um aplicativo exiba a conexão de dados e o estado do telefone com suporte para vários SIMs. - - modificar a conexão de dados e o estado do telefone com suporte para vários SIMs - Permite que um aplicativo modifique a conexão de dados e o estado do telefone com suporte para vários SIMs. modificar os perfis de sistema Permite que um aplicativo modifique os perfis de sistema. diff --git a/lineage/res/res/values-pt-rPT/strings.xml b/lineage/res/res/values-pt-rPT/strings.xml index aad670b7..f50dd06b 100644 --- a/lineage/res/res/values-pt-rPT/strings.xml +++ b/lineage/res/res/values-pt-rPT/strings.xml @@ -19,12 +19,6 @@ Sistema LineageOS - - ver o estado do telefone e a ligação de dados com suporte para vários cartões SIM - Permite que uma aplicação veja o estado do telefone e a ligação de dados com suporte para vários cartões SIM. - - modificar o estado do telefone e a ligação de dados com suporte para vários cartões SIM - Permite que uma aplicação modifique o estado do telefone e a ligação de dados com suporte para vários cartões SIM. modificar os perfis de sistema Permite que uma aplicação modifique os perfis do sistema. diff --git a/lineage/res/res/values-rm/strings.xml b/lineage/res/res/values-rm/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-rm/strings.xml +++ b/lineage/res/res/values-rm/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ro/strings.xml b/lineage/res/res/values-ro/strings.xml index f1a05250..1a844e5c 100644 --- a/lineage/res/res/values-ro/strings.xml +++ b/lineage/res/res/values-ro/strings.xml @@ -19,12 +19,6 @@ Sistem LineageOS - - citește starea telefonului și a conexiunii de date cu suport pentru SIM-uri multiple - Permite unei aplicații să citească starea telefonului și a conexiunii de date cu suport pentru SIM-uri multiple. - - modifică starea telefonului și a conexiunii de date cu suport pentru SIM-uri multiple - Permite unei aplicații să modifice starea telefonului și a conexiunii de date cu suport pentru SIM-uri multiple. modifică profiluri de sistem Permite unei aplicații să modifice profilurile de sistem. diff --git a/lineage/res/res/values-ru/strings.xml b/lineage/res/res/values-ru/strings.xml index 6a29ec15..b1bb2e0a 100644 --- a/lineage/res/res/values-ru/strings.xml +++ b/lineage/res/res/values-ru/strings.xml @@ -19,12 +19,6 @@ Система LineageOS - - Просмотр состояния телефона и передачи данных с поддержкой нескольких SIM-карт - Приложение сможет получить доступ к информации о состоянии телефона и передаче данных с поддержкой нескольких SIM-карт. - - Изменение состояния телефона и передачи данных с поддержкой нескольких SIM-карт - Приложение сможет изменять состояние телефона и передачу данных с поддержкой нескольких SIM-карт. Изменение профилей системы Приложение сможет изменять настройки системных профилей. diff --git a/lineage/res/res/values-si-rLK/strings.xml b/lineage/res/res/values-si-rLK/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-si-rLK/strings.xml +++ b/lineage/res/res/values-si-rLK/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-sk/strings.xml b/lineage/res/res/values-sk/strings.xml index fd91367d..cf166759 100644 --- a/lineage/res/res/values-sk/strings.xml +++ b/lineage/res/res/values-sk/strings.xml @@ -19,12 +19,6 @@ Systém LineageOS - - zobraziť stav telefónu a dátového pripojenia s podporou viacerých SIM - Umožňuje aplikácii zobraziť stav telefónu a dátového pripojenia s podporou viacerých SIM. - - meniť stav telefónu a dátového pripojenia s podporou viacerých SIM - Umožňuje aplikácii meniť stav telefónu a dátového pripojenia s podporou viacerých SIM. upraviť systémové profily Umožňuje aplikácii upraviť systémové profily. diff --git a/lineage/res/res/values-sl/strings.xml b/lineage/res/res/values-sl/strings.xml index a360ea14..dfb749cc 100644 --- a/lineage/res/res/values-sl/strings.xml +++ b/lineage/res/res/values-sl/strings.xml @@ -19,12 +19,6 @@ Sistem LineageOS - - ogled stanja telefona in podatkovnih povezav s podporo za več kartic SIM - Dovoli aplikaciji ogled stanja telefona in podatkovnih povezav s podporo za več kartic SIM. - - spreminjanje stanja telefona in podatkovnih povezav s podporo za več kartic SIM - Dovoli aplikaciji spreminjanje stanja telefona in podatkovnih povezav s podporo za več kartic SIM. spreminjanje sistemskih profilov Dovoli aplikaciji spreminjanje sistemskih profilov. diff --git a/lineage/res/res/values-sq-rAL/strings.xml b/lineage/res/res/values-sq-rAL/strings.xml index 1277e28a..340701ea 100644 --- a/lineage/res/res/values-sq-rAL/strings.xml +++ b/lineage/res/res/values-sq-rAL/strings.xml @@ -19,8 +19,6 @@ Sistemi LineageOS - - modifiko profilet e sistemit Lejon një aplikacion që të modifikojë profilet e sistemit. diff --git a/lineage/res/res/values-sr-rCS/strings.xml b/lineage/res/res/values-sr-rCS/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-sr-rCS/strings.xml +++ b/lineage/res/res/values-sr-rCS/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-sr/strings.xml b/lineage/res/res/values-sr/strings.xml index ab2d308b..910d0296 100644 --- a/lineage/res/res/values-sr/strings.xml +++ b/lineage/res/res/values-sr/strings.xml @@ -19,12 +19,6 @@ Систем LineageOS - - преглед стања телефона и преноса података са подршком за више SIM картица - Апликација може да приступа информацијама о стању телефона и преносу података са подршком за више SIM картица. - - мењање стања телефона и преноса података са подршком за више SIM картица - Апликација може да мења стање телефона и пренос података са подршком за више SIM картица. мењање профила система Апликација може да мења подешавања системских профила. diff --git a/lineage/res/res/values-sv/strings.xml b/lineage/res/res/values-sv/strings.xml index 545b3b46..55c5edb4 100644 --- a/lineage/res/res/values-sv/strings.xml +++ b/lineage/res/res/values-sv/strings.xml @@ -19,12 +19,6 @@ LineageOS System - - visa telefonens status och dataförbindelsestöd med flera SIM-kort - Tillåter att en app visar telefonens status och dataförbindelsestöd med flera SIM-kort. - - ändra telefonens status och dataförbindelsestöd med flera SIM-kort - Tillåter att en app ändrar telefonens status och dataförbindelsestöd med flera SIM-kort. ändra systemprofiler Tillåter att en app ändrar systemprofiler. diff --git a/lineage/res/res/values-sw/strings.xml b/lineage/res/res/values-sw/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-sw/strings.xml +++ b/lineage/res/res/values-sw/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-ta-rIN/strings.xml b/lineage/res/res/values-ta-rIN/strings.xml index cde8b473..77cbe63a 100644 --- a/lineage/res/res/values-ta-rIN/strings.xml +++ b/lineage/res/res/values-ta-rIN/strings.xml @@ -19,12 +19,6 @@ LineageOS அமைப்பு - - தொலைப்பேசி நிலை மற்றும் தரவு இணைப்பை பல SIMகளுக்கான ஆதரவுடன் காண்க - பயன்பாடானது தொலைப்பேசி நிலை மற்றும் தரவு இணைப்பை பல SIMகளுக்கான ஆதரவுடன் காண அனுமதிக்கிறது. - - தொலைப்பேசி நிலை மற்றும் தரவு இணைப்பை பல SIMகளுக்கான ஆதரவுடன் மாற்றியமை. - பயன்பாடானது தொலைப்பேசி நிலை மற்றும் தரவு இணைப்பை பல SIMகளுக்கான ஆதரவுடன் மாற்றியமைக்க அனுமதிக்கிறது. கணினி சுயவிவரங்களை மாற்றியமை. ஒரு பயன்பாடானது கணினி சுயவிவரங்களை மாற்றியமைக்க அனுமதிக்கிறது. diff --git a/lineage/res/res/values-te-rIN/strings.xml b/lineage/res/res/values-te-rIN/strings.xml index 5da3a438..02ff2a66 100644 --- a/lineage/res/res/values-te-rIN/strings.xml +++ b/lineage/res/res/values-te-rIN/strings.xml @@ -19,12 +19,6 @@ సయనోజెన్ మోడ్ సిస్టమ్ - - బహుళ SIMలకు మద్దతు అందిస్తూ ఫోన్ స్థితి మరియు డేటా అనుసంధానాన్ని వీక్షించుము - బహుళ SIMలకు మద్దతు అందిస్తూ ఫోన్ స్థితి మరియు డేటా అనుసంధానాన్ని వీక్షించేందుకు ప్రోగ్రాంకి అనుమతినిస్తుంది. - - బహుళ SIMలకు సహకారం అందిస్తూ ఫోన్ స్థితి మరియు డేటా అనుసంధానాన్ని సవరించుము - బహుళ SIMలకు సహకారం అందిస్తూ ఫోన్ స్థితి మరియు డేటా అనుసంధానాన్ని సవరించేందుకు ప్రోగ్రాంకి అనుమతినిస్తుంది. సిస్టమ్ ప్రొఫైళ్ళను సవరించుము సిస్టమ్ ప్రొఫైళ్ళను సవరించేందుకు ప్రోగ్రాంకి అనుమతినిస్తుంది. diff --git a/lineage/res/res/values-th/strings.xml b/lineage/res/res/values-th/strings.xml index 2f7c1247..93d8fb79 100644 --- a/lineage/res/res/values-th/strings.xml +++ b/lineage/res/res/values-th/strings.xml @@ -19,12 +19,6 @@ ระบบ LineageOS - - ดูสถานะและการเชื่อมต่อข้อมูลของโทรศัพท์ด้วยการให้ความช่วยเหลือกับ SIM หลายอัน - อนุญาตให้แอปดูสถานะและการเชื่อมต่อข้อมูลของโทรศัพท์ด้วยการให้ความช่วยเหลือกับ SIM หลายอัน - - ปรับแต่งสถานะและการเชื่อมต่อข้อมูลของโทรศัพท์ด้วยการให้ความช่วยเหลือกับ SIM หลายอัน - อนุญาตให้แอพปรับแต่งสถานะและการเชื่อมต่อข้อมูลของโทรศัพท์ด้วยการให้ความช่วยเหลือกับ SIM หลายอัน ปรับแต่งโปรไฟล์ระบบ อนุญาตให้แอปปรับแต่งโปรไฟล์ระบบ diff --git a/lineage/res/res/values-tr/strings.xml b/lineage/res/res/values-tr/strings.xml index 08ad934e..6dd4b910 100644 --- a/lineage/res/res/values-tr/strings.xml +++ b/lineage/res/res/values-tr/strings.xml @@ -19,12 +19,6 @@ LineageOS Sistemi - - telefon durumunu ve çoklu SIMler ile veri bağlantısı desteğini görüntüle - Uygulamalara telefon durumunu ve çoklu SIMler ile veri bağlantısı desteğini görüntüleme imkanı verir. - - telefon durumunu ve çoklu SIMler ile veri bağlantısı desteğini değiştir - Uygulamalara telefon durumunu ve çoklu SIMler ile veri bağlantısı desteğini değiştirme imkanı verir. sistem profillerini değiştir Uygulamaya sistem profillerini değiştirme izni verir. diff --git a/lineage/res/res/values-ug/strings.xml b/lineage/res/res/values-ug/strings.xml index 930c9fcc..a84d7a85 100644 --- a/lineage/res/res/values-ug/strings.xml +++ b/lineage/res/res/values-ug/strings.xml @@ -19,12 +19,6 @@ LineageOS سىستېمىسى - - كۆپ SIM كارتا قوللايدىغان تېلېفون ھالىتى ۋە تور ئۇلىنىشىنى كۆرۈش - ئەپنىڭ كۆپ SIM كارتا قوللايدىغان تېلېفون ھالىتى ۋە تور ئۇلىنىشىنى كۆرۈشگە يول قويۇش. - - كۆپ SIM كارتا قوللايدىغان تېلېفون ھالىتى ۋە تور ئۇلىنىشىنى ئۆزگەرتىش - ئەپنىڭ كۆپ SIM كارتا قوللايدىغان تېلېفون ھالىتى ۋە تور ئۇلىنىشىنى كۆرۈشگە يول قويۇش. سىستېما سەپلەنمىسىنى ئۆزگەرتىش ئەپنىڭ سىستېما سەپلەنمىسىنى ئۆزگەرتىشىگە يول قويۇش. diff --git a/lineage/res/res/values-uk/strings.xml b/lineage/res/res/values-uk/strings.xml index 4903e8a5..4b7c7dfb 100644 --- a/lineage/res/res/values-uk/strings.xml +++ b/lineage/res/res/values-uk/strings.xml @@ -19,12 +19,6 @@ Система LineageOS - - переглядати стан телефону і з\'єднання даних з підтримкою до декількох SIM - Дозволяє програмі переглядати стану телефону і з\'єднання даних з підтримкою до декількох SIM. - - змінювати стан телефону і з’єднання даних з підтримкою до декількох SIM - Дозволяє програмі змінювати стан телефону і з’єднання даних з підтримкою до декількох SIM. зміна системних профілів Дозволяє додатку змінювати системні профілі. diff --git a/lineage/res/res/values-ur-rPK/strings.xml b/lineage/res/res/values-ur-rPK/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-ur-rPK/strings.xml +++ b/lineage/res/res/values-ur-rPK/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-uz-rUZ/strings.xml b/lineage/res/res/values-uz-rUZ/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-uz-rUZ/strings.xml +++ b/lineage/res/res/values-uz-rUZ/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values-vi/strings.xml b/lineage/res/res/values-vi/strings.xml index db35fe26..24f3f701 100644 --- a/lineage/res/res/values-vi/strings.xml +++ b/lineage/res/res/values-vi/strings.xml @@ -19,12 +19,6 @@ Hệ thống LineageOS - - xem tình trạng điện thoại và kết nối dữ liệu với hỗ trợ đa SIM - Cho phép ứng dụng xem tình trạng điện thoại và kết nối dữ liệu với hỗ trợ đa SIM. - - thay đổi tình trạng điện thoại và kết nối dữ liệu với hỗ trợ đa SIM - Cho phép ứng dụng thay đổi tình trạng điện thoại và kết nối dữ liệu với hỗ trợ đa SIM. sửa đổi cấu hình hệ thống Cho phép một ứng dụng sửa đổi cấu hình hệ thống. diff --git a/lineage/res/res/values-zh-rCN/strings.xml b/lineage/res/res/values-zh-rCN/strings.xml index a5e201f2..816d3bcb 100644 --- a/lineage/res/res/values-zh-rCN/strings.xml +++ b/lineage/res/res/values-zh-rCN/strings.xml @@ -19,12 +19,6 @@ LineageOS 系统 - - 查看支持多 SIM 卡的手机状态和数据连接 - 允许应用查看基于多 SIM 卡的手机状态和数据连接情况。 - - 修改基于多 SIM 卡的手机状态和数据连接。 - 允许应用修改基于多 SIM 卡的手机状态和数据连接。 修改系统配置 允许应用修改系统配置文件。 diff --git a/lineage/res/res/values-zh-rHK/strings.xml b/lineage/res/res/values-zh-rHK/strings.xml index c4830dcb..e0d37daf 100644 --- a/lineage/res/res/values-zh-rHK/strings.xml +++ b/lineage/res/res/values-zh-rHK/strings.xml @@ -18,8 +18,6 @@ --> - - 使用硬件框架 diff --git a/lineage/res/res/values-zh-rTW/strings.xml b/lineage/res/res/values-zh-rTW/strings.xml index 08f29e47..eaa6bb51 100644 --- a/lineage/res/res/values-zh-rTW/strings.xml +++ b/lineage/res/res/values-zh-rTW/strings.xml @@ -19,12 +19,6 @@ LineageOS 系統 - - 在支援多張 SIM 卡的裝置上查看電話狀態和數據連線 - 允許應用程式查看支援多張 SIM 卡的裝置的電話狀態和數據連線 - - 在支援多張 SIM 卡的裝置上修改電話狀態和數據連線 - 允許應用程式修改支援多張 SIM 卡的裝置的電話狀態和數據連線 修改系統設定檔 允許應用程式修改系統設定檔。 diff --git a/lineage/res/res/values-zu/strings.xml b/lineage/res/res/values-zu/strings.xml index 84136ba0..6bf73eed 100644 --- a/lineage/res/res/values-zu/strings.xml +++ b/lineage/res/res/values-zu/strings.xml @@ -18,8 +18,6 @@ --> - - diff --git a/lineage/res/res/values/config.xml b/lineage/res/res/values/config.xml index 329038f0..bdee1ef5 100644 --- a/lineage/res/res/values/config.xml +++ b/lineage/res/res/values/config.xml @@ -92,7 +92,6 @@ should publish as a binder services in its onStart --> org.lineageos.platform.internal.ProfileManagerService - org.lineageos.platform.internal.LineageTelephonyManagerService org.lineageos.platform.internal.LineageHardwareService org.lineageos.platform.internal.PerformanceManagerService org.lineageos.platform.internal.LineageWeatherManagerService diff --git a/lineage/res/res/values/strings.xml b/lineage/res/res/values/strings.xml index a9167b9c..0c94b747 100644 --- a/lineage/res/res/values/strings.xml +++ b/lineage/res/res/values/strings.xml @@ -23,13 +23,7 @@ - - view the phone state and data connection with support to multiple SIMs - Allows an app to view the phone state and data connection with support to multiple SIMs. - - modify the phone state and data connection with support to multiple SIMs - Allows an app to modify the phone state and data connection with support to multiple SIMs. modify system profiles diff --git a/sdk/src/java/lineageos/app/ILineageTelephonyManager.aidl b/sdk/src/java/lineageos/app/ILineageTelephonyManager.aidl deleted file mode 100644 index 3dbec46d..00000000 --- a/sdk/src/java/lineageos/app/ILineageTelephonyManager.aidl +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2015, 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 lineageos.app; - -import android.telephony.SubscriptionInfo; - -import java.util.List; - -/** @hide */ -interface ILineageTelephonyManager { - // --- Methods below are for use by 3rd party applications to manage phone and data connection - // You need the READ_MSIM_PHONE_STATE permission - List getSubInformation(); - boolean isSubActive(int subId); - boolean isDataConnectionSelectedOnSub(int subId); - boolean isDataConnectionEnabled(); - - // You need the MODIFY_MSIM_PHONE_STATE permission - void setSubState(int subId, boolean state); - void setDataConnectionSelectedOnSub(int subId); - void setDataConnectionState(boolean state); - void setDefaultPhoneSub(int subId); - void setDefaultSmsSub(int subId); -} diff --git a/sdk/src/java/lineageos/app/LineageContextConstants.java b/sdk/src/java/lineageos/app/LineageContextConstants.java index 21998524..f113d6d6 100644 --- a/sdk/src/java/lineageos/app/LineageContextConstants.java +++ b/sdk/src/java/lineageos/app/LineageContextConstants.java @@ -43,18 +43,6 @@ public final class LineageContextConstants { */ public static final String LINEAGE_PROFILE_SERVICE = "profile"; - /** - * Use with {@link android.content.Context#getSystemService} to retrieve a - * {@link lineageos.app.LineageTelephonyManager} to manage the phone and - * data connection. - * - * @see android.content.Context#getSystemService - * @see lineageos.app.LineageTelephonyManager - * - * @hide - */ - public static final String LINEAGE_TELEPHONY_MANAGER_SERVICE = "lineagetelephonymanager"; - /** * Use with {@link android.content.Context#getSystemService} to retrieve a * {@link lineageos.hardware.LineageHardwareManager} to manage the extended @@ -128,14 +116,6 @@ public final class LineageContextConstants { @SdkConstant(SdkConstant.SdkConstantType.FEATURE) public static final String PROFILES = "org.lineageos.profiles"; - /** - * Feature for {@link PackageManager#getSystemAvailableFeatures} and - * {@link PackageManager#hasSystemFeature}: The device includes the lineage telephony service - * utilized by the lineage sdk. - */ - @SdkConstant(SdkConstant.SdkConstantType.FEATURE) - public static final String TELEPHONY = "org.lineageos.telephony"; - /** * Feature for {@link PackageManager#getSystemAvailableFeatures} and * {@link PackageManager#hasSystemFeature}: The device includes the lineage performance service diff --git a/sdk/src/java/lineageos/app/LineageTelephonyManager.java b/sdk/src/java/lineageos/app/LineageTelephonyManager.java deleted file mode 100644 index af21849a..00000000 --- a/sdk/src/java/lineageos/app/LineageTelephonyManager.java +++ /dev/null @@ -1,358 +0,0 @@ -/** - * Copyright (c) 2015, 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 lineageos.app; - -import android.content.Context; -import android.os.IBinder; -import android.os.RemoteException; -import android.os.ServiceManager; -import android.telephony.SubscriptionInfo; -import android.util.Log; -import android.util.Slog; - -import java.util.List; - -import lineageos.app.LineageContextConstants; - -/** - * The LineageTelephonyManager allows you to view and manage the phone state and - * the data connection, with multiple SIMs support. - * - *

- * To get the instance of this class, utilize LineageTelephonyManager#getInstance(Context context) - */ -public class LineageTelephonyManager { - - /** - * Subscription ID used to set the default Phone and SMS to "ask every time". - */ - public static final int ASK_FOR_SUBSCRIPTION_ID = 0; - - private static final String TAG = "LineageTelephonyManager"; - private static boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG); - - private static ILineageTelephonyManager sService; - private static LineageTelephonyManager sLineageTelephonyManagerInstance; - private Context mContext; - - private LineageTelephonyManager(Context context) { - Context appContext = context.getApplicationContext(); - if (appContext != null) { - mContext = appContext; - } else { - mContext = context; - } - sService = getService(); - - if (context.getPackageManager().hasSystemFeature(LineageContextConstants.Features.TELEPHONY) - && sService == null) { - Log.wtf(TAG, "Unable to get LineageTelephonyManagerService. " + - "The service either crashed, was not started, or the interface has been " + - "called to early in SystemServer init"); - } - } - - /** - * Get or create an instance of the {@link lineageos.app.LineageTelephonyManager} - * - * @return {@link lineageos.app.LineageTelephonyManager} - */ - public static LineageTelephonyManager getInstance(Context context) { - if (sLineageTelephonyManagerInstance == null) { - sLineageTelephonyManagerInstance = new LineageTelephonyManager(context); - } - return sLineageTelephonyManagerInstance; - } - - /** @hide */ - public ILineageTelephonyManager getService() { - if (sService != null) { - return sService; - } - IBinder b = ServiceManager.getService(LineageContextConstants.LINEAGE_TELEPHONY_MANAGER_SERVICE); - if (b != null) { - sService = ILineageTelephonyManager.Stub.asInterface(b); - return sService; - } - return null; - } - - /** - * Gets the list of {@link SubscriptionInfo} that are registered on the - * phone. - * - * @return The list of SIM subscriptions. The returning list can be null or empty. - * @see SubscriptionInfo - */ - public List getSubInformation() { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return null; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting the SIMs information"); - } - List subInfoList = null; - try { - subInfoList = sService.getSubInformation(); - if (subInfoList == null) { - Log.w(TAG, "no subscription list was returned from the service"); - } else if (subInfoList.isEmpty()) { - Log.w(TAG, "the subscription list is empty"); - } - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - - return subInfoList; - } - - /** - * Returns the state of the SIM by subscription ID. - * - * If the subscription ID is not valid the method will return {@code false}. - * - * @param subId The subscription ID to query. - * @return {@code true} if the SIM is activated (even without signal or requesting the - * PIN/PUK), {@code false} otherwise. - */ - public boolean isSubActive(int subId) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return false; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting the state of the SIM with subscription: " + subId); - } - boolean simActive = false; - try { - simActive = sService.isSubActive(subId); - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting the SIM state with subscription " + subId + " as active: " + simActive); - } - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - - return simActive; - } - - /** - * Sets the state of one of the SIMs by subscription ID. - * - * If the subscription ID is not valid or the SIM already - * is in the desired state the method will do nothing. - * - * @param subId The subscription ID to change the state. - * @param state {@code true} to activate the SIM, {@code false} to disable. - */ - public void setSubState(int subId, boolean state) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " setting the state of the SIM with subscription " + subId + " as active: " + state); - } - - try { - sService.setSubState(subId, state); - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - } - - /** - * Checks if the received subscription received has the data - * connection enabled. - * - * This method will return {@code true} (or {@code false} if inactive on the SIM) - * even when an internet connection is active through Wifi/BT. - * - * If the subscription ID is not valid the method will return false. - * - * @param subId The subscription ID to query. - * @return {@code true} if the data connection is enabled on the SIM, {@code false} otherwise. - */ - public boolean isDataConnectionSelectedOnSub(int subId) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return false; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting if the data connection is enabled for SIM for subscription: " + subId); - } - boolean dataConnectionActiveOnSim = false; - try { - dataConnectionActiveOnSim = sService.isDataConnectionSelectedOnSub(subId); - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting if the data connection is enabled for SIM with subscription " + - subId + " as active: " + dataConnectionActiveOnSim); - } - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - - return dataConnectionActiveOnSim; - } - - /** - * Checks if the network data connection is enabled. - * - * This method will return {@code true} (or {@code false} if inactive) - * even when an internet connection is active through Wifi/BT. - * - * @return {@code true} if the network data connection is enabled, {@code false} otherwise. - */ - public boolean isDataConnectionEnabled() { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return false; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting if the network data connection is enabled"); - } - boolean dataConnectionEnabled = false; - try { - dataConnectionEnabled = sService.isDataConnectionEnabled(); - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " getting if the network data connection is enabled: " + dataConnectionEnabled); - } - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - - return dataConnectionEnabled; - } - - /** - * Sets the network data conection active or inactive. - * - * @param state If {@code true} enables the network data connection, if {@code false} disables it. - */ - public void setDataConnectionState(boolean state) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " setting the network data connection enabled: " + state); - } - - try { - sService.setDataConnectionState(state); - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - } - - /** - * Sets the data connection state on one of the SIMs by subscription ID. - * - * If the subscription ID is not valid or the data connection is already - * enabled on the SIM the method will do nothing. - * - * @param subId The subscription ID to set the network data connection. - * @hide - */ - public void setDataConnectionSelectedOnSub(int subId) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " setting the network data connection for SIM with subscription: " + subId); - } - - try { - sService.setDataConnectionSelectedOnSub(subId); - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - } - - /** - * Sets the default phone used to make phone calls as the one received on subId. - * - * If ASK_FOR_SUBSCRIPTION_ID is used as a parameter, then the option to choose - * what SIM to use is selected. - * - * @param subId The subscription to set as default for phone calls. - * To select SIM when calling use ASK_FOR_SUBSCRIPTION_ID. - */ - public void setDefaultPhoneSub(int subId) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " setting the subscription used for phone calls as: " + subId); - } - - try { - sService.setDefaultPhoneSub(subId); - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - } - - /** - * Sets the default phone used to send SMS as the one received on subId. - * - * If ASK_FOR_SUBSCRIPTION_ID is used as a parameter, then the option to choose - * what SIM to use is selected. - * - * @param subId The subscription to set as default for sending SMS. - * To select SIM when sending SMS use ASK_FOR_SUBSCRIPTION_ID. - */ - public void setDefaultSmsSub(int subId) { - if (sService == null) { - Log.w(TAG, "not connected to LineageTelephonyManager"); - return; - } - - if (localLOGD) { - String pkg = mContext.getPackageName(); - Log.v(TAG, pkg + " setting the subscription used for SMS as: " + subId); - } - - try { - sService.setDefaultSmsSub(subId); - } catch (RemoteException e) { - Slog.w(TAG, "warning: no lineage telephony manager service"); - } - } -} diff --git a/tests/src/org/lineageos/tests/telephony/LineageTelephonyTest.java b/tests/src/org/lineageos/tests/telephony/LineageTelephonyTest.java deleted file mode 100644 index 76a508ee..00000000 --- a/tests/src/org/lineageos/tests/telephony/LineageTelephonyTest.java +++ /dev/null @@ -1,101 +0,0 @@ -package org.lineageos.tests.telephony; - -import android.telephony.SubscriptionManager; -import android.widget.Toast; -import org.lineageos.tests.TestActivity; - -import lineageos.app.LineageTelephonyManager; - -/** - * Created by adnan on 8/6/15. - */ -public class LineageTelephonyTest extends TestActivity { - @Override - protected String tag() { - return null; - } - - @Override - protected Test[] tests() { - return mTests; - } - - private Test[] mTests = new Test[] { - new Test("test retreive list of subscription information") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - Toast.makeText(LineageTelephonyTest.this, "Test retrieve info " - + lineageTelephonyManager.getSubInformation().toString(), - Toast.LENGTH_SHORT).show(); - } - }, - new Test("test is default subscription active") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - Toast.makeText(LineageTelephonyTest.this, "Test default sub active " - + lineageTelephonyManager.isSubActive( - SubscriptionManager.getDefaultSubscriptionId()), - Toast.LENGTH_SHORT).show(); - } - }, - new Test("test setSubState on default subscription") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - lineageTelephonyManager.setSubState(SubscriptionManager.getDefaultSubscriptionId(), true); - } - }, - new Test("test is data enabled on default sub") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - Toast.makeText(LineageTelephonyTest.this, "Test default sub data " - + lineageTelephonyManager.isDataConnectionSelectedOnSub( - SubscriptionManager.getDefaultSubscriptionId()), - Toast.LENGTH_SHORT).show(); - } - }, - new Test("test is data enabled") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - Toast.makeText(LineageTelephonyTest.this, "Test data enabled " - + lineageTelephonyManager.isDataConnectionEnabled(), - Toast.LENGTH_SHORT).show(); - } - }, - new Test("test setDataConnectionState") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - lineageTelephonyManager.setDataConnectionState(true); - } - }, - new Test("test setDataConnectionSelectedOnSub") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - lineageTelephonyManager.setDataConnectionSelectedOnSub( - SubscriptionManager.getDefaultSubscriptionId()); - } - }, - new Test("test setDefaultPhoneSub") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - lineageTelephonyManager.setDefaultPhoneSub( - SubscriptionManager.getDefaultSubscriptionId()); - } - }, - new Test("test setDefaultSmsSub") { - public void run() { - LineageTelephonyManager lineageTelephonyManager = - LineageTelephonyManager.getInstance(LineageTelephonyTest.this); - lineageTelephonyManager.setDefaultSmsSub( - SubscriptionManager.getDefaultSubscriptionId()); - } - }, - }; -}