Loading services/core/java/com/android/server/policy/GlobalActions.java +3 −5 Original line number Diff line number Diff line Loading @@ -383,13 +383,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac // Add a little delay before executing, to give the // dialog a chance to go away before it takes a // screenshot. // TODO: remove once screenshots are handled by Shell (instead of dumpstate) mHandler.postDelayed(new Runnable() { @Override public void run() { try { // Take a "heavy" bugreport: it's more user friendly, but causes more // interference. // Take an "interactive" bugreport. ActivityManagerNative.getDefault().requestBugReport(true); } catch (RemoteException e) { } Loading @@ -405,11 +403,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac return false; } try { // Take a "light" bugreport, with less interference. // Take a "full" bugreport. ActivityManagerNative.getDefault().requestBugReport(false); } catch (RemoteException e) { } return true; return false; } public boolean showDuringKeyguard() { Loading Loading
services/core/java/com/android/server/policy/GlobalActions.java +3 −5 Original line number Diff line number Diff line Loading @@ -383,13 +383,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac // Add a little delay before executing, to give the // dialog a chance to go away before it takes a // screenshot. // TODO: remove once screenshots are handled by Shell (instead of dumpstate) mHandler.postDelayed(new Runnable() { @Override public void run() { try { // Take a "heavy" bugreport: it's more user friendly, but causes more // interference. // Take an "interactive" bugreport. ActivityManagerNative.getDefault().requestBugReport(true); } catch (RemoteException e) { } Loading @@ -405,11 +403,11 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac return false; } try { // Take a "light" bugreport, with less interference. // Take a "full" bugreport. ActivityManagerNative.getDefault().requestBugReport(false); } catch (RemoteException e) { } return true; return false; } public boolean showDuringKeyguard() { Loading