<!-- should not change the android:name, including moving to a subpackage - see http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html -->
<receiver
android:icon="@drawable/ic_launcher_take_photo"
android:icon="@mipmap/ic_launcher"
android:label="@string/take_photo"
android:name="MyWidgetProviderTakePhoto"
android:exported="true">
@@ -129,7 +130,7 @@
<!-- should not change the android:name, including moving to a subpackage - see http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html -->
<!-- should not change the android:name, including moving to a subpackage - see http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html -->
<!-- should not change the android:name, including moving to a subpackage - see http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html -->
@@ -141,7 +142,7 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen
privatebooleancamera_in_background;// whether the camera is covered by a fragment/dialog (such as settings or folder picker)
privateGestureDetectorgestureDetector;
privatebooleanscreen_is_locked;// whether screen is "locked" - this is Open Camera's own lock to guard against accidental presses, not the standard Android lock
zoomSeekBar.setOnSeekBarChangeListener(null);// clear an existing listener - don't want to call the listener when setting up the progress bar to match the existing state
zoomSeekBar.setVisibility(View.INVISIBLE);// should be INVISIBLE not GONE, as the focus_seekbar is aligned to be left to this; in future we might want this similarly for exposure panel
zoomSeekbarIcon.setVisibility(View.INVISIBLE);
}
}
else{
zoomControls.setVisibility(View.GONE);
zoomControlHolder.setVisibility(View.GONE);
zoomSeekBar.setVisibility(View.INVISIBLE);// should be INVISIBLE not GONE, as the focus_seekbar is aligned to be left to this; in future we might want this similarly for the exposure panel
zoomSeekbarIcon.setVisibility(View.INVISIBLE);
}
if(MyDebug.LOG)
Log.d(TAG,"cameraSetup: time after setting up zoom: "+(System.currentTimeMillis()-debug_time));