Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9a8edee authored by mrulhania's avatar mrulhania
Browse files

Suppress lint warning about final or onXXX naming convention

Test: local build
Fix: 341038701
Change-Id: I76e7e6ec9b5322b8dae6dee470f1c38df506a02b
parent 6426a13c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5796,6 +5796,8 @@ public class Activity extends ContextThemeWrapper
     * @see #onRequestPermissionsResult
     */
    @FlaggedApi(Flags.FLAG_DEVICE_AWARE_PERMISSION_APIS_ENABLED)
    @SuppressLint("OnNameExpected")
    // Suppress lint as this is an overload of the original API.
    public boolean shouldShowRequestPermissionRationale(@NonNull String permission, int deviceId) {
        final PackageManager packageManager = getDeviceId() == deviceId ? getPackageManager()
                : createDeviceContext(deviceId).getPackageManager();