Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/ch/blinkenlights/android/vanilla/MediaButtonReceiver.java b/src/ch/blinkenlights/android/vanilla/MediaButtonReceiver.java
index cfb1ae3..a01d2a3 100644
--- a/src/ch/blinkenlights/android/vanilla/MediaButtonReceiver.java
+++ b/src/ch/blinkenlights/android/vanilla/MediaButtonReceiver.java
@@ -158,7 +158,7 @@ public class MediaButtonReceiver extends BroadcastReceiver {
break;
case KeyEvent.KEYCODE_MEDIA_PREVIOUS:
if (action == KeyEvent.ACTION_DOWN)
- act = PlaybackService.ACTION_REWIND_SONG;
+ act = PlaybackService.ACTION_PREVIOUS_SONG_AUTOPLAY;
diff --git a/src/ch/blinkenlights/android/vanilla/CoverView.java b/src/ch/blinkenlights/android/vanilla/CoverView.java
index 3da9875..33bdb27 100644
--- a/src/ch/blinkenlights/android/vanilla/CoverView.java
+++ b/src/ch/blinkenlights/android/vanilla/CoverView.java
@@ -365,16 +365,14 @@ public final class CoverView extends View implements Handler.Callback {
Context context = getContext();
Bitmap cover = song == null ? null : song.getCover(context);
- if (cover == null && style == CoverBitmap.STYLE_NO_INFO) {
- Bitmap def = mDefaultCover;
diff --git a/src/ch/blinkenlights/android/vanilla/VanillaMediaPlayer.java b/src/ch/blinkenlights/android/vanilla/VanillaMediaPlayer.java
index dce062d..2faa693 100644
--- a/src/ch/blinkenlights/android/vanilla/VanillaMediaPlayer.java
+++ b/src/ch/blinkenlights/android/vanilla/VanillaMediaPlayer.java
@@ -22,6 +22,7 @@ import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.audiofx.AudioEffect;
+import android.os.Build;
import java.io.IOException;
diff --git device/sony/shinano-common/rootdir/init.qcom.rc device/sony/shinano-common/rootdir/init.qcom.rc
index 287ccc1..c4dd38d 100644
--- device/sony/shinano-common/rootdir/init.qcom.rc
+++ device/sony/shinano-common/rootdir/init.qcom.rc
@@ -390,6 +390,10 @@ on charger
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu3/online 0
+# hack for display bug
+on property:vold.decrypt=trigger_restart_framework
diff --git a/Ext4.cpp b/Ext4.cpp
index dc31fd0..3be0b9a 100644
--- a/Ext4.cpp
+++ b/Ext4.cpp
@@ -159,3 +159,48 @@ int Ext4::format(const char *fsPath, unsigned int numSectors, const char *mountp
}
return 0;
}
+
+int Ext4::check(const char *fsPath) {
This is a notification that your application, Vanilla Music, with package ID ch.blinkenlights.android.vanilla, has been removed from the Google Play Store.
REASON FOR REMOVAL: Alleged copyright infringement (according to the terms of the Digital Millenium Copyright Act).
All violations are tracked. Serious or repeated violations of any nature will result in the termination of your developer account, and investigation and possible termination of related Google accounts. If your account is terminated, payments will cease and Google may recover the proceeds of any past sales and the cost of any associated fees (such as chargebacks and payment transaction fees) from you.
Please review the Developer Distribution Agreement and Content Policy to ensure that your applications are compliant with our policies.
The DMCA is a United States copyright law that provides guidelines for online service provider liability in case of copyright infringement. Click here for more information about the DMCA, and see http://www.g
mkbootimg --kernel kernel --ramdisk ramdisk.img --cmdline "androidboot.hardware=shinano selinux=0 user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" --base 0x00000000 --pagesize 2048 --dt dt.img --ramdisk_offset 0x02000000 --tags_offset 0x01E00000 -o xout.img
target Prebuilt: (/home/adrian/Z3_CM/out/target/product/scorpion_windy/kernel)
/home/adrian/Z3_CM/out/host/linux-x86/bin/acp -fp /home/adrian/Z3_CM/out/target/product/scorpion_windy/obj/KERNEL_OBJ/arch/arm/boot/zImage /home/adrian/Z3_CM/out/target/product/scorpion_windy/kernel
/home/adrian/Z3_CM/out/host/linux-x86/bin/dtbToolCM --force-v2 -o /home/adrian/Z3_CM/out/target/product/scorpion_windy/dt.img -s 2048 -p /home/adrian/Z3_CM/out/target/product/scorpion_windy/obj/KERNEL_OBJ/scripts/dtc/ /home/adrian/Z3_CM/out/target/product/scorpion_windy/obj/KERNEL_OBJ/arch/arm/boot/
DTB combiner:
Input directory: '/home/adrian/Z3_CM/out/target/product/scorpion_windy/obj/KERNEL_OBJ/arch/arm/boot/'
Output file: '/home/adrian/Z3_CM/out/target/product/scorpion_windy/dt.img'
Found file: apq8074pro-ac-shinano_scorpion_windy.dtb ... chipset: 194, rev: 65536, platform: 8, subtype: 0
additional chipset: 210, rev: 65536, platform: 9, subtype: 0
additional chipset: 210, rev: 65536, platform: 8, subtype: 0
additional
commit e431758838c8a1f5183bc5a624ef4559439d6c02
Author: Lorenzo Colitti <lorenzo@google.com>
Date: Mon Mar 31 16:23:51 2014 +0900
net: core: Support UID-based routing.
This contains the following commits:
1. 0149763 net: core: Add a UID range to fib rules.
2. 1650474 net: core: Use the socket UID in routing lookups.
diff --git a/msm8960/common.mk b/msm8960/common.mk
index 0a4cd99..097730a 100644
--- a/msm8960/common.mk
+++ b/msm8960/common.mk
@@ -14,7 +14,7 @@ common_libs := liblog libutils libcutils libhardware
#Common C flags
common_flags := -DDEBUG_CALC_FPS -Wno-missing-field-initializers
-common_flags += -Werror -Wno-unused-parameter
+common_flags += -Wno-unused-parameter -fno-permissive