get rid of the redundant code

This commit is contained in:
contrudar 2016-03-16 15:31:27 +03:00
parent f269a38616
commit e118c39220
1 changed files with 2 additions and 2 deletions

View File

@ -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);