Skip to content
Snippets Groups Projects
Commit 862cc53a authored by Dongwon Kang's avatar Dongwon Kang Committed by android-build-merger
Browse files

swcodec: add a check for the case that the apex name is overridden.

am: 996e39f0

Change-Id: I6c1d9f3f9dfed6de9dc3a31a1f38a70b4b7f6e06
parents 902645ac 996e39f0
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,8 @@ public class MediaSwCodecHostTest extends ApexE2EBaseHostTest {
throws DeviceNotAvailableException, IOException {
// Run tests only when the device has swcodec apex installed.
for (ApexInfo info : getDevice().getActiveApexes()) {
if (info.name.equals("com.android.media.swcodec")) {
if (info.name.equals("com.android.media.swcodec")
|| info.name.equals("com.google.android.media.swcodec")) {
doTestStageActivateUninstallApexPackage();
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment