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

Skip to content
Commit 96bf53d9 authored by bengris32's avatar bengris32 Committed by Jackeagle
Browse files

GS290: libshim_vtservice: Fixup vtservice shim



 * All non-static class member functions (including constructors/destructors) carry a hidden this pointer. Add it.

 * AttributionSourceState now holds the pid and
 uid, create a new AttributionSourceState and set the uid and pid and pass it
 to new AudioTrack constructor.

 * _ZN7android10MediaMuxerC1EiNS0_12OutputFormatE is a class constructor, so
 call the new equivalent.

 * Only build 32bit library, since vtservice is 32bit
 on pre A12 IMS stack, and size_t on 32bit is unsigned int, while on 64 bit it
 is unsigned long, meaning that we can't link the shim against the 32bit and
 64bit lib since the symbol changes (well, we could with a compiler macro to
 use the correct symbol name for the 2 libs, but as stated before, there is no
 point).

Signed-off-by: default avatarbengris32 <bengris32@protonmail.ch>
Change-Id: I275fac7ddf63595f482ebef80d2116a322b6db60
parent 46d7dae3
Loading
Loading
Loading
Loading
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