Commit Graph

49061 Commits

Author SHA1 Message Date
TreeHugger Robot
a09d0fdda2 Merge "Schematize Setup Wizard System Properties" 2018-12-21 01:01:49 +00:00
TreeHugger Robot
86005a91b3 Merge "Make taps on subscriptions in multi-network header go to mobile page" 2018-12-20 18:59:54 +00:00
Doris Ling
a60cc8ab6e Merge "Update the name of the status bar theme for Theme.Settings.HomeBase." 2018-12-20 18:02:49 +00:00
Antony Sargent
8e57fedc95 Make taps on subscriptions in multi-network header go to mobile page
This CL does 2 things:

-Makes the MobileNetworkActivity class capable of showing details for
 "available" in addition to just "active" networks. This is useful for
 dual-standby devices where one subscription is active and another is
 registered but not currently active. It also changes the title of this
 screen to be the network display name (defaults to the carrier name
 but can be customized by the user) instead of the generic "Mobile
 network".

-Wires up the subscription entries in the multi-network header (which
 only appears when a device has multiple subscriptions) so that taps on
 a subscription preference bring you to the MobileNetworkActivity screen
 to show details for that network.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I0e985652c1d8ec3c597b6b6e4426d222e2ad5352
2018-12-20 09:03:34 -08:00
TreeHugger Robot
88501c6561 Merge "Update owners" 2018-12-20 10:54:23 +00:00
TreeHugger Robot
4bd75b0715 Merge "Implement QR code parser WifiQrCodetest." 2018-12-20 10:05:26 +00:00
Inseob Kim
af715d8527 [automerger skipped] Merge "Remove unused system properties" am: fd0426d438 am: c3eb0887b0
am: 9d78bf6557  -s ours

Change-Id: If0f0c9b5a3ad48272ff626d666b7a27c116bbeee
2018-12-20 01:52:24 -08:00
Inseob Kim
9d78bf6557 Merge "Remove unused system properties" am: fd0426d438
am: c3eb0887b0

Change-Id: If0837ac203b720b57868c1e6bbb64b05f7f8ffbf
2018-12-20 01:42:16 -08:00
Inseob Kim
c3eb0887b0 Merge "Remove unused system properties"
am: fd0426d438

Change-Id: I6f33268a640fb14ec8e9cd2fc5acec94ac25697d
2018-12-20 01:37:03 -08:00
Treehugger Robot
fd0426d438 Merge "Remove unused system properties" 2018-12-20 09:24:39 +00:00
TreeHugger Robot
90e932be83 Merge "Remove unused system properties" 2018-12-20 08:28:58 +00:00
TreeHugger Robot
9d3eddcb66 Merge "Add new layout for Slice half card" 2018-12-20 08:00:33 +00:00
Arc Wang
e1b6712926 Implement QR code parser WifiQrCodetest.
The parser supports standard WI-Fi DPP QR code & ZXing reader library's
Wi-Fi Network config format.

Bug: 118797380
Test: atest WifiQrCodetest
      atest RunSettingsRoboTests

Change-Id: Ia47b8f65a900099749a6aa24afa3abd21ede1582
2018-12-20 15:12:34 +08:00
Pasty Chang
b8af3afff8 Merge "Migrating to new footer button for fingerprint and face enrolling pages." 2018-12-20 07:07:29 +00:00
Mill Chen
3f3823e456 Add new layout for Slice half card
- Extract dismissal view as a layout xml and reuse it in half card
- fixed minor naming convention

This new layout is composed of custom views and the purpose is to
show slice in half width form in contextual homepage.

Bug: 119655434
Test: visual
Change-Id: I224d8bc1b7f95f969f6a134a316bd80b4cd013ee
2018-12-20 14:32:22 +08:00
Fan Zhang
fe0f98badd Update owners
Forgot 1 person last time.

Test: rebuild

Change-Id: I5953cc740c9c0683ec5b5622e9552f6ebdd3e6be
2018-12-19 20:24:23 -08:00
Jason Chiu
02395bf67f Merge "Add Icon at the start of the first row for all contextualcards" 2018-12-20 03:56:47 +00:00
TreeHugger Robot
7ee2f0fe57 Merge "Replace ArgumentCaptor with getReceiversForIntent()" 2018-12-20 03:46:46 +00:00
TreeHugger Robot
307b83ea81 Merge "Fix talkback speaks "double tap to activate" on preference" 2018-12-20 03:39:22 +00:00
Jason Chiu
4bc29425d9 Add Icon at the start of the first row for all contextualcards
- set Icon as a title item rather than an end item in slice builders
- call showTitleItems in renderer

Test: robotest
Bug: 119639527
Change-Id: I043173968ceb3d34e38c2e43ad824b923e647d47
2018-12-20 03:07:19 +00:00
timhypeng
e7cc5d6431 Replace ArgumentCaptor with getReceiversForIntent()
Bug: 117989208
Test: make -j RunSettingsRoboTests
Change-Id: I0a790a6af4075fbb2228aa77c3a4e237d89e3b98
2018-12-20 01:52:08 +00:00
Lei Yu
08caceba9c Merge "Add translatable="false" for config string array" 2018-12-20 01:11:30 +00:00
Inseob Kim
1119bb9399 Remove unused system properties
Properties ro.config.license_path and ro.config.manual_path are not set
from anywhere but only from a test.

Bug: N/A
Test: mma -j
Change-Id: I651405f3a201f5129bf37059e96e7bcc5efa73bf
Merged-In: I651405f3a201f5129bf37059e96e7bcc5efa73bf
2018-12-20 00:33:24 +00:00
Doris Ling
c00b1a2d41 Update the name of the status bar theme for Theme.Settings.HomeBase.
- the name of the style has been changed, need to update its reference.

Bug: 117401043
Test: rebuild
Change-Id: If29845f3479a25c7c82d04192ab8897d58b93ec1
2018-12-19 16:04:44 -08:00
Raff Tsai
736eae02bd Fix talkback speaks "double tap to activate" on preference
Talkback will speak "double tap to activate" on clickable view.
But the SliderPreference is not clickable. Because it is default
clickable for Preference. We should set android:selectable in every
SliderPreference.

Change-Id: I7bf09c2a7e2d8688352e35c1882674b6e73e5db7
Fixes: 121111172
Test: Manual
2018-12-20 06:57:52 +08:00
jackqdyulei
0edddca95a Add translatable="false" for config string array
Change-Id: Ic6a5423afe8fdb5b877140c5aaf16f65026135a3
Fixes: 115712164
Test: Manual
2018-12-19 14:42:14 -08:00
Aurimas Liutikas
727ce8ec66 Merge "Revert "Revert "Fix test case fail""" 2018-12-19 22:41:46 +00:00
TreeHugger Robot
347829525c Merge "Fix test" 2018-12-19 22:24:22 +00:00
Matthew Fritze
7fa8e3131d Merge "Move Panel to public API" 2018-12-19 19:21:46 +00:00
Philip P. Moltmann
adc1fbc37a Merge "Use new UsbManager#getPorts API" 2018-12-19 19:10:06 +00:00
Fan Zhang
fb643dc4b5 Revert "Revert "Fix test case fail""
This reverts commit 75261d01df.

Reason for revert: roll forward

Change-Id: I0b66ba4ea918baf54ae084f6281c172a07b160b2
2018-12-19 18:57:12 +00:00
Fan Zhang
088bfaab6b Merge "Revert "Fix test case fail"" 2018-12-19 18:28:55 +00:00
Fan Zhang
75261d01df Revert "Fix test case fail"
This reverts commit 6d387e4a5f.

Reason for revert: collateral damage for b/121116425

Change-Id: I3ba716e283bf466ad8603c1d8c64861febec9a8c
2018-12-19 18:26:10 +00:00
TreeHugger Robot
9f7927f6d5 Merge "Hide wifi card sometimes." 2018-12-19 17:42:58 +00:00
TreeHugger Robot
085d2b2018 Merge "Fix test case fail" 2018-12-19 17:31:12 +00:00
pastychang
1b1666855e Migrating to new footer button for fingerprint and face enrolling pages.
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I89a5e3674b8ba9ec66945c03c9b783664eee214f
2018-12-19 23:24:48 +08:00
Inseob Kim
4b83150687 Schematize Setup Wizard System Properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: mma -j
Change-Id: I53b16e6d784071a04fe3fe1a9aaac8d5be91077b
(cherry picked from commit d328f613cbe55ba935f23cef081a0f1e1cc40977)
2018-12-19 23:50:36 +09:00
tmfang
6d387e4a5f Fix test case fail
The implementation in PreferenceGroup is changed,
contentEquals doesn't accept null value.

We filter null key case in InstrumentedPreferenceFragment.

Test: robotest
Change-Id: I575d96361edf9bf0b20f7ad4c61d8b3813bf31d9
Fixes: 121232342
2018-12-19 18:38:10 +08:00
Kevin Chyn
ed889a3788 Merge "Add accessibility for Face" 2018-12-19 07:55:04 +00:00
Inseob Kim
4d56f11c4a Remove unused system properties
Properties ro.config.license_path and ro.config.manual_path are not set
from anywhere but only from a test.

Bug: N/A
Test: mma -j
Change-Id: I651405f3a201f5129bf37059e96e7bcc5efa73bf
(cherry picked from commit 31e37683f0e859d355d0bbb57500498cc0de3962)
2018-12-19 12:25:34 +09:00
Kevin Chyn
2c8d7757f6 Add accessibility for Face
Bug: 111548033

Test: manual
Change-Id: I6638d471f5c6de76934b90d131a221813a38d2b3
2018-12-18 19:16:16 -08:00
TreeHugger Robot
0ade53c9b5 Merge "Fix crash in BatteryUtils" 2018-12-19 02:04:29 +00:00
TreeHugger Robot
03653641a2 Merge "Add sliceUri in broadcast intent" 2018-12-19 01:47:11 +00:00
Lei Yu
abcfa26bf6 Merge changes from topic "bluetooth_uri"
* changes:
  Add feature provider for bluetooth settings
  Build infra to inject slice to PreferenceFragment
2018-12-19 01:39:43 +00:00
TreeHugger Robot
b807a53bb0 Merge "Clean up AndroidManifest" 2018-12-19 00:08:48 +00:00
Kevin Chyn
549cdc66ad Merge "Show Choose/ConfirmLock before showing BiometricEnrollIntroduction" 2018-12-18 23:53:43 +00:00
jackqdyulei
2def5ccb6c Fix crash in BatteryUtils
When enhanced estimation is enabled, it may still have malfunction
when getting data from it. This CL handles this case and fall back
to default estimation.

Change-Id: Id8d75b07316afa8a73a302b49dc7f8e8b77d4fa4
Fixes: 121213171
Test: RunSettingsRoboTests
2018-12-18 15:26:07 -08:00
Fan Zhang
c002cd5d5e Fix test
Change-Id: I47d2533295e4cbf8f11654d4d3ee2740f971ad67
Fixes: 119829673
Test: robotests
2018-12-18 14:54:38 -08:00
jackqdyulei
bdc4ea6336 Add feature provider for bluetooth settings
Also add method to get settings uri for specific device. Use feature
provider here because it give us more flexibility.

Bug: 120803703
Test: RunSettingsRoboTests
Change-Id: I6f4840e76279c02a75b95fdecd822a72cb0b42e5
2018-12-18 14:42:49 -08:00
jackqdyulei
cf6374e427 Build infra to inject slice to PreferenceFragment
Reuse the PreferenceController and LayoutPreference however create
specific one for slice:
1. SlicePreference: container to inject slice view
2. SlicePreferenceController: handle updates for slice

Also add styles for it with default layout.

Bug: 120803703
Test: RunSettingsRoboTests

Change-Id: I6ab083ad57117e6198dcba37702a25213da78719
2018-12-18 14:38:25 -08:00