Commit Graph

27942 Commits

Author SHA1 Message Date
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
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
Maurice Lam
8291dc725d Merge "Remove duplicate string for fingerprint enroll" into nyc-mr1-dev
am: 993d37749e

Change-Id: I22a772df18ca5439912ad8b18e4aef0234f558fa
2016-08-23 22:23:01 +00:00
Maurice Lam
e0c8fcf453 Remove duplicate string for fingerprint enroll
am: 64ac93ba40

Change-Id: Id49d79278ad68b0b49194576467b5e0714c55c89
2016-08-23 22:23:00 +00:00
Maurice Lam
993d37749e Merge "Remove duplicate string for fingerprint enroll" into nyc-mr1-dev 2016-08-23 22:19:57 +00:00
Doris Ling
12a0952d49 Merge "Log settings suggestions events only once." into nyc-mr1-dev
am: c4e5acedba

Change-Id: Ice4efccbb63061053bc1b2ea75f65fcfe41555d0
2016-08-23 22:18:00 +00:00
Doris Ling
f757d1ede8 Log settings suggestions events only once.
am: bfbb964cb1

Change-Id: If4e3e15b56c7e5a99eb54376c519019ff44d6a34
2016-08-23 22:18:00 +00:00
Doris Ling
c4e5acedba Merge "Log settings suggestions events only once." into nyc-mr1-dev 2016-08-23 22:15:52 +00:00
Fan Zhang
83f91f61ae Use isOemUnlockEnabled to drive oem unlocking toggle.
Bug: 31031467
Test: manually turned on/off persistent_data_block

Change-Id: I21d18a898a220f9e46a53715d4b4fa01c7116e7f
2016-08-23 15:14:19 -07:00
Svetoslav Ganov
6f9bf1da90 Only sync adapters with access can see an account - settings
This change ensures that when the user tries to toggle a sync for a
sync adapter that doesn't have access to an account we show UI for
the user to approve the sync.

bug:28163381

Change-Id: I59802df6614572cf0eaf4b72a177beb111b87b34
2016-08-23 21:44:47 +00:00
Doris Ling
13a4eeb2a9 Add scrollbar to Settings app.
am: 124251d54e

Change-Id: Id59772914f83860c5ff46ace71d640e17623c98d
2016-08-23 21:43:33 +00:00
Maurice Lam
05c38450e2 Add label to redaction interstitial activity
Bug: 30262038
Change-Id: Ic5f4f8b003acbe4f8735ec8da112f069b9d48e5a
(cherry picked from commit 43366f12d9)
2016-08-23 21:00:59 +00:00
Maurice Lam
5fffa74d68 Position fingerprint progress in the center on landscape
Update the layout of the landscape fingerprint enrolling screen to
be consistent with fingerprint find sensor, which vertically centers
the graphic on the right.
Also added back the accessibility live region for TalkBack.

Bug: 30288351
Bug: 30287231
Change-Id: Ia5b429215e36bbc108585aa8b14330b77ddc8584
(cherry picked from commit c81575138e)
2016-08-23 20:58:50 +00:00
Maurice Lam
64ac93ba40 Remove duplicate string for fingerprint enroll
Bug: 30661068
Change-Id: Id8ba9eee04eded2c85535a577ac0f5a83034ce96
(cherry picked from commit 56093f6f4f)
2016-08-23 20:57:28 +00:00
Fan Zhang
68c6d9956f Force phone number display to be LTR in support tab.
Bug: 31030062
Test: manual switch between LTR/RLT languages

Change-Id: I94272c0ecbfa2f96842838c0f590b3704cd5c020
(cherry picked from commit dcfdde5a2c)
2016-08-23 20:41:02 +00:00
Doris Ling
bfbb964cb1 Log settings suggestions events only once.
The show/hide settings suggestions events are logged every time Settings
is shown. Save the logged events into the state bundle so that when the
fragment is resumed, it does not re-log the suggestions events.

Also move the logging for the show suggestion event to when the suggestion
is loaded, as the suggestions can be empty when the fragment starts.

Change-Id: I644ea0012bad309e59fed0d48171915c955779cc
Fixes: 30108142
2016-08-23 13:25:06 -07:00
Doris Ling
124251d54e Add scrollbar to Settings app.
Overlay PreferenceTheme to add scrollbar to the view, and also add
scrollbar to the dashboard.

Change-Id: I2273b0825b200048bd1914923b551a593aa1e16d
Fixes: 30204662
Test: manual - Launch Settings and different sub-settings, and verify
that scrollbar is shown for screen that can be scrolled.
2016-08-23 10:46:06 -07:00
Rubin Xu
f9665da994 Merge "Remove duplicated call to authenticationSucceeded()" into nyc-mr1-dev
am: 0948ce0cdb

Change-Id: I3bafba20cd5a44eb9af7de66e056dc5cc558b63e
2016-08-23 16:22:49 +00:00
Rubin Xu
886af76fb3 Remove duplicated call to authenticationSucceeded()
am: 3a437490be

Change-Id: I929ab9d63c5100b30bfec87ee6be0b4d1164cc81
2016-08-23 16:22:49 +00:00
Rubin Xu
bd7e2376fc Merge "Do not require MANAGE_DEVICE_ADMINS for showing admin-specifc policy transparency dialog" into nyc-mr1-dev
am: 7a4ecbac12

Change-Id: Id5ee904fbde064dba4702cdb9bae99c063d96d94
2016-08-23 16:07:40 +00:00
Rubin Xu
7425b2d677 Do not require MANAGE_DEVICE_ADMINS for showing admin-specifc policy transparency dialog
am: da9f9a0fab

Change-Id: I2a45a4530fdd25f372f08315a21ca92c453bcdd9
2016-08-23 16:07:36 +00:00
Doris Ling
7849b2044c Merge "Fix crash when selecting AppInfo for uninstalled app from Recents." into nyc-mr1-dev
am: 6cdd5fccd8

Change-Id: If5eba9204524418e94c71a8278e7f64d2cb9cdf4
2016-08-23 16:07:32 +00:00
Doris Ling
0f7d5f36a3 Fix crash when selecting AppInfo for uninstalled app from Recents.
am: 7574b64910

Change-Id: I9ade2a06180e6464ab105c1a12c5383aa480f77a
2016-08-23 16:07:29 +00:00
Doris Ling
7c529e5ba8 Merge "Update Jump to Camera gesture settings description text." into nyc-mr1-dev
am: e9af5024a1

Change-Id: I96a1065ccd019d71b70149e9966359523825f2f9
2016-08-23 16:07:25 +00:00
Doris Ling
b9ed707735 Update Jump to Camera gesture settings description text.
am: 8d9b89ed5c

Change-Id: If069afdba7a7d7d4f8ce8038dabdebd0a0ee13de
2016-08-23 16:07:23 +00:00
Doris Ling
f1c69ead73 Merge "Fix caption text being cut off when text size is set to very large." into nyc-mr1-dev
am: cf988e3d64

Change-Id: Ie46fff82f0630407d46fc21f8b1558acdcaea063
2016-08-23 16:07:19 +00:00