Merge pull request #1 from TouchInstinct/cosmetics

get rid of the redundant code
This commit is contained in:
Gavriil 2016-03-16 16:55:51 +03:00
commit ea5e6c0cc6
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);