Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value

To be able to customize the "WiFi scan always available"
setting we need to set a default value.

Change-Id: I3673f2613ab9b6a947aed7e29d4cc876140c2180
MediaFocusControl: Deny audio focus if notification stream is 0

Previously audio focus would be granted regardless of notification
volume, meaning that if notifications are muted the media stream would
still be dimished for focus. By checking if STREAM_NOTIFICATION is 0 and
if a notification stream is requesting focus, this is no longer an issue.

Change-Id: Ie10a64e58ce77174a3bbdeaa936646d40c24404f
Signed-off-by: Evan Anderson <evan1124@gmail.com>
SystemUI: AF Translations

Change-Id: I2e641bb6d8ac4550adc2631193602128c315855c
base: EL translations

Change-Id: Ie904f785ba0aac356369a47a723573d23fd50ccc
mediaeditor: Fix c++11 narrowing

Summary: Depends on D309 D310

Test Plan: verified

Reviewers: randall.rushing, jriordan001

Reviewed By: randall.rushing

Differential Revision: http://review.codefirex.com/D312

Change-Id: I34a0e0e0fc9879e6c4a12a1dd8375dd409042878
Signed-off-by: DHOMD <DHO@dho.im>
Keyguard: RU translation

Change-Id: Ia746d3f8166b768a45cc3a4285f8073b1969399d
base: LT translations

Minor fixes
PS: 8. Keyguard translated, changed quotation marks to match AOSP strings, improved translations, minor fixes
*Fixed quatation marks
*Improved translations
Change-Id: Ib5051ed5787ecf096a3a39b70ef5450cb3c96d5b
fix pocket mode turning screen on after unlocking/power off

PS2: improve sensor registry handling
PS3: make notification posted events block concurrent events to
     prevent races/handler leaks
PS4: synchronize proximity notification posting

Change-Id: Ibd28c6f4752dd75bdf072d5689a342574311d73d
Merge "mediaeditor: Fix c++11 narrowing" into kk44
Merge "SystemUI: AF Translations" into cm-11.0
Merge "base: EL translations" into cm-11.0
Merge "Keyguard: RU translation" into cm-11.0
Merge "base: LT translations" into cm-11.0
base: correct copyright notices

Change-Id: Ia7c72763b41b72f9fec827b4c756447905665190
More Active display fixes

PS1: re-enable proximity activated screen-off when Active D is showing only
PS2: add broadcast intent to notify active D when keyguard unlocks
PS3: completely disable proximity mode when the user unlocks the device
     either from active display or from the keyguard.  The sensor is still
     active on the keyguard if the user manually powers on but it's much
     better than it was before

Change-Id: Ie4da497eaca75056d5e7ba337f6aba0cde8ea5e4
Merge "More Active display fixes" into kk44
set active notification proximity sensor delay to normal

normal, the default, is 200,000 ms whereas UI is 60,000.  we don't need
to update that often.  it will save us battery if we don't.

Change-Id: I3070791eb4eb68de1619ff85f22624dbb7938afe
Merge "MediaFocusControl: Deny audio focus if notification stream is 0" into cm-11.0
Merge "Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD