diff options
author | 2025-02-12 14:56:15 -0800 | |
---|---|---|
committer | 2025-02-12 15:32:59 -0800 | |
commit | 340f45bb4aead3b8930e7412057de48609921287 (patch) | |
tree | cb2785c5694c0a177cd5fa8617fa6563bb8db288 /libs/androidfw/Idmap.cpp | |
parent | 799f3810dafbaa99cf5b87f63ac14bc3943bafdb (diff) |
getUserLogoutability() to have user id as argument
This hidden API is expected to be called by systemui, which is run by user 0. Thus mUserId is always 0 in systemui, so the return value would always be LOGOUTABILITY_STATUS_CANNOT_LOGOUT_SYSTEM_USER.
Instead, we should user's id as argument. The caller would pass the current user's id.
Bug: 380122753
Flag: EXEMPT bugfix
Test: m
Change-Id: I3a1492c3fec5c410e7c49603837d1cfddfeaf7f7
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
0 files changed, 0 insertions, 0 deletions