Remove FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT in tethering
Tethering is started after system ready that AMS is ready to deal with intent broadcast, mProcessesReady is true. Bug: 143195885 Test: build, flash, boot Change-Id: Ib9a6008654267b6d0fca78923247c336e90b5534
This commit is contained in:
@@ -633,8 +633,7 @@ public class Tethering {
|
||||
reportTetherStateChanged(mTetherStatesParcel);
|
||||
|
||||
final Intent bcast = new Intent(ACTION_TETHER_STATE_CHANGED);
|
||||
bcast.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING
|
||||
| Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
|
||||
bcast.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
|
||||
bcast.putStringArrayListExtra(EXTRA_AVAILABLE_TETHER, availableList);
|
||||
bcast.putStringArrayListExtra(EXTRA_ACTIVE_LOCAL_ONLY, localOnlyList);
|
||||
bcast.putStringArrayListExtra(EXTRA_ACTIVE_TETHER, tetherList);
|
||||
|
||||
Reference in New Issue
Block a user