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

Commit 62d0cd93 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: add TEST_MAPPING for pre-submit tests

  Run AudioManager and AudioFocus CTS tests whenever a class
in audio service is changed.

Bug: 139315190
Test: verify this change caused those tests to be run during presubmit
Change-Id: I17a49fad6856ae28ef1951d64a43b04f44be4079
Merged-In: I17a49fad6856ae28ef1951d64a43b04f44be4079
parent 8012f3df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicBoolean;

/**
 * The implementation of the volume manager service.
 * The implementation of the audio service for volume, audio focus, device management...
 * <p>
 * This implementation focuses on delivering a responsive UI. Most methods are
 * asynchronous to external calls. For example, the task of setting a volume
+15 −0
Original line number Diff line number Diff line
{
    "presubmit": [
        {
            "name": "CtsMediaTestCases",
            "options": [
                {
                    "include-filter": "android.media.cts.AudioManagerTest"
                },
                {
                    "include-filter": "android.media.cts.AudioFocusTest"
                }
            ]
        }
    ]
}