universal7885: Shim libstagefright_omx_utils.so

* F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.media.omx@1.0-service": cannot locate symbol "_ZN7android24MEDIA_MIMETYPE_AUDIO_IMAE" referenced by "/vendor/lib/libstagefright_omx_utils.so"

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I446fc75abf371cc220e40a173e000415a33dd7db
This commit is contained in:
DAndreas Schneider 2020-11-14 22:16:35 +05:30 committed by roynatech2544
commit 5c90c9c663
4 changed files with 36 additions and 0 deletions

19
libshims/MediaDefs.cpp Normal file
View file

@ -0,0 +1,19 @@
/*
* Copyright (C) 2020 LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace android {
const char *MEDIA_MIMETYPE_AUDIO_IMA = "audio/x-ima";
} // namespece android