[1/2] Longpress back button to kill foreground app

Add a checkbox in developer options to kill
foreground app by longpressing back button.

[1/2] 长按返回键杀掉前台应用

添加一个开发者选项的勾选框, 允许长按返回键杀掉前台应用.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod(@Danesh) for the original implementation.

感谢CyanogenMod(@Danesh)对此功能的原创实现.
[1/2] Navigation ring targets customization

Add navigation ring customization that allows up to three
targets on the navigation ring with custom shortcut actions.

[1/2] 个性化导航圈目标

添加个性化导航圈目标: 允许至多三个指向自定义快捷方式的导航圈目标.

[2/2] in platform_packages_apps_Settings

Thanks to AOKP & CyanogenMod for the original implementation.
感谢AOKP & CyanogenMod原创实现此功能.
[1/2] Lockscreen targets customization

Add user configurable lockscreen targets / icons.

[1/2] 个性化锁屏目标

添加用户可配置的锁屏目标/图标.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod(@Danesh) for the original implementation.
感谢CyanogenMod(@Danesh)原创实现此功能.
Allow querying the lowest possible brightness

Used by the auto-brightness adjustment to adjust the sliders.

允许调用尽可能低的亮度

被自动亮度控制用来调整亮度滑块.
Don't adjust volume when vol-downing to vibrate or silent

Pressing vol-down to vibrate or silent would (previously) still adjust the
stream volume, setting the last audible volume to 0, which is not allowed
for voice-capable devices.  Thus, the last audible volume would reset to
default on reboot if on vibrate/silent or the lowest volume setting.

By not adjusting volume when vol-downing to vibrate or silent on
voice-capable devices, the last audible volume is always preserved across
reboot.

当长按音量下至震动或静音时不要调整音量

长按音量下至震动或静音时, (曾经)依然会调整音量至最小值,
而这在可语音通话的设备上是不被允许的. 因此, 在震动/静音
或最小音量的情况下, 在重启后, 会重置至默认音量.

而此项改变可以让长按音量下至震动或静音后, 能在重启时
维持当前音量.
[1/2] LED customization

* Add LED customization.
* Add global and per-app settings.
* Set default LED color as white.
* Remove stock on/off checkbox and add an dedicated category.
* Comment out dead code from display settings.

[1/2] 个性化LED

* 添加LED个性化.
* 添加全局和各个应用的设置.
* 设置默认LED颜色为白色.
* 删除原生开/关勾选框, 并添加一个独立分类.
* 将显示设置中的无用代码加为评论.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod for the original implementation.
感谢CyanogenMod原创实现此功能.
Properly refresh all sounds

Regarding the build:
* Remove all confusing and bloating AudioPackage*.mk but AllAudio.mk.
* Modify generate-all-audio.sh and AllAudio.mk to copy sounds into
    build in a more intuitive PRODUCT_COPY_FILES step.

Regarding the sounds:
* Reorganize all sounds.
* Remove only the ancient and dead ones.
* Use KitKat ui sounds.
* Relocate sounds in /newwavelabs into their proper category
    according to AudioPackage*.mk.
* Remove smaller ones for the duplicates
    as they are expected to have relatively poor quality.

声音大换血

关于编译:
* 删除所有复杂且累赘的AudioPackage*.mk仅保留AllAudio.mk.
* 修改generate-all-audio.sh和AllAudio.mk
    将声音以一个更直观的PRODUCT_COPY_FILES步骤复制进包中.

关于声音:
* 重新整理所有声音.
* 删除过时严重的和不再使用的声音.
* 使用KitKat的ui声音.
* 将newwavelabs目录中的根据AudioPackage*.mk
    中定义的类别分放进各自的目录.
* 删除尺寸较小的重复声音
    因为他们相对音质差一些.
[1/2] User configurable safe headset volume

* Add an user configurable option to
    enable/disable safe headset volume.
* Add restore volumes after boot and when a headset is plugged.

[1/2] 用户可配置的安全耳机音量

* 添加一个用户可配置的选项
    来启用/禁用安全耳机音量.
* 添加耳机插入时, 设备启动后恢复音量.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod for the original implementation.
感谢CyanogenMod原创实现此功能.
Add [core] zh-rCN translation by @silverhoo1124

添加来自 @silverhoo1124 的[core]部分简体中文翻译
Two-line layout for status bar date

通知栏日期双行样式
Standalone DocumentsUI file manager

Add a standalone mode to the DocumentsUI
to let it act as a file manager/explorer.

独立DocumentsUI文件管理器

添加DocumentsUI的独立模式,
从而让他像一个普通的文件管理器一样运行.

Thanks to OmniROM for the original implementation.
感谢OmniROM原创实现此功能.
Prevent lock/unlock sound during music playback

Lock/unlock sound mixes in with music and causes
lag and distortion.

在播放音乐时阻止播放锁屏/解锁声音

锁屏/解锁声音和音乐混在一起会造成卡顿和失真.
[1/2] User configurable (un)plug wake/nofitication

Add an user configurable option to enable/disable
* Wake the display when charger power is connected/disconnected.
* Play notification sound when charger power is connected/disconnected.
* Vibrate when charger power is connected/disconnected

[1/2] 用户可配置的(断开)连接唤醒/通知

添加一个用户可配置的选项来启用/禁用
* 充电电源连接/断开时唤醒屏幕.
* 充电电源连接/断开时播放通知声.
* 充电电源连接/断开时震动.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod for the original implementation.
感谢CyanogenMod原创实现此功能.
Add [SystemUI] zh-rCN translation by @silverhoo1124

添加来自 @silverhoo1124 的[SystemUI]部分简体中文翻译
Slim recent panel

* Add Slim recent panel.
    Dependency repo: platform_frameworks_opt_cards
* Add scale mode.
    Allow user to scale recent panel size down.
* Add lefty mode.
    Allow recent panel to show up on the left edge
    instead of the right edge for left handed people.
* Add favorite mode.
    Keep favorite tasks in the task list when clear all.
* Fix recent thumbnail click/dismiss animation.
* Fix random FC on pinch.
* Add always show translucent decor on recents panel.

Slim最近应用面板

* 添加Slim最近应用面板.
    依赖repo: platform_frameworks_opt_cards
* 添加缩放模式.
    允许用户缩小最近应用面板尺寸.
* 添加左利手模式.
    允许最近应用面板从左侧出现(而不是从右侧),
    方便左利手用户操作.
* 添加星标模式.
    清除全部任务时保留加星标的任务.
* 修复最近应用面板缩略图 点击/清除 的动画.
* 修复捏合手势时的FC.
* 添加最近应用面板始终显示半透明装饰栏(即通知栏和导航栏).

Kudos to SlimRoms for the awesome original implementation.
向SlimsRoms对此功能的原创实现致以崇高的敬意.

Reference commits:
参考commits:
SlimRoms/frameworks_base@a1b3aa9eb2a74c4c7c167906e5c8c3081db1ccdb
SlimRoms/frameworks_base@9c1c3c0955d51adc589ec6fbb667a0ae482de24e
SlimRoms/frameworks_base@3fd2bf959f8279ebfb65c55e157c19f72526c751
SlimRoms/frameworks_base@72ce3bbd3a117572e85a9837eceaaca191c86f3a
SlimRoms/frameworks_base@fb32d4cb2303e354fadb5ecc3d12d223edf40c3b
SlimRoms/frameworks_base@0347f610f048699157af5b958729a76dcc8f09c7
SlimRoms/frameworks_base@c6deddcaa57de4b418f8e1eee607b45b99c1671d
SlimRoms/frameworks_base@d0f982c4a9d551a9b76c55a7c8e9150cb650c085
SlimRoms/frameworks_base@247961e595003c7b62f8acd5d1074585b5421b03
SlimRoms/frameworks_base@64f9878a99b7574cb9130bf17b50ffd24213a59f
SlimRoms/frameworks_base@d2a76f297efe0285ac53e8fc63c45fbad131d2a4
SlimRoms/frameworks_base@189127bceed4e8295241328ed6ae046cd606ad25
SlimRoms/frameworks_base@4d10958b149a99bf6fb76f904b7f2f14dfd68aaa
SlimRoms/frameworks_base@9398710a50b9dd78ba70064b8b699e6c87e2f86f
SlimRoms/frameworks_base@cc525c326f61f741917af841041f736992028405
SlimRoms/frameworks_base@6c7aa01ec52ec527fd7b0fba64edbe065993c9d3
All You Need is Dark & so long #33B5E5

There's nothing you can do that can't be done
Nothing you can sing that can't be sung
Nothing you can say but you can learn to play the game
It's easy

There's nothing you can make that can't be made
No one you can save that can't be saved
Nothing you can do but you can learn to be you in time
It's easy

All you need is dark
All you need is dark
All you need is dark, dark
Dark is all you need

-----------------------------------------------------

Oh and btw, so long #33B5E5.