Commit 3ef80c73 authored by Robbie McElrath's avatar Robbie McElrath Committed by Commit Bot

Suppress MissingSuperCall error in DownloadActivity.onRequestPermissionsResult

@CallSuper was added to FragmentActivity.onRequestPermissionsResult in
r.android.com/1233518, which is present in the AndroidX fragment library
v1.2. This change will prevent a compilation error when upgrading to
that version of the library.

Bug: 1123216
Change-Id: Icef9c868cc5cf2de38b6c40cacdc91f48e1edfbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386277
Commit-Queue: Min Qin <qinmin@chromium.org>
Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804414}
parent 8c7d3c6e
...@@ -118,6 +118,7 @@ public class DownloadActivity extends SnackbarActivity implements ModalDialogMan ...@@ -118,6 +118,7 @@ public class DownloadActivity extends SnackbarActivity implements ModalDialogMan
} }
@Override @Override
@SuppressWarnings("MissingSuperCall")
public void onRequestPermissionsResult( public void onRequestPermissionsResult(
int requestCode, String[] permissions, int[] grantResults) { int requestCode, String[] permissions, int[] grantResults) {
mPermissionDelegate.handlePermissionResult(requestCode, permissions, grantResults); mPermissionDelegate.handlePermissionResult(requestCode, permissions, grantResults);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment