Commit 0513e0ce authored by mengcuiguang's avatar mengcuiguang

代码优化

parent a4267ace
......@@ -10,8 +10,8 @@ android {
applicationId "com.duben.happytheateru"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 723
versionName "7.2.3"
versionCode 724
versionName "7.2.4"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -39,7 +39,7 @@ public abstract class BaseActivity extends BaseAppCompatActivity implements Base
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// 禁止截图
// getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
if (android.os.Build.VERSION.SDK_INT != Build.VERSION_CODES.O) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
......
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