|
发表于 2023-3-3 11:51:59
924 浏览 0 回复
T618 DreamCamera2如何屏蔽美颜和全景功能
需求:
T618 DreamCamera2如何屏蔽美颜和全景功能
解决方案:
- vendor/sprd/platform/packages/apps/DreamCamera2/src/com/android/camera/util/CameraUtil.java
- public static boolean isWideAngleEnable() {//全景
- - return 0 < wideAngleVersion;
- + return false;
- }
- ...
- public static boolean isCameraBeautyEnable() {//美颜
- - return mCurrentBeautyVersion != DISABLE_BEAUTY;
- + //return mCurrentBeautyVersion != DISABLE_BEAUTY;
- + return false;
- }
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|