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

Commit 45dd4b79 authored by Bernie Innocenti's avatar Bernie Innocenti Committed by android-build-merger
Browse files

Merge "Relax APF version check in ApfGenerator"

am: 51dab0ed

Change-Id: Id8d2d9df1e562ae15e63ba50e65ab6e67dab108c
parents b9cce46b 51dab0ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -367,7 +367,7 @@ public class ApfGenerator {
     */
     */
    public boolean setApfVersion(int version) {
    public boolean setApfVersion(int version) {
        // This version number syncs up with APF_VERSION in hardware/google/apf/apf_interpreter.h
        // This version number syncs up with APF_VERSION in hardware/google/apf/apf_interpreter.h
        return version == 2;
        return version >= 2;
    }
    }


    private void addInstruction(Instruction instruction) {
    private void addInstruction(Instruction instruction) {