Merge pull request #1 from TouchInstinct/cosmetics
get rid of the redundant code
This commit is contained in:
commit
ea5e6c0cc6
|
|
@ -214,7 +214,7 @@ public class CropImageActivity extends MonitoredActivity {
|
|||
return;
|
||||
}
|
||||
imageView.setImageBitmapResetBase(srcBitmap, true);
|
||||
CropUtil.startBackgroundJob(this, null, getResources().getString(R.string.crop__wait),
|
||||
CropUtil.startBackgroundJob(this, null, getString(R.string.crop__wait),
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
final CountDownLatch latch = new CountDownLatch(1);
|
||||
|
|
@ -330,7 +330,7 @@ public class CropImageActivity extends MonitoredActivity {
|
|||
private void saveImage(Bitmap croppedImage) {
|
||||
if (croppedImage != null) {
|
||||
final Bitmap b = croppedImage;
|
||||
CropUtil.startBackgroundJob(this, null, getResources().getString(R.string.crop__saving),
|
||||
CropUtil.startBackgroundJob(this, null, getString(R.string.crop__saving),
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
saveOutput(b);
|
||||
|
|
|
|||
Loading…
Reference in New Issue