Loading packages/Shell/src/com/android/shell/BugreportProgressService.java +10 −1 Original line number Diff line number Diff line Loading @@ -1909,7 +1909,7 @@ public class BugreportProgressService extends Service { } final IDumpstate dumpstate = IDumpstate.Stub.asInterface(service); try { token = dumpstate.setListener("Shell", this); token = dumpstate.setListener("Shell", this, /* perSectionDetails= */ false); if (token != null) { token.asBinder().linkToDeath(this, 0); } Loading Loading @@ -1978,6 +1978,15 @@ public class BugreportProgressService extends Service { info.realMax = maxProgress; } @Override public void onSectionComplete(String title, int status, int size, int durationMs) throws RemoteException { if (DEBUG) { Log.v(TAG, "Title: " + title + " Status: " + status + " Size: " + size + " Duration: " + durationMs + "ms"); } } public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.print("token: "); pw.println(token); } Loading Loading
packages/Shell/src/com/android/shell/BugreportProgressService.java +10 −1 Original line number Diff line number Diff line Loading @@ -1909,7 +1909,7 @@ public class BugreportProgressService extends Service { } final IDumpstate dumpstate = IDumpstate.Stub.asInterface(service); try { token = dumpstate.setListener("Shell", this); token = dumpstate.setListener("Shell", this, /* perSectionDetails= */ false); if (token != null) { token.asBinder().linkToDeath(this, 0); } Loading Loading @@ -1978,6 +1978,15 @@ public class BugreportProgressService extends Service { info.realMax = maxProgress; } @Override public void onSectionComplete(String title, int status, int size, int durationMs) throws RemoteException { if (DEBUG) { Log.v(TAG, "Title: " + title + " Status: " + status + " Size: " + size + " Duration: " + durationMs + "ms"); } } public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.print("token: "); pw.println(token); } Loading