Hi, I'm using cupcake. I set Secure.ADB_ENABLED to 0 by using Settings.Secure.putInt in Settings.java to disable ADB daemon first then try to re-enable it by setting Secure.ADB_ENABLED to 1.
Accordint to my log, the value passed to NameValueTable.putString is 1 when I try to enable ADB daemon. But surprisingly, AdbSettingsObserver tryies to dieable ADB daemon again instead of enable it, because Settings.Secure.getInt got the wrong value (0), this make enableAdb false. How could this problem happen? Maybe some cache or delay? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

