commit | af16d0b30e89f31b7617424c8706553ff571d08d | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sun Jul 10 14:22:31 2011 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Mon Jul 11 15:07:10 2011 -0400 |
tree | 375fc4d9900ffc5ef1c97de2d8c269ea04e7327a | |
parent | b7440a140b650932bf31cf51d3b87c3249e3b682 [diff] |
Remove unnecessary locking from MediaScanner JNI code There is nothing in this file that requires a global lock. Furthermore, the lock can cause timeouts in native_finalize if one instance is being garbage collected while another is busy in processDirectory Bug: 5002520 Change-Id: I8717f8edeb932200d9f76b3d98915cfbe18b6ec6 Signed-off-by: Mike Lockwood <lockwood@android.com>