From b577559a06444864a6e2b8f74625e1ce9eecbd59 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Mon, 2 Sep 2013 21:37:30 +0200 Subject: galaxys2: add netflix hack Change-Id: I77b4e3a5797133acc392e27227ce7ecb401458f0 --- configs/98netflix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 configs/98netflix (limited to 'configs') diff --git a/configs/98netflix b/configs/98netflix new file mode 100644 index 0000000..92bf878 --- /dev/null +++ b/configs/98netflix @@ -0,0 +1,6 @@ +#!/system/bin/sh + +if [ -f /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml ]; then + grep -q nflx_player_type.*6 /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml && exit 0 + cp /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml.orig && sed -e 's||\n|g' /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml.orig > /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml && rm /data/data/com.netflix.mediaclient/shared_prefs/nfxpref.xml.orig +fi -- cgit v1.1