Commit 32a1d389 by Kazuyuki Hida

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

parent 58b1a46c
......@@ -339,10 +339,7 @@ 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")) {
if (fromDashboard && (url.contains(ABookKeys.CMD_CANCEL_TASK_REPORT))) {
handler.post(new Runnable() {
@Override
public void run() {
......@@ -350,7 +347,6 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
}
});
}
}
return true;
}
return false;
......
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