rootcanal: correctly handle error conditions in test command add_phy.
Make it so that AddPhy does not segfaults when called with no argument and send a proper response when called with correct arguments. Test: manually send add_phy commands with correct/incorrect arguments. Bug: 241962982 Bug: 242184809 Ignore-AOSP-First: Cherry-picked from AOSP Merged-In: Idfd84ed5e994469ac69ec30e408abe3662ec7290 Change-Id: Idfd84ed5e994469ac69ec30e408abe3662ec7290
Loading
Please register or sign in to comment