Merge "Disable wifi display API when the adapter is not registered." into jb-mr1-dev