diff --git a/res/values/strings.xml b/res/values/strings.xml index 2d8493274cb4bd32d68bd824b4273948b384c6e1..21eabc3660d6e3ef02cad7a080069893fdf8d504 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,5 +1,5 @@ This is the Base APK - UnPatched + 已补丁 \ No newline at end of file diff --git a/src/com/wasu/cs/widget/BottomBar.java b/src/com/wasu/cs/widget/BottomBar.java index 13b25ff4dc058af65f1ae7989c7f459e833be084..0b8d7cbd47f4df8020bf59a874c2d66634feb43e 100644 --- a/src/com/wasu/cs/widget/BottomBar.java +++ b/src/com/wasu/cs/widget/BottomBar.java @@ -103,6 +103,10 @@ public class BottomBar extends RelativeLayout { } + /** + * For Test + * 进行热更新测试,修改resource文件,热更新。 + */ private void setPatchText() { if (ChannelFlavor.isBenQ()) { patchText.setText("BenQ" + getContext().getResources().getString(R.string.patch_text_string)); diff --git a/src/com/wasu/cs/widget/TabLinearLayout.java b/src/com/wasu/cs/widget/TabLinearLayout.java index 8923b107f67d583811029b22c1f17a9d02d36636..498d49a0d62e2db440addbac99ece8f4b6ee4906 100644 --- a/src/com/wasu/cs/widget/TabLinearLayout.java +++ b/src/com/wasu/cs/widget/TabLinearLayout.java @@ -50,10 +50,10 @@ public class TabLinearLayout extends LinearLayout { private void init(Context context) { this.context = context; setChildrenDrawingOrderEnabled(true); - //测试代码,设置 - TextView textView = new TextView(context); - textView.setText(context.getText(R.string.patch_info)); - addView(textView); + //测试热更新代码代码,修改影响功能的代码块。 +// TextView textView = new TextView(context); +// textView.setText(context.getText(R.string.patch_info)); +// addView(textView); } private int mFocusEdgeOffset = getResources().getDimensionPixelSize(