Commit Graph

47912 Commits

Author SHA1 Message Date
TreeHugger Robot
16375fc150 Merge "Rename NetworkCycleData to NetworkCycleChartData." 2018-09-29 01:14:24 +00:00
Doris Ling
4a99c36572 Rename NetworkCycleData to NetworkCycleChartData.
Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I47c1bbe09f11f4d0bd0d41c1f9d4c3e5a3773f05
2018-09-28 16:40:38 -07:00
Fan Zhang
6acbc9337e Move search resources to settingslib-search
Bug: 113128828
Test: manual
Change-Id: I2c513dd22e84d5f86bd282e10d0b0df19f9ce407
2018-09-28 16:38:23 -07:00
Lucas Dupin
8e57afb2cb Wake screen gesture
Settings page for gesture that allows the display to wake up.
Can be configured via overlays using config_dozeWakeScreenSensorType

Bug: 111414690
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WakeScreenGesturePreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WakeScreenGestureSettingsTest
Change-Id: Ic44f0ee9e781bda3b06cf4896217b324b9e3606c
2018-09-28 16:25:47 -07:00
TreeHugger Robot
dac739de2a Merge changes from topic "angle_integration4"
* changes:
  Add ANGLE enable to Developer Options
  Allow AppPicker to filter only non-system apps
2018-09-28 23:12:30 +00:00
TreeHugger Robot
f53f814be0 Merge "Create the default static cards for Contextual Settings Homepage" 2018-09-28 22:40:38 +00:00
Lucas Dupin
02fe52963a Merge "Renaming gesture" 2018-09-28 22:00:56 +00:00
Mill Chen
623eb5a904 Create the default static cards for Contextual Settings Homepage
Adding three default ContextualCard data to CardContentProvider, in case
of empty database or no SettingsIntelligence, to keep Contextual
Settings Homepage working well.

Bug: 113372471
Test: visual, atest SettingsHomepageActivityTest
Change-Id: Id7b26818e10f7945b2618100901310a005d8cc0d
2018-09-28 14:23:14 -07:00
Lucas Dupin
ade9180e7b Renaming gesture
Bug: 111414690
Test: manual
Test: ReachGesturePreferenceControllerTest, ReachGestureSettingsTest
Change-Id: I34cd4aacabc912122c553bf9c955a8ca4494230b
2018-09-28 12:53:12 -07:00
Jordan Liu
6fd429f388 [automerger skipped] Merge "Refresh subscription info when subid changes" into pi-dev am: c07bb01f75
am: ff1e05840f  -s ours

Change-Id: I3ba9aad5f375c1b1c8c9e0ab37a687336ac2b6b2
2018-09-28 12:25:48 -07:00
Jordan Liu
ff1e05840f Merge "Refresh subscription info when subid changes" into pi-dev
am: c07bb01f75

Change-Id: I955728bbde5ea462ebce0dc2099ccfd965862727
2018-09-28 12:17:49 -07:00
TreeHugger Robot
c07bb01f75 Merge "Refresh subscription info when subid changes" into pi-dev 2018-09-28 19:00:35 +00:00
Doris Ling
5d397194ec Merge "Add version 2 of AppDataUsage." 2018-09-28 17:33:07 +00:00
TreeHugger Robot
cc9ffafb80 Merge "Remove custom Robolectric util class." 2018-09-28 16:18:28 +00:00
TreeHugger Robot
3f9ded6206 Merge "Changed the app_version type" 2018-09-28 03:33:22 +00:00
tmfang
a09325ea18 Remove custom Robolectric util class.
We directly use Robolectric/ActivityController to
setup an FragmentActivity lifecycle.

So, I removed the custom Robolectric in robotests/testutils.

Change-Id: Ib93265f719e1eb9606c9ad6f05c1dd1957302e8b
Fixes: 111195450
Test: robotests
2018-09-28 11:26:17 +08:00
TreeHugger Robot
5f9d178360 Merge "A new attribute which can show the dynamic summary" 2018-09-28 02:38:12 +00:00
Kevin Chyn
a94e1aaf34 Merge "Update FaceSettings to match mocks" 2018-09-28 02:12:55 +00:00
Doris Ling
0d218d0798 Add version 2 of AppDataUsage.
- a simple copy of AppDataUsage to AppDataUsageV2, so that future
modification can be compared more easily.

Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I4deb8fcd93ae1ea391fc5fca0ff28c6dc57bfef9
2018-09-27 16:53:31 -07:00
jackqdyulei
e95f07dff6 Still check the visibility of view
Since EAP has many sub type, which controls differnet view. We still need to check the
visibility to determine which type it is.

Bug: 116767176
Test: RunSettingsRoboTests
Change-Id: Iee04a50140ae1afacdf77eedf7743a465bae1f58
2018-09-27 16:37:48 -07:00
TreeHugger Robot
f2b61c9c5c Merge "Import translations. DO NOT MERGE" 2018-09-27 19:36:26 +00:00
Doris Ling
2581c09679 Merge "Use the loader to get usage data for each billing cycle." 2018-09-27 17:15:58 +00:00
tmfang
c28c836dcb Remove FragmentUtilsTest class
We directly use FragmentController to start fragment.

Change-Id: Iff78f321165d666f96d84f001ff054257a1aaede
Fixes: 111195449
Test: robotest
2018-09-27 18:51:20 +08:00
Sunny Shao
672febf859 Changed the app_version type
- Updated type from string to long and saved the PackageInfo.getLongVersionCode
- Modified CardDatabaseHelper, ContextualCard, CardContentProviderTest

Bug: 111820446
Test: robotest
Change-Id: Id2d39f15a1743b9f38044354a0c3b2584329bab9
2018-09-27 17:46:55 +08:00
Bill Yi
203789f697 Import translations. DO NOT MERGE
Change-Id: I9a392b846a54d62f9152f3c102ef3cd6ea3a0689
Auto-generated-cl: translation import
2018-09-26 19:37:25 -07:00
Fan Zhang
67793945f0 Remove custom robotest utils in favor of framework support.
Bug: 111195450
Fixes: 111195167
Test: robotests
Change-Id: I8bea43fd86f9ae5ce40eb16dabf733b0fbe89aae
2018-09-26 17:28:08 -07:00
Fan Zhang
9f3cd7a621 [automerger skipped] Clean up task affinity. am: ff3652e0a3
am: eb43cc70c8  -s ours

Change-Id: I21db6e54e025668c68ed3ff1d62dd13925790f8f
2018-09-26 15:48:17 -07:00
jackqdyulei
e04daba671 Set the layoutPreference not selectable
In this way it won't yell out "Double-tap to activate"

Change-Id: Ie5d97f91d32ab7db1f1cec308521e7327d1fbaa4
Fixes: 116666315
Test: Manual
2018-09-26 15:41:40 -07:00
Fan Zhang
eb43cc70c8 Clean up task affinity.
am: ff3652e0a3

Change-Id: I6727cae2ce9330860ad40104b20e00e8ecf58556
2018-09-26 15:23:11 -07:00
Stanley Tng
020b0b0476 Add Feature Flag for Hearing Aid Profile
Using the Settings App-Developer Options-Feature Flag, allow the user to
enable or disable the Hearing Aid Profile.

Bug: 116725094
Bug: 116044083
Test: Manual testing using Settings App
Change-Id: I16b51d7feabc914219c24731eb39a23bd1782571
Merged-In: I16b51d7feabc914219c24731eb39a23bd1782571
(cherry picked from commit 068c2547f6)
2018-09-26 14:12:29 -07:00
timhypeng
79d7fdc4f3 To show hearing aids device in the available devices group
Bug: 116725094
Bug: 116044083
Bug: 79553082
Test: make -j50 RunSettingsRoboTests
Change-Id: I8fe5eb653d332ef5ac4a566146f150774581167c
Merged-In: I8fe5eb653d332ef5ac4a566146f150774581167c
(cherry picked from commit 1c21bff103)
2018-09-26 14:12:00 -07:00
Doris Ling
654adf9c9e Use the loader to get usage data for each billing cycle.
Bug: 111751694
Test: make RunSettingsRoboTests
Change-Id: I4242687b404a290e81d43c505b9afbd2a07aafdb
2018-09-26 13:33:10 -07:00
Kevin Chyn
a8843f2959 Update FaceSettings to match mocks
Settings page should not show if device credential is not confirmed

Bug: 111548037
Fixes: 116531896

Test: adb shell settings get secure face_unlock_app_enabled
Test: make -j56 RunSettingsRoboTests

Change-Id: I651ee88e9ee4017ee3dc52fa8a5d05cb8f092e1d
2018-09-26 11:50:02 -07:00
jackqdyulei
b152e6dd1b Update "Previous connected device" preference
1. Show up to 3 devices in main page
2. Add "See all" preference to go ot detail page

Bug: 116350449
Test: Screenshot && RunSettingsRoboTests
Change-Id: Iee0de8a2b7f2543e946a117ba2d9ca9dde6c8678
2018-09-26 11:08:58 -07:00
Fan Zhang
ff3652e0a3 Clean up task affinity.
If activity is launched through external intent, back button should just
go back to previous screen.

Change-Id: I5b2e57d2751f5ed7c17140d3eb8d54736b78053c
Merged-In: I5b2e57d2751f5ed7c17140d3eb8d54736b78053c
Bug: 112254258
Fixes: 111864355
Test: manual
2018-09-26 17:53:05 +00:00
Mill Chen
092f66b279 Merge "Add Data usage slice in Contextual Settings Homepage" 2018-09-26 14:55:31 +00:00
Leon Liao
1f1671ca28 Merge "Rename isConnectable()" am: ec65174f11 am: 09385137e3
am: af7aed6d79

Change-Id: I5b0a11396ccce092778b6cfda444f52cfd469525
2018-09-26 06:25:41 -07:00
Leon Liao
af7aed6d79 Merge "Rename isConnectable()" am: ec65174f11
am: 09385137e3

Change-Id: Iffe650dd574633cacc6197c6f6f69316b528fb0a
2018-09-26 06:14:55 -07:00
Leon Liao
09385137e3 Merge "Rename isConnectable()"
am: ec65174f11

Change-Id: Ibfc536ba78a118bc33890e52efa6650b21bff62e
2018-09-26 05:59:20 -07:00
tmfang
8eb46b717e A new attribute which can show the dynamic summary
For now, slice view shows screen title by default,
but it isn't approprate for some simple cases.
ie, device model, phone number, android version etc.

So, We create a new attribue which let BasePreferenceController
be more flxible. User can choose what they want to show
in summary text.

Fixes: 74900516
Test: make RunSettingsRoboTests

Change-Id: I2788c6edfaf8e656170a507607f22513841a3e0a
2018-09-26 17:48:12 +08:00
Adam He
a8192e1cb8 Use AFM.getAutofillServiceComponentName() in Settings's AutofillPickerTrampolineActivity
Fixes: 80189659
Test: m -j Settings && adb sync && adb shell kill `pid com.android.settings` && adb shell am start com.android.settings

Change-Id: I3dc4ebd1a8ffb26b131905c3fc4ed59567049925
2018-09-26 02:16:51 +00:00
TreeHugger Robot
c08dcbd700 Merge "Remove check to limit suggestions to 2" 2018-09-25 23:19:13 +00:00
TreeHugger Robot
c22c1be236 Merge "Redo the empty states in print settings" 2018-09-25 23:10:02 +00:00
Leon Liao
ec65174f11 Merge "Rename isConnectable()" 2018-09-25 23:06:20 +00:00
TreeHugger Robot
25d95e0dec Merge "Add 'notificaton blocked' filter to notifications" 2018-09-25 22:34:37 +00:00
TreeHugger Robot
36f47db6ae Merge "Clean up: remove unused SuggestionFeature api." 2018-09-25 22:01:53 +00:00
Fan Zhang
050876fbec Merge "Fix add icon" 2018-09-25 20:56:30 +00:00
Fan Zhang
479be0d5ff Remove check to limit suggestions to 2
This is already enforced from SuggestionService side.

Test: rebuild/robotests
Change-Id: Icd5faa3b7114b369d96459b00b43d4e7eaeae5c5
2018-09-25 20:50:14 +00:00
Fan Zhang
9c5c64891b Clean up: remove unused SuggestionFeature api.
Test: robotests
Change-Id: I91d06d93834674ca6019a86f8b3891198d424d7a
2018-09-25 13:16:59 -07:00
Fan Zhang
394ea1cde5 Merge "Move AppPreference to settingslib, and change imports." 2018-09-25 19:15:19 +00:00