Commit Graph

333 Commits

Author SHA1 Message Date
Felipe Leme
f5122c1e32 Merge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev am: 0108597395
am: 415767443b

* commit '415767443b86d65d03e3ff45d5594c52363fbbbd':
  Warn user when bugreport is finished but screenshot is pending.
2016-03-09 22:21:53 +00:00
Felipe Leme
415767443b Merge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev
am: 0108597395

* commit '010859739552709ae2f0e51472bf5a650967280e':
  Warn user when bugreport is finished but screenshot is pending.
2016-03-09 22:19:09 +00:00
Felipe Leme
c110bcb494 Merge "Vibrate after a screenshot is taken, not before." into nyc-dev am: 509d407e30
am: cd714823c6

* commit 'cd714823c68470eebaafe1f46c73d1be227952db':
  Vibrate after a screenshot is taken, not before.
2016-03-09 22:16:25 +00:00
Felipe Leme
0108597395 Merge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev 2016-03-09 22:12:25 +00:00
Felipe Leme
cd714823c6 Merge "Vibrate after a screenshot is taken, not before." into nyc-dev
am: 509d407e30

* commit '509d407e308079e562663608473fc7ee9c009382':
  Vibrate after a screenshot is taken, not before.
2016-03-09 22:12:18 +00:00
Felipe Leme
509d407e30 Merge "Vibrate after a screenshot is taken, not before." into nyc-dev 2016-03-09 22:05:30 +00:00
Felipe Leme
5ee846dd18 Warn user when bugreport is finished but screenshot is pending.
BUG: 27524556
Change-Id: Iaecdd01605dc4b01cdf669baf443eaee7fb20f6f
2016-03-09 10:41:32 -08:00
Felipe Leme
aa00f2d909 Vibrate after a screenshot is taken, not before.
BUG: 27389320
Change-Id: I383b4252a80ae2f1d820a97b9deb930dccf50313
2016-03-08 15:59:46 -08:00
Felipe Leme
991b18ae15 Merge "Minor improvements on BugreportProgressService:" into nyc-dev am: d06e5afd6f
am: 1a7c9e10c6

* commit '1a7c9e10c649c5d9eee21911fddf461f3825173f':
  Minor improvements on BugreportProgressService:
2016-03-08 22:02:50 +00:00
Felipe Leme
28a4fd8f04 Merge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev am: c4259933d1
am: 3c5c386e6c

* commit '3c5c386e6cfa7deb1bd404abc1b62f12201f021c':
  Call stopSelfWhenDone() *after* canceling the notification.
2016-03-08 22:00:55 +00:00
Felipe Leme
1a7c9e10c6 Merge "Minor improvements on BugreportProgressService:" into nyc-dev
am: d06e5afd6f

* commit 'd06e5afd6fef030e731d6c92166dbff70844f88f':
  Minor improvements on BugreportProgressService:
2016-03-08 21:29:21 +00:00
Felipe Leme
3c5c386e6c Merge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev
am: c4259933d1

* commit 'c4259933d1d4db04baae87e74da8a1b000d8b595':
  Call stopSelfWhenDone() *after* canceling the notification.
2016-03-08 21:27:02 +00:00
Felipe Leme
d06e5afd6f Merge "Minor improvements on BugreportProgressService:" into nyc-dev 2016-03-08 21:18:23 +00:00
Felipe Leme
4f663f6c25 Minor improvements on BugreportProgressService:
- Removed unnecessary ContextWrapper used to get files dir.
- Immproved logging.

BUG: 27548183
BUG: 27524556
Change-Id: Ia04c6b7640969e0013ae282efbb1142fc0fc5695
2016-03-08 13:13:26 -08:00
Felipe Leme
0f2daaf2f7 Call stopSelfWhenDone() *after* canceling the notification.
When a bugreport is shared it's necessary to remove its system notification and
stop the service if there is no more pending bugreports. Since the
service will might be killed as a result, to call to cancel the
notification must be done prior to calling stopSelf().

BUG: 27524556
Change-Id: Iae9a263b6cee0e4a0a7df3e52621e56b50983fec
2016-03-08 12:44:22 -08:00
Geoff Mendal
d76f9a23c9 Import translations. DO NOT MERGE
Change-Id: I4124a949eb423b0ab9074825c1eb7f00f1fd7302
Auto-generated-cl: translation import
2016-03-07 07:20:15 -08:00
Geoff Mendal
efe6585452 Import translations. DO NOT MERGE
Change-Id: I2e4b861255265b11d36c69b802ff55da69aca984
Auto-generated-cl: translation import
2016-03-07 05:43:27 -08:00
Michal Karpinski
752c6ec230 Merge "Do not re-define remote bugreport constants defined in DevicePolicyManager" into nyc-dev am: a586c55dc9
am: a2a0e8b48b

* commit 'a2a0e8b48b0a6429e1e3ed64e02cba4305503ce9':
  Do not re-define remote bugreport constants defined in DevicePolicyManager
2016-03-07 11:07:34 +00:00
Michal Karpinski
a2a0e8b48b Merge "Do not re-define remote bugreport constants defined in DevicePolicyManager" into nyc-dev
am: a586c55dc9

* commit 'a586c55dc9fa910b227f1c228ba0fd17d4fb449b':
  Do not re-define remote bugreport constants defined in DevicePolicyManager
2016-03-07 11:05:41 +00:00
Michal Karpinski
2552f8aec4 Do not re-define remote bugreport constants defined in DevicePolicyManager
Bug: 26226230
Change-Id: Ib26d8ba872b1ebdf24b43312daa1d04b90a7f393
2016-03-04 13:16:28 +00:00
Steve McKay
24dd9ad0c0 Merge "Always show intern storage." into nyc-dev am: b4672ef6df
am: 1788dfd223

* commit '1788dfd223c7c62005b8c1e98cd25737f685a912':
  Always show intern storage.
2016-03-02 20:32:39 +00:00
Steve McKay
1788dfd223 Merge "Always show intern storage." into nyc-dev
am: b4672ef6df

* commit 'b4672ef6dfbaf416981539d515ad1489d7d0bc87':
  Always show intern storage.
2016-03-02 19:02:19 +00:00
Steve McKay
b4672ef6df Merge "Always show intern storage." into nyc-dev 2016-03-02 18:49:28 +00:00
Steve McKay
7c4395804e Always show intern storage.
Only show debug root when devel mode is enabled.
Remove all traces of "advanced".

Bug: 27297398

Change-Id: Ie7e8be282531bd245351d56ababa8ca625c10fd2
2016-03-02 10:47:59 -08:00
Geoff Mendal
1ddc11be55 Import translations. DO NOT MERGE
Change-Id: Id4836eb0d7454cbb028a40032ecd229e4a4d90d3
Auto-generated-cl: translation import
2016-03-02 07:20:37 -08:00
Geoff Mendal
7c0cbddf3e Import translations. DO NOT MERGE
Change-Id: Ib585d2cab02a1d9ddc66d633a85eb590c65fc607
Auto-generated-cl: translation import
2016-03-02 05:45:07 -08:00
Felipe Leme
dac815ae98 Merge "Make bugreport details dialog confirm to Material Guidelines for Dialogs." into nyc-dev am: 2bb39839fd
am: cfdfb09c4f

* commit 'cfdfb09c4fea16c5e9ba6ce3010326a8048aa87c':
  Make bugreport details dialog confirm to Material Guidelines for Dialogs.
2016-03-01 01:06:45 +00:00
Felipe Leme
cfdfb09c4f Merge "Make bugreport details dialog confirm to Material Guidelines for Dialogs." into nyc-dev
am: 2bb39839fd

* commit '2bb39839fd802459fd494b6ea0c182485277bd5e':
  Make bugreport details dialog confirm to Material Guidelines for Dialogs.
2016-03-01 01:00:42 +00:00
Felipe Leme
bbd91e5844 Make bugreport details dialog confirm to Material Guidelines for Dialogs.
Changes:
- Removed hints.
- Added TextViews for field labels.
- Added padding for inner dialog
- Adedd autoCorrect and capSentences to title and summary
- Changed strings.
- Set name to be selectAllOnFocus initially.

Also improved some logging statements.

BUG: 26324085
Change-Id: I32597a7c2839ca706dbbcf13660e976469ab8dd0
2016-02-29 16:46:54 -08:00
Felipe Leme
2757b3ed79 Merge "Open bugreport info when touching notification (as well as DETAILS button)." into nyc-dev am: 1e33af88ed
am: f7ea5b161a

* commit 'f7ea5b161ac16ce0c388d7fd0c70825b60771324':
  Open bugreport info when touching notification (as well as DETAILS button).
2016-02-26 17:59:16 +00:00
Felipe Leme
f7ea5b161a Merge "Open bugreport info when touching notification (as well as DETAILS button)." into nyc-dev
am: 1e33af88ed

* commit '1e33af88edf3109bc8e6484c5f66e259a247cd01':
  Open bugreport info when touching notification (as well as DETAILS button).
2016-02-26 17:55:23 +00:00
Felipe Leme
1e33af88ed Merge "Open bugreport info when touching notification (as well as DETAILS button)." into nyc-dev 2016-02-26 17:49:54 +00:00
Felipe Leme
db31363aa9 Open bugreport info when touching notification (as well as DETAILS button).
Also added test case for CANCEL button on system notification.

BUG: 26906985
Change-Id: I92eac2e5ec18a8d1d4412f5c1832a52705caf3b3
2016-02-25 17:09:46 -08:00
Felipe Leme
55f708baa2 Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev am: 17fc60e13c
am: 41065fe9ef

* commit '41065fe9efc7cb80cc8b42aed5c3bf4b892bddd9':
  Using Message.obtain() to decrease number of Messages allocated.
2016-02-26 00:51:13 +00:00
Felipe Leme
41065fe9ef Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev
am: 17fc60e13c

* commit '17fc60e13c2a3b78c0f613d46355e23664fd69f3':
  Using Message.obtain() to decrease number of Messages allocated.
2016-02-26 00:39:18 +00:00
Felipe Leme
17fc60e13c Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev 2016-02-26 00:32:29 +00:00
Felipe Leme
8648a15406 Using Message.obtain() to decrease number of Messages allocated.
BUG: 26906985
Change-Id: Ide8c6e308dcc83e9627ec775a4d977d17cd2f0a9
2016-02-25 16:24:43 -08:00
Felipe Leme
19108d3ab8 Merge "Removed toast messsage sent after screenshot is taken." into nyc-dev am: 8c0412c8d3
am: 0d243005d3

* commit '0d243005d3d43619f2e65355714497b7ff34aaae':
  Removed toast messsage sent after screenshot is taken.
2016-02-25 22:33:53 +00:00
Felipe Leme
0d243005d3 Merge "Removed toast messsage sent after screenshot is taken." into nyc-dev
am: 8c0412c8d3

* commit '8c0412c8d3b033f84f7ec8fbd9e3b96899543a40':
  Removed toast messsage sent after screenshot is taken.
2016-02-25 22:27:53 +00:00
Felipe Leme
5d9000aa45 Removed toast messsage sent after screenshot is taken.
That toast was kind of reduntant (since the phone already vibrates
before taking a screenshot) and often useless (because it was displayed
seconds after requested).

BUG: 26577203
Change-Id: I0ba6f974eefd473d158f7fefb12f6a5d2a50b772
2016-02-25 13:10:14 -08:00
Felipe Leme
9da77c0c06 Reset UI fields when dialog is reused, otherwise it might contain fields from a previous bug report. am: 262887834c
am: cd8fed062a

* commit 'cd8fed062aa988c528b1051d86828de71596b47e':
  Reset UI fields when dialog is reused, otherwise it might contain fields from a previous bug report.
2016-02-25 20:44:59 +00:00
Felipe Leme
070d87833b Merge "Final (?) fixes on id / pid split." into nyc-dev am: 3fd6d9b371
am: 5fa0b80c5e

* commit '5fa0b80c5e3eb6f5e526b52e3595311675f5d3ac':
  Final (?) fixes on id / pid split.
2016-02-25 20:36:24 +00:00
Felipe Leme
cd8fed062a Reset UI fields when dialog is reused, otherwise it might contain fields from a previous bug report.
am: 262887834c

* commit '262887834c7938b7a7bbbd7ef026b5965d6412fc':
  Reset UI fields when dialog is reused, otherwise it might contain fields from a previous bug report.
2016-02-25 20:14:16 +00:00
Felipe Leme
262887834c Reset UI fields when dialog is reused, otherwise it might contain fields
from a previous bug report.

BUG: 26524513
Change-Id: If9d176806b28120b57dddeb62b636065f8ff7cf6
2016-02-25 12:10:43 -08:00
Felipe Leme
5fa0b80c5e Merge "Final (?) fixes on id / pid split." into nyc-dev
am: 3fd6d9b371

* commit '3fd6d9b3713bab828174dfba00f8c25c8d933d62':
  Final (?) fixes on id / pid split.
2016-02-25 20:04:11 +00:00
Felipe Leme
85ae3cf46a Final (?) fixes on id / pid split.
The main goal of this CL was to change the test cases to send an
EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2
minor bugs:

- When setting the name property, it was using id instead of pid (which
  is what dumpstate expects).
- When the pid is replaced by the name in the screenshots, it would be
  replaced twice if the pid was small enough (because the call to
  String.replace() would also replace the counter).

This CL fixes these issues, and removes the temporary assignment of id =
pid when the former is missing.

BUG: 27076108
Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723
2016-02-25 11:14:03 -08:00
Felipe Leme
fbe175fc69 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev am: fe9731f4f2
am: 343b9150b2

* commit '343b9150b26f97e2ebcede22b45ceeec8a63cfb4':
  Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
2016-02-23 18:24:53 +00:00
Felipe Leme
343b9150b2 Merge "Created counter (tron_varz_dumpstate_duration) for dumpstate duration." into nyc-dev
am: fe9731f4f2

* commit 'fe9731f4f287560d43f9af48c5be555e8a727955':
  Created counter (tron_varz_dumpstate_duration) for dumpstate duration.
2016-02-23 18:20:50 +00:00
Felipe Leme
f39bac884b Merge "Initial implementation of logging metrics for bugreport." into nyc-dev am: 4e34c4e53c
am: 5e43dcfc02

* commit '5e43dcfc0253f86d7259bd6c8af87b21953312b8':
  Initial implementation of logging metrics for bugreport.
2016-02-23 18:02:03 +00:00
Felipe Leme
5e43dcfc02 Merge "Initial implementation of logging metrics for bugreport." into nyc-dev
am: 4e34c4e53c

* commit '4e34c4e53c21f004cb575c0d46c83565b33fed88':
  Initial implementation of logging metrics for bugreport.
2016-02-23 17:56:54 +00:00