Skip to content

Instantly share code, notes, and snippets.

commit e7d09206e57920ffa87a3fbb6cfced5fbdec318f
Author: Dan Pasanen <[email protected]>
Date: Wed Jun 15 15:40:58 2016 -0500
SystemUI: detect rotation and resize mKeyguardBlur accordingly
Change-Id: Icfd1d2de9929f9620332e3367885bec972063681
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index 39ef494..d435f20 100644
/*
* Copyright (C) 2014 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
diff --git a/BoardConfigExtra.mk b/BoardConfigExtra.mk
index 8b1a8dd..96f3cbe 100644
--- a/BoardConfigExtra.mk
+++ b/BoardConfigExtra.mk
@@ -1,5 +1,5 @@
# Overlay
-DEVICE_PACKAGE_OVERLAYS += vendor/extra/blur/overlay
+DEVICE_PACKAGE_OVERLAYS += $(call my-dir)/blur/overlay
# Blur
-rw------- bluetooth bluetooth u:object_r:unlabeled:s0 .bt_nv.bin
drwxrwx--x system system u:object_r:unlabeled:s0 dsps
drwxrwx--x system system u:object_r:unlabeled:s0 lpass
drwxrwx--x system system u:object_r:unlabeled:s0 modem
drwxrwx--- system system u:object_r:persist_property_file:s0 properties
drwxrwx--x system system u:object_r:unlabeled:s0 wcnss
-rw------- bluetooth bluetooth 13 2013-01-13 07:53 .bt_nv.bin
drwxrwx--x system system 1969-12-31 15:46 dsps
drwxrwx--x system system 1969-12-31 15:46 lpass
drwxrwx--x system system 1969-12-31 15:46 modem
drwxrwx--- system system 2015-10-02 11:45 properties
drwxrwx--x system system 1969-12-31 15:46 wcnss
lrwxrwxrwx root root 2016-05-25 14:44 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2016-05-25 14:44 backup -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2016-05-25 14:44 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2016-05-25 14:44 cache -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2016-05-25 14:44 efs -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2016-05-25 14:44 fota -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2016-05-25 14:44 fsg -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2016-05-25 14:44 grow -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2016-05-25 14:44 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2016-05-25 14:44 modemst1 -> /dev/block/mmcblk0p12
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.112-cyanogenmod-g5a7de5b-25659-g2380876-dirty (dp@build-vm) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Wed May 25 20:25:10 CDT 2016
[ 0.000000] CPU: ARMv7 Processor [511f04d0] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: SAMSUNG M2
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] mem_map: fixed_low_area reserved at 0xafe00000 with size 0x300000
[ 0.000000] mem_map: fixed_middle_area reserved at 0xb0100000 with size 0x6000000
[ 0.000000] mem_map: fixed_high_area reserved at 0xb6100000 with size 0x100000
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml
index 1d1f443..0c73816 100644
--- a/audio/audio_platform_info.xml
+++ b/audio/audio_platform_info.xml
@@ -29,6 +29,10 @@
<!-- Output devices -->
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="9"/>
+ <device name="SND_DEVICE_OUT_LINE" acdb_id="9"/>
+ <device name="SND_DEVICE_OUT_VOICE_LINE" acdb_id="9"/>
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml
index 1d1f443..0c73816 100644
--- a/audio/audio_platform_info.xml
+++ b/audio/audio_platform_info.xml
@@ -29,6 +29,10 @@
<!-- Output devices -->
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="9"/>
+ <device name="SND_DEVICE_OUT_LINE" acdb_id="9"/>
+ <device name="SND_DEVICE_OUT_VOICE_LINE" acdb_id="9"/>
/system/bin/linker
Android
__lshrdi3
__cxa_finalize
LIBC
libc.so
sensors.msm8992.so
__udivdi3
__gnu_uldivmod_helper
__cxa_atexit