Merge "Stop invoke initAppOps in Camera default constructor."
This commit is contained in:
committed by
Android (Google) Code Review
commit
43ef2a1b69
@@ -571,9 +571,7 @@ public class Camera {
|
||||
/**
|
||||
* An empty Camera for testing purpose.
|
||||
*/
|
||||
Camera() {
|
||||
initAppOps();
|
||||
}
|
||||
Camera() {}
|
||||
|
||||
private void initAppOps() {
|
||||
IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE);
|
||||
|
||||
Reference in New Issue
Block a user