Commit af2b9d92 by Lee Jaebin

位置情報の権限チェック処理修正

parent 110e8801
...@@ -26,7 +26,6 @@ import jp.agentec.abook.abv.ui.viewer.activity.HTMLXWalkWebViewActivity; ...@@ -26,7 +26,6 @@ import jp.agentec.abook.abv.ui.viewer.activity.HTMLXWalkWebViewActivity;
import static android.content.pm.PackageManager.PERMISSION_GRANTED; import static android.content.pm.PackageManager.PERMISSION_GRANTED;
import static jp.agentec.abook.abv.cl.util.PreferenceUtil.getUserPref; import static jp.agentec.abook.abv.cl.util.PreferenceUtil.getUserPref;
import static org.chromium.base.ContextUtils.getApplicationContext;
/** /**
* 権限チェック及び設定画面遷移 * 権限チェック及び設定画面遷移
...@@ -44,8 +43,8 @@ public class ABookPermissionHelper { ...@@ -44,8 +43,8 @@ public class ABookPermissionHelper {
mCallback = callback; mCallback = callback;
} }
public ABookPermissionHelper(Activity activity) { public ABookPermissionHelper(Context context) {
mContext = activity; mContext = context;
} }
public ArrayList<String> checkMultiPermissions() { public ArrayList<String> checkMultiPermissions() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment