Call CBS dump in dumpsys
Bug: 187447232 Test: dumpsys isms Change-Id: Ib18c6b411c9430155336b1e8b35f796a09ba429e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user