File tree 1 file changed +9
-7
lines changed
app/src/main/java/com/hzitoun/camera2SecretPictureTaker/services
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,14 @@ public class PictureCapturingServiceImpl extends APictureCapturingService {
67
67
private PictureCapturingServiceImpl (final Activity activity ) {
68
68
super (activity );
69
69
}
70
+
71
+ /**
72
+ * @param activity the activity used to get the app's context and the display manager
73
+ * @return a new instance
74
+ */
75
+ public static APictureCapturingService getInstance (final Activity activity ) {
76
+ return new PictureCapturingServiceImpl (activity );
77
+ }
70
78
71
79
/**
72
80
* starts pictures capturing process.
@@ -247,11 +255,5 @@ private void closeCamera() {
247
255
}
248
256
249
257
250
- /**
251
- * @param activity the activity used to get the app's context and display manager
252
- * @return new instance
253
- */
254
- public static APictureCapturingService getInstance (final Activity activity ) {
255
- return new PictureCapturingServiceImpl (activity );
256
- }
258
+
257
259
}
You can’t perform that action at this time.
0 commit comments