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

Commit a77c9edb authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Suppress implicit-fallthrough warnings in mediarecorder." am: fd53bf2f am: 5c1de015

am: 92d2576a

Change-Id: I5bd4471c15c08216583d12e9e5bb281053794580
parents 94afc302 92d2576a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ cc_library_headers {
    vendor_available: true,
    export_include_dirs: ["include"],
    header_libs:[
        "libbase_headers",
        "libgui_headers",
        "libstagefright_headers",
        "media_plugin_headers",
+3 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@

#include <inttypes.h>

#include <android-base/macros.h>
#include <utils/Log.h>
#include <media/mediarecorder.h>
#include <binder/IServiceManager.h>
@@ -597,7 +598,8 @@ status_t MediaRecorder::reset()
            if (OK != ret) {
                return ret;  // No need to continue
            }
        }  // Intentional fall through
            FALLTHROUGH_INTENDED;
        }
        case MEDIA_RECORDER_INITIALIZED:
            ret = close();
            break;