Skip to content

Commit

Permalink
add isSmsCapable to PhoneGlobal.dump()
Browse files Browse the repository at this point in the history
- adb host side can check if device is sms capable or not.

Bug: 133163369
Test: run adb shell dumpsys phone
Change-Id: I8c024c1cc96c0369283ee5c4951045e272330ab7
  • Loading branch information
Keun young Park committed May 31, 2019
1 parent 69a08ff commit debb853
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/android/phone/PhoneGlobals.java
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ public void dump(FileDescriptor fd, PrintWriter printWriter, String[] args) {
pw.println("mNoDataDueToRoaming=" + mNoDataDueToRoaming);
pw.println("mDefaultDataSubId=" + mDefaultDataSubId);
pw.println("mDataRoamingNotifLog:");
pw.println("isSmsCapable=" + TelephonyManager.from(this).isSmsCapable());
pw.increaseIndent();
mDataRoamingNotifLog.dump(fd, pw, args);
pw.decreaseIndent();
Expand Down

0 comments on commit debb853

Please sign in to comment.