[camera@lwz]修复照相机右下角预览图片出错的问题
alps/vendor/mediatek/proprietary/packages/apps/Camera/src/com/android/camera/CameraActivity.java
index 6cdc29c..f31a87b 100755
@@ -522,7 +522,7 @@ public class CameraActivity extends ActivityBase implements
mModuleManager.pause();
keepCameraForSecure();
clearFocusAndFace();
- uninstallIntentFilter();
+ //uninstallIntentFilter();
callResumablePause();
mOrientationListener.disable();
mLocationManager.recordLocation(false);
@@ -586,7 +586,7 @@ public class CameraActivity extends ActivityBase implements
CameraPerformanceTracker.NAME_CAMERA_ON_DESTROY,
CameraPerformanceTracker.ISEND);
- unregisterReceiver(mFlashReceiver);
+ //unregisterReceiver(mFlashReceiver);
///2017.9.21 lwz add
///2018.6.26 lwz add
@@ -1206,7 +1206,7 @@ public class CameraActivity extends ActivityBase implements
// may
// be set in onResume() method.
if (mNeedRestoreIfOpenFailed) {
- uninstallIntentFilter();
+ //uninstallIntentFilter();
callResumablePause();
mCameraAppUi.collapseViewManager(true);
mOrientationListener.disable();
@@ -2440,9 +2440,9 @@ public class CameraActivity extends ActivityBase implements
registerReceiver(mReceiver, intentFilter);
}
- private void uninstallIntentFilter() {
+ /*private void uninstallIntentFilter() {
unregisterReceiver(mReceiver);
- }
+ }*/
private void clearUserSettings() {
Log.d(TAG, "clearUserSettings() isFinishing()=" + isFinishing());