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

Commit eec1c2c1 authored by Daniel Akinola's avatar Daniel Akinola
Browse files

Add KeyboarDockingIndicationViewModel lint exception

New ShadeDisplayAwareContextChecker linter wasn't checked against a recent change to KeyboarDockingIndicationViewModel, so need  to add lint-baseline.xml to stop build from failing. (Future CL will also exclude @GlobalConfig from linter errors)

Bug: 378016985
Test: running linter
Flag: EXEMPT lint only
Change-Id: I679c32fc7720e00f44e386bcf000a6f60645b00d
parent 61c86567
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -33752,4 +33752,16 @@
            column="5"/>
    </issue>
    <issue
        id="ShadeDisplayAwareContextChecker"
        message="UI elements of the shade window&#xA;should use ShadeDisplayAware-annotated ConfigurationInteractor, as the shade might move between windows, and only&#xA;@ShadeDisplayAware resources are updated with the new configuration correctly. Failures to do so&#xA;might result in wrong dimensions for shade window classes (e.g. using the wrong density or theme).&#xA;If the usage of ConfigurationInteractor is not related to display specific configuration or UI, then there is&#xA;technically no need to use the annotation, and you can annotate the class with&#xA;@SuppressLint(&quot;ShadeDisplayAwareContextChecker&quot;)/@Suppress(&quot;ShadeDisplayAwareContextChecker&quot;)"
        errorLine1="    @GlobalConfig configurationInteractor: ConfigurationInteractor,"
        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/docking/ui/viewmodel/KeyboardDockingIndicationViewModel.kt"
            line="43"
            column="5"/>
    </issue>
</issues>