Commit 32a1d389 by Kazuyuki Hida

キャンセル時だけ、ダッシュボードに戻るようにした。

parent 58b1a46c
......@@ -339,17 +339,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
if (url.contains(ABookKeys.ABOOK_CHECK_API)) {
commonShouldOverrideUrlLoading(uri, null);
}
if (fromDashboard && url.contains(ABookKeys.CMD_CHANGE_DISPLAY_STATUS)) {
// ダッシュボードに戻る
String statusCode = uri.getQueryParameter(STATUS_CODE);
if (statusCode.equals("0")) {
handler.post(new Runnable() {
@Override
public void run() {
finishActivity();
}
});
}
if (fromDashboard && (url.contains(ABookKeys.CMD_CANCEL_TASK_REPORT))) {
handler.post(new Runnable() {
@Override
public void run() {
finishActivity();
}
});
}
return true;
}
......
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