The prebuilt camera app in /system/app uses uncompressed libs to save
memory. A recent update pushed it over the arbitrary 50MB limit. This
change moves that arbitrary limit to 80MB.
Bug
32289474
Tested manually
Change-Id: Icf4e4476447fd363f2ab311b237f17a0e9d43053
private BinderService mBinderService;
- private final long MAX_CAMERA_PIN_SIZE = 50 * (1 << 20); //50MB max
+ private final long MAX_CAMERA_PIN_SIZE = 80 * (1 << 20); //80MB max
private PinnerHandler mPinnerHandler = null;
if (isResolverActivity(cameraResolveInfo.activityInfo))
{
+ if (DEBUG) {
+ Slog.v(TAG, "cameraIntent returned resolverActivity");
+ }
return null;
}