Enable send-feedback workflow on user builds on TV
Bug: 282665409 Test: manual Change-Id: I7e5f4e1b019d97b89d266b838149d12246602aac
This commit is contained in:
@@ -3442,16 +3442,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
}
|
||||
|
||||
private void requestBugreportForTv() {
|
||||
if ("1".equals(SystemProperties.get("ro.debuggable"))
|
||||
|| Settings.Global.getInt(mContext.getContentResolver(),
|
||||
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) == 1) {
|
||||
try {
|
||||
if (!ActivityManager.getService().launchBugReportHandlerApp()) {
|
||||
ActivityManager.getService().requestInteractiveBugReport();
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
Slog.e(TAG, "Error taking bugreport", e);
|
||||
try {
|
||||
if (!ActivityManager.getService().launchBugReportHandlerApp()) {
|
||||
ActivityManager.getService().requestInteractiveBugReport();
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
Slog.e(TAG, "Error taking bugreport", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user