Fix issue when toggling profiling from visual to off to visual
Fix issue when toggling profiling from visual to off to visual

Change-Id: I4a623020a9bf0079029d184c13e58d92e692faf8

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base