Device API: Move ItemAdapter out of ItemChooserDialog

Per discussion at:

This CL is a preliminary CL for the above CL. This CL moves ItemAdapter
out of the ItemChooserDialog so that it can also be used by
BluetoothScanningPermissionDialog in the above CL.

Bug: 960960
Change-Id: I9e08b7dc43b7de6b8c7ca55c3ed3cf4d1693ead7
Commit-Queue: Jun Cai <>
Reviewed-by: Ted Choc <>
Reviewed-by: Becky Zhou <>
Cr-Commit-Position: refs/heads/master@{#672236}
6 files changed