|
@@ -268,6 +268,16 @@ public class BaiduFaceMainActivity extends BaseActivity {
|
|
|
}, DeviceInitManager.getInstance().getAlreadyInitHardwareNum() * 2000);
|
|
|
}*/
|
|
|
|
|
|
+ //百度人脸,最后一个外设初始化完成后显示2秒后隐藏appStatusTextView
|
|
|
+ if (DeviceInitManager.getInstance().totalOpenHardwareNum == DeviceInitManager.getInstance().getAlreadyInitHardwareNum()){
|
|
|
+ AppHandler.getHandler().postDelayed(new Runnable() {
|
|
|
+ @Override
|
|
|
+ public void run() {
|
|
|
+ appStatusTextView.setVisibility(View.GONE);
|
|
|
+ }
|
|
|
+ }, DeviceInitManager.getInstance().getAlreadyInitHardwareNum() * 2000L);
|
|
|
+ }
|
|
|
+
|
|
|
//顶部图标显示
|
|
|
switch (code){
|
|
|
case Constants.Code_hardware_icon_idCard_succeed:
|