Commit c20175d3 authored by Mark Harman's avatar Mark Harman

Add toast for panorama being cancelled automatically when moving too far.

parent 1b4c6127
......@@ -1622,6 +1622,8 @@ public class MyApplicationInterface extends BasicApplicationInterface {
public void onTooFar() {
if( MyDebug.LOG )
Log.d(TAG, "TargetCallback.onTooFar");
main_activity.getPreview().showToast(null, R.string.panorama_cancelled);
MyApplicationInterface.this.stopPanorama(true);
}
......
......@@ -865,6 +865,7 @@
<string name="finish_panorama">Finish panorama</string>
<string name="cancel_panorama">Cancel panorama</string>
<string name="panorama_cancelled">Panorama cancelled</string>
<string name="failed_to_process_panorama">Failed to create Panorama image</string>
<string name="preference_panorama_crop">Panorama auto-crop</string>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment