Merge "Polish developer option enable verbose vendor logging"

This commit is contained in:
Rambo Wang
2020-02-21 06:36:56 +00:00
committed by Android (Google) Code Review
3 changed files with 34 additions and 12 deletions

View File

@@ -133,7 +133,8 @@ public class EnableVerboseVendorLoggingPreferenceController
}
/** Return a {@IDumpstateDevice} instance or null if service is not available. */
private @Nullable IDumpstateDevice getDumpstateDeviceService() {
@VisibleForTesting
@Nullable IDumpstateDevice getDumpstateDeviceService() {
IDumpstateDevice service = null;
try {
service = android.hardware.dumpstate.V1_1.IDumpstateDevice