summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-04-20 17:17:26 -0700
committerKweku Adams <kwekua@google.com>2021-04-20 17:49:35 -0700
commit6e9b1e4a9056122d69fe7cac3378c86877b5c8fd (patch)
tree113cf3121ba2e295e8510b5fbf4f1973fe5a9581 /tools/aapt2/java/JavaClassGenerator.cpp
parentd215e29f75b7f564677cd67d39485d1d81e8a6db (diff)
Clean up SyncManager.
1. Remove unused variables 2. Remove random selection of new job ID and make sure we always exit the loop. New job IDs will be selected more deterministically. 3. Query pending system jobs only once instead of for every potential new job ID. 4. Switch from iterator to basic for loop. Bug: 169959994 Test: atest ContentResolverTest (all) Test: atest CtsSyncManagerTest Test: atest SyncOperationTest Test: atest SyncManagerTest Test: atest SyncRequestTest Change-Id: Iff0f8edba8d424075f64a95e523b8c0c986aab33
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions