Skip to content

Commit

Permalink
Cover all possible OnePlus wallpaper/build prop
Browse files Browse the repository at this point in the history
The OnePlus has many different build names.  Let's cover all of them just to be sure...

Signed-off-by: Binky Bear <[email protected]>
  • Loading branch information
binkybear committed Feb 13, 2015
1 parent 836db0e commit cade2e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash/data/tmp_kali/setwallpaper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ fi

# ONE PLUS ONE - USES SAME SCREEN RESOLUTION AS NEXUS 5

if [ $(getprop ro.product.device) == "A0001" ]; then
if [ $(getprop ro.product.device) == "bacon" ] || [ $(getprop ro.product.device) == "A0001" ] || [ $(getprop ro.product.device) == "One" ] || [ $(getprop ro.product.device) == "OnePlus" ] || [ $(getprop ro.product.device) == "One A0001" ]; then
cp /tmp/hammerheadwallpaper /data/system/users/0/wallpaper
chmod 777 /data/system/users/0/wallpaper
chown system:system /data/system/users/0/wallpaper
fi
fi

0 comments on commit cade2e9

Please sign in to comment.