Skip to content

Commit

Permalink
Revert : Suppress Annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jun 13, 2024
1 parent 6f657db commit e9e06d9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ private void showPluginRemoveFailedSnackbar() {
.show();
}

@SuppressWarnings("deprecation") // Progress Dialog Deprecation on API 26

private void showDomainCreditsCheckProgressDialog() {
if (mCheckingDomainCreditsProgressDialog == null) {
mCheckingDomainCreditsProgressDialog = new ProgressDialog(this);
Expand All @@ -808,7 +808,7 @@ private void cancelDomainCreditsCheckProgressDialog() {
mCheckingDomainCreditsProgressDialog.cancel();
}
}
@SuppressWarnings("deprecation") // Progress Dialog Deprecation on API 26

private void showRemovePluginProgressDialog() {
if (mRemovePluginProgressDialog == null) {
mRemovePluginProgressDialog = new ProgressDialog(this);
Expand Down Expand Up @@ -1228,7 +1228,7 @@ private void startAutomatedTransfer() {
* updates site settings etc, it'll be lost when the Automated Transfer is completed. The process takes about 1 min
* on average, and we'll be able to update the progress by checking the status of the transfer.
*/
@SuppressWarnings("deprecation") // Progress Dialog Deprecation on API 26

private void showAutomatedTransferProgressDialog() {
if (mAutomatedTransferProgressDialog == null) {
mAutomatedTransferProgressDialog = new ProgressDialog(this);
Expand Down Expand Up @@ -1365,7 +1365,7 @@ public void onAutomatedTransferInitiated(OnAutomatedTransferInitiated event) {
* Unfortunately we can't close the progress dialog until both the site and its plugins are fetched. Check out
* `onSiteChanged` for the next step.
*/
@SuppressWarnings({"deprecation", "unused"}) // Progress Dialog Deprecation on API 26
@SuppressWarnings("unused") // Progress Dialog Deprecation on API 26
@Subscribe(threadMode = ThreadMode.MAIN)
public void onAutomatedTransferStatusChecked(OnAutomatedTransferStatusChecked event) {
if (isFinishing()) {
Expand Down

0 comments on commit e9e06d9

Please sign in to comment.