inaccurate proximity support (2/2)

Change-Id: Ie5af6a071484ecc08218c848963e32db0de74ff1
[2/2] Permit home button wake to be configurable

Change-Id: Ie52247d5c23c8f840ababc880dd41992049cefd1
Merge branch 'cm-10.1' into martincz
HALO: Option to pause the underlying app (1/2)

- adds an option to pause the active app when using HALO
- this is enabled by default for devices with low memory
- (currently: <640MB RAM available to the kernel)

Change-Id: I76cf2c6c263f77b546c42d4f6924c0b32356c725
add drawables for ldpi and mdpi

Change-Id: I39967d3c591c52faeb6a104d87b7d5cb75e6184b

add xhdpi

Change-Id: I5300d28d8dceb380f4e0477719e047a748e84171
Fix theme provider crashing for non-primary user.

PackageManagerService's context is for user 0, so if the theme provider
for other users was invoking the getInstalledThemePackages() method, the
themes provider crashed as it doesn't have the INTERACT_ACROSS_USERS
permission.
Fix that (and simplify code) by making getInstalledThemePackages()
return the installed themes for the current user, which was probably the
intent anyway.

Change-Id: I02002cee005b74128f3b2f7cc7a93b9b8514f1f3
Fix a number of multi-user bugs.

In particular, expanded desktop mode couldn't be enabled for non-primary
users as GlobalActions wrote the setting to the primary user's settings
DB.
Also fix some other cases where we didn't track the settings for
multi-user correctly.

Change-Id: I3bec45cb84903120639c2e85c1d71ec9a491933c
Merge "Fix a number of multi-user bugs." into cm-10.1
framework: merge CyanogenMod

Change-Id: I9a484b16e443a64ac80777e7c54c897096249f52
framework: code style format

Change-Id: Ifb46781b519f6fc0dd81fa01098b260cc285f592

fix

Change-Id: I1c41dcebce9379c1f66c7c6695b0e9cb5fd0f8b5
Merge remote-tracking branch 'mokee/jb-mr1_mkt' into HEAD