5package org.qtproject.qt.android;
7import android.app.Service;
8import android.content.ContextWrapper;
9import android.util.Log;
11class QtServiceLoader
extends QtLoader {
12 private final Service m_service;
14 public QtServiceLoader(Service service) {
15 super(
new ContextWrapper(service));
18 extractContextMetaData();
22 protected void finish() {
23 if (m_service !=
null)
26 Log.w(QtTAG,
"finish() called when service object is null");
Q_CORE_EXPORT QtJniTypes::Service service()