packeges/apps/Settings: fix the issue of USB debugging
UI option is not working. USB debugging is enabled/disabled based on the check/uncheck of Settings->Development->USB debugging UI checkbox. But the USB debug is enabled even after uncheck the UI checkbox. Abd enable property is set/reset in the data base whenever USB debugging UI is check/unchecked. Contenet Observer is registered in system server for observing this change and set a system property with this value. onChange notification to the Observer was called before Adb enable property write is completed. This is causing a non sync. Fix this issue by updating System property in the application immediately after updating Adb enable property in the Data base CRs_fixed: 226291
Loading
Please register or sign in to comment