Commit Graph

27729 Commits

Author SHA1 Message Date
Salvador Martinez
e8d96b5700 Merge "Updated Nexus imprint screen" into nyc-mr1-dev
am: 96fb5d795f

Change-Id: Iaf479def55d9fabb93ff04e62d40eef586e833f3
2016-08-26 17:13:41 +00:00
Salvador Martinez
f2a6608c8c Updated Nexus imprint screen
am: 2acb2257cd

Change-Id: I2017163f0c62e92190ed12975d662b8627066548
2016-08-26 17:13:40 +00:00
Salvador Martinez
96fb5d795f Merge "Updated Nexus imprint screen" into nyc-mr1-dev 2016-08-26 17:01:12 +00:00
Rubin Xu
3231afe95b Prompt to turn on/unlock profile before showing account sync settings
Bug: 29087280
Change-Id: I39e175ab23d4f1071727fe9c0906e40da1e7aada
2016-08-26 16:35:06 +01:00
Maurice Lam
d42834fffd Merge "Fix fingerprint progress bar in RTL" into nyc-mr1-dev
am: f15fe812ec

Change-Id: I1aca69f0de90eed7a643c501d41d61caeae48eec
2016-08-26 01:15:30 +00:00
Maurice Lam
4a637f1496 Fix fingerprint progress bar in RTL
am: e8da03bcaa

Change-Id: If084189ef8361d15dde4b05058cac7db163a8ede
2016-08-26 01:15:30 +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
b7dfaa585b Merge "Add the specific string for the tablet device" into nyc-mr1-dev
am: 5d825bc3f3

Change-Id: I353ecbb00c1747d9416c770b54d19aff55b347d9
2016-08-26 00:00:07 +00:00
jackqdyulei
c41dff3a52 Add the specific string for the tablet device
am: ba28b26105

Change-Id: Id0060403b2b094f7033457b1426d8641f7e97ec9
2016-08-26 00:00:05 +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
fedea9ed8d Merge "Added guard to logging in AsyncTask" into nyc-mr1-dev
am: 43344c83af

Change-Id: Ibb2e26af8b72ad113e8ba9f7f33b676578fffa62
2016-08-25 19:59:35 +00:00
Salvador Martinez
60bd509d4e Added guard to logging in AsyncTask
am: 030eeeee6d

Change-Id: I5ad7dec889004484117a621a18e61c477c0c94d6
2016-08-25 19:59:34 +00: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
562c577e9c 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
am: 9e714c5871

Change-Id: I04d1d090ada0e2a83e55a6b7ef4b7824dd9fc929
2016-08-25 18:46:22 +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
Doris Ling
02685e4408 Merge "Add tablet and device product version for the Moves description text." into nyc-mr1-dev
am: a40300e753

Change-Id: Iab4a482e8335c4de92c1dfdb081e96de95f60cd6
2016-08-25 02:34:00 +00:00
Doris Ling
e9541147d2 Add tablet and device product version for the Moves description text.
am: fd87b198b1

Change-Id: Ia2a7efb92cde0d344c2ecd4b674794d362ef713a
2016-08-25 02:33:59 +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
40b3ad2b2c Fix animation video render issue when Settings->Moves is resumed from screen off. am: 465e926542
am: 6361e8fc86

Change-Id: I673c72f0cf7311a9e0381f6b2e2461458ac932bf
2016-08-25 02:00:58 +00:00
Doris Ling
11b1c2742d Merge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev
am: b6ad0f9349

Change-Id: I86af1fc7787adb7afdbe8aa51b3cc185846215af
2016-08-25 02:00:57 +00:00
Doris Ling
773a2ab217 Fix crash in ChooseLockPassworkFragment.
am: f958f2e14e

Change-Id: I5df6a8989513347f6f55cc5fff9c54852c2a80ec
2016-08-25 02:00:57 +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
f5fff83919 Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc am: 1330f130d6
am: 4bc20232d6

Change-Id: I684e6b21b297d9a681e1b1358192543167f4284a
2016-08-25 00:51:22 +00: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
Fan Zhang
d08309e829 Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev
am: 06609bec29

Change-Id: Icb5b897c07ff28a2b18ff897a9d23209aeb7b429
2016-08-25 00:20:21 +00:00
Fan Zhang
bc6e2c49f0 Don't remove wifi preferences when updating AP to avoid GC.
am: 3f0e1344d3

Change-Id: I3062dbcb338d5068afbd8318e23a778659641744
2016-08-25 00:20:20 +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
f485dd3e10 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
am: eed4d98eca

Change-Id: I270759839d269ad80b003f5897b1ed8df777eb69
2016-08-24 21:27:04 +00:00
Noah Wang
509449d34f 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: 5666ddfe5d

Change-Id: I4df4b99664e4ce608efbcf909172e38e8b5cc86d
2016-08-24 21:27:03 +00: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
Fyodor Kupolov
bf88b269ca Ignore onPreferenceChange for top level preference
Top level preferences are handled in onClick. Returning true would 
toggle the state of the switcher.

Test: Manually tested App & content access page
Bug: 30909943
Change-Id: I9487044aa67c20c9cb0e9bb9de8911f17e05d808
2016-08-24 18:06:33 +00:00
Doris Ling
7822cb6d35 Merge "Fix animation video render issue when Settings->Moves is resumed from screen off." into nyc-mr1-dev
am: b88068a876

Change-Id: Ia49233d7e13eedad46af92ea58c08cedc0f07b0d
2016-08-24 04:08:55 +00:00
Doris Ling
12967ed1a8 Fix animation video render issue when Settings->Moves is resumed from screen off.
am: 008ba4ec40

Change-Id: I48898d70a02a96a4fc76aa04bfeab309d6e9785f
2016-08-24 04:08:55 +00: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
Fan Zhang
a9d2aa8dfa Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev
am: 2c8178db3a

Change-Id: I66489cdc64f5a2ce9ac2ca3c75014d8d3c981c7a
2016-08-24 00:36:11 +00:00
Fan Zhang
2fd3f18e27 Use isOemUnlockEnabled to drive oem unlocking toggle.
am: 83f91f61ae

Change-Id: I11d1210beaa26a0bad54e03f7a08817a3c500fe3
2016-08-24 00:36:10 +00:00