This reverts commit 7534ebd2bf59212cce5e010dd6ed9b3bc944818e. Reason for revert: Downstream projects have been updated, try it again. R=perkj@webrtc.org Bug: webrtc:7452 Change-Id: Ice48a563a6da499b6050b6f6e21bb0a18cd34f57 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271841 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40386}
22 lines
772 B
C++
22 lines
772 B
C++
/*
|
|
* Copyright 2019 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
#ifndef SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|
|
#define SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|
|
|
|
#include "sdk/android/native_api/jni/scoped_java_ref.h"
|
|
|
|
namespace webrtc {
|
|
|
|
ScopedJavaLocalRef<jobject> GetAppContext(JNIEnv* jni);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|