summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorZim <zezeozue@google.com>2020-01-24 14:13:17 +0000
committerZim <zezeozue@google.com>2020-01-27 15:54:01 +0000
commit3982e546c17fce8c1952440c085f84d6b1993d04 (patch)
treef2cac25b5546893e508eebd98bee9fe56be80f31 /tools/aapt2/java/JavaClassGenerator.cpp
parent069dc4277ee3336d6487c387f7def9cd9489defd (diff)
Refactor how zygote forked processes acquire gids
Effectively no-op refactoring in preparation to associate apps with pass_through mount mode with the media_rw gid. Minor changes: 1. Before, if either UserHandle#get[Shared|Cache]AppGid return ERR we would replace with the value of the already existing getUserGid Now, we don't duplicate the getUserGid in the final result 2. Before, if the externalstorageapp also has the android_writable mount mode (which would not happen), we would only give it the media_rw gid. Now it can have both media_rw and sdcard_rw. Test: m Bug: 144914977 Change-Id: I7a4ea5cda59ffc573e41982c4051ee00abf95802
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions