Commit ed984cb0 by Lee Jaebin

要らないメソッド・リソース削除

parent 19386299
......@@ -3,9 +3,6 @@
<string name="arg_required">%1$sを入力してください。</string>
<string name="arg_number_range">%1$sは%2$sから%3$sの間の数値にしてくだしさい。</string>
<string name="progress">Loading&#8230;</string>
<string name="folder_name">新規フォルダ名</string>
<string name="folder_delete">フォルダ削除</string>
<string name="folder_move">フォルダ移動</string>
<string name="edit">編集</string>
<string name="ok">OK</string>
<string name="yes">はい</string>
......
......@@ -3,9 +3,6 @@
<string name="arg_required">%1$s를 입력해 주세요.</string>
<string name="arg_number_range">%1$s는%2$s〜%3$s범위의 숫자로 입력해 주세요.</string>
<string name="progress">로딩&#8230;</string>
<string name="folder_name">새 폴더 이름</string>
<string name="folder_delete">폴더 삭제</string>
<string name="folder_move">폴더 이동</string>
<string name="edit">편집</string>
<string name="ok">OK</string>
<string name="yes"></string>
......
......@@ -3,9 +3,6 @@
<string name="arg_required">Please input %1$s.</string>
<string name="arg_number_range">%1$s must be between %2$s and %3$s.</string>
<string name="progress">Loading&#8230;</string>
<string name="folder_name">New folder name</string>
<string name="folder_delete">Delete folder</string>
<string name="folder_move">Move folder</string>
<string name="edit">Edit</string>
<string name="ok">OK</string>
<string name="yes">Yes</string>
......
package jp.agentec.abook.abv.ui.home.activity;
import android.app.AlarmManager;
import android.app.AlertDialog;
import android.app.DownloadManager;
import android.app.DownloadManager.Request;
import android.app.PendingIntent;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
......@@ -34,7 +32,6 @@ import java.io.File;
import jp.agentec.abook.abv.bl.acms.client.AcmsClient;
import jp.agentec.abook.abv.bl.acms.client.parameters.AppLastVersionParameters;
import jp.agentec.abook.abv.bl.acms.type.AcmsApis;
import jp.agentec.abook.abv.bl.acms.type.LoginMode;
import jp.agentec.abook.abv.bl.common.ABVEnvironment;
import jp.agentec.abook.abv.bl.common.CommonExecutor;
import jp.agentec.abook.abv.bl.common.Constant;
......@@ -57,7 +54,6 @@ import jp.agentec.abook.abv.ui.common.dialog.ABookAlertDialog;
import jp.agentec.abook.abv.ui.common.helper.ProgressDialogHelper;
import jp.agentec.abook.abv.ui.common.util.ABVToastUtil;
import jp.agentec.abook.abv.ui.common.util.AlertDialogUtil;
import jp.agentec.abook.abv.ui.common.util.ClipboardUtil;
import jp.agentec.abook.abv.ui.home.helper.ABookPermissionHelper;
import jp.agentec.adf.util.DateTimeFormat;
import jp.agentec.adf.util.DateTimeUtil;
......@@ -350,44 +346,6 @@ public class ABookSettingFragment extends PreferenceFragment {
});
}
private void showTermOfUseDialog() {
ProgressDialogHelper.showProgressPopup(getActivity(), true);
CommonExecutor.execute(new Runnable() {
@Override
public void run() {
final String msg = RawResourceUtil.readAsString(getActivity(), R.raw.term_of_use);
if (msg == null) {
ABVToastUtil.showMakeText(getActivity(), R.string.ERROR, Toast.LENGTH_LONG);
ProgressDialogHelper.closeProgressPopup();
return;
}
handler.post(new Runnable() {
@Override
public void run() {
ABookAlertDialog aBookAlertDialog = AlertDialogUtil.scrollableAlertDialog(getActivity(), R.string.term_of_use, msg);
aBookAlertDialog.setPositiveButton(R.string.ok, null);
aBookAlertDialog.setOnShowListener(new DialogInterface.OnShowListener() {
@Override
public void onShow(DialogInterface dialog) {
ProgressDialogHelper.closeProgressPopup();
}
});
aBookAlertDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
ProgressDialogHelper.closeProgressPopup();
}
});
showAlertDialog(aBookAlertDialog);
}
});
}
});
}
// TODO ABVSplashAcitivityとソースが重複するため、一元化する Jang
private void showCheckAppDialog() throws Exception {
// アプリのバージョンを確認する
......
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