diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2020-07-08 00:44:11 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-07-08 00:44:11 +0000 |
commit | 9f107b95ae5e071927bffbb0e509780d0aa1e9fb (patch) | |
tree | 563dced7b98621c6e21eda299be7ae1ea2a24b90 | |
parent | 78e688fd22920f309967c2ed6688ade0474f5a78 (diff) | |
parent | f9d7870ccbadf0bf5fc9514cc899b8b5bcfa148c (diff) | |
download | libhardware-platform-tools-30.0.4.tar.gz |
Merge "Snap for 6660490 from bbdbd7856af12fd3bc063225fa364510d8608ea0 to sdk-release" into sdk-releaseplatform-tools-30.0.4
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | include/hardware/audio_alsaops.h | 4 | ||||
-rw-r--r-- | modules/input/evdev/Android.bp | 1 |
3 files changed, 5 insertions, 2 deletions
@@ -18,6 +18,8 @@ cc_library_headers { export_include_dirs: ["include"], recovery_available: true, vendor_available: true, + // TODO(b/153609531): remove when no longer needed. + native_bridge_supported: true, target: { recovery: { exclude_header_libs: [ diff --git a/include/hardware/audio_alsaops.h b/include/hardware/audio_alsaops.h index 6a17a351..476c311f 100644 --- a/include/hardware/audio_alsaops.h +++ b/include/hardware/audio_alsaops.h @@ -60,7 +60,7 @@ static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format case AUDIO_FORMAT_PCM_FLOAT: /* there is no equivalent for float */ default: LOG_ALWAYS_FATAL("pcm_format_from_audio_format: invalid audio format %#x", format); - return 0; + return PCM_FORMAT_INVALID; /* doesn't get here, assert called above */ } } @@ -94,7 +94,7 @@ static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format #endif default: LOG_ALWAYS_FATAL("audio_format_from_pcm_format: invalid pcm format %#x", format); - return 0; + return AUDIO_FORMAT_INVALID; /* doesn't get here, assert called above */ } } diff --git a/modules/input/evdev/Android.bp b/modules/input/evdev/Android.bp index 26e711fd..bcd563f0 100644 --- a/modules/input/evdev/Android.bp +++ b/modules/input/evdev/Android.bp @@ -27,6 +27,7 @@ cc_library_shared { "SwitchInputMapper.cpp", ], + header_libs: ["jni_headers"], shared_libs: [ "libhardware_legacy", "liblog", |