Does Android's large heap option work for older phones upgraded to ICS?

前端 未结 1 591
傲寒
傲寒 2021-02-04 08:16

I\'ve got a Galaxy Nexus myself, and I know that the android:largeHeap=\"true\" manifest option works on this phone, but I was wondering if it\'s working on older p

相关标签:
1条回答
  • 2021-02-04 08:57

    The android:largeHeap option is available on all devices running Android 3.0 or above. This includes devices that have been upgraded to ICS.

    That said, you're not guaranteed to get 48 MB of space. The exact heap size provided to applications is an option device manufacturers can set on a per-device basis. In general, devices with a larger display will be configured with larger heap sizes.

    0 讨论(0)
提交回复
热议问题