Improve notification spam filter code.

- Follow coding style guidelines
- Replace dialog shown on click by adding the relevant information and
  the delete button to the item itself
- Minor layout tweaks
- Make the empty view more descriptive
- Add license headers

Change-Id: Ic685364087d6a093fdbb6a143a9c6ed78596b62b
Build V122
Build V122.1 - HLTE only
Build V122.2 - HLTE only
Build V123
Build V123.1 - Enable call recording
Update cr_strings.xml
Conflicts:
	res/values-uk/cr_strings.xml
Settings: Slimrecents background color && transparency [1/2]
Allow user to specify background color and transparency level
    for the slimrecents panel.

PS: now setting sticks through reboots and TRDS state
        changes. also, add reset to default color option.

PS: when resetting to default, use TRDS (png) resources
        instead of custom color

NOT USED FOR crDroid -> PS: properly set preference summary for default
        value ("TRDS default")

Change-Id: I42ec2c9cf0f65b0dc8936e1cc45f171afe1d6afa
PS: remove LSN dependency

Conflicts:
	src/com/android/settings/crdroid/RecentPanelSettings.java
Settings : Make proximity opt-in

Change-Id: Idfa64758a3c6d60ca4801f6f7f34f0429f95cbec
Follow normal lock screen convention - allow user to retry when creating pattern lock

Change-Id: I6ad39b07b8de3de03146322b37b60e3f846093d1
Build V124
Fix: Even when the list is entirely unchecked there may still be components
which are still protected and need to cleared when Reset is triggered.

https://jira.cyanogenmod.org/browse/BACON-679
https://jira.cyanogenmod.org/browse/CYAN-4835

Change-Id: Ifee3e8b87be39769aedfed0f9a5bda366c67ee45
ProtectedApps pattern lock for landscape mode.

Change-Id: I9ef70a0e363d4d17510188d24f4742f458fba38e

Conflicts:
	AndroidManifest.xml
Fix keyboard opening on pattern entry.

For protected apps, on some devices (consistent repro on flo), the soft
keyboard will open every time you enter the LockPatternActivity. Fix
this by setting the keyboard state to hidden in the manifest for this
activity.

Change-Id: I56fb6644cacd7a05100199637b1a27159ca04829
Wifi Country code

Change-Id: Ic57d5f86e63e0fadd69d98c282a1e81360d5c6ae
Build V125
Settings: remove Expanded Desktop from Power Menu if unavailable

Instead of disabling the option when it is disabled, let's remove the
Expanded Desktop option in Power Menu Settings.

When the user toggles Expanded Desktop to ON, it will automatically add
the option to the power menu. The user can then remove it if they wish,
and all the states are properly kept.

Change-Id: I23b6a44da86c1cd74e3f73a8edc714ceeb47af4d
Signed-off-by: Roman Birg <roman@cyngn.com>
Revert "Settings: update default expanded desktop style"

This reverts commit cfce1a192b1ad59c607284fc537f1664f257f682.

Change-Id: I5405596b60bade7d0a2abf246dfaa0d82a75bcfb
Settings: use ActivityManager method for requesting bug report

This let's ActivityManagerService handle all the logic for requesting
bug reports.

Change-Id: I44e6a9295a0625bcdc0f3a22daf097bdccf0d3c4
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: fix Wifi/WifiAP tile inconsistency

While editing tiles, remove Wifi tile, add Wifi AP tile. Then if you try
and add the Wifi tile, it is disabled.

The logic was checking whether "toggleWifi" existed in the quick tile
string, which it did, as "toggleWifiAp".

Change-Id: I0663c06bef6365315aa979fcff228aeb679b41d0
Signed-off-by: Roman Birg <roman@cyngn.com>