TreeHugger Robot
77bd8c3a73
Merge "Add battery indicator to bluetooth icon" into oc-mr1-dev
2017-08-25 18:25:03 +00:00
jackqdyulei
8fabdba0de
Merge "Add wakelock action in testing app" into oc-mr1-dev am: 08fecc4143
...
am: 6896e1ef05
Change-Id: I55f427850f7d1accda9594ca2b20cf97d4937be0
2017-08-25 03:48:50 +00:00
Doris Ling
d76a310520
Merge "Fix jank in showing conditions and suggestions in cold start." into oc-mr1-dev am: 51c83353fe
...
am: e80bb0d5ce
Change-Id: Id3de7150516804bc7a08c665943769c27173fc9a
2017-08-25 03:48:07 +00:00
jackqdyulei
6896e1ef05
Merge "Add wakelock action in testing app" into oc-mr1-dev
...
am: 08fecc4143
Change-Id: Id3125640f4d62da1161b9e894577c6285fe7c83a
2017-08-25 03:44:25 +00:00
Doris Ling
e80bb0d5ce
Merge "Fix jank in showing conditions and suggestions in cold start." into oc-mr1-dev
...
am: 51c83353fe
Change-Id: I869238f4c9198dbd167ab02d18e41e0e67001c38
2017-08-25 03:43:37 +00:00
TreeHugger Robot
08fecc4143
Merge "Add wakelock action in testing app" into oc-mr1-dev
2017-08-25 03:35:46 +00:00
TreeHugger Robot
51c83353fe
Merge "Fix jank in showing conditions and suggestions in cold start." into oc-mr1-dev
2017-08-25 03:34:34 +00:00
jackqdyulei
df4ca8af76
Merge "Add bt anomaly action in testing app" into oc-mr1-dev am: 4aaacaf7e3
...
am: d52c9708b5
Change-Id: I5122c905e3227b5fb26286a87bbf879a0fce9fb1
2017-08-25 01:53:28 +00:00
jackqdyulei
d52c9708b5
Merge "Add bt anomaly action in testing app" into oc-mr1-dev
...
am: 4aaacaf7e3
Change-Id: Icc5588c0fde97908d371452c622980fddae054df
2017-08-25 01:49:28 +00:00
jackqdyulei
7661137981
Add battery indicator to bluetooth icon
...
This cl change util method in bluetooth package to return
drawable instead of resId.
If the bt device has battery level, then method return customized
layerDrawable, otherwise return a simple drawable created from
resId.
Bug: 63393322
Test: RunSettingsRoboTests
Change-Id: Ib21822eafda0e8570212ce5cb070478e4f4876a2
Merged-In: Ib21822eafda0e8570212ce5cb070478e4f4876a2
2017-08-24 16:53:01 -07:00
Lei Yu
af9138e8e3
Merge "Add battery indicator to bluetooth icon"
2017-08-24 23:39:35 +00:00
jackqdyulei
0cc62f860c
Add wakelock action in testing app
...
This cl adds action to hold the wakelock for specific time. With
this action we could test whether wakelock detector is effective.
Bug: 2731722
Test: make -j40 AnomalyTester
Change-Id: I1d44c12363f126ea9b8fc44f4c135e46b898186c
2017-08-24 16:15:44 -07:00
jackqdyulei
9d78df0d30
Add bt anomaly action in testing app
...
This cl adds the action to start bluttooth unoptimized scanning.
With this action we could test whether bt anomaly detector is
effective.
Bug: 62602318
Test: make -j40 AnomalyTester
Change-Id: I7f41dbb07384fbf3c5a81e460a3629306bc33f59
2017-08-24 16:15:24 -07:00
Daniel Nishi
9d0a84e95f
Merge "Move the Robolectric shadow config up." into oc-mr1-dev am: efcc8be05c
...
am: 5f97c05f1c
Change-Id: I46c4a921a25ef17197e90038ff71a982a192aae7
2017-08-24 22:15:39 +00:00
Daniel Nishi
5f97c05f1c
Merge "Move the Robolectric shadow config up." into oc-mr1-dev
...
am: efcc8be05c
Change-Id: Ie816d276fe196452f38c88ca1f944dd040f19321
2017-08-24 21:24:31 +00:00
Doris Ling
5b01294d84
Fix jank in showing conditions and suggestions in cold start.
...
When we first initialize the dashboard view, and register the condition
listener, it will trigger the condition changed callback immediately.
This results in unnecessary refresh of the dashboard header. Add check
to not do the refresh when we first initialize the view.
Change-Id: If7c69637463734c150b7f5eb7f3c042cf73837fa
Fixes: 64811475
Test: make RunSettingsRoboTests
2017-08-24 13:53:30 -07:00
jackqdyulei
6f5c990abd
Add battery indicator to bluetooth icon
...
This cl change util method in bluetooth package to return
drawable instead of resId.
If the bt device has battery level, then method return customized
layerDrawable, otherwise return a simple drawable created from
resId.
Bug: 63393322
Test: RunSettingsRoboTests
Change-Id: Ib21822eafda0e8570212ce5cb070478e4f4876a2
2017-08-24 20:50:10 +00:00
TreeHugger Robot
efcc8be05c
Merge "Move the Robolectric shadow config up." into oc-mr1-dev
2017-08-24 19:27:23 +00:00
Lei Yu
181a972430
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev am: 3949ed53a9
...
am: a9eb0eb4bc
Change-Id: Ia427fdbec8afce9aa0133e182bde39757345e132
2017-08-24 17:46:29 +00:00
Lei Yu
98b0e638a6
Merge "Set up anomaly test app in settings" into oc-mr1-dev am: 8cac6b07bc
...
am: c564686ec8
Change-Id: Id6c2f70cd547fad814e2bbf344f9e8d64fc8f64d
2017-08-24 17:45:52 +00:00
Lei Yu
a9eb0eb4bc
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev
...
am: 3949ed53a9
Change-Id: I2cfae5ecff424ff042e0a0b29a610908563b8348
2017-08-24 17:42:09 +00:00
Lei Yu
c564686ec8
Merge "Set up anomaly test app in settings" into oc-mr1-dev
...
am: 8cac6b07bc
Change-Id: I5be8aab32f4918814ab2273f608b38d4403b24d0
2017-08-24 17:41:25 +00:00
Lei Yu
3949ed53a9
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev
2017-08-24 17:35:15 +00:00
Lei Yu
8cac6b07bc
Merge "Set up anomaly test app in settings" into oc-mr1-dev
2017-08-24 17:34:56 +00:00
TreeHugger Robot
9ef271d837
Merge "Import translations. DO NOT MERGE"
2017-08-24 07:27:37 +00:00
Bill Yi
4189d7f66c
Import translations. DO NOT MERGE
...
Change-Id: Ie2c072d206c99da9b6fc821012a7a4056020aaaf
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-23 21:40:56 -07:00
Soroosh Mariooryad
f1ea9cc668
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev am: f83b94aa0c
...
am: 4e4d3631fc
Change-Id: I5207a13fa2997cad393ec60d5f0cfb93eecbde16
2017-08-24 04:32:47 +00:00
Soroosh Mariooryad
4e4d3631fc
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev
...
am: f83b94aa0c
Change-Id: I72618b3a6e47661c6c690638db0ed7d7c1d8c08c
2017-08-24 04:20:30 +00:00
TreeHugger Robot
f83b94aa0c
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev
2017-08-24 04:11:48 +00:00
Stephen Chen
0246cd8a40
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev am: a78eeb2d61
...
am: 31deb9a766
Change-Id: Ibd4f9959af5c5c1bde51ce1b9285531880301daa
2017-08-24 02:17:10 +00:00
Stephen Chen
31deb9a766
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev
...
am: a78eeb2d61
Change-Id: Ide908ed189c110c272cd5535f9fbc99705b8555a
2017-08-24 01:58:48 +00:00
TreeHugger Robot
a78eeb2d61
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev
2017-08-24 01:43:58 +00:00
Doris Ling
d9d877cb48
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev am: d94fbbc325
...
am: c2eab36c7c
Change-Id: I09efabd3f8a4a7358f2b6a6d52a15fdd75ca7672
2017-08-24 01:11:22 +00:00
Doris Ling
c2eab36c7c
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev
...
am: d94fbbc325
Change-Id: I4c827d601b8ed20934c4671d5a7de29a3001bd0b
2017-08-24 00:48:20 +00:00
jackqdyulei
693fe62fe0
Add UI components for bluetooth anomaly
...
Bug: 62602318
Test: make -j40 AnomalyTester
Change-Id: I4584e6ada784d8d87558a5b30cf55e2de33d443a
2017-08-23 17:37:18 -07:00
TreeHugger Robot
d94fbbc325
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev
2017-08-24 00:36:43 +00:00
jackqdyulei
7e97d2d9a5
Set up anomaly test app in settings
...
This cl set up the basic android framework for anomly test app.
Anomaly test app has the similar architecture compared with
settings api tester.
1. Add Android.mk and AndroidManifest.xml
2. Add blank AnomalyActivity
3. Add related resource files.
Bug: 62602318
Test: make -j40 AnomalyTester
Change-Id: I1d59517c9c2d8d0b8e219e3a67dfae73ca5a968e
2017-08-23 17:35:26 -07:00
jackqdyulei
a5b20303ee
Merge "Set preference invisible when no anomaly" into oc-mr1-dev am: 0e800978bf
...
am: fb13cac59f
Change-Id: I9a851fc886abb1489b8133468aed2c0548ffbd2d
2017-08-23 20:24:21 +00:00
jackqdyulei
002a20c8f3
Merge "Update strings when shortString is true" into oc-mr1-dev am: d0066e3875
...
am: 02e4c7d809
Change-Id: I031e65952befe7507ce09701af02e1131fe278cf
2017-08-23 20:15:19 +00:00
jackqdyulei
fb13cac59f
Merge "Set preference invisible when no anomaly" into oc-mr1-dev
...
am: 0e800978bf
Change-Id: Icf0931c60d62fd9e18bc3cfe2853e965403e7740
2017-08-23 20:11:28 +00:00
jackqdyulei
02e4c7d809
Merge "Update strings when shortString is true" into oc-mr1-dev
...
am: d0066e3875
Change-Id: Ifce24bf0b5df7b912d3859d6aacdb35a90ce9c29
2017-08-23 20:01:51 +00:00
TreeHugger Robot
0e800978bf
Merge "Set preference invisible when no anomaly" into oc-mr1-dev
2017-08-23 19:57:41 +00:00
TreeHugger Robot
d0066e3875
Merge "Update strings when shortString is true" into oc-mr1-dev
2017-08-23 19:38:40 +00:00
jackqdyulei
4242ee0dd4
Set preference invisible when no anomaly
...
In the previous code path, we will create an invisible anomaly preference
and update it to visible if it contains any anomaly. However, when
anomaly is dismissed we don't reset preference to invisible.
So, this cl adds code to set it to invisible explicitly when anomaly list
is empty.
Bug: 64617126
Test: RunSettingsRoboTests
Change-Id: Ie7a3498da91243f05f4c47fb1cc5f67b177d04b1
2017-08-23 10:09:19 -07:00
jackqdyulei
868adaa8db
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev am: a097d68c4b
...
am: 92597b0e26
Change-Id: I68323c887d22b0f0df9801adcba436629503270b
2017-08-23 03:52:51 +00:00
jackqdyulei
92597b0e26
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev
...
am: a097d68c4b
Change-Id: Ib020db1315c7e16f86bc076859187f75d79c87ee
2017-08-23 02:06:12 +00:00
TreeHugger Robot
a097d68c4b
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev
2017-08-23 01:42:42 +00:00
Tony Mak
35efb10206
Merge "A separate entry for work profile CA cert" into oc-mr1-dev am: e040ef4a39
...
am: 237e49a7c9
Change-Id: I2b90fdcd5a6c88600077a0b09e693b006bf53177
2017-08-22 18:24:05 +00:00
Tony Mak
237e49a7c9
Merge "A separate entry for work profile CA cert" into oc-mr1-dev
...
am: e040ef4a39
Change-Id: I0774c8e5ebf959b5f6fb759566815bde966c0dfd
2017-08-22 18:21:35 +00:00
Soroosh Mariooryad
98fc9b139c
Extending SearchFeatureProvider API to provide timeout
...
Bug: 38197948
Test: RunSettingsRoboTests
Change-Id: I5b04085ba93061dafe8977b42ebe5092bc9a9d09
2017-08-22 10:38:32 -07:00