diff options
author | Matt Pietal <mpietal@google.com> | 2020-06-12 11:25:13 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2020-06-12 11:25:13 -0400 |
commit | e4bd053414ff7b5fad98f922717c622298279ebc (patch) | |
tree | 1e4e01263c966e22149ac2e5d77db28a1a40f0eb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b749be45c7b3627127b9d052937c77b3d302e4e5 (diff) |
Controls UI - Properly sort, and set default on seed
When seeding is complete, set the default structure to the one with
the max number of controls. Tie breaker is first structure to have the
max. Also, sort the structures, not the serviceinfos.
Fixes: 158768701
Test: disable/enable Home app to test seeding
Change-Id: If5379943afc5ae7cd0d93464ad2e38c8eb01c7f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions