1 // Copyright 2013 The Flutter Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 // 2021.2.10 Framework adapted to ACE. 5 // Copyright (c) 2021 Huawei Device Co., Ltd. All rights reserved. 6 7 #ifndef SHELL_PLATFORM_OHOS_ACE_DISPLAY_MANAGER_JNI_H_ 8 #define SHELL_PLATFORM_OHOS_ACE_DISPLAY_MANAGER_JNI_H_ 9 10 #include <jni.h> 11 #include "flutter/fml/macros.h" 12 #include "flutter/fml/platform/android/jni_util.h" 13 14 namespace flutter { 15 16 class AceDisplayManagerJni final { 17 public: 18 static bool Register(JNIEnv* env); 19 static fml::jni::ScopedJavaGlobalRef<jclass>* GetClass(); 20 21 FML_DISALLOW_COPY_AND_ASSIGN(AceDisplayManagerJni); 22 }; 23 24 } // namespace flutter 25 26 #endif // SHELL_PLATFORM_OHOS_ACE_DISPLAY_MANAGER_JNI_H_ 27