mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
15.1: More fixes
This commit is contained in:
parent
8c15364b54
commit
90ecbd9857
2 changed files with 9 additions and 13 deletions
|
@ -143,10 +143,6 @@ enterAndClear "packages/apps/Updater"
|
|||
patch -p1 < $patches"android_packages_apps_Updater/0001-Server.patch" #Switch to our server
|
||||
|
||||
enterAndClear "packages/apps/WallpaperPicker"
|
||||
rm res/drawable-nodpi/{*.png,*.jpg} res/values-nodpi/wallpapers.xml; #Remove old ones
|
||||
cp -r $dosWallpapers'Compressed/.' res/drawable-nodpi/; #Add ours
|
||||
cp -r $dosWallpapers"Thumbs/." res/drawable-nodpi/;
|
||||
cp $dosWallpapers"wallpapers.xml" res/values-nodpi/wallpapers.xml;
|
||||
sed -i 's/req.touchEnabled = touchEnabled;/req.touchEnabled = true;/' src/com/android/wallpaperpicker/WallpaperCropActivity.java; #Allow scrolling
|
||||
sed -i 's/mCropView.setTouchEnabled(req.touchEnabled);/mCropView.setTouchEnabled(true);/' src/com/android/wallpaperpicker/WallpaperCropActivity.java;
|
||||
sed -i 's/WallpaperUtils.EXTRA_WALLPAPER_OFFSET, 0);/WallpaperUtils.EXTRA_WALLPAPER_OFFSET, 0.5f);/' src/com/android/wallpaperpicker/WallpaperPickerActivity.java; #Center aligned by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue