[Android] Fix un-paired namespace declare for higher __ANDROID_API__

Bug: None
Test: Build with larger __ANDROID_API__ (29)
Change-Id: I5bfb8ad0ea5b866469191c5a385b071eec185716
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2522110
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
This commit is contained in:
yucliu 2020-11-05 12:08:44 -08:00 committed by Commit Bot
parent ca944aeb88
commit b6f2d06996

View File

@ -20,9 +20,10 @@
#include "base/logging.h"
#include "build/build_config.h"
namespace crashpad {
#if __ANDROID_API__ <= 23
namespace crashpad {
namespace {
bool LoggingSignal(int signum, sighandler_t handler) {
sighandler_t previous = signal(signum, handler);