Bug 1024692: limit image decode size to 3mp on 256mb devices