Pinner Service - update Camera app max size to 80MB

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
This commit is contained in:
Philip Cuadra
2016-11-02 11:59:22 -07:00
parent 5d86219ed8
commit ac39b9626d

View File

@@ -63,7 +63,7 @@ public final class PinnerService extends SystemService {
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;
@@ -192,6 +192,9 @@ public final class PinnerService extends SystemService {
if (isResolverActivity(cameraResolveInfo.activityInfo))
{
if (DEBUG) {
Slog.v(TAG, "cameraIntent returned resolverActivity");
}
return null;
}