Commit Graph

131 Commits

Author SHA1 Message Date
Geoff Mendal
6279c73e9e Import translations. DO NOT MERGE
Change-Id: Ic4553f128f28aba60377f4f08b2eaad7b56d1246
Auto-generated-cl: translation import
2016-03-18 20:27:08 -07:00
Felipe Leme
de7b6dd2f1 Merge "Minor UI improvements and code cleanup:" into nyc-dev am: f3a65fd
am: cff7533

* commit 'cff7533d289820ddce86b4a5557b07b6f4ec94c9':
  Minor UI improvements and code cleanup:
2016-03-16 16:50:33 +00:00
Felipe Leme
cff7533d28 Merge "Minor UI improvements and code cleanup:" into nyc-dev
am: f3a65fd

* commit 'f3a65fd31798f8c7ecfa0f3db292d115c10c3dbc':
  Minor UI improvements and code cleanup:
2016-03-16 16:46:26 +00:00
Felipe Leme
f3a65fd317 Merge "Minor UI improvements and code cleanup:" into nyc-dev 2016-03-16 16:29:57 +00:00
Geoff Mendal
04517c3e2e Import translations. DO NOT MERGE
Change-Id: I949b397af1475733943f0b3597c9ff4c050bba03
Auto-generated-cl: translation import
2016-03-16 07:21:07 -07:00
Geoff Mendal
c2c2bd83b1 Import translations. DO NOT MERGE
Change-Id: I785d324cb6b14902cf5c1078a06a1ddcf79ee796
Auto-generated-cl: translation import
2016-03-16 05:44:55 -07:00
Felipe Leme
208b1881ae Minor UI improvements and code cleanup:
- Removed initial selection of name field.
- Set notification type as system.
- Refactored some notification code.
- Removed initial focus on details UI.

BUG: 26906985
BUG: 27494227

Change-Id: I5aab95c06830da3850331a2dba09abae88cf59fc
2016-03-14 19:07:43 -07:00
Geoff Mendal
4e81500ba7 Import translations. DO NOT MERGE
Change-Id: Ibb696b389c27d30115f09d8e0f2d59dcec951c8b
Auto-generated-cl: translation import
2016-03-14 07:22:38 -07:00
Geoff Mendal
e4a60ff0f5 Import translations. DO NOT MERGE
Change-Id: I8390e84ea6a3453b5ec43634a3448fb88150dd24
Auto-generated-cl: translation import
2016-03-14 05:43:06 -07:00
Bill Yi
d835db0f28 Import translations. DO NOT MERGE
Change-Id: If375ea874afe99e685cb66c295785b108fc98e29
Auto-generated-cl: translation import
2016-03-10 18:52:52 -08:00
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
5ee846dd18 Warn user when bugreport is finished but screenshot is pending.
BUG: 27524556
Change-Id: Iaecdd01605dc4b01cdf669baf443eaee7fb20f6f
2016-03-09 10:41:32 -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
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
Geoff Mendal
878b249c90 Import translations. DO NOT MERGE
Change-Id: If833e6af6b9206411e02db9c081d410c4893d73e
Auto-generated-cl: translation import
2016-02-17 07:14:57 -08:00
Geoff Mendal
d43baac9b4 Import translations. DO NOT MERGE
Change-Id: Idaf3b3413d142a3107bd11ad228d5ed58f2b5fad
Auto-generated-cl: translation import
2016-02-17 05:43:28 -08:00
Geoff Mendal
68e221ec0c Import translations. DO NOT MERGE
Change-Id: I5450d165959f42088148bf3aa9789d73137475bc
Auto-generated-cl: translation import
2016-02-15 07:19:37 -08:00
Geoff Mendal
f72cafb202 Import translations. DO NOT MERGE
Change-Id: Id9ed0f3b68c7aa7f42a42d410985388ec5725930
Auto-generated-cl: translation import
2016-02-15 05:44:31 -08:00
Geoff Mendal
b817910b14 Import translations. DO NOT MERGE
Change-Id: Iba4fcac2427bf5213b78626aefdbabf17131e652
Auto-generated-cl: translation import
2016-02-10 07:23:03 -08:00
Geoff Mendal
70790ff7cf Import translations. DO NOT MERGE
Change-Id: Ia3fb6e364278dac0cf28e7fd3b966978d5f59c14
Auto-generated-cl: translation import
2016-02-10 05:48:28 -08:00
Felipe Leme
0b3a579f0f Merge "Add pid on main bugreport notifications." into nyc-dev am: 000b84451d
am: 75f37009f4

* commit '75f37009f481d0effcb9b2de12536f10fbb2d9aa':
  Add pid on main bugreport notifications.
2016-02-09 00:43:43 +00:00
Felipe Leme
75f37009f4 Merge "Add pid on main bugreport notifications." into nyc-dev
am: 000b84451d

* commit '000b84451d6a0b83345421ac1eae4ab402d1b8d3':
  Add pid on main bugreport notifications.
2016-02-08 23:56:35 +00:00
Felipe Leme
000b84451d Merge "Add pid on main bugreport notifications." into nyc-dev 2016-02-08 23:25:39 +00:00
Felipe Leme
f1f9053e00 Merge "Replaced \'touch\' by \'tap\'." into nyc-dev am: ed330c7f7d
am: ddbe34d8b5

* commit 'ddbe34d8b560b901539b3ae49136e9e411f17840':
  Replaced 'touch' by 'tap'.
2016-02-08 19:53:27 +00:00
Felipe Leme
78da2a0a2e Merge "Replaced \'touch\' by \'tap\'." into nyc-dev
am: ed330c7f7d

* commit 'ed330c7f7d98eabce8562ce34d5877a323c745ac':
  Replaced 'touch' by 'tap'.
2016-02-08 19:32:35 +00:00
Felipe Leme
ddbe34d8b5 Merge "Replaced \'touch\' by \'tap\'." into nyc-dev
am: ed330c7f7d

* commit 'ed330c7f7d98eabce8562ce34d5877a323c745ac':
  Replaced 'touch' by 'tap'.
2016-02-08 19:31:47 +00:00
Felipe Leme
ed330c7f7d Merge "Replaced 'touch' by 'tap'." into nyc-dev 2016-02-08 18:10:18 +00:00
Felipe Leme
8067aed5c7 Replaced 'touch' by 'tap'.
BUG: 26884266
Change-Id: Ic3d7be8a10b768101b161644e46c92cd872621db
2016-02-08 09:42:52 -08:00
Felipe Leme
e86b63bd17 Add pid on main bugreport notifications.
Showing the pid is useful in many cases, like when one bug report is finished
and another one is in progress.

BUG: 26906985
Change-Id: Ib8ae462c85246b99234f8dac63edb608d1eafeb0
2016-02-08 09:40:56 -08:00
Geoff Mendal
b727d99a5e Import translations. DO NOT MERGE
Change-Id: Ic6f472559385699038b2d8f5e63d2ed0d5752c4d
Auto-generated-cl: translation import
2016-02-08 22:52:34 +05:30
Geoff Mendal
646ad30175 Import translations. DO NOT MERGE
Change-Id: Ibc727a45265f08ab375ed60244a1af4944e530ba
Auto-generated-cl: translation import
2016-02-08 05:46:18 -08:00
Geoff Mendal
978a766274 Import translations. DO NOT MERGE
Change-Id: I8f61c185a1b79c10ec8e437401d82a44d28c4796
Auto-generated-cl: translation import
2016-01-27 05:41:07 -08:00
Geoff Mendal
861a25200a Import translations. DO NOT MERGE
Change-Id: Ic795f08684fc10e54499e25b31f4a3db3cbec981
Auto-generated-cl: translation import
2016-01-25 05:43:23 -08:00
Felipe Leme
beda539051 Merge "Updates notification while bugreport zip is being changed." 2016-01-22 19:46:38 +00:00
Felipe Leme
2758d5d939 Updates notification while bugreport zip is being changed.
BUG: 26616935

Change-Id: I3bcbaf30621c23541f2c568355948b6faa578e06
2016-01-20 10:12:03 -08:00
Geoff Mendal
6f2fa50463 Import translations. DO NOT MERGE
Change-Id: Iaa55969cfb1d5ac3860e960ab7699cee38309259
Auto-generated-cl: translation import
2016-01-20 05:50:25 -08:00
Felipe Leme
97084b4bda Merge "Updated bugreport info strings to be consistent with its meaning." 2016-01-20 02:09:02 +00:00
Felipe Leme
da163bf56e Updated bugreport info strings to be consistent with its meaning.
Also removed DO NOT TRANSLATE from new bugreport strings whose phrasing
have been confirmed.

Change-Id: Ic0eafb6c007acd63f1d11f7a5043259533189df0
2016-01-19 17:41:44 -08:00
Geoff Mendal
78da55e200 Import translations. DO NOT MERGE
Change-Id: I577ab7113b9ad02f7556375115e7788a808efe24
Auto-generated-cl: translation import
2016-01-18 05:53:16 -08:00
Geoff Mendal
f395bfd9f1 Import translations. DO NOT MERGE
Change-Id: I279881c50e7f1010a52f83b1ecb23477b8a8f44c
Auto-generated-cl: translation import
2015-12-28 05:48:01 -08:00
Geoff Mendal
7da42323ca Import translations. DO NOT MERGE
Change-Id: I7cf42c018cfec707dc5fc1e55716de2ed7f1cacf
Auto-generated-cl: translation import
2015-12-23 05:40:31 -08:00
Felipe Leme
e3daf13a49 Merge "Handle bugreport screenshots on Shell." 2015-12-21 17:58:22 +00:00
Felipe Leme
d1e0f12979 Handle bugreport screenshots on Shell.
Currently, the bugreport screenshots are taken by dumpstate and passed to
Shell as a path on BUGREPORT_RECEIVED; this change not only delegates the
screenshot taking to Shell, but also allows user to take more
screenshots while the bugreport is being generated.

As a result of this change, the final ACTION_SEND_MULTIPLE intent might
contain multiple screenshot attachments, all of them named
"screenshot-PREFIX-NUMBER.png", where PREFIX is the bugreport
name (either initial date provided by dumpstate or a name entered by the
user) and NUMBER is the sequential number of the screenshot as taken by
the user.

The screenshot is taken using screencap, which not only is simpler than
using Framework APIs, but also faster and less intrusive. The only
drawback is that it might fail if an OEM is not providing screencap; if
that happens in the field, we'll need to add fallback option to do it
using such APIs.

Prior to this change, all work done on BugreportProgressService was
executed in one single thread (through the ServiceHandler class) but the
code was guarded by unnecessary synchronization. Now there is another
thread (ScreenshotHandler) that will be used just for taking the
screenshot (so it doesn't handle the main thread). Despite the addition
of a new thread, the code was simplified to remove most synchronization
locks, excepted for the areas touched by both threads.

Once this change is submitted, the bugreport service will be changed so
it does not ask dumpstate to take a screenshot.

BUG: 26274653
Change-Id: I1df883e3c0ca6e3e3cad2522a6a99585f71abb75
2015-12-21 08:53:00 -08:00
Geoff Mendal
ff51290be5 Import translations. DO NOT MERGE
Change-Id: Iffacfe8c3bebd254f8fbddd71c2c3eab85d1628a
Auto-generated-cl: translation import
2015-12-21 05:45:54 -08:00