Commit 32a1d389 by Kazuyuki Hida

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

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