607 Commits

Author SHA1 Message Date
Ben Lin
663e0e97d5 Push delete notification when Bug reports are deleted. am: 86805aa3af am: 64146c5d24
am: b01be62d58

Change-Id: I8e1b6dc42e44307feef1ba912a3465c2d25594e1
2016-08-31 04:37:16 +00:00
Allen Hair
63180a0754 Configure code coverage filters. am: 02fd609460 am: 15b70213a4
am: 8b931e08d0

Change-Id: If94db4d01eb5ff4a9f463200d529b0054899bcd5
2016-08-30 17:13:01 +00:00
Ben Lin
b01be62d58 Push delete notification when Bug reports are deleted. am: 86805aa3af
am: 64146c5d24

Change-Id: I6c9837068616943b72223556842d6570adc4c90b
2016-08-30 02:24:20 +00:00
Ben Lin
64146c5d24 Push delete notification when Bug reports are deleted.
am: 86805aa3af

Change-Id: I1bd1544f5a3848077cb98faf184e99a9c22f1771
2016-08-29 23:01:30 +00:00
Ben Lin
86805aa3af Push delete notification when Bug reports are deleted.
Bug: 28768706
Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
2016-08-29 14:08:32 -07:00
Allen Hair
8b931e08d0 Configure code coverage filters. am: 02fd609460
am: 15b70213a4

Change-Id: Idf84ee3cf08af547ec7564c5e663b7d7fed0c97d
2016-08-26 17:41:11 +00:00
Allen Hair
15b70213a4 Configure code coverage filters.
am: 02fd609460

Change-Id: Iae831e68c195abcfa52528ac8609fbbee0be03df
2016-08-26 17:33:35 +00:00
Allen Hair
02fd609460 Configure code coverage filters.
Bug: 28269038
Change-Id: If4dfb769d543e70faea7200dc1da15c50a83270f
2016-08-25 17:28:03 -07:00
Felipe Leme
47ec8bebb6 Migrate BugreportReceiverTest to JUnit 4.
BUG: 30839080

Change-Id: I4af0d9ba26eb07dd78f1eef26c4edb7d3e03f582
2016-08-12 16:47:44 -07:00
Bill Yi
63de06d7f4 Import translations. DO NOT MERGE
Change-Id: I6a36f28639fa2e775a5d17dcaf24a9293cb64457
Auto-generated-cl: translation import
2016-08-10 14:22:41 -07:00
TreeHugger Robot
1efa7cbc8d Merge "Cancel dialog before stopping service." 2016-08-09 16:16:18 +00:00
Felipe Leme
034bcf425a Cancel dialog before stopping service.
Fixes: 30746086

Change-Id: Iea8a197a2785259dd80aa8130d79ded484562826
2016-08-08 18:07:44 -07:00
Felipe Leme
2c0f3a372c Kill service before trying to cancel notifications.
BUG: 30639703
Change-Id: Ib564371797e31e1dde37416efdb89641fb3024b1
2016-08-08 17:16:46 -07:00
Bill Yi
2456a4eb96 Import translations. DO NOT MERGE
Change-Id: If45c3e8eec74f0d620cbe19424bfbe619231a84b
Auto-generated-cl: translation import
2016-08-08 03:21:56 -07:00
Felipe Leme
9fd057775d Fixed year on copyright notice. am: 6dd4e88210
am: 3a41597e35

Change-Id: I2b097fab798e834b2f05cdf77a2f9848a1917205
2016-08-04 20:04:42 +00:00
Felipe Leme
05c25c8045 Increases bugreport_intent_chooser_title to 35 chars.
Change-Id: Iaef8d4ad502bd4b6cc50dc10506d0de1371a8ad9
Fixes: 30653606
2016-08-04 11:15:44 -07:00
TreeHugger Robot
5f8229d352 Merge "Import translations. DO NOT MERGE" 2016-08-04 09:18:35 +00:00
Bill Yi
c382c14ccf Import translations. DO NOT MERGE
Change-Id: Id7acb5e899d3a8c85048a483637266ab07ebb095
Auto-generated-cl: translation import
2016-08-03 21:59:35 -07:00
TreeHugger Robot
5f48b026f0 Merge "Enable name text field when re-using the details dialog." 2016-08-04 02:15:53 +00:00
Felipe Leme
da1fbdd6f2 Enable name text field when re-using the details dialog.
Change-Id: I10671fc00ea918da901f36f122641e646057888c
Fixes: 30642226
2016-08-03 17:45:43 -07:00
TreeHugger Robot
1b5eb1e3cd Merge "Fixed BugreportReceiverTest failures:" 2016-08-04 00:31:27 +00:00
Felipe Leme
ca5002f6bd Fixed BugreportReceiverTest failures:
- testProgress_changeJustDetailsTouchingNotification was failing because
  the notification mechanism changed and now provides a way to expand
  and collapse the actions bar, and the test was collapsing it instead
  of opening the details dialog. It was fixed by tapping the
  notification content instead of the notification title.
- Similarly, openProgressNotification() was refactored to use the
  bugreport name instead of id.
- Uses getObject() (instead of getVisibleObject()) to get the activity
  from the intent chooser.
- Removed the redundant call to back to dismiss the keyboard, which was
  causing some tests to fail due to an accessibility bug.
- Retry a few times in case the bugreport name system property assertion
  fails, since the property is set by a background thread.
- Improved how notifications are canceled.
- Created a sleep() helper.

Besides the test case improvements, it also removed a redundant call to
setCancelable() in the main code.

BUG: 30641229
BUG: 30639703

Change-Id: Icd79fada22d0b8e4be034068c3e9143ef0134eed
2016-08-03 16:09:35 -07:00
Felipe Leme
6dd4e88210 Fixed year on copyright notice.
BUG: 30429392
Change-Id: If6477ccde5820dd118ad92bb5d4f74d938cf0d83
2016-08-03 10:05:54 -07:00
Felipe Leme
cec3844b6d Removed unused imports and fixed copyright notice.
BUG: 30429392
Change-Id: I3c849e507437ef733b04954af68bd47d00dc5165
2016-08-03 10:03:30 -07:00
Felipe Leme
b4027a01e3 Use SurfaceControl.screenshot() instead of screencap for screenshots.
*** cherrypick of 8cfc23f ***

Change-Id: I5a9e7bbc5f3ae176ac5ae7209a133526992e92d4
Fixes: 30429392
2016-08-02 17:33:48 -07:00
Felipe Leme
8cfc23f434 Use SurfaceControl.screenshot() instead of screencap for screenshots. am: aba9743643
am: ce61b5715d

Change-Id: I743efe4fc79189b2377a7a5dc58f7214e737998f
2016-08-02 18:50:43 +00:00
Felipe Leme
ce61b5715d Use SurfaceControl.screenshot() instead of screencap for screenshots.
am: aba9743643

Change-Id: Ie6761383247cd90d586b0b29866f49c8a7787282
2016-08-02 18:37:48 +00:00
TreeHugger Robot
f7ac45a33b Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev 2016-08-02 18:29:46 +00:00
TreeHugger Robot
9c35f0e8b1 Merge "Import translations. DO NOT MERGE" 2016-08-02 09:50:56 +00:00
Bill Yi
f0f669876e Import translations. DO NOT MERGE
Change-Id: Ie3bc5cbcb9b7c6fad8aee616dc8b75e97353c834
Auto-generated-cl: translation import
2016-08-01 23:55:40 -07:00
Bill Yi
ae101611bb Import translations. DO NOT MERGE
Change-Id: I53e179755356aba8c53b2602bf73f7860de8b08f
Auto-generated-cl: translation import
2016-08-01 23:08:14 -07:00
Bill Yi
8806c6d033 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30476613
Change-Id: I7e23bac276a7029a1f35b3b98e238d46e19e50fe
2016-08-01 13:06:59 -07:00
Felipe Leme
aba9743643 Use SurfaceControl.screenshot() instead of screencap for screenshots.
Change-Id: I5a9e7bbc5f3ae176ac5ae7209a133526992e92d4
Fixes: 30429392
2016-07-28 17:31:45 -07:00
Felipe Leme
91699af8c6 Always use chooser for Share Bug Report intent.
When using startActivity(intent), the platform allows the user to pick
the same activity for the intent, which can be a problem for sharing bug
reports when the device has personal and work profiles.

Change-Id: I1fd66905feb5d894307bbe5656c2aec705a59ab7
Fixes: 22115530
2016-07-28 15:29:17 -07:00
Bill Yi
9d1117531d Import translations. DO NOT MERGE
Change-Id: I27c1e473ca98bdc216d7bdf8d8d2f1838fa1c728
Auto-generated-cl: translation import
2016-07-25 04:23:39 -07:00
Bill Yi
9f5b2708a5 Import translations. DO NOT MERGE
Change-Id: Ic8c64ffc57402d087a2b1d4a3e33219c439a1bb4
Auto-generated-cl: translation import
2016-07-25 02:27:07 -07:00
Bill Yi
4e6749a30e Import translations. DO NOT MERGE
Change-Id: I2e524908704b38120b77928886da6eda38ede052
Auto-generated-cl: translation import
2016-07-20 14:56:13 -07:00
Wei Liu
213b94ee1a Merge \\"Use the Shell app to show the bugreport notification on Wear.\\" into nyc-mr1-dev am: 1dfbf794b5
am: bc3c068189

Change-Id: I4555c232c5fc9d10a9b9d9cd0d64ac80720e30e9
2016-07-19 17:29:50 +00:00
Wei Liu
bc3c068189 Merge \"Use the Shell app to show the bugreport notification on Wear.\" into nyc-mr1-dev
am: 1dfbf794b5

Change-Id: Ibb3310be1330d238059e4f70aa26763731b19a30
2016-07-19 17:22:30 +00:00
Wei Liu
1dfbf794b5 Merge "Use the Shell app to show the bugreport notification on Wear." into nyc-mr1-dev 2016-07-19 17:16:23 +00:00
TreeHugger Robot
0897f32e20 Merge "Close details dialog when bugreport is canceled by user." 2016-07-19 17:14:52 +00:00
Andrew Sapperstein
dfdf82df19 Merge \\"Update bugreport dialog to DeviceDefault theme.\\" into nyc-mr1-dev am: 878bd5103e
am: b88c3801ea

Change-Id: Ice3e4ed8a3188d62f9f92b034ca07dcc693c22b8
2016-07-19 02:16:29 +00:00
Andrew Sapperstein
b88c3801ea Merge \"Update bugreport dialog to DeviceDefault theme.\" into nyc-mr1-dev
am: 878bd5103e

Change-Id: I918da483da287b36f49b103a5823f5ca81b2f4c0
2016-07-19 02:11:05 +00:00
TreeHugger Robot
878bd5103e Merge "Update bugreport dialog to DeviceDefault theme." into nyc-mr1-dev 2016-07-19 02:03:55 +00:00
Andrew Sapperstein
59b5679730 Update bugreport dialog to DeviceDefault theme.
By using DeviceDefault instead of Material, this UI is now
resilient to any platform-level theme changes.

Change-Id: I43ce61b36f4c089ee07f754088abe2dfe6700877
Fixes: 30173174
2016-07-18 17:19:15 -07:00
Wei Liu
9f35541760 Use the Shell app to show the bugreport notification on Wear.
b/30041885

Change-Id: I998aa1606eb12f74a407fbafd9abc11c9454fb66
2016-07-18 13:56:25 -07:00
Felipe Leme
a86a3012ef Close details dialog when bugreport is canceled by user.
BUG: 30158896
Change-Id: I0eab22586f6b431f2abe837088d48a655e03d213
2016-07-18 13:29:46 -07:00
Felipe Leme
520a2ab523 Merge \\"Fixed bugreport share dialog padding.\\" into nyc-mr1-dev am: 699e1bc74b
am: a49813ded6

Change-Id: Icc22b2886b95cabfc677b0735d0383fe60a118ae
2016-07-18 19:00:55 +00:00
Felipe Leme
a49813ded6 Merge \"Fixed bugreport share dialog padding.\" into nyc-mr1-dev
am: 699e1bc74b

Change-Id: Ie571191e8c64569b545040665be5eca7ad35fb4e
2016-07-18 18:53:04 +00:00
Felipe Leme
e26cc5d5f3 Fixed bugreport share dialog padding.
Change-Id: Id7848770c6410eda7b6272acb981ef5c3afbeaec
Fixes: 30055508
2016-07-12 17:00:05 -07:00