OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Move search indexing into a separate class"
TreeHugger Robot [Wed, 13 Sep 2017 19:43:38 +0000 (19:43 +0000)]
Merge "Move search indexing into a separate class"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 13 Sep 2017 18:18:19 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 13 Sep 2017 16:33:48 +0000 (09:33 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iead27f9c66c6bce2c1f3b27c29cf2c703da6dac6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Settings: Add laser sensor preference" into oc-mr1-dev am: 22eb007eea
Emilian Peev [Wed, 13 Sep 2017 09:52:30 +0000 (09:52 +0000)]
Merge "Settings: Add laser sensor preference" into oc-mr1-dev am: 22eb007eea
am: 11179290a2

Change-Id: I0575553117ca62c027a82aa69ecc0c1865f6c762

6 years agoMerge "Init the pref summary in onCreate()" into oc-mr1-dev am: 7420c095a9
jackqdyulei [Wed, 13 Sep 2017 09:50:48 +0000 (09:50 +0000)]
Merge "Init the pref summary in onCreate()" into oc-mr1-dev am: 7420c095a9
am: 55b71cf230

Change-Id: Iafccd00258950613f93f4021aafae38e808037b6

6 years agoMerge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev...
Xiangyu/Malcolm Chen [Wed, 13 Sep 2017 09:48:58 +0000 (09:48 +0000)]
Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev am: 8b6fd21f1e
am: 5bf7af0154

Change-Id: I84e9b1f7a2e2beaf966e7a127cd83b6c81b32108

6 years agoMerge "Index the System status page" into oc-mr1-dev am: 6203bde8d3
Matthew Fritze [Wed, 13 Sep 2017 09:47:02 +0000 (09:47 +0000)]
Merge "Index the System status page" into oc-mr1-dev am: 6203bde8d3
am: 8896df965b

Change-Id: I70141cb7f89794f734a33b2f90e470e1554c3320

6 years agoMerge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev...
Rebecca Silberstein [Wed, 13 Sep 2017 09:45:52 +0000 (09:45 +0000)]
Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev am: b975e352a2
am: 91f5a63262

Change-Id: I7288e2082cb68299d6ada715711316d848657015

6 years agoMerge "Settings: Add laser sensor preference" into oc-mr1-dev
Emilian Peev [Wed, 13 Sep 2017 08:40:10 +0000 (08:40 +0000)]
Merge "Settings: Add laser sensor preference" into oc-mr1-dev
am: 22eb007eea

Change-Id: I34ab89bd2a175aa77a78a9a46aea75f148bab284

6 years agoMerge "Init the pref summary in onCreate()" into oc-mr1-dev
jackqdyulei [Wed, 13 Sep 2017 08:39:31 +0000 (08:39 +0000)]
Merge "Init the pref summary in onCreate()" into oc-mr1-dev
am: 7420c095a9

Change-Id: I3b06886495ba3ec6277c84051bee4974c004c9a1

6 years agoMerge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev
Xiangyu/Malcolm Chen [Wed, 13 Sep 2017 08:39:05 +0000 (08:39 +0000)]
Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev
am: 8b6fd21f1e

Change-Id: I1e7c9235b424905f4a0d6fc219b2c8c1e6830cae

6 years agoMerge "Index the System status page" into oc-mr1-dev
Matthew Fritze [Wed, 13 Sep 2017 08:38:40 +0000 (08:38 +0000)]
Merge "Index the System status page" into oc-mr1-dev
am: 6203bde8d3

Change-Id: If4350a9cb90e995aa5095c77570055e464103879

6 years agoMerge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev
Rebecca Silberstein [Wed, 13 Sep 2017 08:38:14 +0000 (08:38 +0000)]
Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev
am: b975e352a2

Change-Id: I883ab8568ae0393e86de770af08cf7779f18b595

6 years agoMerge "Settings: Add laser sensor preference" into oc-mr1-dev
TreeHugger Robot [Wed, 13 Sep 2017 07:19:35 +0000 (07:19 +0000)]
Merge "Settings: Add laser sensor preference" into oc-mr1-dev

6 years agoMerge "Init the pref summary in onCreate()" into oc-mr1-dev
TreeHugger Robot [Wed, 13 Sep 2017 01:38:20 +0000 (01:38 +0000)]
Merge "Init the pref summary in onCreate()" into oc-mr1-dev

6 years agoMerge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev
Xiangyu/Malcolm Chen [Wed, 13 Sep 2017 01:07:29 +0000 (01:07 +0000)]
Merge "In ApnEditor, restore preference values after re-creating." into oc-mr1-dev

6 years agoMerge "Index the System status page" into oc-mr1-dev
TreeHugger Robot [Wed, 13 Sep 2017 00:06:27 +0000 (00:06 +0000)]
Merge "Index the System status page" into oc-mr1-dev

6 years agoMerge "Add OWNERS for folder bluetooth"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder bluetooth"

6 years agoMerge "Add OWNERS for folder fuelgauge"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder fuelgauge"

6 years agoMerge "Add OWNERS for folder users"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder users"

6 years agoMerge "Add OWNERS for folder notification"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder notification"

6 years agoMerge "Add OWNERS for folder wifi"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder wifi"

6 years agoMerge "Add OWNERS for folder nfc"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder nfc"

6 years agoMerge "Add OWNERS for folder tts"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder tts"

6 years agoMerge "Add OWNERS for folder location"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder location"

6 years agoMerge "Add OWNERS for folder password"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder password"

6 years agoMerge "Add OWNERS for folder inputmethod"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder inputmethod"

6 years agoMerge "Add OWNERS for package enterprise"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for package enterprise"

6 years agoMerge "Add OWNERS for folder fingerprint"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for folder fingerprint"

6 years agoMerge "Add OWNERS for package backup"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS for package backup"

6 years agoMerge "Add OWNER for accessibility package."
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNER for accessibility package."

6 years agoMerge "Add OWNERS file for settings"
TreeHugger Robot [Tue, 12 Sep 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Add OWNERS file for settings"

6 years agoMerge "Define Utils.formatRelativeTime() and use it"
TreeHugger Robot [Tue, 12 Sep 2017 23:21:37 +0000 (23:21 +0000)]
Merge "Define Utils.formatRelativeTime() and use it"

6 years agoMerge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev
TreeHugger Robot [Tue, 12 Sep 2017 23:20:03 +0000 (23:20 +0000)]
Merge "Revert back to isDualBandSupported() for Wifi tethering." into oc-mr1-dev

6 years agoInit the pref summary in onCreate()
jackqdyulei [Mon, 11 Sep 2017 21:33:28 +0000 (14:33 -0700)]
Init the pref summary in onCreate()

The visibility of bottom summary in BatteryHistoryPrefence will
be changed dynamically(charging status + flags). Before this cl,
we only update it in a callback, which makes other preference
may have unnecessary moves.

This cl add init method in onCreate(), which removes the uncessary
preference position moves.

Bug: 65529494
Test: RoboTest still pass
Change-Id: I09d2e26fc3caaeb272422997c16957770cdc1d3f
(cherry picked from commit 65dea0a7b2f44422aa3778b6565f1c4b7e5d9eb1)

6 years agoMove search indexing into a separate class
Matthew Fritze [Tue, 22 Aug 2017 22:51:50 +0000 (15:51 -0700)]
Move search indexing into a separate class

Step 2 in refactoring DatabaseIndexingManager.

This step moves the insertion of data into the database
into a new class. This removes the remaining bulk of the
code outside of DIM, but it does not fix the actual issue
with the indexing code.

The indexing code still chains functions together to
insert data into the database at the end of the functions.

It is exceedingly hard to read, and hard to track down bugs.

I would like the converter to eventually return a list of
IndexData objects, which lets us dissociate the database
from the data collection. I.e. we can store the database
in the Search app, and just pass IndexData objects via
IPC.Fixing this requires more of a refactor, and will be
done in a subsquent CL.

Bug: 33577327
Test: make RunSettingsRoboTests
Test: Took a database dump before and after change,
      and they were the same. Cool.
Change-Id: Ia9bb815657b76f6cb9163014e746ec5eb6db8c5e

6 years agoMerge "Init the pref summary in onCreate()"
Lei Yu [Tue, 12 Sep 2017 22:18:16 +0000 (22:18 +0000)]
Merge "Init the pref summary in onCreate()"

6 years agoIndex the System status page
Matthew Fritze [Fri, 8 Sep 2017 21:05:15 +0000 (14:05 -0700)]
Index the System status page

- Page is found in System > About Phone > Status
The page was simply never indexed.

- Remove the unavailable summary text.

- Suppress IP address because it appears in wifi
settings as well.

Test: make RunSettingsRoboTests
Change-Id: I0c5eb5222fc356dd3686fb84ca47da8e2d3274f5
Fixes: 65443327

6 years agoDefine Utils.formatRelativeTime() and use it
Roozbeh Pournader [Sat, 26 Aug 2017 21:05:15 +0000 (14:05 -0700)]
Define Utils.formatRelativeTime() and use it

Previously, relative times were formatted using formatElapsedTime()
(appending translations of "ago" to them), sometimes resulting in
grammatically hard-to-understand or unnatural localizations. Now we
use ICU's RelativeDateTimeFormatter, which uses grammatically correct
and natural localizations from CLDR data.

Bug: 64507689
Bug: 64605781
Bug: 64556849
Bug: 64550172
Test: make -j RunSettingsRoboTests
Change-Id: Ia2d098b190ab99e7748ef6f03b919f5c6174ba7d

6 years agoAdd OWNERS file for settings
jackqdyulei [Fri, 1 Sep 2017 18:21:52 +0000 (11:21 -0700)]
Add OWNERS file for settings

Bug: 65294119
Test: manual
Change-Id: I054a6df08046cda1c2f202390ed24839a6b10349

6 years agoMerge "Add switch bar to enable/disable dev settings in new page."
TreeHugger Robot [Tue, 12 Sep 2017 19:50:15 +0000 (19:50 +0000)]
Merge "Add switch bar to enable/disable dev settings in new page."

6 years agoRevert back to isDualBandSupported() for Wifi tethering.
Rebecca Silberstein [Fri, 8 Sep 2017 08:02:23 +0000 (01:02 -0700)]
Revert back to isDualBandSupported() for Wifi tethering.

This is needed to maintain OEM compatibility

Bug: 33160120
Test: robotests
Change-Id: Ic302969d33f32da72aee47d29615a250d3d924e2

6 years agoMerge "Add modify button to WifiNetworkDetailsFragment."
TreeHugger Robot [Tue, 12 Sep 2017 19:35:29 +0000 (19:35 +0000)]
Merge "Add modify button to WifiNetworkDetailsFragment."

6 years agoMerge "Do not dim icons when Preference is Disabled"
Jeffrey Huang [Tue, 12 Sep 2017 18:47:52 +0000 (18:47 +0000)]
Merge "Do not dim icons when Preference is Disabled"

6 years agoAdd OWNERS for folder wifi
jackqdyulei [Thu, 7 Sep 2017 22:33:08 +0000 (15:33 -0700)]
Add OWNERS for folder wifi

Bug: 65294119
Test: Manual
Change-Id: I49159950521a013422b1087ea2c3e6cd5151457c

6 years agoAdd switch bar to enable/disable dev settings in new page.
Fan Zhang [Fri, 8 Sep 2017 22:29:54 +0000 (15:29 -0700)]
Add switch bar to enable/disable dev settings in new page.

Bug: 65522852
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=Development
Change-Id: I0958950dc6aaee24d8d5e0be58d7564d108bc72e

6 years agoIn ApnEditor, restore preference values after re-creating.
Malcolm Chen [Tue, 12 Sep 2017 00:48:14 +0000 (17:48 -0700)]
In ApnEditor, restore preference values after re-creating.

After destroying and re-creating, the preference values in ApnEditor
are not restored. This results in incorrect behavior if it enters
two window mode where it's destroyed and re-created. The fix is to
have them restored and shown correctly.

Bug: 65338066
Test: Manual
Change-Id: I5ea16ce01c72061ab116f9c15bfc5cc39bb7a095

6 years agoDo not dim icons when Preference is Disabled
jeffreyhuang [Mon, 11 Sep 2017 21:42:11 +0000 (14:42 -0700)]
Do not dim icons when Preference is Disabled

Change DimmableIconPreference into RestrictedPreference so
that the app icon background no longer turns darker

Fixes: 65207948
Test: Manual using settings app, Run SettingsRoboTests
Change-Id: I1c458439006c9d07642b9ef35455e845cb5545e6

6 years agoInit the pref summary in onCreate()
jackqdyulei [Mon, 11 Sep 2017 21:33:28 +0000 (14:33 -0700)]
Init the pref summary in onCreate()

The visibility of bottom summary in BatteryHistoryPrefence will
be changed dynamically(charging status + flags). Before this cl,
we only update it in a callback, which makes other preference
may have unnecessary moves.

This cl add init method in onCreate(), which removes the uncessary
preference position moves.

Bug: 65529494
Test: RoboTest still pass
Change-Id: I09d2e26fc3caaeb272422997c16957770cdc1d3f

6 years agoMerge "Adding switch for Forced App Standby"
TreeHugger Robot [Mon, 11 Sep 2017 22:48:35 +0000 (22:48 +0000)]
Merge "Adding switch for Forced App Standby"

6 years agoMerge "Add ims registration status" am: 9b7479f8a9 -s ours am: d3c72406b6 -s ours...
debesay guadad [Mon, 11 Sep 2017 21:35:50 +0000 (21:35 +0000)]
Merge "Add ims registration status" am: 9b7479f8a9  -s ours am: d3c72406b6  -s ours am: 91b143383c  -s ours
am: 6d5fbfdc72  -s ours

Change-Id: Idbbdeed21c608cae5463b3babbb9b9054c74180d

6 years agoAdd OWNERS for folder tts
jackqdyulei [Thu, 7 Sep 2017 20:19:35 +0000 (13:19 -0700)]
Add OWNERS for folder tts

Bug: 65294119
Test: Manual
Change-Id: Ie9492f497824cd2b2727dde9d3a48452c72f1084

6 years agoMerge "Add ims registration status" am: 9b7479f8a9 -s ours am: d3c72406b6 -s ours
debesay guadad [Mon, 11 Sep 2017 21:06:31 +0000 (21:06 +0000)]
Merge "Add ims registration status" am: 9b7479f8a9  -s ours am: d3c72406b6  -s ours
am: 91b143383c  -s ours

Change-Id: Iacba38adf23ae48fa92ca852620fc9232629fa73

6 years agoAdding switch for Forced App Standby
Suprabh Shukla [Thu, 7 Sep 2017 23:27:08 +0000 (16:27 -0700)]
Adding switch for Forced App Standby

Reusing the 'Background activity' switch found in App Info. The switch
now needs to be shown for all apps and will toggle another app op
RUN_ANY_IN_BACKGROUND which controls whether jobs or alarms are run for
background apps.
Also fixed handling of multiple packages with shared uid. The controller
was picking the first package for uid but the order of packages can
change on a reboot which would cause wrong app ops settings across
packages of the same uid.

Test: make -j32 RunSettingsRoboTests

Bug: 65176793
Change-Id: I2a9b96bc02730776172c3ae317cb7f7f890bec30

6 years agoAdd OWNERS for folder bluetooth
jackqdyulei [Mon, 11 Sep 2017 19:44:27 +0000 (12:44 -0700)]
Add OWNERS for folder bluetooth

Bug: 65294119
Test: Build
Change-Id: I927052a73f639d0894600611cd5c79293f43ff5e

6 years agoMerge "Add ims registration status" am: 9b7479f8a9 -s ours
debesay guadad [Mon, 11 Sep 2017 20:27:24 +0000 (20:27 +0000)]
Merge "Add ims registration status" am: 9b7479f8a9  -s ours
am: d3c72406b6  -s ours

Change-Id: I15bdf67a2be0187682a936d3fe8a0ae42d8329b5

6 years agoAdd OWNERS for folder fingerprint
jackqdyulei [Wed, 6 Sep 2017 22:28:21 +0000 (15:28 -0700)]
Add OWNERS for folder fingerprint

Bug: 65294119
Test: Manual
Change-Id: I1486782f476acaf1e2e4b66df57869409239986f

6 years agoMerge "Merge "Add ims registration status" into stage-aosp-master am: af845720f6...
Brad Ebinger [Mon, 11 Sep 2017 20:18:52 +0000 (20:18 +0000)]
Merge "Merge "Add ims registration status" into stage-aosp-master am: af845720f6 am: 99768cc46c  -s ours" into oc-mr1-dev-plus-aosp
am: b7773add7d  -s ours

Change-Id: If245269478b0f7ae17334bd7e702a5477ac1cb15

6 years agoMerge "Fix sizing of pattern view" into oc-mr1-dev am: adef5b23e0
Maurice Lam [Mon, 11 Sep 2017 20:17:18 +0000 (20:17 +0000)]
Merge "Fix sizing of pattern view" into oc-mr1-dev am: adef5b23e0
am: 4f61cfb967

Change-Id: I84059c89eda774c833c710166a1778bd36c6ff98

6 years agoMerge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev am: b8ff97fbd5
Antony Sargent [Mon, 11 Sep 2017 20:16:44 +0000 (20:16 +0000)]
Merge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev am: b8ff97fbd5
am: 707552888d

Change-Id: I2399b0336772742ef3afb34df393d96bb5a37a08

6 years agoMerge "Merge "Add ims registration status" into stage-aosp-master am: af845720f6...
Android Build Merger (Role) [Mon, 11 Sep 2017 20:10:25 +0000 (20:10 +0000)]
Merge "Merge "Add ims registration status" into stage-aosp-master am: af845720f6 am: 99768cc46c  -s ours" into oc-mr1-dev-plus-aosp

6 years agoMerge "Fix sizing of pattern view" into oc-mr1-dev
Maurice Lam [Mon, 11 Sep 2017 20:09:55 +0000 (20:09 +0000)]
Merge "Fix sizing of pattern view" into oc-mr1-dev
am: adef5b23e0

Change-Id: I63928a5e53bf15b30d50f28fa9c4518503d005d7

6 years agoMerge "Add ims registration status"
debesay guadad [Mon, 11 Sep 2017 20:09:47 +0000 (20:09 +0000)]
Merge "Add ims registration status"
am: 9b7479f8a9  -s ours

Change-Id: I65a6d75b2f2127929794c320fe7596372dd4c6ac

6 years agoMerge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev
Antony Sargent [Mon, 11 Sep 2017 20:09:25 +0000 (20:09 +0000)]
Merge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev
am: b8ff97fbd5

Change-Id: I559aa49ff0ef4aa82a6a1fb989d05c81ac7575fe

6 years agoMerge "Fix sizing of pattern view" into oc-mr1-dev
Maurice Lam [Mon, 11 Sep 2017 20:07:48 +0000 (20:07 +0000)]
Merge "Fix sizing of pattern view" into oc-mr1-dev

6 years agoFix sizing of pattern view
Maurice Lam [Fri, 8 Sep 2017 18:57:27 +0000 (11:57 -0700)]
Fix sizing of pattern view

Align the size of pattern view in ChooseLockPattern,
ConfirmLockPattern, and keyguard as much as possible.
In rare cases they may still be inconsistent because
the screens have different content outside of the
pattern view (e.g. header text, navigation buttons etc)

Test: Manual
Bug: 64339681
Change-Id: Ie07ae211340967a3cdf9c6c28f9818f207dbd2c9

6 years agoMerge "Add ims registration status" into stage-aosp-master am: af845720f6
Brad Ebinger [Mon, 11 Sep 2017 20:06:21 +0000 (20:06 +0000)]
Merge "Add ims registration status" into stage-aosp-master am: af845720f6
am: 99768cc46c  -s ours

Change-Id: Idcab879ef2b9f1891dbae4309e7a971f48660b97

6 years agoAdd OWNERS for folder fuelgauge
jackqdyulei [Mon, 11 Sep 2017 19:54:31 +0000 (12:54 -0700)]
Add OWNERS for folder fuelgauge

Bug: 65294119
Test: Manual
Change-Id: Ia1eb8155f2d4359d56b0babd474083295ba38a0b

6 years agoMerge "Add ims registration status" into stage-aosp-master
Brad Ebinger [Mon, 11 Sep 2017 19:54:02 +0000 (19:54 +0000)]
Merge "Add ims registration status" into stage-aosp-master
am: af845720f6

Change-Id: I5daf6e9a55e10d20fc03be6a54801ad6d6533bf8

6 years agoMerge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 19:52:47 +0000 (19:52 +0000)]
Merge "Fix focus behavior of ValidatedEditTextPreference" into oc-mr1-dev

6 years agoMerge "Fork a new developer options page."
TreeHugger Robot [Mon, 11 Sep 2017 19:47:26 +0000 (19:47 +0000)]
Merge "Fork a new developer options page."

6 years agoMerge "Add ims registration status"
Treehugger Robot [Mon, 11 Sep 2017 19:44:31 +0000 (19:44 +0000)]
Merge "Add ims registration status"

6 years agoMerge "Add ims registration status" into stage-aosp-master
Brad Ebinger [Mon, 11 Sep 2017 19:42:37 +0000 (19:42 +0000)]
Merge "Add ims registration status" into stage-aosp-master

6 years agoAdd OWNERS for folder nfc
jackqdyulei [Thu, 7 Sep 2017 21:16:17 +0000 (14:16 -0700)]
Add OWNERS for folder nfc

Bug: 65294119
Test: Manual
Change-Id: I69af58183c5b89af96c1a8808665fa506a620012

6 years agoMerge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09...
Amit Mahajan [Mon, 11 Sep 2017 19:13:42 +0000 (19:13 +0000)]
Merge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09 am: 6ca28e8362 am: 154779b6af
am: e886c7c2c1

Change-Id: I13b51a07246b83e1030f6d35b275bb9ea786e28a

6 years agoMerge "Make system item has a consistent name." into oc-mr1-dev am: 9a3cb9b835
jackqdyulei [Mon, 11 Sep 2017 19:13:00 +0000 (19:13 +0000)]
Merge "Make system item has a consistent name." into oc-mr1-dev am: 9a3cb9b835
am: 52a2d32a37

Change-Id: I420581233b77c88772058730e8535c8d72b2cad5

6 years agoMerge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09...
Amit Mahajan [Mon, 11 Sep 2017 18:01:35 +0000 (18:01 +0000)]
Merge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09 am: 6ca28e8362
am: 154779b6af

Change-Id: I90715e84699ac52ce727782917c7a0c75a40e843

6 years agoMerge "Make system item has a consistent name." into oc-mr1-dev
jackqdyulei [Mon, 11 Sep 2017 17:53:43 +0000 (17:53 +0000)]
Merge "Make system item has a consistent name." into oc-mr1-dev
am: 9a3cb9b835

Change-Id: I928f4266130d488476aadd6dd61a3ce22c579aa2

6 years agoMerge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09
Amit Mahajan [Mon, 11 Sep 2017 17:51:18 +0000 (17:51 +0000)]
Merge "Change to disable mvno data field in ApnEditor if needed." am: c2c0edff09
am: 6ca28e8362

Change-Id: I7e14539d3b22918c8d4a1aa4d41ba96afe88ca1c

6 years agoMerge "Don't default to PIN on non FBE devices"
Maurice Lam [Mon, 11 Sep 2017 17:41:47 +0000 (17:41 +0000)]
Merge "Don't default to PIN on non FBE devices"

6 years agoMerge "Change to disable mvno data field in ApnEditor if needed."
Amit Mahajan [Mon, 11 Sep 2017 17:37:55 +0000 (17:37 +0000)]
Merge "Change to disable mvno data field in ApnEditor if needed."
am: c2c0edff09

Change-Id: If53f719245876dda59b220a9b066f30f1c1e0fbc

6 years agoMerge "Make system item has a consistent name." into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 17:33:09 +0000 (17:33 +0000)]
Merge "Make system item has a consistent name." into oc-mr1-dev

6 years agoMerge "Change to disable mvno data field in ApnEditor if needed."
Treehugger Robot [Mon, 11 Sep 2017 17:21:07 +0000 (17:21 +0000)]
Merge "Change to disable mvno data field in ApnEditor if needed."

6 years agoFix focus behavior of ValidatedEditTextPreference
Antony Sargent [Thu, 7 Sep 2017 23:19:17 +0000 (16:19 -0700)]
Fix focus behavior of ValidatedEditTextPreference

The bug report was that the cursor is set to the beginning of the
EditText for wifi hotspot password field, instead of at the end (or
having the entire field selected). This fix makes it so that all
ValidatedEditTextPreference's will put the cursor at the end of the
EditText.

Bug: 65413206
Test: make RunSettingsRoboTests
Change-Id: I23f3bb1b3f1b49b2f193c0ae2e103eae5c1a1019

6 years agoChange to disable mvno data field in ApnEditor if needed.
Amit Mahajan [Thu, 31 Aug 2017 20:59:20 +0000 (13:59 -0700)]
Change to disable mvno data field in ApnEditor if needed.

Test: manual
Bug: 65243262
Change-Id: I4b3dec6d9dc7fecf0b0a8131dccc349c7daffe48

6 years agoMerge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev am: 1b62d99433
Erik Kline [Mon, 11 Sep 2017 05:04:28 +0000 (05:04 +0000)]
Merge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev am: 1b62d99433
am: 775807f422

Change-Id: I55fbd611fee9f17215412a76b480cdee96f62b32

6 years agoMerge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev
Erik Kline [Mon, 11 Sep 2017 05:00:34 +0000 (05:00 +0000)]
Merge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev
am: 1b62d99433

Change-Id: If15181d557e9abce75111a6e1fff4e12586d7dbc

6 years agoMerge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 04:56:28 +0000 (04:56 +0000)]
Merge "Include IPv6 DNS servers in wifi details" into oc-mr1-dev

6 years agoInclude IPv6 DNS servers in wifi details
Erik Kline [Wed, 6 Sep 2017 09:05:48 +0000 (18:05 +0900)]
Include IPv6 DNS servers in wifi details

Test: as follows
    - built
    - flashed
    - booted
    - export ROBOTEST_FILTER=WifiDetailPreferenceControllerTest \
          make -j RunSettingsRoboTests
      RunSettingsRoboTests:
      RunSettingsRoboTests: Time: 19.821
      RunSettingsRoboTests:
      RunSettingsRoboTests: OK (37 tests)
      RunSettingsRoboTests:
    - make -j RunSettingsRoboTests
      RunSettingsRoboTests: ...........................
      RunSettingsRoboTests: Time: 424.847
      RunSettingsRoboTests:
      RunSettingsRoboTests: OK (2250 tests)
      RunSettingsRoboTests:

Bug: 65037256
Bug: 65467586

Change-Id: Icd3d09aa35c04101c41e2521b48e64f28f69ae29

6 years agoFork a new developer options page.
Fan Zhang [Fri, 8 Sep 2017 22:29:54 +0000 (15:29 -0700)]
Fork a new developer options page.

- Create a new activity/fragment and add it to manifest
- Mark old activity/fragment deprecated
- Enable/disable the new activity based on FeatureFlag
- Initial skeleton code for new fragment

Bug: 65522852
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=DevelopmentSettingsDashboardFragmentTest
Change-Id: Ib1395693f8b6f61d4726573a9ea841ea53cf207b

6 years agoMerge "Add FakeFeatureFactory.setupForTest"
TreeHugger Robot [Fri, 8 Sep 2017 22:30:05 +0000 (22:30 +0000)]
Merge "Add FakeFeatureFactory.setupForTest"

6 years agoMerge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev am: 90f93...
Fan Zhang [Fri, 8 Sep 2017 22:23:19 +0000 (22:23 +0000)]
Merge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev am: 90f9398f4e
am: ed71e21541

Change-Id: Ic2f5d6c35ac8bb7a14d1949be53beb6b6bf4cd16

6 years agoMerge "Re-add the block of text explaining the feature." into oc-mr1-dev am: 3315f38c3f
Daniel Nishi [Fri, 8 Sep 2017 22:22:32 +0000 (22:22 +0000)]
Merge "Re-add the block of text explaining the feature." into oc-mr1-dev am: 3315f38c3f
am: df0e716b43

Change-Id: Ibe767b5bd21ed75ea188a1a6561aa974edd2b449

6 years agoMerge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev
Fan Zhang [Fri, 8 Sep 2017 22:04:52 +0000 (22:04 +0000)]
Merge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev
am: 90f9398f4e

Change-Id: Idb6dabf0d06440f3a2aecc2f4488bb98859f2eae

6 years agoMerge "Re-add the block of text explaining the feature." into oc-mr1-dev
Daniel Nishi [Fri, 8 Sep 2017 22:04:12 +0000 (22:04 +0000)]
Merge "Re-add the block of text explaining the feature." into oc-mr1-dev
am: 3315f38c3f

Change-Id: I7f8bfe688afc95a184fc6499b95a3c733cb9c681

6 years agoMerge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 21:42:32 +0000 (21:42 +0000)]
Merge "Don't attempt to tint icon if icon is not available" into oc-mr1-dev

6 years agoMerge "Re-add the block of text explaining the feature." into oc-mr1-dev
Daniel Nishi [Fri, 8 Sep 2017 21:39:16 +0000 (21:39 +0000)]
Merge "Re-add the block of text explaining the feature." into oc-mr1-dev

6 years agoAdd modify button to WifiNetworkDetailsFragment.
Eric Schwarzenbach [Mon, 17 Jul 2017 21:13:02 +0000 (14:13 -0700)]
Add modify button to WifiNetworkDetailsFragment.

Adds pencil icon to Wifi Detail action bar to modify the network.
Modifies package/public visibility to allow the detail package to
use the WifiDialog. Listens for changes in WifiConfigurations to
propagate changes to the UI in WifiNetworkDetailsFragment.

Changes WifiNetworkDetail preference launch to conform to pattern
of other Settings apps. Removes unused WifiDetailActionBarObserver.

Bug: 3648370437082355
Test: make -j40 RunSettingsRoboTests
Change-Id: Ie9dc1892eaefdfad4a6bd7040bfc5dbf6236cfb4

6 years agoDon't default to PIN on non FBE devices
Maurice Lam [Thu, 7 Sep 2017 03:52:22 +0000 (20:52 -0700)]
Don't default to PIN on non FBE devices

So that EncryptionInterstitial is shown as part of the flow

Test: cd tests/robotests && mma
Bug: 65192141
Change-Id: I13e8b9059aae39cef2a8509f9f0eee1cd0808220

6 years agoAdd FakeFeatureFactory.setupForTest
Maurice Lam [Fri, 8 Sep 2017 20:08:03 +0000 (13:08 -0700)]
Add FakeFeatureFactory.setupForTest

In AssisGestureSettingsTest, FakeFeatureFactory was used but was
missing a setupForTest call.

Test: cd tests/robotests && \
      ROBOTEST_FILTER=AssistGestureSettingsTest mma

Change-Id: Ie78232d854aee00c7969a3d2dc148354be7de484