OSDN Git Service

Ensure Binder in-calls to UiModeManagerService are guarded.
authorJeff Brown <jeffbrown@google.com>
Thu, 11 Oct 2012 20:35:42 +0000 (13:35 -0700)
committerJeff Brown <jeffbrown@google.com>
Thu, 11 Oct 2012 20:35:42 +0000 (13:35 -0700)
commit487bb6e20b96aa6920e08669a260118a40e604d5
treee8714ee35654e8e5ba66c61bcbf3ee5b8e2e3ab2
parenta2f7ca7db1f797d7897dc66840d1ec64d1b2a6a1
Ensure Binder in-calls to UiModeManagerService are guarded.

Fixed a couple of problems where locks were not being taken or
where the calling identity was being clear deep in the call
stack whereas it should be cleared as close to the entry point
possible to ensure code correctness.

Bug: 7328545
Change-Id: I8ff646a772cd7f4025d5604bc35c6372c3d2428e
services/java/com/android/server/UiModeManagerService.java