429 Commits

Author SHA1 Message Date
Felipe Leme
4bb5c0fbb6 Merge "Merge "Show a toast when details cannot be added to zip file." into nyc-dev am: f39f044 am: 7c7af7b" into nyc-mr1-dev-plus-aosp
am: d7df808

* commit 'd7df808bf7c39261c1aae1faefba5ec36deced02':
  Show a toast when details cannot be added to zip file.

Change-Id: I6c923972ac961567bffe38926ec8946802dce035
2016-04-22 23:51:02 +00:00
Felipe Leme
7c7af7bd71 Merge "Show a toast when details cannot be added to zip file." into nyc-dev
am: f39f044

* commit 'f39f04407e6c50d57aaa2358b2f46bc79a94cf4f':
  Show a toast when details cannot be added to zip file.

Change-Id: I09e6bece0225d01cf0eaafa8e64e88bfe40a7f0e
2016-04-22 23:34:16 +00:00
Felipe Leme
45a905bbaf Show a toast when details cannot be added to zip file.
BUG: 28291423
Change-Id: I7febf66ef23f38b41fb1909324ee2260444518f6
2016-04-22 15:23:27 -07:00
Felipe Leme
a71cec190a Merge "Set BugreportProgressService to run on foreground." into nyc-dev am: 3053c3f am: 10dcbecd8c
am: 45c58f34fc

* commit '45c58f34fc1b1b06674bcceefcd8e839b806c565':
  Set BugreportProgressService to run on foreground.

Change-Id: I0c7cc628d82f64b7dbbe29d7ce28d1c3bf1b13cb
2016-04-21 02:03:27 +00:00
Felipe Leme
13e3b2bc78 Merge "Set BugreportProgressService to run on foreground." into nyc-dev
am: 3053c3f2a9

* commit '3053c3f2a94b24ceeed9c46cb84045c285d3523b':
  Set BugreportProgressService to run on foreground.

Change-Id: I6ff60394218bceac0fdd4eed4839f5819f532180
2016-04-21 00:17:40 +00:00
Felipe Leme
45c58f34fc Merge "Set BugreportProgressService to run on foreground." into nyc-dev am: 3053c3f
am: 10dcbecd8c

* commit '10dcbecd8c14f82f9da5787afdf9663c3867c82d':
  Set BugreportProgressService to run on foreground.

Change-Id: Iabd7b03e8af7da7fa7aaf25b6c5a2e25586d48b3
2016-04-21 00:17:17 +00:00
Felipe Leme
25b130b77b Merge "Only try to add details to zip once." into nyc-dev am: 0304688 am: 01c93c4
am: 80d5aef

* commit '80d5aef0517a899b3d00cfd19f45eff54c3927a2':
  Only try to add details to zip once.

Change-Id: I424225fafc8fbb249c69cc9dec2af97a3deae608
2016-04-20 22:58:39 +00:00
Felipe Leme
69c53e65b9 Set BugreportProgressService to run on foreground.
BugreportProgressService do not persist the user-provided
information (like details and screenshot paths), so if it's killed by
the framework, that info is lost.

Running it as foreground mitigates the changes of it being killed.

BUG: 27431998
BUG: 28291423
Change-Id: I2f58507beb38309628f2f19d3f7f950d07eca16f
2016-04-20 14:43:37 -07:00
TreeHugger Robot
80d5aef051 Merge "Only try to add details to zip once." into nyc-dev am: 0304688
am: 01c93c4

* commit '01c93c476ab5ed299e99eaeed3ce962a9cd6f1fe':
  Only try to add details to zip once.

Change-Id: I6df023671a41d3bc7762d74c1b3b875332b56483
2016-04-20 21:15:54 +00:00
Felipe Leme
39dd4939ab Merge "Only try to add details to zip once." into nyc-dev
am: 0304688

* commit '03046888822d07ec020eb7a2f685be4f7bcded31':
  Only try to add details to zip once.

Change-Id: I629618cc5cf105584ebf911b3de1b6649f1c59c6
2016-04-20 21:13:17 +00:00
TreeHugger Robot
0304688882 Merge "Only try to add details to zip once." into nyc-dev 2016-04-20 19:03:02 +00:00
Felipe Leme
51a4ede593 Only try to add details to zip once.
When the user enters details (title or description) to the bugreport,
Shell tries to add a title.txt (and/or description.txt) to the zip and
uses 2 instance variables (addedDetailsToZip and addingDetailsToZip) to
control its state.

The problem with the current approach is that if there is a failure
adding the entries (for example, if the entries already exist), these
variables are not updated and hence when the user taps Share, it will
try to add the entries again, which most likely would fail.

BUG: 28291423
Change-Id: I56a71256be4f8de15f8126b815334277319e8e8a
2016-04-20 10:25:12 -07:00
Felipe Leme
76fca54d96 Merge "Show "Android System" instead of "Shell" on notifications." into nyc-dev am: 28baa37 am: b31b8ea
am: bb66c49

* commit 'bb66c494554e38283ffd437f7c06b299d8cde771':
  Show "Android System" instead of "Shell" on notifications.

Change-Id: I1f1283a80fe30a7700b0dd6b481258872007b4b2
2016-04-19 22:55:14 +00:00
Felipe Leme
b31b8eac98 Merge "Show "Android System" instead of "Shell" on notifications." into nyc-dev
am: 28baa37

* commit '28baa37a5676297b7972cfd90a07fff5f54cf19b':
  Show "Android System" instead of "Shell" on notifications.

Change-Id: If1238072e38b7dd4b6b5f10a0e325edfc455cdc1
2016-04-19 22:45:03 +00:00
Felipe Leme
65a9c6760e Show "Android System" instead of "Shell" on notifications.
BUG: 26517701
Change-Id: If2543b8db0fdd913365df6f69cf26146d32d4b15
2016-04-19 09:49:18 -07:00
Felipe Leme
7b16e3fcf1 Merge "Remove initial screenshot on interactive bugreport." into nyc-dev am: 3f8f7f4 am: d8c79fe
am: f49041c

* commit 'f49041cf63fdc217812426fe7130143dda3d8fda':
  Remove initial screenshot on interactive bugreport.

Change-Id: Id97023f9122e096219dc4cf858bbb994bc87bcdc
2016-04-18 21:33:39 +00:00
Felipe Leme
f49041cf63 Merge "Remove initial screenshot on interactive bugreport." into nyc-dev am: 3f8f7f4
am: d8c79fe

* commit 'd8c79fe1ac70d00b63b0695438d8b9b4149c5c36':
  Remove initial screenshot on interactive bugreport.

Change-Id: I5fef552ff8bda6631f350e28bc9eac187a25a058
2016-04-18 21:28:10 +00:00
Felipe Leme
63717d16cf Merge "Remove initial screenshot on interactive bugreport." into nyc-dev
am: 3f8f7f4

* commit '3f8f7f4c896a7b22346edf35058ed92c6d1f1361':
  Remove initial screenshot on interactive bugreport.

Change-Id: Ic6adcb8d7745e36f87c1aec2c7cb376bed935978
2016-04-18 20:52:38 +00:00
TreeHugger Robot
3f8f7f4c89 Merge "Remove initial screenshot on interactive bugreport." into nyc-dev 2016-04-18 20:32:47 +00:00
Felipe Leme
079f89614c Remove initial screenshot on interactive bugreport.
One of the changes in the 'interactive bugreport' bugreport workflow
introduced on N is that the initial screenshot was taken right away (by
Shell, not dumpstate).

Unfortunately, such initial screenshot is often delayed when the system
is overload. Also, if the user is not interested in a screenshot, it
would be adding more load on the system unnecessarily.

Given these issues, and the fact that the user can still easily take an
initial screenhsot by selecting the proper notification action, the
initial screenshot is being removed.

BUG: 28167977

Change-Id: I2cf6616ce3124102b62ec9a36dc5a0ce6455a909
2016-04-18 12:06:58 -07:00
Baligh Uddin
14b1dfbf36 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:44 +00:00
Baligh Uddin
6e67110edb Merge "Import translations. DO NOT MERGE" 2016-04-15 22:23:13 +00:00
Felipe Leme
2ec3028178 Merge "Fix first-time usage." into nyc-dev am: 09282c5
am: 0a6fa7d

* commit '0a6fa7d1afead22f049214e61f22208e217e0973':
  Fix first-time usage.

Change-Id: I4c5fe0726aa7fa051e0086364fb8fbed0391da9c
2016-04-15 21:35:36 +00:00
Felipe Leme
0a6fa7d1af Merge "Fix first-time usage." into nyc-dev
am: 09282c5

* commit '09282c5dc5808073ae4f9d8e9a8a9cb61c93f0c9':
  Fix first-time usage.

Change-Id: Ie6640dc0632abf39250ff56278ffd17c0285a3ac
2016-04-15 21:31:47 +00:00
Felipe Leme
3fb3d88d2b Fix first-time usage.
When tests run for the first time, the list of activities that can
handle ACTION_SEND_MULTIPLE might not be scrollable, which was cause the
scrollForward() method to fail.

BUG: 27431998
Change-Id: I5992bc9fec6291c74c4af7887ee66eb4f96e87c0
2016-04-15 12:04:46 -07:00
Baligh Uddin
717f3260d0 Import translations. DO NOT MERGE
Change-Id: Iba257ea26b4756c7553ec4e1343fea739123ca26
Auto-generated-cl: translation import
2016-04-14 19:14:03 -07:00
Baligh Uddin
e0c72630b3 Import translations. DO NOT MERGE
Change-Id: Ib6abf607d49bb4681f132e2f3a75822bb3955346
Auto-generated-cl: translation import
2016-04-14 17:29:03 -07:00
TreeHugger Robot
f64e1551e4 Merge "Revert warning logic so it has a "don\'t show again" message." into nyc-dev am: 7fd1cbd
am: 06e650c

* commit '06e650cd97df645bd0bef9342b432ca885679b13':
  Revert warning logic so it has a "don't show again" message.

Change-Id: I64e0cf42ebedd931a22c6eda3ce60cb1907ec767
2016-04-13 18:07:41 +00:00
Felipe Leme
06e650cd97 Merge "Revert warning logic so it has a "don\'t show again" message." into nyc-dev
am: 7fd1cbd

* commit '7fd1cbd49d0ace00c65229f65252136902aedaf3':
  Revert warning logic so it has a "don't show again" message.

Change-Id: Ie2ca3b9be95991b8d0087bd83c49ed85df33b0c9
2016-04-13 18:04:08 +00:00
TreeHugger Robot
7fd1cbd49d Merge "Revert warning logic so it has a "don't show again" message." into nyc-dev 2016-04-13 17:56:34 +00:00
Felipe Leme
fcca68dfb1 Revert warning logic so it has a "don't show again" message.
BUG: 28140003

Change-Id: I93e7b1494a0f4c5ca080fbe9dd94dc2168092ffa
2016-04-13 09:36:24 -07:00
TreeHugger Robot
d85b33f9f4 Merge "Removed redundant notification title." into nyc-dev am: 0dc92ca
am: dc4ebd1

* commit 'dc4ebd15abf22ba189e95361896722f9986c5993':
  Removed redundant notification title.

Change-Id: I38885a2360658487a3f0c1f642ff925ecdc088dc
2016-04-13 02:59:23 +00:00
Felipe Leme
dc4ebd15ab Merge "Removed redundant notification title." into nyc-dev
am: 0dc92ca

* commit '0dc92ca5a7ff767dd3a0bfbcd15db328a690a761':
  Removed redundant notification title.

Change-Id: Ic9ad7350b091219e87b60f70b7a34c14abdfa5b6
2016-04-13 02:53:58 +00:00
Felipe Leme
a43d139359 Removed redundant notification title.
When a bugreport is finished with a pending notification, it already
display a subtext explaining the situation - not only the extra title is
redundant, but it's too large.

BUG: 27583025
Change-Id: I8d8171faf7b8b86b34f6d860555839918be10550
2016-04-12 17:28:06 -07:00
Felipe Leme
73462ba719 Merge "Minor improvements useful for debugging." into nyc-dev am: e1b1ce7
am: d792e7f

* commit 'd792e7ffdaf32f133c57e1d6c08a3d3bb73d49be':
  Minor improvements useful for debugging.

Change-Id: I3a0ebada9b34755c04afad461ea3e87297a4da3b
2016-04-12 19:00:29 +00:00
Felipe Leme
d792e7ffda Merge "Minor improvements useful for debugging." into nyc-dev
am: e1b1ce7

* commit 'e1b1ce77da273da6fc89d04a9c8ec09d0d8adca1':
  Minor improvements useful for debugging.

Change-Id: I506966846df799a614bb6fc37a60096cc91fe251
2016-04-12 18:53:49 +00:00
Felipe Leme
e1b1ce77da Merge "Minor improvements useful for debugging." into nyc-dev 2016-04-12 17:56:01 +00:00
Felipe Leme
9526f42fd0 Merge ""Temporarily" removed progress check." into nyc-dev am: 9d362ae5
am: 53622b4

* commit '53622b4023cb63bfa6b865c462f0506e03037c8e':
  "Temporarily" removed progress check.

Change-Id: I2f9c3f9d6aa5d42760ab6b76f7dba72b95b82c74
2016-04-11 17:45:47 +00:00
Felipe Leme
53622b4023 Merge ""Temporarily" removed progress check." into nyc-dev
am: 9d362ae5

* commit '9d362ae5c71232e27bfa28330b827ce63fe9b67b':
  "Temporarily" removed progress check.

Change-Id: I7216c236fdf59e93f4dbee3a9d4cd14e2aaec0e7
2016-04-11 17:40:47 +00:00
Felipe Leme
9ca5e56390 "Temporarily" removed progress check.
The code that asserts the right progress is displayed was based on the
percentage text displayed in the system notification, but such text is
gone.

Since UIObject doesn't easily expose the underlying ProgressBar, such
checks were temporarily disabled.

BUG: 28114251
Change-Id: Idb64fe97cf84f5f73e08e293b8fd0384bc8b70d6
2016-04-11 10:31:55 -07:00
Selim Cinek
5fec4bfea8 Merge "Fixed the contentinfo api usage in the bugreport" into nyc-dev am: cbc68e5
am: dfbd58a

* commit 'dfbd58aa7ebeaff7f8a18cfd236ec04cfef97396':
  Fixed the contentinfo api usage in the bugreport

Change-Id: Idbbe3484a2e257a8d8b3c84896db49775903ea43
2016-04-06 20:56:45 +00:00
Selim Cinek
dfbd58aa7e Merge "Fixed the contentinfo api usage in the bugreport" into nyc-dev
am: cbc68e5

* commit 'cbc68e59119e31ccd405c482afe19572c520cec3':
  Fixed the contentinfo api usage in the bugreport

Change-Id: I9fb1d5202c919d1bb7f4cde7884d2c9c98ac14ad
2016-04-06 20:51:44 +00:00
Selim Cinek
bc3b0458bf Fixed the contentinfo api usage in the bugreport
Removed the percentage shown in the header and
migrated the name to the subtext as contentinfo
was deprecated.

Change-Id: Ifd79a67cad8958049bd29b8eb4c9bcbb4822688b
2016-04-06 12:18:53 -07:00
Felipe Leme
abeab723d1 Minor improvements useful for debugging.
- Better dump of received intents by displayed the relevant extras.
- Gracefully handles the case where the bugreport file URI is invalid
  during development.

BUG: 27996121
Change-Id: I97a48d1e9641142a43c66c1dded2f7f322dc66aa
2016-04-04 11:39:24 -07:00
Alan Viverette
ced556e7e6 Merge "Remove DayNight theme" into nyc-dev am: b4e7b54
am: 1f890d3

* commit '1f890d325399fb43c08437beddf0533618d11f87':
  Remove DayNight theme

Change-Id: I751f5993fdfd50c53feb6c0ab76a57ddd0549b89
2016-03-31 21:14:49 +00:00
Alan Viverette
1f890d3253 Merge "Remove DayNight theme" into nyc-dev
am: b4e7b54

* commit 'b4e7b545a284fce4e863b7c6ed2018a265ec3bb2':
  Remove DayNight theme

Change-Id: If569b172dadf5e4df64dde756d35c471f20e8469
2016-03-31 21:11:34 +00:00
Alan Viverette
ae4908f41c Remove DayNight theme
Bug: 21854466
Change-Id: I739872112d0ae457d0d4620f9222206072d54b4b
2016-03-31 16:18:27 -04:00
Aga Wronska
a0f03649f8 Merge "Add menu option to show/hide internal storage." into nyc-dev am: 276dcd7
am: 0d4b15c

* commit '0d4b15cff7a393f6b29520d70e1334ebf75588f5':
  Add menu option to show/hide internal storage.

Change-Id: Ib9b65ab0c97c8cf44bf89094a3e9723110df0d80
2016-03-31 02:23:20 +00:00
Aga Wronska
0d4b15cff7 Merge "Add menu option to show/hide internal storage." into nyc-dev
am: 276dcd7

* commit '276dcd7314c7ad8ebe46bfc5290853fabd1c6316':
  Add menu option to show/hide internal storage.

Change-Id: Ia99490623e560111a51814bcb5cd857c3a94ee68
2016-03-31 02:17:29 +00:00
Aga Wronska
774cc932fc Add menu option to show/hide internal storage.
This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276
Change-Id: Id1a310b57ab7fa3c8c14b464786473f211eaf41f
2016-03-30 18:23:10 -07:00