Merge "wifi: Handle wifi ap initial state before register intent" into tm-qpr-dev am: b75858bf82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19491094 Change-Id: I65a54ab88204a4dfd484a8faf157d6b9db5b3f69 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -161,6 +161,9 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
|
||||
if (context != null) {
|
||||
context.registerReceiver(mTetherChangeReceiver, TETHER_STATE_CHANGE_FILTER,
|
||||
Context.RECEIVER_EXPORTED_UNAUDITED);
|
||||
// The intent WIFI_AP_STATE_CHANGED_ACTION is not sticky intent anymore after SC-V2
|
||||
// Handle the initial state after register the receiver.
|
||||
updateDisplayWithNewConfig();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user