CameraServiceProxy: Double retry times when notifying cameraserver
Current retry for notifying cameraserver is 20ms * 30 = 600ms. Double it to 1.2 seconds to give cameraserver enough time to start up. Test: Build Bug: 140414594 Change-Id: I5726212d81bb595a99c9137e073f0da022d0779c
This commit is contained in:
@@ -79,7 +79,7 @@ public class CameraServiceProxy extends SystemService
|
||||
private static final int MSG_SWITCH_USER = 1;
|
||||
|
||||
private static final int RETRY_DELAY_TIME = 20; //ms
|
||||
private static final int RETRY_TIMES = 30;
|
||||
private static final int RETRY_TIMES = 60;
|
||||
|
||||
// Maximum entries to keep in usage history before dumping out
|
||||
private static final int MAX_USAGE_HISTORY = 100;
|
||||
|
||||
Reference in New Issue
Block a user