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

Commit 52788fc7 authored by Ian Pedowitz's avatar Ian Pedowitz
Browse files

DO NOT MERGE: Temporarily disable unsupported sdk warning for P during finalization

This effectively cherrypicks 2830dd72 from master to pi-dev.  Will be reverted

Bug: 77862563
Test: see app warnings without the patch. no app warnings visible when
patch is applied. for example: flash device, launch apps from appbar:
messages, play, chrome, camera.

Change-Id: I6f4a54a8370c87a7b2e89bb8fb6d4ff5b51d95b4
parent 0e675bd9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -122,8 +122,9 @@ class AppWarnings {
            return;
        }

        if (ActivityManager.isRunningInTestHarness()
                && !mAlwaysShowUnsupportedCompileSdkWarningActivities.contains(r.realActivity)) {
        // TODO(b/77862563): temp. fix while P is being finalized.  To be reverted
        if (/*ActivityManager.isRunningInTestHarness()
                &&*/ !mAlwaysShowUnsupportedCompileSdkWarningActivities.contains(r.realActivity)) {
            // Don't show warning if we are running in a test harness and we don't have to always
            // show for this activity.
            return;