Commit Graph

27413 Commits

Author SHA1 Message Date
jackqdyulei
c41dff3a52 Add the specific string for the tablet device
am: ba28b26105

Change-Id: Id0060403b2b094f7033457b1426d8641f7e97ec9
2016-08-26 00:00:05 +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
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
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
TreeHugger Robot
2c8178db3a Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev 2016-08-24 00:31:54 +00:00
Svetoslav Ganov
3300192cdb Merge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev
am: de090f3f85

Change-Id: I2d62ede26a41eee9f7a98a17df255c2b2f516b6c
2016-08-23 23:35:22 +00:00
Svetoslav Ganov
a2c7515a3f Only sync adapters with access can see an account - settings
am: 6f9bf1da90

Change-Id: Ia97c5fe3a1101b9472bc8370671fba838d59edf7
2016-08-23 23:35:21 +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
Sudheer Shanka
35221c350d Merge "Show summary of "Add user" item" into nyc-mr1-dev
am: acd34a9c72

Change-Id: Idc7d32b89a569e1201097dad3ad480a82b7f75fd
2016-08-23 23:25:09 +00:00
Yoshinori Hirano
9224414477 Show summary of "Add user" item
am: 2ce843b00e

Change-Id: I413ab13bbf58b7100348d20c02aeeff850a84639
2016-08-23 23:25:05 +00:00
Sudheer Shanka
acd34a9c72 Merge "Show summary of "Add user" item" into nyc-mr1-dev 2016-08-23 23:23:08 +00:00
Doris Ling
008ba4ec40 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
2016-08-23 16:08:34 -07:00
Maurice Lam
b62638e83b Merge "Position fingerprint progress in the center on landscape" into nyc-mr1-dev
am: 497704a2cf

Change-Id: I1e33c4ce331e2060b91b8038aca35c4a746b8edc
2016-08-23 23:08:05 +00:00
Maurice Lam
b2d7eced0b Position fingerprint progress in the center on landscape
am: 5fffa74d68

Change-Id: I8a989108c1a72eef25bd0fe90875be856bd81cbc
2016-08-23 23:08:04 +00:00
Maurice Lam
497704a2cf Merge "Position fingerprint progress in the center on landscape" into nyc-mr1-dev 2016-08-23 22:57:32 +00:00
Fan Zhang
97df6439b9 Force phone number display to be LTR in support tab. am: 68c6d9956f
am: 197829fb8a

Change-Id: Iccbd0ec126818f295d45855a8b2bc3d338bd9939
2016-08-23 22:46:01 +00:00
Fan Zhang
197829fb8a Force phone number display to be LTR in support tab.
am: 68c6d9956f

Change-Id: Ib5a7b11f9063af047f37a1f342ec715c590cb337
2016-08-23 22:43:30 +00:00