summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Allocation.java
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2016-04-07 14:56:25 -0700
committerFyodor Kupolov <fkupolov@google.com>2016-04-07 16:41:57 -0700
commit7f98aa4aa93497692f200c553d2d6fff402e3de2 (patch)
treeb67cf69def537d856b53896c21f602c89fb8c5ba /rs/java/android/renderscript/Allocation.java
parent8b704d4474caf9fa0c7a734582fb6cce55248de4 (diff)
Added getProfileIds method returning array of userIds
Previously many usages of UserManager.getProfiles and getEnabledProfiles were only using ids of returned users. Given that the list of users needs to be parceled and unparceled for Binder calls, returning array of ids minimizes memory usage and serialization time. A new method getProfileIds was introduced which returns an array of userIds. Existing method calls were updated where appropriate. Bug: 27705805 Change-Id: Ic5d5decd77567ba0f749e48837a2c6fa10e812c0
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
0 files changed, 0 insertions, 0 deletions