Loading src/com/android/documentsui/services/DeleteJob.java +0 −5 Original line number Diff line number Diff line Loading @@ -97,11 +97,6 @@ final class DeleteJob extends ResolvedResourcesJob { R.plurals.delete_error_notification_title, R.drawable.ic_menu_delete); } @Override Notification getWarningNotification() { throw new UnsupportedOperationException(); } private String getProgressMessage() { switch (getState()) { case Job.STATE_SET_UP: Loading src/com/android/documentsui/services/Job.java +4 −1 Original line number Diff line number Diff line Loading @@ -188,7 +188,10 @@ abstract public class Job implements Runnable { abstract Notification getProgressNotification(); abstract Notification getFailureNotification(); abstract Notification getWarningNotification(); /** Must be implemented if hasWarnings() can return true. */ Notification getWarningNotification() { throw new UnsupportedOperationException(); } abstract JobProgress getJobProgress(); Loading tests/common/com/android/documentsui/services/TestJob.java +0 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,6 @@ public class TestJob extends Job { R.plurals.copy_error_notification_title, R.drawable.ic_menu_copy); } @Override Notification getWarningNotification() { throw new UnsupportedOperationException(); } JobProgress getJobProgress() { return new JobProgress(id, operationType, getState(), "test job", false); } Loading Loading
src/com/android/documentsui/services/DeleteJob.java +0 −5 Original line number Diff line number Diff line Loading @@ -97,11 +97,6 @@ final class DeleteJob extends ResolvedResourcesJob { R.plurals.delete_error_notification_title, R.drawable.ic_menu_delete); } @Override Notification getWarningNotification() { throw new UnsupportedOperationException(); } private String getProgressMessage() { switch (getState()) { case Job.STATE_SET_UP: Loading
src/com/android/documentsui/services/Job.java +4 −1 Original line number Diff line number Diff line Loading @@ -188,7 +188,10 @@ abstract public class Job implements Runnable { abstract Notification getProgressNotification(); abstract Notification getFailureNotification(); abstract Notification getWarningNotification(); /** Must be implemented if hasWarnings() can return true. */ Notification getWarningNotification() { throw new UnsupportedOperationException(); } abstract JobProgress getJobProgress(); Loading
tests/common/com/android/documentsui/services/TestJob.java +0 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,6 @@ public class TestJob extends Job { R.plurals.copy_error_notification_title, R.drawable.ic_menu_copy); } @Override Notification getWarningNotification() { throw new UnsupportedOperationException(); } JobProgress getJobProgress() { return new JobProgress(id, operationType, getState(), "test job", false); } Loading