Example usage for android.content Intent ACTION_BUG_REPORT

List of usage examples for android.content Intent ACTION_BUG_REPORT

Introduction

In this page you can find the example usage for android.content Intent ACTION_BUG_REPORT.

Prototype

String ACTION_BUG_REPORT

To view the source code for android.content Intent ACTION_BUG_REPORT.

Click Source Link

Document

Activity Action: Show activity for reporting a bug.

Usage

From source file:com.android.tv.settings.about.AboutFragment.java

private void sendFeedback() {
    String reporterPackage = DeviceInfoUtils.getFeedbackReporterPackage(getActivity());
    if (TextUtils.isEmpty(reporterPackage)) {
        return;/*from   w ww  .  j a  v a2  s. co  m*/
    }
    Intent intent = new Intent(Intent.ACTION_BUG_REPORT);
    intent.setPackage(reporterPackage);
    startActivityForResult(intent, 0);
}