Commit Graph

31170 Commits

Author SHA1 Message Date
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
ed9cb4f2d5 Fix animation video render issue when Settings->Moves is resumed from screen off. am: 465e926542 am: 6361e8fc86 am: 40b3ad2b2c
am: 478c96245a

Change-Id: I4c5ca46f1dbebd283a8ec6aee1753c37057226a6
2016-08-25 02:18:37 +00:00
Doris Ling
7200d487ff Merge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev am: b6ad0f9349 am: 11b1c2742d
am: f3c7ad2408

Change-Id: Ie3531ec030e056b82b4d66868ef28bababff6b6c
2016-08-25 02:18:36 +00:00
Doris Ling
7b3a5e0bd2 Fix crash in ChooseLockPassworkFragment. am: f958f2e14e am: 773a2ab217
am: 6ffe36cf79

Change-Id: I6792e6ac9bd209c7e2dc8b20a5173bb01ed788bc
2016-08-25 02:18:35 +00:00
Doris Ling
478c96245a Fix animation video render issue when Settings->Moves is resumed from screen off. am: 465e926542 am: 6361e8fc86
am: 40b3ad2b2c

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

Change-Id: Ie08cffb72ec311addaf821d0005bf3f84388bfd6
2016-08-25 02:06:59 +00:00
Doris Ling
6ffe36cf79 Fix crash in ChooseLockPassworkFragment. am: f958f2e14e
am: 773a2ab217

Change-Id: Iaf85188f0b3df6884a876aa120b13fead5478295
2016-08-25 02:06:58 +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
Maurice Lam
6e300bca3a Fix fingerprint progress bar in RTL
Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
2016-08-25 01:55:37 +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
Fan Zhang
8954c27e6e Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc am: 1330f130d6 am: 4bc20232d6 am: f5fff83919
am: a12487e021

Change-Id: I4d38c456417f2e3425a6027d29ed3b886cf1b265
2016-08-25 01:15:43 +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
Fan Zhang
a12487e021 Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc am: 1330f130d6 am: 4bc20232d6
am: f5fff83919

Change-Id: I718fe8765c1102f04472a94cdae5eb76a2d7f921
2016-08-25 00:54:23 +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
4209d80d01 Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc am: 1dda6f6430
am: 7edd25c8b6

Change-Id: Id086450a5b234e2c45b3e152bd21c4e0fa7c744e
2016-08-25 00:51:36 +00:00
Fan Zhang
172d94e281 Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev am: 06609bec29 am: d08309e829
am: 442e87e0a3

Change-Id: I52de239834df02a55e6c3c586e989f27cbaca87f
2016-08-25 00:51:35 +00:00
Fan Zhang
1bab964a5d Don't remove wifi preferences when updating AP to avoid GC. am: 3f0e1344d3 am: bc6e2c49f0
am: d96bc5b5a6

Change-Id: Id10ded6d97308c175194ffb59afdd89e924ed1c8
2016-08-25 00:51:34 +00: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
Salvador Martinez
3d2d5e040a 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
2016-08-24 17:51:14 -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
7edd25c8b6 Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc
am: 1dda6f6430

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

Change-Id: I3b589d86fc6ecd1a6caf0db9f3b9f7674dbe046a
2016-08-25 00:44:53 +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
TreeHugger Robot
e96d65deea Merge "Added guard to logging in AsyncTask" 2016-08-25 00:36:32 +00:00
Fan Zhang
442e87e0a3 Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev am: 06609bec29
am: d08309e829

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

Change-Id: Id21a0340fd29bee4ee5bdf721d3ec7b44be8a961
2016-08-25 00:30:17 +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
Salvador Martinez
566b66e27c 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.

Bug: 31058928
Change-Id: Iae97d389e58a76b0f213a2749415501894ebf649
2016-08-24 15:11:21 -07:00
Noah Wang
5f288793fa 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 am: f485dd3e10
am: d7e225553e

Change-Id: I89dfa16694c4f18beb64d84ecc3cf99be4a133bd
2016-08-24 21:44:23 +00:00
Noah Wang
714474079a 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 am: 509449d34f
am: 4e1499da6e

Change-Id: I61fd482993d0e0a880f70282cb59ca09b58a137e
2016-08-24 21:44:22 +00:00
Noah Wang
d7e225553e 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
am: f485dd3e10

Change-Id: I27c452c88cad7653436d26ae506390d87a46d802
2016-08-24 21:30:04 +00:00
Noah Wang
4e1499da6e 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
am: 509449d34f

Change-Id: Id9d77a210032c7ac71d7c445aea9b13648c1b6b0
2016-08-24 21:30:04 +00: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
TreeHugger Robot
f33034a114 Merge "Add lifecycle observers for future mixin structures." 2016-08-24 19:12:12 +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
2f60eec1fc Fix animation video render issue when Settings->Moves is resumed from screen off. am: 008ba4ec40 am: 12967ed1a8
am: 8467747449

Change-Id: I5ae2a65f4849588cccfa25b0d7ef981c0bef8eb5
2016-08-24 16:18:05 +00:00
Fan Zhang
e668afed14 Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev am: 2c8178db3a am: a9d2aa8dfa
am: 77ba0620ea

Change-Id: I7a557b4ce9923b7d9b3bd2add8c02fdbadfe589d
2016-08-24 16:18:02 +00:00
Fan Zhang
c179517c8e Use isOemUnlockEnabled to drive oem unlocking toggle. am: 83f91f61ae am: 2fd3f18e27
am: 5de68da85a

Change-Id: I5788b58e9e09fb64bd935450c51f604b30c75b65
2016-08-24 16:18:00 +00:00
Svetoslav Ganov
c459be6e29 Merge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev am: de090f3f85 am: 3300192cdb
am: 6c5c9ba8cb

Change-Id: Ib4a9e14a63bc6f2cb4cd49b1c20e3efacc95f204
2016-08-24 16:17:57 +00:00
Svetoslav Ganov
eccd37267c Only sync adapters with access can see an account - settings am: 6f9bf1da90 am: a2c7515a3f
am: 00f7070f18

Change-Id: Ib7efe9e11caf2e53cc73627d9ccc7ae834145b6a
2016-08-24 16:16:54 +00:00