When calculating memory cache size, use Runtime.maxMemory() instead
of getMemoryClass() which is a more accurate value of available VM
heap size.
Bug: 7988323
Change-Id: Iaa9681a11aad5cad3857dfe76f0b8e4811b2243c
Changes:
-Updated code sample (see http://ag/214812)
-Updated code snippets to match updated sample
-Fixed <> in code snippets
-Updated disk cache section
-Some other minor updates
Change-Id: Id7ca4d161f165814d71f238f940b2c5bfbc220aa