core: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I002f18400ed300616739ea067dd051fdcc174c6b
frameworks_base: ES translations

- Move cm_ to default. Same as AOSP.
- Reorganize some strings

Change-Id: I51c87e80e59d03832631f19c09b48a3730aad474
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
Fix NPE in NavigationBarView during bugreport

Commit "Merge Navigation Bar and Pie Controls button config (1/2)"
changed the tag field on the navigation bar buttons. This was not
reflected in NavigationBarView#dump() method, which lead to a NPE.

Also take into account that back and recents buttons may not be
present in the navigation bar.

Change-Id: Ie590608a4ad27753b673320132af7ec42d7a2ade
Merge "frameworks_base: ES translations" into cm-10.1
Merge "Fix NPE in NavigationBarView during bugreport" into cm-10.1
Merge "core: EL translations" into cm-10.1
SystemUI: Add missing Af Translations

Change-Id: I504dec8e14f9be07a227dd1629040402ed44cebc
[1/2] Add triggers to change profile based on AP

Add data structure mWifiTriggers to store triggers per profile.
Add network change listener to switch to profile

Change-Id: I97e360d7783d3b0e2bbd70fe7a9a866d8c0fa7cd
Merge "[1/2] Add triggers to change profile based on AP" into cm-10.1
QuickSettings : Battery initial status

Battery tile upon being added relies on a battery level changed call
to update its status. Thus if upon adding, the battery level is not changing
or till the period when it updates, the tile shows an unknown state.

This patchset resolves this issue by making the controller store its last received value
and distributing it to the tiles when they register for changes.

https://jira.cyanogenmod.org/browse/CYAN-1374

Change-Id: Ia2e887e545430ed02c179a3c8f4b7e269a4817c8
Don't assume any ringtone is present on external storage.

If that assumption doesn't hold true, the user will lose his ringtone
and won't know why.

Change-Id: I89409e1351792d020c5458f5104f4bb9f2a040f2
Merge "Don't assume any ringtone is present on external storage." into cm-10.1
Fix mobile data button in power widget.

Change-Id: Ide0417768350081250af24518b6831d70196ba73
JIRA:CYAN-1189
Fix dock battery tile display.

Change-Id: I624663149da1161c2cd4f4b20b388bd711d9883c
Merge "Fix dock battery tile display." into cm-10.1
AssetRedirectionService: Check for permissions before running dump()

Fix android.security.cts.ServicePermissionsTest failure

Change-Id: I9d629d19f3ff231db477d156c8bf557d4b8ee861
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_frameworks_base into cm-10.1