Fix exception on rotation.

Change-Id: I6cc653db3397074fb1cd9aa12b06511ce2cc3c9d
JIRA:CYAN-731
Merge "Fix exception on rotation." into cm-10.1
Merge branch 'cyanogenmod' into cm-10.1

Signed-off-by: Humberto Borba <humberos@gmail.com>
Afrikaans translations: Added missing items

Change-Id: Iead34944ce5296b440ebb79c9693761533b27eb0
SECURITY FIX: Fix package uids being reused between uninstall and reinstall of different packages.
Policies for older packages were being granted to the newly installed package that got the recyled uid.

Change-Id: I6c74cf6762e8da10e09d5cf5d94e9f826e47f24d
Merge branch 'cyanogenmod' into cm-10.1

Signed-off-by: Humberto Borba <humberos@gmail.com>
Settings: fix incorrect value in autobrightness adjustment

If the user drag the progress bar below the min value, the incorrect
setting will be saved since seekBar.setProgress code path does not
return to the "getItem(pos).backlight = ..." line.

Change-Id: I4796e22ba9c44315be92de4040f6cd8451bdf153
Merge "Settings: fix incorrect value in autobrightness adjustment" into cm-10.1
Merge branch 'cyanogenmod' into cm-10.1

Signed-off-by: Humberto Borba <humberos@gmail.com>
cmstats: Remove preferences and always enable stats

 * Not having an accurate count of how many people are using CM is
   painful. I am making an executive decision to remove the opt-out and
   always turn stats on. The data is anonymized and there is nothing
   evil that can be done with it. The only purpose here is to tell us if
   we are a successful project or not.

Change-Id: I915c5e824d4e15c05feb37a3d8ed911464b5d61b
Merge branch 'sgt7' into CM10.1
Merge branch 'CyanogenMod' into CM10.1

Conflicts:
	res/xml/device_info_settings.xml