Merge branch 'master' of https://gitee.com/endian11/DriveJudge
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:sharedUserId="android.uid.system" |
| | | android:sharedUserId="android.uid.system" |
| | | package="safeluck.drive.evaluation"> |
| | | |
| | | <uses-permission android:name="android.permission.CAMERA" /> |
| | |
| | | * @return |
| | | */ |
| | | private T findFreeObject() { |
| | | |
| | | return null; |
| | | T obj = null; |
| | | synchronized (LOCK){ |
| | | if (length > 0 ){ |
| | | --length; |
| | | obj = mContainer[length]; |
| | | //赋值完成后释放资源 |
| | | mContainer[length] = null; |
| | | } |
| | | } |
| | | return obj; |
| | | } |
| | | } |