// Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>

#include "android.app.h"

namespace wrap {
namespace android::app {
Service::Meta::Meta() : MetaBaseDroppable(Service::getTypeName()) {
    MetaBaseDroppable::dropClassRef();
}
Activity::Meta::Meta()
    : MetaBaseDroppable(Activity::getTypeName()),
      getWindow(classRef().getMethod("getWindow", "()Landroid/view/Window;")),
      setVrModeEnabled(classRef().getMethod(
          "setVrModeEnabled", "(ZLandroid/content/ComponentName;)V")) {
    MetaBaseDroppable::dropClassRef();
}
} // namespace android::app
} // namespace wrap
