Commit Graph

14339 Commits

Author SHA1 Message Date
Jeff Sharkey
159dff63a5 Give CTS the handle it expects to remove PIN.
When the Direct Boot tests go to remove the PIN set in previous
tests, it needs to find the option that will remove the PIN.  Recent
changes for fingerprint caused this "none" option to be hidden, so
assign the "none" ID to the "skip" option.

Test: cts-tradefed run cts-dev --module CtsAppSecurityHostTestCases --test android.appsecurity.cts.DirectBootHostTest
Bug: 31160946
Change-Id: I0b34cbfae45d1db8ee58a5ef66738414f5e2fc27
2016-10-04 13:45:38 -06:00
Fan Zhang
c6540cfb57 Add search provider for system dashboard fragment.
Bug: 31801428
Test: manual
Test:make RunSettingsRoboTests
Change-Id: I6a80d64ed9755f4ddcfde33a82be04cfcbf0495b
2016-10-04 11:10:36 -07:00
Fan Zhang
9574fb805a Merge "Listen to category changes in preference fragment." 2016-10-04 01:41:05 +00:00
Fan Zhang
a3e77342d9 Merge "Move system update preference from device_info to system." 2016-10-03 23:44:58 +00:00
Fan Zhang
81adfcfcca Listen to category changes in preference fragment.
Bug: 31781480
Test: make RunSettingsRoboTests
Change-Id: I702e524eb3a9e40b653e112dba80d620be3bc9bb
2016-10-03 16:38:02 -07:00
Fan Zhang
1a5de69405 Merge "Fix a NPE when rotating dialog created by DialogCreatable." 2016-10-03 22:46:38 +00:00
jackqdyulei
d785a8db78 Add "FILTER_NOT_HIDE" for all app filters.
The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
are hiden in settings > apps unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I28a38b5780cb63fe22af12d80cc24e965b2b83cf
2016-10-03 15:14:12 -07:00
Matthew Fritze
7ac78f2daf Prevent monkey tests from crashing with race conditions
Change-Id: I3eb7d5549aba2f9684f97e8ee7c56c469f9daae0
Fixes: 31856366
Test: None, monkey test race conditions.
2016-10-03 13:53:51 -07:00
Fan Zhang
9c1fcf9916 Move system update preference from device_info to system.
In order to move the preference and its logic cleanly, created a
controller object that encapsulates the preference/click handler.

Bug: 31801428
Test: RunSettingsRoboTests
Change-Id: I332384e20fbf0e21d2f3becb531d97b20f7f7ef1
2016-10-03 13:53:45 -07:00
Fan Zhang
4fe7c0859f Fix a NPE when rotating dialog created by DialogCreatable.
Bug: 30088727
Test: make RunSettingsRoboTests
Change-Id: I775899809dfe920daa294f70d646b141da7c0706
2016-10-03 13:50:59 -07:00
Salvador Martinez
32fd735a1c Merge "BluetoothDialog view fixed for no pair code case" 2016-10-03 19:52:12 +00:00
TreeHugger Robot
bd2322afe4 Merge "Fix a NPE in confirm lock screen." 2016-10-03 17:43:19 +00:00
Fan Zhang
774e1d8443 Fix a NPE in confirm lock screen.
Change-Id: Id280cd1b8781678540c9ea281b3186edd04d61f9
Fixes: 31895774
Test: make RunSettingsRoboTests
Test: manually enter correct/wrong/empty password/pin in confirm lock UI
2016-10-03 09:05:55 -07:00
Matthew Fritze
f14f54f128 Prevent double tap on suggestions am: 703dc60b14 am: ae3ad11e69
am: 8bf5fa437e

Change-Id: I5c5dae114f51364f63fe37b6511e5bd1c376282a
2016-10-01 00:40:35 +00:00
Philip P. Moltmann
f9ca06b367 Merge "USB restriction is similar to media restriction" into nyc-mr1-dev 2016-10-01 00:16:12 +00:00
Fan Zhang
cc335d9509 Rearrange a few settings into System category page.
- Use activity-alias to define which activity shows up in what category.
  We choose activity-alias because it creates a reference to UI we need
  without having to define a new set of intent-filter and/or category
  keys. This reduces maintainence in the long run. We should merge
  metadata from activity-alias into targetActivity when cleaning up.

- Created new System dashboard activity that hosts all system category
  tiles dynamically, and a static tile for checking system update.

Bug: 31781480
Test: manual
Test: make RunSettingsRoboTests -j40
Change-Id: Ia2d762e3e1aebd17423a395c5e6c286dc3326492
2016-09-30 16:03:46 -07:00
Matthew Fritze
8bf5fa437e Prevent double tap on suggestions am: 703dc60b14
am: ae3ad11e69

Change-Id: Ie53d72bf5e504cdc87d01ce0aeef1683b9d72214
2016-09-30 22:47:58 +00:00
Matthew Fritze
ae3ad11e69 Prevent double tap on suggestions
am: 703dc60b14

Change-Id: I29e1f6aff53fc0c97ea5fabf325838981f1ef57f
2016-09-30 22:41:32 +00:00
Philip P. Moltmann
13ee50be48 USB restriction is similar to media restriction
Bug: 31472955
Change-Id: I3682ccd102565982c434d70fc0d907b1aa779689
(cherry picked from commit 58e2b50292)
2016-09-30 21:18:14 +00:00
Matthew Fritze
703dc60b14 Prevent double tap on suggestions
Change-Id: I963d96b75cb5d464b6f91cf0824aee6e21cfeff0
Fixes: 31856366
2016-09-30 14:13:53 -07:00
Salvador Martinez
4d279a56f5 BluetoothDialog view fixed for no pair code case
BluetoothPairingDialog no longer asks for a
pair code when the user only needs to
confirm that they would like to connect
to a device. Also, the layout padding
was updated a bit to make it look nicer.

Test: RunSettingsRoboTests
Bug: 31340598
Change-Id: I9394fcd53dffcff9a17fbafabdce0e94ae88fba2
2016-09-30 21:04:20 +00:00
jackqdyulei
fbab059e1c Adjustments based on the changes in ZoneGetter(settingslib)
In settingslib, now the two public functions in ZoneGetter have
the same logic(display the same name based on locale). This cl
is to deal with changes in Settingslib.

Bug: 19764807
Test: ag/1490275
Change-Id: I3e1c0bface752dc2ef4653ff58c4639c262964c1
2016-09-30 12:23:42 -07:00
Matthew Fritze
2fb386ac8f Support dialog disclaimer text now appears properly am: adc5555acf am: bbe0e8a30b
am: 1869973e12

Change-Id: I780f4b595fe276a3898237eb42d0852e7a7a5321
2016-09-30 17:02:27 +00:00
TreeHugger Robot
91a4c542d1 Merge "resolve merge conflicts of af840b5 to master" 2016-09-30 16:58:49 +00:00
Garfield Tan
dbd039a6de resolve merge conflicts of af840b5 to master
Change-Id: I8a31d08dae71d5cb71ae01c06ead4ebf32f89121
2016-09-29 18:08:25 -07:00
Matthew Fritze
1869973e12 Support dialog disclaimer text now appears properly am: adc5555acf
am: bbe0e8a30b

Change-Id: I42f693c150af45e2a6c57d82c30d0b5ffc9dd0ed
2016-09-30 00:22:26 +00:00
Matthew Fritze
bbe0e8a30b Support dialog disclaimer text now appears properly
am: adc5555acf

Change-Id: I8eefba43b0e919f502c91f5f770d446c1d17a4e3
2016-09-30 00:20:27 +00:00
Matthew Fritze
cf0f301250 Merge "Support dialog disclaimer text now appears properly" into nyc-mr1-dev 2016-09-30 00:12:55 +00:00
Meng Wang
c77206f536 Merge "WifiCallingSettings: remove MetricsLogger" 2016-09-30 00:02:00 +00:00
Garfield Tan
af840b584d Launch other info in storage in correct user id. am: 493bf348b9
am: 1ab4f4b816

Change-Id: I93d5222647efd84eb6c1d159c053455fbb382c13
2016-09-29 23:29:21 +00:00
Garfield Tan
1ab4f4b816 Launch other info in storage in correct user id.
am: 493bf348b9

Change-Id: Iced863d798194b66b549e4213b5f813c2773ac1b
2016-09-29 23:23:50 +00:00
Matthew Fritze
adc5555acf Support dialog disclaimer text now appears properly
The string override between Settings and SettigsGoogle was not properly
distinguishing, and was defaulting to the AOSP version.

Bug: 31827726
Test: Manual
Change-Id: Iebd8681fb4f040e956f05fb0f5d96deae9eec26f
2016-09-29 22:32:10 +00:00
Garfield Tan
493bf348b9 Launch other info in storage in correct user id.
Bug: 31592290
Change-Id: I816668c7ff9d1b443d4b49e17bdcfa39ef335aee
2016-09-29 14:45:50 -07:00
TreeHugger Robot
96fa06ebf7 Merge "Use DashboardFeatureProvider to load homepage tiles." 2016-09-29 21:19:34 +00:00
TreeHugger Robot
4fac4648b3 Merge "Maintain focus on switch for a11y" 2016-09-29 20:03:48 +00:00
Meng Wang
ee54eb8ffe WifiCallingSettings: remove MetricsLogger
Test: make
Change-Id: Ifd9ac2f6b35bd851f29189c090e49c0728730ec0
2016-09-29 12:36:45 -07:00
Fan Zhang
a96a2d8d60 Use DashboardFeatureProvider to load homepage tiles.
Adding support to homepage category.

Test: SettingsRoboTests for regression. Will write tests for new feature
soon once we are set on the data structure.
Bug: 31781480

Change-Id: I25fa367fecb643f17e23f0182df7585bf1fcdd02
2016-09-29 12:31:10 -07:00
TreeHugger Robot
0231d64190 Merge "Settings timeout for suggestions" 2016-09-29 18:44:24 +00:00
Salvador Martinez
d969a5f53d Settings timeout for suggestions
If loading suggestions takes too long (750ms)
settings will display just the categories
so the user does not get confused.

Test: Forthcoming
Bug: 31203004
Change-Id: Ic9866a5ccdcef965908db8c4592435a5d252f7b0
2016-09-29 18:39:47 +00:00
Salvador Martinez
8807594800 Maintain focus on switch for a11y
Modified subsetting where user can toggle
if an app should be able to modify system
settings so that talkback announces state
change properly.

Test: Accessibility Scanner, Manual Verification
Bug: 31755538
Change-Id: I54ad016b5edb0937b77cfdeef0cfcae24a78e2a2
2016-09-29 18:02:38 +00:00
Lei Yu
f4c5904863 Merge "Add classloader for RtlCompatibleViewPager" 2016-09-29 16:52:37 +00:00
Narayan Kamath
6fd19a1d70 WifiCallingSettings: Fix build.
Test: make
Change-Id: Ic22e32c960380fd6c2a6fa959d613941d13d815b
2016-09-29 15:10:17 +01:00
Matthew Fritze
202193109b Tablet Settings Layout is no longer stretched am: c4a9b18121 am: a936610ae2
am: fa7aa9663e

Change-Id: I7865b06593fc99cabe78dac7bb4a3574dea79404
2016-09-29 05:59:08 +00:00
Meng Wang
c59b12a4fc WiFiCallingSettings: show roaming preferrence am: fe3749dd0b am: 335b3488f9
am: 9f0d5f7e5d

Change-Id: Ie899eba9566d12534dd9bf524542c1a5f00cb38b
2016-09-29 05:55:00 +00:00
jackqdyulei
0bfee2799d Add classloader for RtlCompatibleViewPager
To avoid BadParcelableException when reload the activity after it
is killed by OS.

Bug: 31707097
Test: make SettingsTests && adb install -r \
${OUT}/data/app/SettingsTests/SettingsTests.apk && \
adb shell am instrument -w \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Change-Id: Ic8f20d9e2d236f0bea96071a88fbc6e7ba856f54
2016-09-28 17:56:04 -07:00
Matthew Fritze
fa7aa9663e Tablet Settings Layout is no longer stretched am: c4a9b18121
am: a936610ae2

Change-Id: Ib6d604f753d3424d67396c9e051829cad43d6d76
2016-09-29 00:36:04 +00:00
Meng Wang
9f0d5f7e5d WiFiCallingSettings: show roaming preferrence am: fe3749dd0b
am: 335b3488f9

Change-Id: I9a6d86727a29991056f452b74bcc5632bb8750a9
2016-09-29 00:30:54 +00:00
Matthew Fritze
a936610ae2 Tablet Settings Layout is no longer stretched
am: c4a9b18121

Change-Id: Ie103fd6248bd206e517c5f7de880b76862b831ba
2016-09-29 00:27:17 +00:00
Meng Wang
335b3488f9 WiFiCallingSettings: show roaming preferrence
am: fe3749dd0b

Change-Id: I10a1a2e443e3c678db3fa892d4c1331339e8df85
2016-09-29 00:22:18 +00:00
TreeHugger Robot
6cafff3b2c Merge "Tablet Settings Layout is no longer stretched" into nyc-mr1-dev 2016-09-29 00:16:24 +00:00