瀏覽代碼

[공통][New] UTILITY_ACTIVITY 는 실제 screenId 로 체크해서 시스템 점검 적용

hyodong.min 7 年之前
父節點
當前提交
8d5e4c12a3

+ 9 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/presenter/Presenter.java

@@ -454,7 +454,15 @@ public abstract class Presenter<M extends Model, V extends IView> implements ILi
 
   protected void go(@ScreenID.ID @IntRange(from = 0, to = 1000) int id, @ScreenID.Direction int direction) {
     // id hooking for system check
-    if (SystemPopupModelHelper.getInstance().check(id)) {
+    if (ScreenID.UTILITY_ACTIVITY == id) {
+      // UTILITY_ACTIVITY 는 실제 screenId 로 체크해줌.
+      UtilityActivityBean utilityActivityBean = model.getDeliveryPackaging(UtilityActivityBean.class);
+      if (SystemPopupModelHelper.getInstance().check(utilityActivityBean.getScreenId())) {
+        model.setDeliveryPackaging(SystemPopupModelHelper.getInstance().getMatchedBean());
+        id = ScreenID.SYSTEM_CHECK;
+      }
+    }
+    else if (SystemPopupModelHelper.getInstance().check(id)) {
       model.setDeliveryPackaging(SystemPopupModelHelper.getInstance().getMatchedBean());
       id = ScreenID.SYSTEM_CHECK;
     }

文件差異過大導致無法顯示
+ 1 - 1
app/src/sandbox/java/kr/co/zumo/app/lifeplus/network/api/LifeplusAPIService.java