OSDN Git Service

Use calling user ID when calling isDeviceLocked
authorFyodor Kupolov <fkupolov@google.com>
Thu, 12 Oct 2017 18:22:57 +0000 (11:22 -0700)
committerSiyamed Sinir <siyamed@google.com>
Mon, 16 Oct 2017 20:54:13 +0000 (20:54 +0000)
commit66bde671206b19c0712b7a500271e438cf48fbda
tree0bcb0e4a556b78f39960c893d50690cbbe844085
parent7e3f20e24979f7b807eef7dd2c6da6b7ecb8681b
Use calling user ID when calling isDeviceLocked

If isDeviceLocked is called with clearCallingIdentity,
original userId should be explicitly passed

Bug: 67621847
Test: Manual
Change-Id: I2bcb92572898811cc96bda1149ef806e6239e929
services/core/java/com/android/server/clipboard/ClipboardService.java