DataUsageSummary: fix mobile data usage display for sim-less devices

- Don't assume the device has a sim card. Check for a phone number
  instead. Otherwise the mobile data usage screen will not show up
  on sim-less CDMA devices.

Change-Id: Ic6e35dc209ff05e0c89dc990ad82f4ab4d3f337d
Use a hashed MAC address instead of IMEI for stats collection.

PS2: always use hashed Wifi MAC address to avoid zombies when wiping

Change-Id: I7379c5b380273e35b5aab582f5268d6946e0a255
Adjust aokpstats

Change-Id: I7f40da5313b0754862aab40db06555d752a719d8
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Hungarian translations by Klasszsrac

Change-Id: Ia2066fefb6972a4cdaeb02547a0b727929fdd64e
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge "Hungarian translations by Klasszsrac" into jb-mr1
Revert "Add PerformanceControl Quick Link in Settings"

This reverts commit ce3b02a64889fd3f2a535045c5a042a616871bc6

Change-Id: Ic7c04d3acb10d8b8decfe0e99e23f6715896bc07
DataUsageSummary: fix mobile data usage display for GSM devices with no number

Some providers don't write phone number onto SIM card causing the
phone number check introduced in the partially reverted commit to fail.
Re-introduce the original check with the "or" condition.

This partially reverts commit 4c51b45355b9d6fed973f946738bf455a8b7c9ea.

Change-Id: I69a65a1a421dcdf168c3d0afeb7110cb97790034
Merge "DataUsageSummary: fix mobile data usage display for GSM devices with no number" into jb-mr1
Settings: Add Permissions Management to AOKP [1/4]

So that user can easily access the Permissions Management app via settings.

Change-Id: I4f30389c3f8c9f05c0279c60ed819a65aa0d69df
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
AOKPStats: update regex to reflect recent changes

Change-Id: I039bbf64487861cf0e8a820f3a64b5947a40564b
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Settings: Add Permissions Management to AOKP [1/4]" into jb-mr1
Settings: Updated czech translation

Change-Id: I931b02d00736f8d262aad1be81b9a7b72281f190
Signed-off-by: kecinzer <kecinzer@gmail.com>
Squash auto-brightness updates

Overhaul auto-brightness level UI.

This changes a few things:
- Don't imply a 'bucket' type of algorithm is used by showing an ambient
  brightness range for each line
- Allow manually entering the screen brightness
- Add a preview window for the cubic spline interpolation
- Add a help text

JIRA:CYAN-612
Change-Id: I64274280872b9fe4f6fdc368d654aca81e0a4e0c

Improve brightness curve preview

- Avoid log spamming
- Add a little margin around the grid so outer control points aren't cut

Change-Id: If4dabdf4c713e01e59a0f367f6e95772ebc12cd7

Correctly restore brightness customize dialog hierarchy.

This is especially important when rotating the device.

Change-Id: I345823cb0a4fb30bd8ecdf40d241e2e6a394ae0a
Merge "Squash auto-brightness updates" into jb-mr1
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1

Conflicts:
	res/values/strings.xml
	src/com/android/settings/aokpstats/Utilities.java

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>