diff options
-rw-r--r-- | telephony/java/android/telephony/CellBroadcastService.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CellBroadcastService.java b/telephony/java/android/telephony/CellBroadcastService.java index ac775b391e94..14de2f285756 100644 --- a/telephony/java/android/telephony/CellBroadcastService.java +++ b/telephony/java/android/telephony/CellBroadcastService.java @@ -28,6 +28,11 @@ import android.os.IBinder; import android.os.RemoteCallback; import android.telephony.cdma.CdmaSmsCbProgramData; +import com.android.internal.util.FastPrintWriter; + +import java.io.FileDescriptor; +import java.io.FileOutputStream; +import java.io.PrintWriter; import java.util.List; import java.util.function.Consumer; @@ -186,5 +191,16 @@ public abstract class CellBroadcastService extends Service { public @NonNull CharSequence getCellBroadcastAreaInfo(int slotIndex) { return CellBroadcastService.this.getCellBroadcastAreaInfo(slotIndex); } + + @Override + protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) { + CellBroadcastService.this.dump(fd, fout, args); + } + + @Override + public void dump(FileDescriptor fd, String[] args) { + PrintWriter pw = new FastPrintWriter(new FileOutputStream(fd)); + CellBroadcastService.this.dump(fd, pw, args); + } } } |