Merge "Call CBS dump in dumpsys" into mainline-prod
This commit is contained in:
@@ -28,6 +28,11 @@ import android.os.IBinder;
|
|||||||
import android.os.RemoteCallback;
|
import android.os.RemoteCallback;
|
||||||
import android.telephony.cdma.CdmaSmsCbProgramData;
|
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.List;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
@@ -186,5 +191,16 @@ public abstract class CellBroadcastService extends Service {
|
|||||||
public @NonNull CharSequence getCellBroadcastAreaInfo(int slotIndex) {
|
public @NonNull CharSequence getCellBroadcastAreaInfo(int slotIndex) {
|
||||||
return CellBroadcastService.this.getCellBroadcastAreaInfo(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