Commit Graph

27286 Commits

Author SHA1 Message Date
Bill Yi
3afce04bf8 Import translations. DO NOT MERGE
Change-Id: I97dae1e7f6b416d7a676e9c2c76942f6ada9582a
Auto-generated-cl: translation import
2016-08-31 21:56:25 -07:00
TreeHugger Robot
1721e4510f Merge "Implement Web Action settings" into nyc-mr1-dev 2016-08-31 02:20:47 +00:00
Salvador Martinez
adfcb15518 Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev 2016-08-31 00:38:15 +00:00
Andrew Sapperstein
65a8409ddc Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
am: a200918af0

Change-Id: I7554d650756aad063d8cf091022fb2a04f823b81
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
d63e187b1a Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
a200918af0 Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev 2016-08-31 00:21:29 +00:00
TreeHugger Robot
c24a46128a Merge "Only display System section for current user." into nyc-mr1-dev 2016-08-30 22:24:16 +00:00
Doris Ling
dc8a2d2b36 Remove preference "Searching for Wi-Fi networks..." am: b8e8485720
am: ba7e57ec06

Change-Id: Ic2e0b0c977cf11dcca4ed87deeb8bc6fe9a27420
2016-08-30 20:07:38 +00:00
Doris Ling
ba7e57ec06 Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: Ie264fbdddf2aff8b8f5f4d6aac2fc079b98c9747
2016-08-30 20:05:09 +00:00
Andrew Sapperstein
7e9146950d 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
2016-08-30 19:57:39 +00:00
Felipe Leme
ce37ef51aa Only display System section for current user.
Otherwise it will be displayed twice on work profiles.

Change-Id: Ic7d21a57f72b9f4a254d574adce90afd7cd27b90
Test: manual verification
Fixes: 31108318
2016-08-30 12:00:27 -07:00
Salvador Martinez
8f4eb4d74b 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
2016-08-30 18:34:15 +00:00
Doris Ling
b8e8485720 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
2016-08-30 17:41:44 +00:00
Maurice Lam
23a91fb029 Merge "Add label to redaction interstitial activity" into nyc-mr1-dev 2016-08-29 23:36:35 +00:00
TreeHugger Robot
5dbc933501 Merge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev 2016-08-29 21:39:34 +00:00
Jason Monk
3c929b5cd3 Fix multiple bluetooth devices bug am: e2428aff75
am: 716313a533

Change-Id: I05f6b74325359b96e7d52dc5869d341346e9c591
2016-08-29 19:05:37 +00:00
Jason Monk
716313a533 Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: Ia4fadb8ea7e4818dde27e3806401735622c6a516
2016-08-29 18:54:18 +00:00
Philip P. Moltmann
6a6db008a9 Hide unused recylerview to not confuse talkback.
Fixes: 31088913
Change-Id: I1394cec881d8a1944004a69bc787e5341f8c9ddc
2016-08-29 18:03:26 +00:00
Jason Monk
e2428aff75 Fix multiple bluetooth devices bug
Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
(cherry picked from commit 6666f9cc37)
2016-08-29 13:26:26 +00:00
Geoffrey Pitsch
1ff11c5ef0 Merge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev 2016-08-29 13:06:21 +00:00
Doris Ling
302abf2f54 Merge "Re-enable Ambient Display double tab." into nyc-mr1-dev 2016-08-27 00:04:19 +00:00
Doris Ling
fec320324c Re-enable Ambient Display double tab.
Restoring the changes to move Display->Ambient Display to Moves->Quick screen

This reverts commit 9b3000d8ac, except for
the removal of res/raw/gesture_ambient_move_lift.mp4

Test: Manual - Go to Settings->Display->Quick screen check and verify
the preference is restored.

Bug: 30595437
Change-Id: Ie50bcebd119714d49422b7139d0d0234f27584e2
2016-08-26 14:46:03 -07:00
Doris Ling
797dd7440d Fix NullPointerException in DashboardSummary.
In onSaveInstanceState(), move saving the suggestions logging lists to
the top so that it will be saved to the bundle even when layout manager
is null.

Test: run monkey
Change-Id: I248563a255158feadeb85898a920af96a1565fa9
Fixes:31111795
2016-08-26 11:13:21 -07:00
Salvador Martinez
96fb5d795f Merge "Updated Nexus imprint screen" into nyc-mr1-dev 2016-08-26 17:01:12 +00:00
TreeHugger Robot
f15fe812ec Merge "Fix fingerprint progress bar in RTL" into nyc-mr1-dev 2016-08-26 00:56:16 +00:00
Lei Yu
5d825bc3f3 Merge "Add the specific string for the tablet device" into nyc-mr1-dev 2016-08-25 23:48:50 +00:00
Maurice Lam
e8da03bcaa Fix fingerprint progress bar in RTL
Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
(cherry picked from commit 6e300bca3a)
2016-08-25 23:28:25 +00:00
jackqdyulei
ba28b26105 Add the specific string for the tablet device
Bug: 30761670

Add "product=default" in support_disclaimer_content to prevent crash
when merging down to master branch.

Change-Id: Ib9ce94288ca4cf13514ba2af64031bd3ecafab7f
2016-08-25 15:04:12 -07:00
Salvador Martinez
43344c83af Merge "Added guard to logging in AsyncTask" into nyc-mr1-dev 2016-08-25 19:57:25 +00:00
Todd Kennedy
d5824967ee Implement Web Action settings
Users can enable / disable Web Action from "Opening links" under
the apps setting.

Bug: 28140107
Change-Id: I4ed4b77953952a56316b780a54a482d0c564cbe4
Test: manual testing of the settings app
2016-08-25 12:56:37 -07:00
Salvador Martinez
2acb2257cd Updated Nexus imprint screen
The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
(cherry picked from commit 3d2d5e040a)
2016-08-25 19:55:11 +00:00
Noah Wang
9e714c5871 Inflate necessary previews upon user interaction instead of inflating everything on creation of the screen. This will improve the speed of opening the screen and refreshing screen upon commiting change.
am: ff23df19ba

Change-Id: I5667a6eecd3ab379a34a1d3488b6f03f354358d1
2016-08-25 18:42:57 +00:00
Salvador Martinez
030eeeee6d Added guard to logging in AsyncTask
An async task was trying to get the context
in an InstrumentedFragment. This could return
null if the context disappears before the new
thread gets to that line. Logging will now
be aborted if context is null to avoid this.

Test: Manual/Monkey Stability Test
Bug: 31058928
Change-Id: Iae97d389e58a76b0f213a2749415501894ebf649
(cherry picked from commit 566b66e27c)
2016-08-25 17:45:24 +00:00
Noah Wang
ff23df19ba Inflate necessary previews upon user interaction instead of
inflating everything on creation of the screen. This will
improve the speed of opening the screen and refreshing screen upon
commiting change.

Test: Manually tested by interacting with ViewPager and SeekBar.
Bug: 30697309
Change-Id: Ieb2fac95696b8be33fd508f3b75741529b68e946
(cherry picked from commit 5666ddfe5d)
2016-08-25 07:39:08 +00:00
TreeHugger Robot
a40300e753 Merge "Add tablet and device product version for the Moves description text." into nyc-mr1-dev 2016-08-25 02:27:14 +00:00
Doris Ling
6361e8fc86 Fix animation video render issue when Settings->Moves is resumed from screen off.
am: 465e926542

Change-Id: Ie92491dd5aa16a473ead297a56795fe0d72bbb93
2016-08-25 01:54:55 +00:00
TreeHugger Robot
b6ad0f9349 Merge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev 2016-08-25 01:44:22 +00:00
Doris Ling
465e926542 Fix animation video render issue when Settings->Moves is resumed from
screen off.

Re-initialize the animation video if necessary when the preference is
visible to the user.

Fixes: 31023261

Test: manual -
1. Go to Settings -> Moves and verify that the animation video are
displayed correctly on load.
2. Press power button to turn screen off, then on again. Verify when
Moves settings resumes, the animation video is displayed correctly.
3. Repeat #2 above but let display time out instead of turning off
screen by power button.

Change-Id: I0ee21d23a4c402b3a8463dca3b36fce67d651993
(cherry picked from commit 008ba4ec40)
2016-08-25 01:02:49 +00:00
Doris Ling
fd87b198b1 Add tablet and device product version for the Moves description text.
Provide corresponding version of the string device/phone/tablet
according to the product type.

Change-Id: I9f1e47b88ee0d72bb52b588f781470922ba572c2
Fixes: 30946424
2016-08-24 17:52:56 -07:00
Fan Zhang
4bc20232d6 Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc
am: 1330f130d6

Change-Id: Ifa8d1b0f30a07243a49a61bd92072de4e90e8709
2016-08-25 00:47:51 +00:00
Fan Zhang
1330f130d6 Don't remove wifi preferences when updating AP to avoid GC.
am: 9d031f2fbc

Change-Id: I0a4c7204dcb79880aee5db620b9642b8a1314757
2016-08-25 00:44:53 +00:00
Doris Ling
f958f2e14e Fix crash in ChooseLockPassworkFragment.
Check for null activity when the handler receives messages to ensure
that the fragment is still attached to the activity.

Fixes: 31034901

Test: Manual - Manually try to update password, verify it works. Run
monkey test on settings package and verify no crash seen.

Change-Id: I9753729ee64458fa1bc25d78abc946d2563a5067
2016-08-24 17:17:52 -07:00
TreeHugger Robot
06609bec29 Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev 2016-08-25 00:09:49 +00:00
Fan Zhang
9d031f2fbc Don't remove wifi preferences when updating AP to avoid GC.
Bug: 30870531

Removing wifi preferences every time will force update create a new set
of preferences, which leads to higher chance of GC.

Change-Id: Ifea2f63a3b54fa0d5861fb34a348d81e99bcab68
2016-08-24 22:49:13 +00:00
Fan Zhang
3f0e1344d3 Don't remove wifi preferences when updating AP to avoid GC.
Bug: 30870531

Removing wifi preferences every time will force update create a new set
of preferences, which leads to higher chance of GC.

Change-Id: Ifea2f63a3b54fa0d5861fb34a348d81e99bcab68
2016-08-24 15:31:10 -07:00
Noah Wang
eed4d98eca Merge "Inflate necessary previews upon user interaction instead of inflating everything on creation of the screen. This will improve the speed of opening the screen and refreshing screen upon commiting change." into nyc-mr1-dev 2016-08-24 21:16:14 +00:00
Noah Wang
5666ddfe5d Inflate necessary previews upon user interaction instead of
inflating everything on creation of the screen. This will
improve the speed of opening the screen and refreshing screen upon
commiting change.

Test: Manually tested by interacting with ViewPager and SeekBar.
Bug: 30697309
Change-Id: Ieb2fac95696b8be33fd508f3b75741529b68e946
2016-08-24 12:05:26 -07:00
Doris Ling
b88068a876 Merge "Fix animation video render issue when Settings->Moves is resumed from screen off." into nyc-mr1-dev 2016-08-24 04:05:39 +00:00
TreeHugger Robot
2c8178db3a Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev 2016-08-24 00:31:54 +00:00
TreeHugger Robot
de090f3f85 Merge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev 2016-08-23 23:26:48 +00:00