summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAndrei Stingaceanu <stg@google.com>2016-01-26 18:39:55 +0000
committerAndrei Stingaceanu <stg@google.com>2016-02-17 15:14:33 +0000
commiteb84b1843a3f6805c6109c1d9d023550229a3fc5 (patch)
treea689a4889e3978303935f49c2dd27eaf6303053b /tools/aapt2/java/JavaClassGenerator.cpp
parent9496df19ae7552370ec37cfb62cce3d919b0b116 (diff)
Suspend packages - one call for multiple packages
Refactor setPackageSuspended into setPackagesSuspended. The rationale is that the consumers of this API are likely to want to remove multiple packages at once. Rather than calling the API N times, call it just once. The good part is that we already have the broadcast intent for suspended packages take an array so only one broadcast. Less stress on the system. Another good part is that (right now) we only have one consumer of this API and it will be easy to make changes once this CL goes in. As a shell command, for consistency only allowed one package at a time. Bug: 22776761 Change-Id: Ic8b8cf64d0a288ea3a282bb7b72f9d663b3b0049
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions