Merge "Stop invoke initAppOps in Camera default constructor."
am: 0890a2b51e
Change-Id: I6ed52f595757c3ca7308969105f05e6bd55dee65
This commit is contained in:
@@ -575,9 +575,7 @@ public class Camera {
|
|||||||
/**
|
/**
|
||||||
* An empty Camera for testing purpose.
|
* An empty Camera for testing purpose.
|
||||||
*/
|
*/
|
||||||
Camera() {
|
Camera() {}
|
||||||
initAppOps();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initAppOps() {
|
private void initAppOps() {
|
||||||
IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE);
|
IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE);
|
||||||
|
|||||||
Reference in New Issue
Block a user