Commit Graph

41132 Commits

Author SHA1 Message Date
TreeHugger Robot
0955bd7e51 Merge "Vibrate when fingerprint error text is shown" 2017-10-31 21:54:02 +00:00
TreeHugger Robot
134b4237c1 Merge "Implement the missing PreferenceControllerMixin interface" 2017-10-31 21:46:04 +00:00
Fan Zhang
5c424c0805 Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b am: adabc7561b am: 0c59dca90d -s ours am: 96cc88e218 -s ours am: 4aec1cee4e -s ours am: 9c79a61f95 -s ours
am: c583d803af  -s ours

Change-Id: I558c2d2d75865c7965d20339d481de6f38a38d16
2017-10-31 21:43:50 +00:00
Fan Zhang
c583d803af Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b am: adabc7561b am: 0c59dca90d -s ours am: 96cc88e218 -s ours am: 4aec1cee4e -s ours
am: 9c79a61f95  -s ours

Change-Id: Ibaa13379d6b0ed9bd69d66f80989ae7d534efcbf
2017-10-31 21:38:07 +00:00
Fan Zhang
9c79a61f95 Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b am: adabc7561b am: 0c59dca90d -s ours am: 96cc88e218 -s ours
am: 4aec1cee4e  -s ours

Change-Id: Id74bf2c46e0454e030e9fc0c4ee231450241aa79
2017-10-31 21:33:53 +00:00
Fan Zhang
4aec1cee4e Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b am: adabc7561b am: 0c59dca90d -s ours
am: 96cc88e218  -s ours

Change-Id: Ic182e3df1a283123d0d53c13499af1ed7501767e
2017-10-31 21:29:53 +00:00
Fan Zhang
96cc88e218 Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b am: adabc7561b
am: 0c59dca90d  -s ours

Change-Id: I10ea3abe4e4a04fa779cd51cee141cb80cb76acf
2017-10-31 21:25:58 +00:00
Fan Zhang
0c59dca90d Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da am: 80af194f8b
am: adabc7561b

Change-Id: I58bf359a98fc0b6ceb06cf4a5e83cedabfa6a0f3
2017-10-31 21:23:57 +00:00
Fan Zhang
adabc7561b Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f am: e79c26a9da
am: 80af194f8b

Change-Id: Iecfc5f05f9ede225800d12416508d71f7aeb46c0
2017-10-31 21:21:53 +00:00
TreeHugger Robot
f8091755e7 Merge "Switch to use new activity title handling." 2017-10-31 21:16:44 +00:00
Fan Zhang
80af194f8b Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb8f
am: e79c26a9da

Change-Id: I3652f6f77479a339b9acc387a49ee96fe70921ff
2017-10-31 21:16:32 +00:00
Fan Zhang
e79c26a9da Merge "Set device credential's Window flag to be SECURE." into nyc-dev
am: e69c4dcb8f

Change-Id: I30a0d2578343a7635da63a52cfc81f1427aab23b
2017-10-31 21:11:26 +00:00
Fan Zhang
e69c4dcb8f Merge "Set device credential's Window flag to be SECURE." into nyc-dev 2017-10-31 21:03:08 +00:00
TreeHugger Robot
e717a5fdd1 Merge "Move search querying into a single API" 2017-10-31 20:42:33 +00:00
Maurice Lam
4f41dea738 Vibrate when fingerprint error text is shown
Some users block the screen when enrolling the fingerprint. Vibrate
the phone to prompt the user to look at the screen in case they get
stuck.

Test: cd tests/robotests && mma
Bug: 67664182
Change-Id: I70dc5a5a566f2e764f8109fb2be25ec6d7c48da9
2017-10-31 13:19:25 -07:00
Fan Zhang
e261535192 Implement the missing PreferenceControllerMixin interface
Change-Id: I0bb28cf9d2ec24629485a754778faddcbc8f9fdb
Fixes: 68716631
Test: atest PreferenceControllerContractTest
2017-10-31 13:17:13 -07:00
Fan Zhang
1cc50ae190 Set device credential's Window flag to be SECURE.
This prevents showing any pattern/pin in recent list.

Change-Id: Ife33131004d66092bfa57aa57a9bb856800ce28d
Fixes: 64339515
Bug: 38258991
Merged-In: Ia9935ef710cf1795d9ce464e0a9edff75be9c0c3
Merged-In: I99c283dd4a1f2d579f565ccf5839a705e75ed6fc
Merged-In: Ibe781a3a1e1483a8c6fde4c7cc5dffbf54bdba59
Test: manual
2017-10-31 19:38:07 +00:00
Fan Zhang
374b295da8 Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80 -s ours am: 9bb4e0b794 -s ours am: fddccf0838 -s ours
am: c519347aee  -s ours

Change-Id: If6fd76c0dfb1980c4f0098c6fa6c6757e4dc84ac
2017-10-31 19:35:39 +00:00
Doris Ling
ac8cb35208 Switch to use new activity title handling.
Bug: 64564191
Test: make RunSettingsRoboTests
Change-Id: I66894c1541ea483ab4fe4b1b68ba5f94b9a5e210
2017-10-31 12:27:50 -07:00
Fan Zhang
c519347aee Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80 -s ours am: 9bb4e0b794 -s ours
am: fddccf0838  -s ours

Change-Id: I2a7a57a4b63b5ed34e65801f27582f26b3eb1baf
2017-10-31 19:08:16 +00:00
Fan Zhang
fddccf0838 Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80 -s ours
am: 9bb4e0b794  -s ours

Change-Id: I139f18df764f1d888cc6d7687aba5a23ab30053f
2017-10-31 18:47:59 +00:00
Fan Zhang
9bb4e0b794 Merge "Set device credential's Window flag to be SECURE." into oc-dev
am: e3d0bbcc80  -s ours

Change-Id: I8be390dc1e5190029be41a55c014c9e2705c7aef
2017-10-31 18:36:12 +00:00
Fan Zhang
e3d0bbcc80 Merge "Set device credential's Window flag to be SECURE." into oc-dev 2017-10-31 18:25:36 +00:00
TreeHugger Robot
f60c99af53 Merge "Display network name in status bar" 2017-10-31 17:52:47 +00:00
TreeHugger Robot
9138de153c Merge "Add a dialog when turning off oem unlock dialog." 2017-10-31 17:11:30 +00:00
Yoshinori Hirano
53cfd11793 Display network name in status bar
When config_showOperatorNameInStatusBar is true, "Network name" setting
is displayed in Settings app (Settings > Display).
The user can turn on/off the feature to display the network name in the
status bar from Settings app.

Fixes: 67620513
Test: manual - go to Settings > Display and turn on/off Network name.

Change-Id: I43f1d9cbea363527250639ce6146f1c5c6c8a482
2017-10-31 09:08:06 -07:00
Bill Yi
d1530813da Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: a68a0f0463 -s ours am: 9a983dd72f -s ours
am: 2e841fd17e  -s ours

Change-Id: I422bdfa795c7cc91ac736c1e7eb0e8e254078034
2017-10-31 03:55:26 +00:00
Bill Yi
d90d7c5193 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 89688902b8 -s ours
am: d3528de4c9  -s ours

Change-Id: I05bcb32b3c013d15a76939a3a974f88d36d94aeb
2017-10-31 03:54:53 +00:00
Bill Yi
2e841fd17e Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: a68a0f0463 -s ours
am: 9a983dd72f  -s ours

Change-Id: I072b7f8f6e320f2339b1b134193aabc2c654604c
2017-10-31 03:46:08 +00:00
Bill Yi
d3528de4c9 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 89688902b8  -s ours

Change-Id: I443ed7404e199e87ec76d7f4724f0b66de7f3e19
2017-10-31 03:45:23 +00:00
Bill Yi
9a983dd72f Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: a68a0f0463  -s ours

Change-Id: I4b9282935fe15d3c1418edb43506aad058a3e485
2017-10-31 03:41:23 +00:00
TreeHugger Robot
89688902b8 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-10-31 03:35:52 +00:00
TreeHugger Robot
a68a0f0463 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-10-31 03:34:28 +00:00
TreeHugger Robot
9fb5426315 Merge "Enable suggestion v2 experiment" 2017-10-31 02:55:03 +00:00
Fan Zhang
33ad251a38 Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev am: 83c49be1da am: fb06488712
am: 601fdf83f9

Change-Id: I745f8ae697987149ec4d905f4607aae2966dfcfe
2017-10-31 02:53:09 +00:00
Fan Zhang
601fdf83f9 Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev am: 83c49be1da
am: fb06488712

Change-Id: I1153c5c89819e8083d77d0ecd9e3ca982d199f40
2017-10-31 02:48:01 +00:00
Fan Zhang
fb06488712 Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev
am: 83c49be1da

Change-Id: Iacdaedc972e9d8ba013860be1442620c46c4f19d
2017-10-31 02:44:34 +00:00
TreeHugger Robot
40ebbf01a5 Merge changes from topic "small_icons"
* changes:
  Use small icon in location and vpn settings UI
  Clean up: use AppPreference for PowerGaugePreference
  Switch to use small icon for most app related pages
  Update UI to use a smaller icon for ManageApplication page.
2017-10-31 02:44:21 +00:00
TreeHugger Robot
83c49be1da Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev 2017-10-31 02:37:43 +00:00
TreeHugger Robot
f12dbf9333 Merge changes from topic "anomaly_metric_update"
* changes:
  Add metric log for anomaly.
  Add metric id for anomaly fragments.
2017-10-31 02:09:47 +00:00
TreeHugger Robot
1f88913674 Merge "Move the bluetooth icon logic to settingslib" 2017-10-31 01:59:37 +00:00
TreeHugger Robot
fd234a07be Merge "Don't consider managedProfile in PowerUsageAdvanced" 2017-10-31 01:54:25 +00:00
Bill Yi
97eec4be9f Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: If1e768b33481061f37bac9612b862ece348f15fb
2017-10-30 18:16:54 -07:00
Bill Yi
e2dbd96742 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Idb8eeaa4ee52a3d250c95a164a7bf28512d32901
2017-10-30 18:12:54 -07:00
Fan Zhang
f9e985d018 Enable suggestion v2 experiment
Bug: 68662574
Test: robotests
Change-Id: Ib8aeef45ebe1260e9c8699e231db37840a0ce3db
2017-10-30 18:06:40 -07:00
TreeHugger Robot
e06aa2e739 Merge "Remove DividerPreference and its corresponding usage." 2017-10-31 01:00:30 +00:00
Fan Zhang
47a50edf31 Add a dialog when turning off oem unlock dialog.
Change-Id: I93a93c0a110c2770d3701b5449c7939f941c7593
Fixes: 28199132
Test: robotests
2017-10-30 17:53:11 -07:00
jackqdyulei
e233162c3a Add metric log for anomaly.
This cl creates metric log when anomaly surfaces in battery page or
anomaly dialog.

Each anomaly action contains two fields:
1. FIELD_CONTEXT(int): determine which fragment start this action.
2. FIELD_ANOMALY_ACTION_TYPE(int): determine action type for this
anomaly.

Bug: 68215016
Test: RunSettingsRoboTests
Change-Id: I83761e2a9c206ea7a04f7d031a6961fdab7ca9a0
2017-10-30 16:00:16 -07:00
Fan Zhang
fc29247da4 Use small icon in location and vpn settings UI
Fixes: 65182905
Test: rerun tests
Change-Id: I18aa5c5bb4c8f573872cda3d003506c4dff5177c
2017-10-30 14:24:49 -07:00
Matthew Fritze
fb772248b1 Move search querying into a single API
Settings now collects search results from a single
loader which fetches from an aggregator. This is to
facilitate the separation of search functionalitiy,
where "query" becomes a single synchronous call.
In this case, the aggregator will move to the
unbundled app and would be called on the
other end of the Query call. i.e. the new search
result loader will just call query, and unbundled
search will handle everything else.

An important implication is that the results will
be returned in a ranked order. Thus the ranking and
merging logic has been moved out of the RecyclerView
adapter (which is a good clean-up, anyway).

The SearchResultAggregator starts a Future for each
of the data sources:
- Static Results
- Installed Apps
- Input Devices
- Accessibility Services

We allow up to 500ms to collect the static results,
and then an additional 150ms for each subsequent
loader. In my quick tests, the static results take
about 20-30ms to load. The longest loader is installed
apps which takes roughly 50-60ms seconds (note that
this will be improved with dynamic result caching).

To handle the ranking in DatabaseResultLoader,
we start a Future to collect the dynamic ranking before
we start the SQL queries. When the SQL is done, we
wait the same timeout as before. Then we merge the
results, as before.

For now we have not changed how the Dynamic results
are collected, but eventually they will be a cache
of dynamic results.

Bug: 33577327
Bug: 67360547
Test: robotests
Change-Id: I91fb03f9fd059672a970f48bea21c8d655007fa3
2017-10-30 14:20:49 -07:00