mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Disable zoom/pan for built-in wallpapers
This commit is contained in:
@@ -95,9 +95,12 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
|
||||
} else if (meta.mGalleryImageUri != null) {
|
||||
mCropView.setTileSource(new BitmapRegionTileSource(WallpaperPickerActivity.this,
|
||||
meta.mGalleryImageUri, 1024, 0), null);
|
||||
mCropView.setTouchEnabled(true);
|
||||
} else {
|
||||
mCropView.setTileSource(new BitmapRegionTileSource(WallpaperPickerActivity.this,
|
||||
meta.mWallpaperResId, 1024, 0), null);
|
||||
mCropView.setTouchEnabled(false);
|
||||
mCropView.moveToUpperLeft();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user