Commit Graph

363 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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 7c4395804e.

Bug: 27683276
Change-Id: Id1a310b57ab7fa3c8c14b464786473f211eaf41f
2016-03-30 18:23:10 -07:00
Felipe Leme
6a91f40ad7 Merge "Removed FLAG_ADVANCED." into nyc-dev
am: 12bf75f

* commit '12bf75f35406f49ab531a9bea9847663ef20d62e':
  Removed FLAG_ADVANCED.
2016-03-28 22:05:06 +00:00
Felipe Leme
f8cf395636 Removed FLAG_ADVANCED.
On M, internal storage such as bugreport files were only shown when user
selected the "Show internal storage", but such UI has changed on N.

BUG: 27862860
Change-Id: I1edf086a9f9345303595ee952e4646764709d36d
2016-03-28 13:02:04 -07:00
Felipe Leme
9b64d2eb10 Merge "Proper handle of duplicated BUGREPORT_STARTED." into nyc-dev
am: 3e39f50

* commit '3e39f50a3d384480a8892aeba782d06fcfebc867':
  Proper handle of duplicated BUGREPORT_STARTED.
2016-03-24 22:55:23 +00:00
Felipe Leme
1ae5a69bc4 Proper handle of duplicated BUGREPORT_STARTED.
When Shell receives a BUGREPORT_STARTED intent for a process it's
already monitoring, it should completely ignore it, but current it's
taking an extra screenshot.

BUG: 27804637
Change-Id: I733cacfee5e9c82646a3295b50c3856b6e0352c3
2016-03-23 14:57:17 -07:00
Felipe Leme
cb64e08e6a Merge "Changed logic when dumpstate\'s max progress increases." into nyc-dev
am: 9545d8e

* commit '9545d8e3377e73eb7d781360910b733760d3b0fb':
  Changed logic when dumpstate's max progress increases.
2016-03-22 17:28:29 +00:00
Felipe Leme
9545d8e337 Merge "Changed logic when dumpstate's max progress increases." into nyc-dev 2016-03-22 17:21:20 +00:00
Aga Wronska
c9f5b17df4 Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev
am: 5f7d673

* commit '5f7d673f3b69019288adcf11325f71aeb2b8af49':
  Add config flag to show/hide internal storage. Hide internal storage by default.
2016-03-22 17:09:10 +00:00
Felipe Leme
3fc44b9a62 Changed logic when dumpstate's max progress increases.
When dumpstate starts, it estimates its maximum duration and sends it
through an extra on BUGREPORT_STARTED; as it progress, it sets a system
property with its current progress and if the progress value overflows
the estimated max, it increases the max as well.

Shell uses the max/progress to display the progress % in the
system notification, and need to handle the scenario where the max
changes. The initial implementation would recalculate the progress, with
makes it swing back and forth as dumpstate increases the max.

This CL changes the Shell logic so the progress never go back, just
forward. The drawback of this approach is that if dumpstate
underestimate the maximum, the progress might get stuck in a high
value (99%) early on, but such issue will be addressed in the long
term by tuning the estimated max value.

BUG: 26354314
Change-Id: I3a5416acaffaaa43fd28d2f1f8ec8ea12aa0d91e
2016-03-22 10:05:30 -07:00
Aga Wronska
1719b3555d Add config flag to show/hide internal storage.
Hide internal storage by default.

Revert "Always show intern storage."

This reverts commit 7c4395804e.

Bug: 27683276

Change-Id: I04ea8b9a307babcea003f9bec200d41265a42c7f
2016-03-21 17:33:27 -07:00
Geoff Mendal
feb85ef1a3 Import translations. DO NOT MERGE
Change-Id: Ic015ff842053551bbe10b0eb420137cd045a23ef
Auto-generated-cl: translation import
2016-03-19 14:04:50 +05:30
Jeff Sharkey
5a128c4f33 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev
am: a0a58a2

* commit 'a0a58a2fd5cbc1bb8056227bb04f276b364c6e96':
  Refactoring FBE APIs based on council feedback.
2016-03-17 22:07:23 +00:00
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06: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
Felipe Leme
90f7db62a2 Merge "Log received intent." into nyc-dev
am: 1f7659ba34

* commit '1f7659ba3421fa391af24ccd5c2e9823a9b6cb95':
  Log received intent.
2016-03-15 20:58:42 +00:00
Felipe Leme
1f7659ba34 Merge "Log received intent." into nyc-dev 2016-03-15 20:53:14 +00:00
Felipe Leme
39355fb5f7 Log received intent.
BUG: 27660862
Change-Id: Ibe49080c15448ac2672f5e1d5eeaf6d9ff8d282e
2016-03-15 13:52:14 -07:00
Felipe Leme
a70ae37b19 Handle AccountManager failures so Shell doesn\'t crash.
am: 213e355c77

* commit '213e355c77993c718298c89bc04908a0d6c5addd':
  Handle AccountManager failures so Shell doesn't crash.
2016-03-15 20:28:12 +00:00
Felipe Leme
213e355c77 Handle AccountManager failures so Shell doesn't crash.
BUG: 27665208
Change-Id: Iccb6ce810c8e1c93bded58871d7ec220b7d14ba9
2016-03-15 13:21:43 -07:00
Ian Pedowitz
0f0fba787c Merge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev
am: 440ef18fe7

* commit '440ef18fe7dcfaff28fad0137f4abe4235381e05':
  Revert "Permissions: Get rid of GET_ACCOUNTS"
2016-03-15 17:15:59 +00:00
Ian Pedowitz
440ef18fe7 Merge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev 2016-03-15 17:09:53 +00:00
Ian Pedowitz
358e51f3d1 Revert "Permissions: Get rid of GET_ACCOUNTS"
This reverts commit d39600585b.

Bug: 27665091
Change-Id: I7d017ba7062ac594225229436d2877c7d21fb065
2016-03-15 17:08:27 +00: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
Carlos Valdivia
71dfb1654b Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev
am: 658e4c5ece

* commit '658e4c5eceefcb2f0d070d478fb1ab0af27a1bbe':
  Permissions: Get rid of GET_ACCOUNTS
2016-03-15 01:40:26 +00:00