commit | 669393319a478af97f65887545aff098d107054d | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Fri Oct 12 17:45:50 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Wed Feb 20 14:06:30 2019 -0800 |
tree | e612d1334c34617ab715838b661f02a4f62deda5 | |
parent | 5751278992b6a0f25f8cc435e3173af7d1013e22 [diff] |
Use toArray(T[]) instead of toArray(). toArray() always creates Object array, which can't be cast to array type of specific types. Bug: None Test: Package can be installed and uninstalled correctly with a package list. Change-Id: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc Merged-In: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc