[Dev Base Shell] Fix usage of substr in handling of --user flag
For example: for user 'John Rambo', when --user=John is input,
substr(settings_.user.size()) returns index from " Rambo". So change to
substr(0, settings_.user.size()) to get the correct index for matching
the prefix of Account display name

TESTED: Manual, run basemgr --base_shell=dev_base_shell --base_shell_args=
--user=<username prefix> --session_shell=dev_session_shell
--session_shell_args=--root_module=<module name e.g. todo_list>

Change-Id: Ic8433fb44063af6d368298364e201d6df1b38e97
1 file changed
tree: e486df47f41cf7018be746c18ab2ebe8ee8b3aba
  1. bin/
  2. boards/
  3. build/
  4. cloud/
  5. docs/
  6. examples/
  7. infra/
  8. lib/
  9. packages/
  10. products/
  11. public/
  12. tests/
  13. third_party/
  14. web/
  15. .clang-format
  16. .clang-tidy
  17. .gitignore
  18. AUTHORS
  19. BUILD.gn
  20. CONTRIBUTING.md
  21. LICENSE
  22. navbar.md
  23. PATENTS
  24. README.md
README.md

Peridot

Peridot is a framework for composed, intelligent and distributed user experiences.

Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.

State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.

Read more