Merge "Replace broken --wait flag with --wait-for-staged-ready flag" am: 5dba5ca4af am: 91dd1ab89b am: 62879c0782

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433436

Change-Id: Ia914c8169cf98878ae0a185aff865138771f8b43