refactor base code to support one frameworks/miui dev branch

N/A

Change-Id: I7d4e495cbb0d59940d69cf1b5e2dfeeb05dc947d
Ref-Id: I5bdcbab5a64f0912a5b5c82b234466270041c4a3
Revert "Remove post-install processing of auto-start state."

This reverts commit af3fa2113f85b64acef343f5b177215cac3f29b5.
add preferred app Settings

N/A

Change-Id: I36c6f9f446393b916320dad735be4f893afd1dbd
Ref-Id: I595d395762f34906d952cf7cefcdc006830e4ac3
update android src of [jellybean]

Change-Id: Ica2da3adac66e4c5d8ca41aa19d809a5f2f2322b
update android src of [jellybean]

Change-Id: I5ba268f3cc20f80cb8ac6321e867c2718d658f1d
update android src of [jellybean]

Change-Id: I6b586053e39cedb0c0522abe71e6fb02784f75eb
update android src of [jellybean]

Change-Id: I3d5363847dffcd2cf8bc4069f4b69a0c1e2dbebb
update android src of [jellybean]

Change-Id: I562bb35c166777d60cd3506ab383566ac749c4aa
update android src of [jellybean]

Change-Id: I4296cdf4a867d0953a1e60600040098e75f572a3
update android src of [jellybean]

Change-Id: I221a7a7ae7cf392812bd877e907a8c2cbb402723
update android src of [jellybean]

Change-Id: Ie517641568f136236962260d6617180e1b558ff3
update android src of [jellybean]

Change-Id: Id88723dee38c465e88ebc9de891b049018450a52
update android src of [jellybean]

Change-Id: I6cf8ada6c17d13919f4878e683b18902023a4bc9
update android src of [jellybean]

Change-Id: Iafe58dd59e904661ad793df5b32009da1ad49d0d
update android src of [jellybean]

Change-Id: I0ec5930232d90117563e70861346f379abe58095
update android src of [jellybean]

Change-Id: Ied835acee2a4ad9bf9ccf62fc17fefd136cce6db
update android src of [jellybean]

Change-Id: I3fc4479b41c3fe682406278161ed3ce0f8a17480
update android src of [jellybean]

Change-Id: I762652b292dd2a24517c62a2d6aae51c59502ff5
update android src of [jellybean]

Change-Id: Ie4406122dd16ddb4688e9cad6a6e7adb066577dc
update android src of [jellybean]

Change-Id: I1311c728f1e69a24d4031a16879133651c601ea3