Commit 2c99dc96b1261fcb885e753855843d31dd1954fd
1 parent
80c9782036
Exists in
master
适配N979S主页面,隐藏切换桌面按钮
Showing
4 changed files
with
6 additions
and
2 deletions
Show diff stats
PersonalCenter/app/PresonalCenter.apk
No preview for this file type
PersonalCenter/app/PresonalCenter_2020_0706.apk
No preview for this file type
PersonalCenter/app/build.gradle
| ... | ... | @@ -7,8 +7,8 @@ android { |
| 7 | 7 | applicationId "com.hjx.personalcenter" |
| 8 | 8 | minSdkVersion 15 |
| 9 | 9 | targetSdkVersion 23 |
| 10 | - versionCode 17 | |
| 11 | - versionName "1.2.8" | |
| 10 | + versionCode 18 | |
| 11 | + versionName "1.2.9" | |
| 12 | 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 13 | 13 | } |
| 14 | 14 | buildTypes { | ... | ... |
PersonalCenter/app/src/main/java/com/hjx/personalcenter/activity/MainActivity.java
| ... | ... | @@ -39,6 +39,7 @@ import com.hjx.personalcenter.http.HttpCode; |
| 39 | 39 | import com.hjx.personalcenter.http.HttpManager; |
| 40 | 40 | import com.hjx.personalcenter.interfaces.DialogCallBack; |
| 41 | 41 | import com.hjx.personalcenter.model.DefautPublishInfo; |
| 42 | +import com.hjx.personalcenter.model.DeviceInfo; | |
| 42 | 43 | import com.hjx.personalcenter.model.PesonalInfo; |
| 43 | 44 | import com.hjx.personalcenter.model.SignInfo; |
| 44 | 45 | import com.hjx.personalcenter.model.VideoInfo; |
| ... | ... | @@ -323,6 +324,9 @@ public class MainActivity extends FragmentActivity implements View.OnClickListen |
| 323 | 324 | view_novedeo = (LinearLayout) findViewById(R.id.view_novedeo); |
| 324 | 325 | |
| 325 | 326 | //sssssssss = findViewById(R.id.sssssssss); |
| 327 | + if(android.os.Build.MODEL.equals("N979S")){ | |
| 328 | + iv_switch.setVisibility(View.GONE); | |
| 329 | + } | |
| 326 | 330 | |
| 327 | 331 | } |
| 328 | 332 | ... | ... |