Merge "Fix USB tethering is not turned on with a single tap" into sc-qpr1-dev am: b370bfe77d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15724814 Change-Id: Ibb65b7999bdc331c4b15363bce71ece51a448c0e
This commit is contained in:
@@ -198,8 +198,9 @@ public class UsbDefaultFragment extends RadioButtonPickerFragment {
|
||||
|
||||
@Override
|
||||
public void onTetheringStarted() {
|
||||
Log.d(TAG, "onTetheringStarted()");
|
||||
// Set default usb functions again to make internal data persistent
|
||||
mCurrentFunctions = mUsbBackend.getCurrentFunctions();
|
||||
Log.d(TAG, "onTetheringStarted() : mCurrentFunctions " + mCurrentFunctions);
|
||||
mUsbBackend.setDefaultUsbFunctions(mCurrentFunctions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user