Commit 32a1d389 by Kazuyuki Hida

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

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