Commit 9bae5bf9 by onuma

#46276 プライバシーポリシーの追加

parent 4e8470d2
......@@ -1508,4 +1508,5 @@
<string name="btn_communication">コミュニケーション</string>
<string name="btn_setting">設定</string>
<string name="btn_print">PDF</string>
<string name="privacy_policy">プライバシーポリシー</string>
</resources>
......@@ -1513,4 +1513,5 @@
<string name="btn_communication">커뮤니케이션</string>
<string name="btn_setting">설정</string>
<string name="btn_print">PDF</string>
<string name="privacy_policy">개인정보취급방침</string>
</resources>
\ No newline at end of file
......@@ -1509,4 +1509,5 @@
<string name="btn_communication">Communication</string>
<string name="btn_setting">Setting</string>
<string name="btn_print">PDF</string>
<string name="privacy_policy">Privacy Policy</string>
</resources>
......@@ -58,6 +58,11 @@
android:layout="@layout/custom_preference_screen">
</PreferenceScreen>
<PreferenceScreen
android:key="privacyPolicy"
android:title="@string/privacy_policy"
android:layout="@layout/custom_preference_screen">
</PreferenceScreen>
<PreferenceScreen
android:key="checkAppUpdate"
android:title="@string/check_app_update"
android:layout="@layout/custom_preference_screen">
......
......@@ -85,6 +85,7 @@ public class ABookSettingFragment extends PreferenceFragment {
private static final String CHECK_APP_UPDATE = "checkAppUpdate";
private static final String ABOUT_A_BOOK = "aboutABook";
private static final String ABOOK_CHECK_MANUAL = "abookCheckManual";
private static final String PRIVACY_POLICY = "privacyPolicy";
protected Handler handler = new Handler();
protected AlertDialog alertDialog = null;
......@@ -250,6 +251,17 @@ public class ABookSettingFragment extends PreferenceFragment {
}
});
// プライバシーポリシー
Preference privacyPolicy = findPreference(PRIVACY_POLICY);
privacyPolicy.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.agentec.jp/privacy/"));
Please register or sign in to reply
startActivity(browserIntent);
return true;
}
});
// アップデート確認
Preference checkAppUpdate = findPreference(CHECK_APP_UPDATE);
if (getResources().getInteger(R.integer.check_app_update) == 1) {
......
......@@ -38,8 +38,8 @@ app_versioncode=1
# abvEnvironments.xml
#cms server
acms_address=https://check130.agentec.jp/acms
download_server_address=https://check130.agentec.jp/acms
acms_address=https://check130.abook.bz/acms
download_server_address=https://check130.abook.bz/acms
#syncview server
websocket_server_http_url=https://check130.agentec.jp/v1
......
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