[bt][settings] Fix crash when growing discovery list

The code used to crash during device discovery while trying to grow a
fixed-size list object. This was because the initially constructed
growable list was getting reassigned to a FIDL API response upon
refresh, which returns a fixed-size list.

Fixed this by always operating on the same growable list.

Also added "appearance" as a debug-mode field.

Bug: none
Test: 1. Build workstation.x64 product and run on a NUC.
      2. Log-in as Guest.
      3. Type "settings" in the search box.
      4. Navigate to the "Bluetooth" tab.
      5. This will start populating discovery results immediately. The
      app shouldn't crash.
Change-Id: Ife2830a673040018e31f3d6a1576aebd627b4ace
2 files changed
tree: d4f2171560c6bbdca24f32286f77b8dabc24c1f8
  1. base_shells/
  2. benchmarks/
  3. bin/
  4. keyboard/
  5. session_shells/
  6. settings/
  7. story_shells/
  8. tests/
  9. analysis_options.yaml
  10. AUTHORS
  11. BUILD.gn
  12. CONTRIBUTING.md
  13. LICENSE
  14. OWNERS
  15. PATENTS
  16. README.md
README.md

Fuchsia Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Fuchsia.