From b6512b4ead8b20727b57b11f2f0e2126381f995d 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 Merged-In: 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 883e2ad9b76eb..7799113c5bf15 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -2556,4 +2556,7 @@ interface ITelephony { * for the slot, or {@code null} if none is resolved */ String getCarrierServicePackageNameForLogicalSlot(int logicalSlotIndex); + + /** Check if telephony new data stack is enabled. */ + boolean isUsingNewDataStack(); }