OSDN Git Service

Add subtypes to tron logging for Wifi toggles.
authorStephen Chen <stewchen@google.com>
Mon, 31 Oct 2016 19:59:41 +0000 (12:59 -0700)
committerStephen Chen <stewchen@google.com>
Thu, 3 Nov 2016 21:16:06 +0000 (14:16 -0700)
commitb21815e32099303c89f795a44b02f488fed20d6b
treeb7a2c460ed2d7991214e509128f5086c9bf4dcc0
parentce01f167e195c4560cc4e299789ba6567b1c69ea
Add subtypes to tron logging for Wifi toggles.

For ACTION_WIFI_CONNECT, added subtype to specify whether user is
connecting to saved network.
For ACTION_WIFI_OFF, added subtype to specify whether user was connected
to a network at the time.

Bug: 32371451
Test: Verify logs by running:
adb logcat -b events | egrep '(sysui_|notification_)'
Merged-In: I1d4445bda2fbeb062831e6f858ccc711bff65105

Change-Id: I6b87dc10fcfe412f1c72ae944c2dd4d81da12b53
src/com/android/settings/wifi/WifiEnabler.java
src/com/android/settings/wifi/WifiSettings.java
src/com/android/settings/wifi/WifiSettingsForSetupWizard.java