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

Commit 15d5a6db authored by Cole Faust's avatar Cole Faust Committed by William Escande
Browse files

Baseline NewApi issues

NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.

This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.

Bug: 268261262
Flag: Exempt, build change
Test: m Bluetooth + Presubmits
Change-Id: I1081934a0ab8beb912f111392b4be0064772e329
parent 97465680
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -298,6 +298,7 @@ android_app {
        ],
        strict_updatability_linting: true,
        baseline_filename: "lint-baseline.xml",

    },

    optimize: {
@@ -334,9 +335,6 @@ java_library {
    ],
    min_sdk_version: "Tiramisu",
    sdk_version: "module_current",
    lint: {
        baseline_filename: "lint-baseline.xml",
    },
}

platform_compat_config {
@@ -358,9 +356,6 @@ java_library {
    ],
    min_sdk_version: "Tiramisu",
    sdk_version: "module_current",
    lint: {
        baseline_filename: "lint-baseline.xml",
    },
}

genrule {
+204 −204

File changed.

Preview size limit exceeded, changes collapsed.

+1 −4
Original line number Diff line number Diff line
@@ -135,9 +135,6 @@ java_library {
        "com.android.btservices",
    ],
    min_sdk_version: "Tiramisu",
    lint: {
        baseline_filename: "lint-baseline.xml",
    },
}

java_library {
@@ -152,7 +149,7 @@ java_library {
    libs: ["libprotobuf-java-nano"],
    lint: {
        strict_updatability_linting: true,
        baseline_filename: "lint-baseline.xml",

    },
    sdk_version: "system_current",
    apex_available: [
+2 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 8.1.0-dev" client="" dependencies="true" name="" type="baseline" variant="all" version="8.1.0-dev">
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">

    <issue
        id="NotificationPermission"