Commit Graph

30011 Commits

Author SHA1 Message Date
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
2334c0f7fd Merge "Add tablet and device product version for the Moves description text." into nyc-mr1-dev am: a40300e753
am: 02685e4408

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

Change-Id: I2ed4607d2ffe218bfe02afcbb44c15572509a39e
2016-08-25 02:36:59 +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
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
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
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
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
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
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
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
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
8467747449 Merge "Fix animation video render issue when Settings->Moves is resumed from screen off." into nyc-mr1-dev am: b88068a876
am: 7822cb6d35

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

Change-Id: Ief21c41a4caaa4f20b12cd9987c8fba32fe16f2a
2016-08-24 04:11:42 +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
5de68da85a Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev am: 2c8178db3a
am: a9d2aa8dfa

Change-Id: I6eecc24f52e48900620058f7c4142275ad391d22
2016-08-24 02:33:39 +00:00
Fan Zhang
6c5c9ba8cb Use isOemUnlockEnabled to drive oem unlocking toggle. am: 83f91f61ae
am: 2fd3f18e27

Change-Id: Ied30f294df99b869e06ee4dc11c300da3fd70ade
2016-08-24 02:33:38 +00:00
Svetoslav Ganov
00f7070f18 Merge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev am: de090f3f85
am: 3300192cdb

Change-Id: Icd81d8d32a85f5cb926d84f5b3239b93d6ce0d7e
2016-08-24 02:10:31 +00:00
Svetoslav Ganov
e9f958f2b6 Only sync adapters with access can see an account - settings am: 6f9bf1da90
am: a2c7515a3f

Change-Id: I4b0d16639837e73fced0260e93b29c08aa4b7346
2016-08-24 02:10:20 +00:00
Sudheer Shanka
c1cbdef71d Merge "Show summary of "Add user" item" into nyc-mr1-dev am: acd34a9c72
am: 35221c350d

Change-Id: Icfef29048747e36f5fdac374be18d092ccb71c9d
2016-08-24 02:10:18 +00:00