commit | ab15c391ebc1a333d026692af32544a34102d2eb | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu May 05 11:45:01 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu May 05 11:47:18 2016 -0600 |
tree | 74584cbaddc860563b61391e881c1e1b1be9320f | |
parent | 01d232988a69dfdee7f90cebf560686e458849e4 [diff] |
Track current user without calling into AMS. From a layering point-of-view, StorageManager is below ActivityManager and it shouldn't be calling upwards, since that risks locking inversions. Instead, track the current user through the existing SystemService callbacks. Bug: 28598527 Change-Id: I02d3277eb26288d3b4e1897f4c9318a6288c9551