Commit Graph

344 Commits

Author SHA1 Message Date
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
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
Carlos Valdivia
658e4c5ece Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev 2016-03-15 01:36:26 +00: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
Carlos Valdivia
d39600585b Permissions: Get rid of GET_ACCOUNTS
Second attempt. Still need to add strict mode violation checks and
logging.

Bug: 21901286

This reverts commit bf33bd4d31.

Change-Id: I5d73343544c32ce4fc4c377ba44db8e677a1287d
2016-03-13 17:13:54 -07:00
Felipe Leme
7fd903c0e8 Merge "Don\'t log metrics for initial screenshot." into nyc-dev
am: bded63d9c9

* commit 'bded63d9c9a01c73d3f41d5883b24b93a4816e41':
  Don't log metrics for initial screenshot.
2016-03-12 00:46:06 +00:00
Felipe Leme
bded63d9c9 Merge "Don't log metrics for initial screenshot." into nyc-dev 2016-03-12 00:38:34 +00:00
Felipe Leme
52ca701cd4 Don't log metrics for initial screenshot.
BUG: 26759986
Change-Id: Ie1ff6626bb3174efa12c7cefe14782f4c18fb6d2
2016-03-11 11:47:50 -08: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
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
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
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