Forward port features from sm-jb-mr1 branch
Signed-off-by: Paul Beeler <sparksco@gmail.com>
Mms auto-retrieval (1/3): framework

Change-Id: I9b2f76d8cf9d67eddddfdf7737a948eea680329f

It's only porting this http://review.cyanogenmod.org/#/c/26166/
Part 1 of 3