From abbaf5519879c126bb3326679ab20a2150a11842 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Fri, 3 Dec 2021 23:54:22 -0800 Subject: [PATCH] Added command line tool to enable/disable new data stack Provide the temporary command line tool to check whether new data stack is enabled or not. Bug: 196597630 Test: adb shell cmd phone get-data-mode Change-Id: I9f95e7424e6e74af12a0f6780a58fb5732df7300 --- telephony/java/com/android/internal/telephony/ITelephony.aidl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 114f10daf495e..1f336f776c40f 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -2502,4 +2502,7 @@ interface ITelephony { */ CellIdentity getLastKnownCellIdentity(int subId, String callingPackage, String callingFeatureId); + + /** Check if telephony new data stack is enabled. */ + boolean isUsingNewDataStack(); }