Commit Graph

9 Commits

Author SHA1 Message Date
Felipe Leme
34c5d3aa86 Fixed context reference.
BUG: 27608886
Change-Id: I2d2e2393ce52f4461dce276231cbc90563897ffd
2016-04-25 09:27:40 -07:00
Felipe Leme
038bf65686 Makes call to MetricsLogger right away when taking bugreports.
Previously the call was made on takeBugreport(), which caused a NPE on
interative report calls because the context was null since it was
handled by a handler.

BUG: 27354167
Change-Id: I19e91cb4b43a7aa0bfcdab440c4cd4225110fdfb
2016-02-25 11:37:56 -08:00
Felipe Leme
7b11c500f6 Logs bugreport type metrics.
BUG: 26759986
Change-Id: Ie4045301fadfb608aa694bc9a9756a703dd194ed
2016-02-23 09:09:13 -08:00
Michal Karpinski
c78b926621 Adjusting call to AMN#requestBugReport()
Bug: 26152603
Change-Id: I5cf66889732aaca2479f09ebacb7beb36f84ea58
2016-01-08 17:46:26 +00:00
Felipe Leme
834496f7fc Changed dialog shown from "Take Bug Report" to display 2 options:
* Normal Report: the new, enhanced option is more user-friendly (it
  shows a system notification with the progress, allow user to cancel,
  etc...), at the cost of consuming more resources. When this option is
  selected, the bugreport will be delayed 2 seconds so user can dismiss
  the Settings app before a screenshot is taken.

* Emergency Report: a lighter approach that is less intrusive and
  should be use when the phone is unresponsive or too slow.

BUG: 26034608
BUG: 11665244

Change-Id: If9c0242a163c8c33adecfc8a65af561e839bab8d
2015-12-21 08:15:17 -08:00
Felipe Leme
5062435cfc Changed "Take Bug Report" action to call 'bugreportplus'.
'bugreportplus' is more user-friendly (it shows a system notification
with the progress, allow user to cancel, etc...), at the cost of
consuming more resources. As such, the "Take Bug Report" UI will be
changed to offer the user a combo with these 2 options, but for now it's
always going to be 'bugreportplus'

BUG: 26034608
Change-Id: Idbb325fe7cd18e487197b2fb79cfc264e9859570
2015-12-08 16:01:20 -08:00
Jason Monk
39b467482d Depend on support lib preferences
Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
2015-10-13 10:12:20 -04:00
Dianne Hackborn
2d803a3931 Add dev setting to enable global actions bug report button.
Change-Id: I3768f95e1c6fbec9c10186093e5e1d48b0ef6ae4
2012-08-07 11:26:32 -07:00
Dianne Hackborn
fd8c315573 Implement issue #6819955: Add button to take bug report.
Change-Id: Ic615180121d4db52f92aa8264d95d790de5fff9d
2012-07-13 16:10:16 -07:00