Fix a bad interaction with mmap

Bug: 6761221
Change-Id: I7e6d98dc9d7cb34a6163c3957e401ff97abb975c
Initialize SubtypeLocale from Settings (DO NOT MERGE)

Bug: 6781106
Change-Id: Ic1b2b8363486820eabaa415ab3812c0e8565b7bb
Merge "Initialize SubtypeLocale from Settings (DO NOT MERGE)" into jb-dev
merge in jb-mr0-release history after reset to jb-dev
DO NOT MERGE: Clear cache of the user dictionary when a word is added

This is a backport of  Iec2793de3fff7bf15f68f

Change-Id: If16d1c48edf084d892da722fb288e467f211b08e
Merge android-4.1.2_r1