Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning airplane mode on hangs #7395

Closed
rkavalap opened this issue Dec 6, 2016 · 2 comments
Closed

Turning airplane mode on hangs #7395

rkavalap opened this issue Dec 6, 2016 · 2 comments

Comments

@rkavalap
Copy link
Contributor

rkavalap commented Dec 6, 2016

@scottdixon commented on Tue Sep 08 2015

After turning airplane_mode on, broadcasting airplane mode often hangs.

adb -s {DEVICE} shell settings put global airplane_mode_on 1
adb -s {DEVICE} shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true

The command results in:

Broadcasting: Intent { act=android.intent.action.AIRPLANE_MODE (has extras) }
Broadcast completed: result=0
*hang*

adb logcat output:

09-08 11:55:22.054  3259  3259 D AndroidRuntime: Calling main entry com.android.commands.am.Am
09-08 11:55:22.064  1525  1525 W Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
09-08 11:55:22.083  1283  1324 D ConnectivityService: NetworkAgentInfo [MOBILE (UMTS) - 101] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
09-08 11:55:22.083  1283  1324 D ConnectivityService: NetworkAgentInfo [MOBILE (UMTS) - 101] got DISCONNECTED, was satisfying 2
09-08 11:55:22.097  1525  1664 D DcNetworkAgent: NetworkAgent: NetworkAgent channel lost
09-08 11:55:22.097  1525  1664 D DcNetworkAgent: NetworkAgent: DcNetworkAgent: unwanted found mNetworkAgent=null, which isn't me.  Aborting unwanted
09-08 11:55:22.100  1283  1324 D ConnectivityService: notifyType LOST for NetworkAgentInfo [MOBILE (UMTS) - 101]
09-08 11:55:22.104  1347  1721 D ConnectivityManager.CallbackHandler: CM callback handler got msg 524292

The device updates, showing the airplane icon but any additional ADB command hangs.

Turning airplane_mode off works fine.

Testing on Android 6.0 - API Level 23

@triager triager added the Needs Triage bugs which are not yet confirmed label Dec 6, 2016
@SrinivasanTarget
Copy link
Member

@triager please close

@triager triager closed this as completed Feb 8, 2017
@imurchie imurchie removed the Needs Triage bugs which are not yet confirmed label Apr 13, 2017
@lock
Copy link

lock bot commented Apr 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants