Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty.
This often occurs after an incomplete reboot/shutdown or battery pull.

Change-Id: I4f01151f4051df4ae1b85fa460ec7a9e70122878
Merge "Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty. This often occurs after an incomplete reboot/shutdown or battery pull." into cm-10.2
Show default profile name if no profile exists

Change-Id: I6b651d6b552ab3caf30102d289469eaf68f58a0e
UserTile : Check if profile has a photo

In the event that the profile doesn't have a photo, don't default to the
user's photo, instead show a default avatar.

Change-Id: I80de324ae1e151693cf3716bf87d39a16096ca12
Fix bluetooth and data enable with ProfileManager

Handle the case of system uid in AppOpsManager

Change-Id: I5f9c3ba2e2ed0b1c825b995bf2724066ae796bb4
CircleBattery : Add RTL support

Use paddingStart for rtl compatibility

Change-Id: I6c61dfe460eb31c25013c68928935c54dc18baff
Add RTL variants for HSPAP H+ icon

Change-Id: I281083572d07773e4a00079bd947bfd0f4ddf6bb
CircleBattery : Fix alignment regression from RTL

Rather than distributing the padding evenly to get around RTL issues,
remeasure on layout changes.

Change-Id: Ic6f7a58bd64bf2c99f0e07edb0d8fb8cdb9aa398
CircleBattery : Use consistent padding for layoutDirection

Use padding left consitently since paddingStart takes care of its automatic value.

Change-Id: I187e79489a26dd4e5328f816bb69c79f177697e8
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2