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

Commit 1132e125 authored by Greg Kaiser's avatar Greg Kaiser Committed by Android (Google) Code Review
Browse files

Merge "Revert "Set use_vendor to false for media apex""

parents 7e73ec70 55030e24
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ apex_defaults {
        "crash_dump.policy",
        "mediaswcodec.xml",
    ],
    use_vendor: true,
    key: "com.android.media.swcodec.key",
    certificate: ":com.android.media.swcodec.certificate",

+1 −7
Original line number Diff line number Diff line
@@ -35,13 +35,7 @@ cc_library_static {
        ],
        cfi: true,
    },

    apex_available: [
        "//apex_available:platform",
        "com.android.media.swcodec",
        "test_com.android.media.swcodec",
    ],

    apex_available: ["com.android.media.swcodec"],
    min_sdk_version: "29",

    target: {
+0 −1
Original line number Diff line number Diff line
@@ -101,7 +101,6 @@ cc_library_shared {
        "//apex_available:platform",
    ],
    vendor_available: false,
    min_sdk_version: "29",
    static_libs: [
        "libgui_bufferqueue_static",
    ],
+3 −3
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@

#include <media/stagefright/foundation/hexdump.h>

#if !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#ifndef __ANDROID_VNDK__
#include <binder/Parcel.h>
#endif

@@ -646,7 +646,7 @@ AString AMessage::debugString(int32_t indent) const {
    return s;
}

#if !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#ifndef __ANDROID_VNDK__
// static
sp<AMessage> AMessage::FromParcel(const Parcel &parcel, size_t maxNestingLevel) {
    int32_t what = parcel.readInt32();
@@ -813,7 +813,7 @@ void AMessage::writeToParcel(Parcel *parcel) const {
        }
    }
}
#endif  // !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#endif  // __ANDROID_VNDK__

sp<AMessage> AMessage::changesFrom(const sp<const AMessage> &other, bool deep) const {
    if (other == NULL) {
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
#include "ADebug.h"
#include "AString.h"

#if !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#ifndef __ANDROID_VNDK__
#include <binder/Parcel.h>
#endif

@@ -365,7 +365,7 @@ bool AString::endsWithIgnoreCase(const char *suffix) const {
    return !strcasecmp(mData + mSize - suffixLen, suffix);
}

#if !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#ifndef __ANDROID_VNDK__
// static
AString AString::FromParcel(const Parcel &parcel) {
    size_t size = static_cast<size_t>(parcel.readInt32());
@@ -380,7 +380,7 @@ status_t AString::writeToParcel(Parcel *parcel) const {
    }
    return err;
}
#endif // !defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
#endif

AString AStringPrintf(const char *format, ...) {
    va_list ap;
Loading