Loading core/java/android/os/BugreportManager.java +6 −7 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ public class BugreportManager { } } // TODO(b/111441001) Connect up with BugreportListener methods. private final class DumpstateListener extends IDumpstateListener.Stub implements DeathRecipient { private final BugreportListener mListener; Loading @@ -130,35 +129,35 @@ public class BugreportManager { @Override public void onProgress(int progress) throws RemoteException { // TODO(b/111441001): implement mListener.onProgress(progress); } @Override public void onError(int errorCode) throws RemoteException { // TODO(b/111441001): implement mListener.onError(errorCode); } @Override public void onFinished(long durationMs, String title, String description) throws RemoteException { // TODO(b/111441001): implement mListener.onFinished(durationMs, title, description); } // Old methods; should go away @Override public void onProgressUpdated(int progress) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } @Override public void onMaxProgressUpdated(int maxProgress) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } @Override public void onSectionComplete(String title, int status, int size, int durationMs) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } } } packages/Shell/src/com/android/shell/BugreportProgressService.java +1 −2 Original line number Diff line number Diff line Loading @@ -1953,8 +1953,7 @@ public class BugreportProgressService extends Service { @Override public void onProgress(int progress) throws RemoteException { // TODO(b/111441001): change max argument? updateProgressInfo(progress, CAPPED_MAX); updateProgressInfo(progress, 100 /* progress is already a percentage; so max = 100 */); } @Override Loading Loading
core/java/android/os/BugreportManager.java +6 −7 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ public class BugreportManager { } } // TODO(b/111441001) Connect up with BugreportListener methods. private final class DumpstateListener extends IDumpstateListener.Stub implements DeathRecipient { private final BugreportListener mListener; Loading @@ -130,35 +129,35 @@ public class BugreportManager { @Override public void onProgress(int progress) throws RemoteException { // TODO(b/111441001): implement mListener.onProgress(progress); } @Override public void onError(int errorCode) throws RemoteException { // TODO(b/111441001): implement mListener.onError(errorCode); } @Override public void onFinished(long durationMs, String title, String description) throws RemoteException { // TODO(b/111441001): implement mListener.onFinished(durationMs, title, description); } // Old methods; should go away @Override public void onProgressUpdated(int progress) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } @Override public void onMaxProgressUpdated(int maxProgress) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } @Override public void onSectionComplete(String title, int status, int size, int durationMs) throws RemoteException { // TODO(b/111441001): implement // TODO(b/111441001): remove from interface } } }
packages/Shell/src/com/android/shell/BugreportProgressService.java +1 −2 Original line number Diff line number Diff line Loading @@ -1953,8 +1953,7 @@ public class BugreportProgressService extends Service { @Override public void onProgress(int progress) throws RemoteException { // TODO(b/111441001): change max argument? updateProgressInfo(progress, CAPPED_MAX); updateProgressInfo(progress, 100 /* progress is already a percentage; so max = 100 */); } @Override Loading