OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
Lorenzo Colitti [Tue, 20 Sep 2016 17:24:59 +0000 (17:24 +0000)]
Merge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
am: 2c7c84a1cd

Change-Id: Ie98b23d5d81afffcd02fee7339dbe50172a194ae

7 years agoAdd a "Don't ask again" checkbox to the avoid bad wifi dialog.
Lorenzo Colitti [Tue, 20 Sep 2016 17:16:12 +0000 (17:16 +0000)]
Add a "Don't ask again" checkbox to the avoid bad wifi dialog.
am: c179f33c87

Change-Id: Ia46300f122a19cf00f81b1f1115d8981f53fc7d9

7 years agoMerge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
Lorenzo Colitti [Tue, 20 Sep 2016 17:04:37 +0000 (17:04 +0000)]
Merge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev

7 years agoAdd a "Don't ask again" checkbox to the avoid bad wifi dialog.
Lorenzo Colitti [Sun, 18 Sep 2016 16:08:07 +0000 (01:08 +0900)]
Add a "Don't ask again" checkbox to the avoid bad wifi dialog.

Also update the settings code to reflect the new tristate
semantics of the NETWORK_AVOID_BAD_WIFI setting.

Bug: 31075769
Change-Id: Icd21d8272abe6afd42ee8a41e2c7e1a6af77f0b3

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Mon, 19 Sep 2016 18:30:14 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE am: 225c634f99 -s ours
Bill Yi [Mon, 19 Sep 2016 18:02:11 +0000 (18:02 +0000)]
Import translations. DO NOT MERGE am: 225c634f99  -s ours
am: 41e378d12c  -s ours

Change-Id: I9b482638cdb3ac06afdfd03f32da3c19fdf18334

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 17:58:43 +0000 (17:58 +0000)]
Import translations. DO NOT MERGE
am: 225c634f99  -s ours

Change-Id: I736df56414345c07d99630433996abf2819d6ece

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 17:07:31 +0000 (17:07 +0000)]
Import translations. DO NOT MERGE
am: 82eff79103  -s ours

Change-Id: I56e2ce78f4d4dc4985b789b6a45c0fabaeac096f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 16:57:21 +0000 (09:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6959685436657e51d7c951d9bbc9a0c62cb8696e
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 16:38:48 +0000 (09:38 -0700)]
Import translations. DO NOT MERGE

Change-Id: I28c47f226372a174128aeceb5d61b686e7db742b
Auto-generated-cl: translation import

7 years agoMerge "Changes to support read-only apn types." into nyc-mr1-dev
TreeHugger Robot [Mon, 19 Sep 2016 16:30:16 +0000 (16:30 +0000)]
Merge "Changes to support read-only apn types." into nyc-mr1-dev

7 years agoMerge "Update edit text padding on Bluetooth device renaming dialog" into nyc-mr1-dev
Matthew Fritze [Mon, 19 Sep 2016 16:29:43 +0000 (16:29 +0000)]
Merge "Update edit text padding on Bluetooth device renaming dialog" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 15:53:13 +0000 (08:53 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 31075769
Change-Id: I8ed0dcd8d79e366a4f5963f1ec5b2d60346b7376

7 years agoMerge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
Bill Yi [Sat, 17 Sep 2016 03:47:36 +0000 (03:47 +0000)]
Merge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
am: 0d00554d62

Change-Id: I9397ef4575f8816da764eabf1e58e33dfa80c4af

7 years agoBad Wi-Fi: Change strings to carrier specs
Paul Stewart [Sat, 17 Sep 2016 03:47:35 +0000 (03:47 +0000)]
Bad Wi-Fi: Change strings to carrier specs
am: 49d703319b

Change-Id: I644d183683367280b3653750f84d9d2c9ee4c5ff

7 years agoMerge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
Bill Yi [Sat, 17 Sep 2016 03:39:34 +0000 (03:39 +0000)]
Merge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Sep 2016 03:24:29 +0000 (03:24 +0000)]
Import translations. DO NOT MERGE
am: a4e479afec  -s ours

Change-Id: If2e7a6470cfcf7b522d37c242e9e52acfc9a247c

7 years agoBad Wi-Fi: Change strings to carrier specs
Paul Stewart [Sat, 17 Sep 2016 00:48:37 +0000 (17:48 -0700)]
Bad Wi-Fi: Change strings to carrier specs

Also add a checkbox to persist the value.  However, the logic to
pass this persistence to ConnectivityService has not yet been added.

Bug: 31075769
Test: Visual inspection of dialog (upcoming)
Change-Id: I370ab07ea276b024ce4adc61e10ca085be1c5549

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Sep 2016 00:39:21 +0000 (17:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 31516661
Change-Id: Idc23b872921e45152ba6c092551b6984db2073cc

7 years agoChanges to support read-only apn types.
Amit Mahajan [Thu, 15 Sep 2016 01:13:13 +0000 (18:13 -0700)]
Changes to support read-only apn types.

User will not be allowed to add/modify APNs for the read-only types.

Bug: 31074581
Change-Id: I954bd68249a93ce9deb0146725c1432ea6cb0f38

7 years agoAdd a "Cellular data fallback" pref.
Hugo Benichi [Fri, 16 Sep 2016 16:45:15 +0000 (16:45 +0000)]
Add a "Cellular data fallback" pref.
am: a317684cfc

Change-Id: I902d4039aefddbe38a7caa20afede7af20d03086

7 years agoAdd a "Cellular data fallback" pref.
Hugo Benichi [Fri, 16 Sep 2016 06:04:00 +0000 (15:04 +0900)]
Add a "Cellular data fallback" pref.

Also adjust working of the "lost internet" notification.

Bug: 31075769
Change-Id: I17e18516c9bfdc32b38686191327b6d6f87aed95

7 years agoMerge "Disable accessibility focus on the instruction video in magnification gesture...
Noah Wang [Thu, 15 Sep 2016 19:31:24 +0000 (19:31 +0000)]
Merge "Disable accessibility focus on the instruction video in magnification gesture screen." into nyc-mr1-dev

7 years agoUpdate edit text padding on Bluetooth device renaming dialog
Matthew Fritze [Thu, 15 Sep 2016 01:00:41 +0000 (18:00 -0700)]
Update edit text padding on Bluetooth device renaming dialog

Change-Id: I490452925e1b66dd3f135b14c99a7a02ba238888
Fixes: 31383112
Test: Visually inspected

7 years agoDisable accessibility focus on the instruction video in magnification
Noah Wang [Wed, 14 Sep 2016 23:40:05 +0000 (16:40 -0700)]
Disable accessibility focus on the instruction video in magnification
gesture screen.

Test: Manually built and tested with Bullhead
Bug: 30898790
Change-Id: I399e2b9be33ebf6dd5100705eb5f2ba5c5cc98b1

7 years agoFix unintended modification of the NO_INTERNET dialog.
Lorenzo Colitti [Thu, 15 Sep 2016 17:20:43 +0000 (17:20 +0000)]
Fix unintended modification of the NO_INTERNET dialog.
am: 4753ad5902

Change-Id: Ib045d44acbf93ffc99d2a0545a4808ff0ad3ea58

7 years agoMerge "Non-blockable notification packages can't be blocked." into nyc-mr1-dev
Julia Reynolds [Thu, 15 Sep 2016 17:01:52 +0000 (17:01 +0000)]
Merge "Non-blockable notification packages can't be blocked." into nyc-mr1-dev

7 years agoSupport displaying a dialog when Wi-Fi loses Internet access.
Lorenzo Colitti [Thu, 15 Sep 2016 16:05:53 +0000 (16:05 +0000)]
Support displaying a dialog when Wi-Fi loses Internet access.
am: 1449ecd460

Change-Id: I835eeb9165e726e20c26c47fb4e20fbd6d9e3f5a

7 years agoFix unintended modification of the NO_INTERNET dialog.
Lorenzo Colitti [Thu, 15 Sep 2016 15:41:50 +0000 (00:41 +0900)]
Fix unintended modification of the NO_INTERNET dialog.

Bug: 31075769
Change-Id: I655725121aed164c2e270a6fe2ffec78a87897bd

7 years agoSupport displaying a dialog when Wi-Fi loses Internet access.
Lorenzo Colitti [Thu, 15 Sep 2016 05:06:46 +0000 (14:06 +0900)]
Support displaying a dialog when Wi-Fi loses Internet access.

Bug: 31075769
Change-Id: Ia0c76d80591937dc40765c437e5779f3b6dde217

7 years agoMerge "Changed information string about model" into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 20:27:53 +0000 (20:27 +0000)]
Merge "Changed information string about model" into nyc-mr1-dev

7 years agoMerge "Fix crash when tapping on "Change Wallpaper"." into nyc-mr1-dev
Amin Shaikh [Wed, 14 Sep 2016 18:52:53 +0000 (18:52 +0000)]
Merge "Fix crash when tapping on "Change Wallpaper"." into nyc-mr1-dev

7 years agoChanged information string about model
Salvador Martinez [Wed, 14 Sep 2016 18:27:54 +0000 (11:27 -0700)]
Changed information string about model

The string which contained the device
model information in settings was changed
to be more general. That way the model
information provided by the phone can be
more than just a number.

Test: Manual Inspection
Bug: 31108285
Change-Id: I7caf0a874983579b0e74240661b0d9b4df68bd74

7 years agoMerge "Add ability to disable data warning." into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 16:24:18 +0000 (16:24 +0000)]
Merge "Add ability to disable data warning." into nyc-mr1-dev

7 years agoAdd ability to disable data warning.
Fan Zhang [Mon, 12 Sep 2016 22:00:53 +0000 (15:00 -0700)]
Add ability to disable data warning.

- Add a preference to disable data warning.
- Disable data usage chart in summary page when data warning is turned
  off.

Bug: 26934313
Test: Manually turned on/off data warning and inspected UI.
Test: ag/1440361

Change-Id: I6d5b86b8502647781c52cf940f276e1969251b59

7 years agoShow approprate text when enrolling fingerprint
Rubin Xu [Thu, 1 Sep 2016 14:03:51 +0000 (15:03 +0100)]
Show approprate text when enrolling fingerprint

Inform the user that unlocking device by fingerprint is disabled if the
device admin has disallowed it.

Bug: 27201226
Change-Id: Id1694f07a9421ebfe3c777f2a6b624a836bff2d5

7 years agoFix crash when tapping on "Change Wallpaper".
Amin Shaikh [Wed, 14 Sep 2016 05:52:15 +0000 (22:52 -0700)]
Fix crash when tapping on "Change Wallpaper".

Bug: 31306517
Change-Id: I896311917d4954f78dd689bd1a40b03e7f94284e

7 years agoMerge "Add string for set data warning." into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 23:19:45 +0000 (23:19 +0000)]
Merge "Add string for set data warning." into nyc-mr1-dev

7 years agoMerge changes Ida1281a7,I70398d46 into nyc-mr1-dev
Matthew Fritze [Tue, 13 Sep 2016 23:06:44 +0000 (23:06 +0000)]
Merge changes Ida1281a7,I70398d46 into nyc-mr1-dev

* changes:
  Prevent Data Usage Settings crash on phones without cellular history
  Data Usage summary creates a dialog to change data warning level

7 years agoPrevent Data Usage Settings crash on phones without cellular history
Matthew Fritze [Tue, 23 Aug 2016 00:40:02 +0000 (17:40 -0700)]
Prevent Data Usage Settings crash on phones without cellular history

Refactored the logic to determine the data usage summary mark which now
correctly tests for null.

Bug: 30946416
Change-Id: Ida1281a771013fd807242f846edb4f2a9c0ccabb
Test: make RunSettingsRoboTests

7 years agoAdd string for set data warning.
Fan Zhang [Tue, 13 Sep 2016 19:59:22 +0000 (12:59 -0700)]
Add string for set data warning.

Bug: 26934313
Test: make Settings
Change-Id: I97dde849d9f0785c536b01471ab243aaccc85400

7 years agoData Usage summary creates a dialog to change data warning level
Matthew Fritze [Fri, 12 Aug 2016 16:37:43 +0000 (09:37 -0700)]
Data Usage summary creates a dialog to change data warning level

Clicking the Data usage summary preference will open the same dialog
that billing cycle does to modify data warning level. The Dialog
was abstracted to be used outside of the Billing Cycle settings
fragment.

Test: Robo tests in next cherry-pick.

Change-Id: I70398d4656b6da4233b2bfa0da6ffa7402ead69b
Fixes: 26932938
(cherry picked from commit 9fad289ca95d2ce0c44d01e0668bdaffba4404d9)

7 years agoMerge "Improved storage accounting:" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 19:39:22 +0000 (19:39 +0000)]
Merge "Improved storage accounting:" into nyc-mr1-dev

7 years agoImproved storage accounting:
Felipe Leme [Tue, 30 Aug 2016 22:06:24 +0000 (15:06 -0700)]
Improved storage accounting:

- Removed duplicated entry for DIRECTORY_MOVIES.
- Added DIRECTORY_DOWNLOADS to Other.
- Added unaccounted data to Other.
- Changed Other description so it mention non-visible items.

Often sub-directories of /data are populated with data that Settings
doesn't have control of (for example, on /data/ramdump), so they're more
suitable to be displayed in the "Other" section.

BUG: 31091863
Fixes: 30952263

Change-Id: Ibf54f9dd96456575109e2e281f3780da84f70d92

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 08:27:58 +0000 (08:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Sep 2016 06:35:38 +0000 (23:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ica434ea782eeb2e8efbabe56b2c25811a824181e
Auto-generated-cl: translation import

7 years agoMerge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev

7 years agoMerge "Make a11y settings display consistent" into nyc-mr1-dev
Phil Weaver [Tue, 13 Sep 2016 01:07:05 +0000 (01:07 +0000)]
Merge "Make a11y settings display consistent" into nyc-mr1-dev

7 years agoDisable NightDisplaySettingsActivity when not available
Justin Klaassen [Tue, 13 Sep 2016 00:04:33 +0000 (17:04 -0700)]
Disable NightDisplaySettingsActivity when not available

Not every device supports "Night Light" so this change disables the
NightDisplaySettingsActivity entry point using the system internal
R.bool.config_nightDisplayAvailable value.

Fixes: 30919608
Test: adb shell am start -a android.settings.NIGHT_DISPLAY_SETTINGS
Change-Id: I202c93069daaea08a0d754dd2f6b3de8c249c361

7 years agoMake a11y settings display consistent
Phil Weaver [Sat, 10 Sep 2016 00:36:03 +0000 (17:36 -0700)]
Make a11y settings display consistent

We were using two methods to decide whether or not to show
that an a11y service was enabled, one on the main
Accessibility screen and another on the individual service
screen. In some situations, an enabled service would show
up as enabled on the main screen but not enabled on its
individual screen.

Bug: 30829589
Change-Id: I560d86684a2fb8987d3dd06279e033ecb7cc1a58

7 years agoUpdate Night Light summary strings
Justin Klaassen [Mon, 12 Sep 2016 18:40:03 +0000 (11:40 -0700)]
Update Night Light summary strings

Bug: 30771506
Test: Verified new strings show up in Night Light settings.
Change-Id: I36cc92d2644016f8f417daf9c06bccbe9fbd2d8c

7 years agoNon-blockable notification packages can't be blocked.
Julia Reynolds [Mon, 12 Sep 2016 14:11:24 +0000 (10:11 -0400)]
Non-blockable notification packages can't be blocked.

Bug: 31404047
Change-Id: Icbe7e5e57983d281f6fe21e9b4715c822784d43c

7 years agoMerge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev
Fyodor Kupolov [Fri, 9 Sep 2016 23:30:35 +0000 (23:30 +0000)]
Merge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev

7 years agoMerge "Check for missing preference before setting title." into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 20:15:12 +0000 (20:15 +0000)]
Merge "Check for missing preference before setting title." into nyc-mr1-dev

7 years agoCheck for missing preference before setting title.
Jim Miller [Fri, 9 Sep 2016 18:54:12 +0000 (11:54 -0700)]
Check for missing preference before setting title.

Some preferences aren't available due to DPM, so check for null
before setting the title.

Fixes bug 31184335

Change-Id: I69f97274eef87755269fd8f7897edcc36087f8b2

7 years agoMerge "Direct launch to web action" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 01:50:07 +0000 (01:50 +0000)]
Merge "Direct launch to web action" into nyc-mr1-dev

7 years agoDirect launch to web action
Todd Kennedy [Tue, 6 Sep 2016 21:02:38 +0000 (14:02 -0700)]
Direct launch to web action

We want to be able to direct launch into the web action settings
Fixes: 31338071

Change-Id: I295729b8c9e0d3c1196ed820a9e9f6163bf611b4

7 years agoMerge "Fixed Sound Settings summary text" into nyc-mr1-dev
Salvador Martinez [Wed, 7 Sep 2016 16:06:41 +0000 (16:06 +0000)]
Merge "Fixed Sound Settings summary text" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 7 Sep 2016 10:20:53 +0000 (03:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic79af1cb3c770ec68e0665d9885e8e189497075f
Auto-generated-cl: translation import

7 years agoFixed Sound Settings summary text
Salvador Martinez [Wed, 31 Aug 2016 21:17:35 +0000 (14:17 -0700)]
Fixed Sound Settings summary text

The summary for Sound settings was not
descriptive enough when the volume was set
to 0% so additional strings were added. Now
it will change let you know the status
of the ringer and vibration settings when
at 0% volume. Espresso tests added to test
that text is properly updated in each of
these states.

Test: make SettingsTests
Bug: 31099179
Change-Id: Id49e2d0c4b7ac0f17efcdaf31de48d5eb678ca46

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:23:49 +0000 (23:23 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba  -s ours am: 17ec053dd5
am: 27aabcd4df

Change-Id: I1be1f917392a5102e9f7c5178ef9316aadd29ad2

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev am: 4e4e4ff19a
Andrew Sapperstein [Tue, 6 Sep 2016 23:23:48 +0000 (23:23 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev am: 4e4e4ff19a
am: 27af0ed9e2

Change-Id: I701957dceecec49950ffab22ab6ca38f204d687e

7 years agoNull check intent before starting "learn more". am: e56d2be0b2 -s ours
Andrew Sapperstein [Tue, 6 Sep 2016 23:23:47 +0000 (23:23 +0000)]
Null check intent before starting "learn more". am: e56d2be0b2  -s ours
am: aa12cf603b

Change-Id: Ie9389929ab179aafd2066db6483ba2cebf5563ee

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:22:52 +0000 (23:22 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba  -s ours
am: 17ec053dd5

Change-Id: I11ea83d07eebfb55b8f1fbd0f431120c791314b1

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev
Andrew Sapperstein [Tue, 6 Sep 2016 23:22:50 +0000 (23:22 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev
am: 4e4e4ff19a

Change-Id: Ia2a0fec158a49c723cc3923baafa024aa3570c0b

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:18:46 +0000 (23:18 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759
am: 746dff40ba  -s ours

Change-Id: I304081ab8e9ddaeb48af51cc07c4d3e131e7b13b

7 years agoNull check intent before starting "learn more".
Andrew Sapperstein [Tue, 6 Sep 2016 23:18:45 +0000 (23:18 +0000)]
Null check intent before starting "learn more".
am: e56d2be0b2  -s ours

Change-Id: Ia53a28a35679db7d25c15c9cc9b862da7065f68a

7 years agoRemove help links when device is not provisioned. DO NOT MERGE am: d0a95da564 -s...
Maurice Lam [Tue, 6 Sep 2016 23:16:47 +0000 (23:16 +0000)]
Remove help links when device is not provisioned. DO NOT MERGE am: d0a95da564  -s ours
am: 534fa13894

Change-Id: I6c98994b9b7629f38e7f718a8e559456ea97443c

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:14:25 +0000 (23:14 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952
am: 94a0fa5759

Change-Id: I76460eee64ad7bc84d67379dc4f952deb2232130

7 years agoRemove help links when device is not provisioned. DO NOT MERGE
Maurice Lam [Tue, 6 Sep 2016 23:14:15 +0000 (23:14 +0000)]
Remove help links when device is not provisioned. DO NOT MERGE
am: d0a95da564  -s ours

Change-Id: Ib1a0d40efcd380ea6dc3a959770a3ce1b4e6114f

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af
Maurice Lam [Tue, 6 Sep 2016 23:11:17 +0000 (23:11 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af
am: d278da7952

Change-Id: I771b15c4c94314f7fb3f1d3d3734b0c97a35f782

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Maurice Lam [Tue, 6 Sep 2016 23:08:45 +0000 (23:08 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
am: c94f2b93af

Change-Id: Ib66b9b9d6b97fe1299a24b0c92991b4bd6a46656

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev
TreeHugger Robot [Tue, 6 Sep 2016 23:07:26 +0000 (23:07 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Maurice Lam [Fri, 2 Sep 2016 23:34:38 +0000 (16:34 -0700)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE

Remove the learn more link during setup wizard, because HelpUtils is
returning null for the intent while the device is not provisioned.

Bug: 31246856
Change-Id: I4cf5c282f170188aef98a02d3b96af5e63ea7f39

7 years agoRemove help links when device is not provisioned. DO NOT MERGE
Maurice Lam [Fri, 2 Sep 2016 00:10:59 +0000 (17:10 -0700)]
Remove help links when device is not provisioned. DO NOT MERGE

Bug: 31246856
Change-Id: Id638de8ab1c6b815d62916a584892be84cabe1ae

7 years agoNull check intent before starting "learn more".
Andrew Sapperstein [Tue, 3 May 2016 01:28:21 +0000 (18:28 -0700)]
Null check intent before starting "learn more".

It is possible in certain build configurations to have an invalid
link. Instead of crashing, swallow the error and write to logs.

BUG: 28381984
Fixes: 31246856
Change-Id: I19f20b96afb42758187707f1b86a5817e8d737a8
(cherry picked from commit 6561d4870f031395316cf2fc956f69c306f04ae4)

7 years agoMerge "Prompt to turn on/unlock profile before showing account sync settings" into...
Rubin Xu [Thu, 1 Sep 2016 10:41:29 +0000 (10:41 +0000)]
Merge "Prompt to turn on/unlock profile before showing account sync settings" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 06:36:19 +0000 (06:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Sep 2016 04:56:25 +0000 (21:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I97dae1e7f6b416d7a676e9c2c76942f6ada9582a
Auto-generated-cl: translation import

7 years agoFix NullPointerException when refreshing wifi preferences. am: b8011dbb93
Doris Ling [Thu, 1 Sep 2016 00:02:02 +0000 (00:02 +0000)]
Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93
am: 7a15f88912

Change-Id: I3b04d4d87063f928fa76b4843ca0692c8d0311cb

7 years agoFix NullPointerException when refreshing wifi preferences.
Doris Ling [Wed, 31 Aug 2016 23:59:08 +0000 (23:59 +0000)]
Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: Ib77f937b79813351594037eaa424fac33995f336

7 years agoFix NullPointerException when refreshing wifi preferences.
Doris Ling [Wed, 31 Aug 2016 21:27:19 +0000 (14:27 -0700)]
Fix NullPointerException when refreshing wifi preferences.

AccessPointPreference.refresh() is being called in different threads.
The refresh of the preference should only be updated in the main thread.
When access point updates is received not in the main thread, will post
the refreshing of the preference to the message queue to make the update
on the UI thread.

Test: auto - run monkey to verify there is no ANR or crash
      manual - go to Settings->Wifi, toggle on/off many times and verify
      there is no crash.

Change-Id: I656a70ecf2e7b9446c7b95b6b42ab19a5cc2e51c
Fixes: 30902893

7 years agoMerge "Make sure setting switch bar state is announced." into nyc-mr1-dev
Phil Weaver [Wed, 31 Aug 2016 21:32:07 +0000 (21:32 +0000)]
Merge "Make sure setting switch bar state is announced." into nyc-mr1-dev

7 years agoMerge "TetherSettings: check provisionApp array length" into nyc-mr1-dev
Rebecca Silberstein [Wed, 31 Aug 2016 20:28:56 +0000 (20:28 +0000)]
Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev

7 years agoMerge "Implement Web Action settings" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 02:20:47 +0000 (02:20 +0000)]
Merge "Implement Web Action settings" into nyc-mr1-dev

7 years agoMerge "Can restore state on rotate personal dict screen" into nyc-mr1-dev
Salvador Martinez [Wed, 31 Aug 2016 00:38:15 +0000 (00:38 +0000)]
Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev

7 years agoMerge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
Andrew Sapperstein [Wed, 31 Aug 2016 00:28:27 +0000 (00:28 +0000)]
Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
am: a200918af0

Change-Id: I7554d650756aad063d8cf091022fb2a04f823b81

7 years agoUse LinkTextView for support disclaimer text.
Andrew Sapperstein [Wed, 31 Aug 2016 00:28:27 +0000 (00:28 +0000)]
Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3

7 years agoMerge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
Andrew Sapperstein [Wed, 31 Aug 2016 00:21:29 +0000 (00:21 +0000)]
Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev

7 years agoMake sure setting switch bar state is announced.
Phil Weaver [Tue, 30 Aug 2016 23:34:38 +0000 (16:34 -0700)]
Make sure setting switch bar state is announced.

When the switch is clicked, a TYPE_VIEW_CLICKED a11y
event is produced. It works fine if the switch bar is
clicked, but if the switch itself is clicked the event
comes from the switch, which is marked as not important
for accessibility. Re-dispatching events from the switch
as coming from the switch bar makes sure that the event
comes from a view that accessibility services can see.

Bug: 30484493
Change-Id: Ie48cc78594c64b1cc5735475e1cb5959fadaaf4a

7 years agoMerge "Only display System section for current user." into nyc-mr1-dev
TreeHugger Robot [Tue, 30 Aug 2016 22:24:15 +0000 (22:24 +0000)]
Merge "Only display System section for current user." into nyc-mr1-dev

7 years agoRemove preference "Searching for Wi-Fi networks..." am: b8e8485720
Doris Ling [Tue, 30 Aug 2016 20:07:38 +0000 (20:07 +0000)]
Remove preference "Searching for Wi-Fi networks..." am: b8e8485720
am: ba7e57ec06

Change-Id: Ic2e0b0c977cf11dcca4ed87deeb8bc6fe9a27420

7 years agoRemove preference "Searching for Wi-Fi networks..."
Doris Ling [Tue, 30 Aug 2016 20:05:09 +0000 (20:05 +0000)]
Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: Ie264fbdddf2aff8b8f5f4d6aac2fc079b98c9747

7 years agoUse LinkTextView for support disclaimer text.
Andrew Sapperstein [Tue, 30 Aug 2016 19:54:52 +0000 (12:54 -0700)]
Use LinkTextView for support disclaimer text.

LinkTextView uses LinkAccessibilityHelper to properly handle
making links accessible.

Deleted Settings' outdated fork for the version in setupwizardlib.

Test: manual

Change-Id: I38c031f96b5be0d45e4cc1aa358f95b229f17480
Fixes: 31077012

7 years agoOnly display System section for current user.
Felipe Leme [Mon, 29 Aug 2016 21:28:56 +0000 (14:28 -0700)]
Only display System section for current user.

Otherwise it will be displayed twice on work profiles.

Change-Id: Ic7d21a57f72b9f4a254d574adce90afd7cd27b90
Test: manual verification
Fixes: 31108318

7 years agoCan restore state on rotate personal dict screen
Salvador Martinez [Wed, 17 Aug 2016 18:53:14 +0000 (11:53 -0700)]
Can restore state on rotate personal dict screen

When adding/editing a word for your personal dictionary
rotating the screen could cause the language to change
back to the device default. This has been fixed.

Test: ag/1389633, robolectric not supported in this branch.
Bug: 30874931
Change-Id: I0c8ebec5f4d5e7b23112b656c482c3b2cda7791f

7 years agoRemove preference "Searching for Wi-Fi networks..."
Doris Ling [Tue, 30 Aug 2016 01:44:41 +0000 (18:44 -0700)]
Remove preference "Searching for Wi-Fi networks..."

When we add the preference "Searching for Wi-Fi networks...", we didn't
provide a key to the preference. As a result, each time when we get
access point update and try to show such tile, it creates a new one, and
results in multiple entries of such tile. Adding a key to the preference
will prevent the multiple entry from being added.

Test: Manual -
1. Turn wifi off and on several times, verify that there is only one entry
   of "Searching for Wi-Fi networks..." when initializing the wifi access
   point list.
2. Verifies that when the access point list is established, the
   "Searching for Wi-Fi networks..." entry is gone.

Change-Id: Iaad329d89f8e4b52129d0661501aa34fbd956692

Change-Id: I1bfa77051e068926e8c876a89adf14d143970e7e
Fixes: 31143961

7 years agoMerge "Add label to redaction interstitial activity" into nyc-mr1-dev
Maurice Lam [Mon, 29 Aug 2016 23:36:34 +0000 (23:36 +0000)]
Merge "Add label to redaction interstitial activity" into nyc-mr1-dev

7 years agoMerge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev
TreeHugger Robot [Mon, 29 Aug 2016 21:39:34 +0000 (21:39 +0000)]
Merge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev

7 years agoFix multiple bluetooth devices bug am: e2428aff75
Jason Monk [Mon, 29 Aug 2016 19:05:37 +0000 (19:05 +0000)]
Fix multiple bluetooth devices bug am: e2428aff75
am: 716313a533

Change-Id: I05f6b74325359b96e7d52dc5869d341346e9c591