Commit 965295c8 by Lee Munkyeong

360コンテンツが開けない不具合修正

parent eb8a5077
......@@ -51,6 +51,7 @@ public class ContentJSON extends AbstractJSON {
public static final String KEY_WIDTH = "width";
public static final String KEY_BACKGROUND_COLOR = "backgroundColor";
public static final String KEY_BACKGROUND_ALPHA = "backgroundAlpha";
public static final String KEY_LIST_TYPE = "list";
private JSONArray mPages;
......
......@@ -99,7 +99,7 @@ public class ABookKeys {
}
// #32782 指示者テーブル関連削除 start
// #32782 指示者テーブル関連削除 startbtn_pano_edit
// TODO change TASK_DIRECTIONS 削除が必要
// public static final String TASK_DIRECTIONS = "taskReport";
// public static final String TASK_DIRECTIONS_SUGGEST = "taskReportSuggest";
......
......@@ -216,6 +216,8 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
stopUpdateAnimation();
Logger.e(TAG, "Exception DataRefresh", e);
handleErrorMessageToast(ErrorCode.E107);
} finally {
closeProgressPopup();
}
return result;
......
......@@ -363,7 +363,7 @@ public class OperationListActivity extends ABVUIActivity {
mCallBack = new Runnable() {
@Override
public void run() {
startTaskDirectionOrReportView(panoramaOperationDto);
startPanoEdit(panoramaOperationDto);
}
};
runOnUiThread(new Runnable() {
......@@ -373,12 +373,13 @@ public class OperationListActivity extends ABVUIActivity {
}
});
} else {
startTaskDirectionOrReportView(panoramaOperationDto);
startPanoEdit(panoramaOperationDto);
}
break;
case ABookKeys.CMD_KEY.REFRESH_CONTENT:
clearSearch();
showProgressPopup();
dataRefresh(true);
runOnUiThread(new Runnable() {
@Override
......@@ -568,14 +569,15 @@ public class OperationListActivity extends ABVUIActivity {
// 報告画面から作業一覧へ戻った時の同期処理
final long operationId = getUserPref(AppDefType.UserPrefKey.SYNC_TARGET_OPERATION_ID, -1L);
if (operationId != -1) {
final OperationDto operationDto = mOperationLogic.getOperation(operationId);
showProgressPopup();
dataRefresh(true);
// リソースパターンの適用
}
if (!activityResultFlg && operationId == -1) {
dataRefresh(true);
}
// if (!activityResultFlg && operationId == -1) {
// //dataRefresh(true);
// }
putUserPref(AppDefType.UserPrefKey.SYNC_TARGET_OPERATION_ID, -1L);
activityResultFlg = false;
runOnUiThread(new Runnable() {
......@@ -589,7 +591,6 @@ public class OperationListActivity extends ABVUIActivity {
}
}
});
}
// 検索ダイアログ表示
......@@ -1010,7 +1011,7 @@ public class OperationListActivity extends ABVUIActivity {
return;
}
if (operationDto.contentId != null && operationDto.contentId != 0) {
showProgressPopup();
//showProgressPopup();
try {
String baseUrl = ABVEnvironment.getInstance().acmsAddress + ABVDataCache.getInstance().getUrlPath() + "/shop/login/authByCheck/%s/%s";
String url = String.format(baseUrl, ABVDataCache.getInstance().getMemberInfo().sid, operationDto.contentId);
......@@ -1025,7 +1026,7 @@ public class OperationListActivity extends ABVUIActivity {
Logger.e(TAG, e);
ErrorMessage.showErrorMessageToast(getApplicationContext(), ErrorCode.E107);
} finally {
closeProgressPopup();
//closeProgressPopup();
}
}
}
......@@ -1932,7 +1933,7 @@ public class OperationListActivity extends ABVUIActivity {
// typeの値をxmlに書き込み
getABVUIDataCache().setOperationGroupMasterMode((int) type);
// プログレスバー
showProgressPopup();
//showProgressPopup();
setOperationListView();
}
}
......
......@@ -131,7 +131,8 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
final RelativeLayout fl = (RelativeLayout) findViewById(R.id.frameTopbar);
fl.setVisibility(View.GONE);
//fl.setVisibility(View.GONE);
// ***** 戻るボタン
closeButton.setOnClickListener(new View.OnClickListener() {
@Override
......@@ -405,11 +406,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
printButtonActivityControl();
historyListBtn.setVisibility(View.GONE);
if (ContentJSON.KEY_LIST_TYPE.equals(mContentDto.contentType)) {
fl.setVisibility(View.GONE);
}
if (isLinkedContent) {
if (ContentJSON.KEY_MOVIE_TYPE.equals(mContentDto.contentType) || ContentJSON.KEY_MUSIC_TYPE.equals(mContentDto.contentType)
|| ContentJSON.KEY_PANO_IMAGE_TYPE.equals(mContentDto.contentType) || ContentJSON.KEY_PANO_MOVIE_TYPE.equals(mContentDto.contentType)
|| ContentJSON.KEY_OBJECTVR_TYPE.equals(mContentDto.contentType) || ContentJSON.KEY_OTHER_TYPE.equals(mContentDto.contentType)) {
closeButton.setBackgroundResource(R.drawable.btn_first_back);
btnLinkOriginalBack.setVisibility(View.VISIBLE);
btnWebBack.setVisibility(View.GONE);
......@@ -435,6 +438,7 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
subMenuBtn.setVisibility(View.GONE);
}
} else {
configureRemote();
}
if (meetingManager.isCollaboration()) {
......
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