Browse Source

011亮度

zhangshenjie 1 month ago
parent
commit
7fa25e146f

+ 1 - 10
BusinessSetting/src/main/java/com/develop/setting/ui/BrightnessActivity.kt

@@ -48,21 +48,12 @@ class BrightnessActivity : CommonBindingActivity<ActivityBirghtnessBinding>() {
             binding.ivSoundTwo.visibility = View.VISIBLE
         }
         if (sn.startsWith("011")) {
-            //需要需要 011 需要显示亮度出来 亮度title隐藏
-            //011G需要把控制亮度隐藏
-            if (sn.startsWith("011G")){
+            //011需要把控制亮度隐藏
                 binding.tvSound.visibility = View.GONE
                 binding.sbBrightness.visibility = View.GONE
                 binding.ivSoundOne.visibility = View.GONE
                 binding.ivSoundTwo.visibility = View.GONE
                 binding.tvScreenLockTime.visibility = View.INVISIBLE
-            }else{
-                binding.tvSound.visibility = View.INVISIBLE
-                binding.sbBrightness.visibility = View.VISIBLE
-                binding.ivSoundOne.visibility = View.VISIBLE
-                binding.ivSoundTwo.visibility = View.VISIBLE
-                binding.tvScreenLockTime.visibility = View.INVISIBLE
-            }
 
             binding.tvTitle.updateText(getString(com.develop.common.R.string.brightness_011))
         } else {

+ 1 - 1
app/build.gradle

@@ -20,7 +20,7 @@ ext {
     versionCode = Integer.parseInt(new SimpleDateFormat("yyMMddHH").format(new Date()) + 1)
 //    versionCode=230617180
 //    brandCode="000B"
-    brandCode = "063B"
+    brandCode = "011D"
 //    model = "5037"
     model = "1039"