Commit Graph

27399 Commits

Author SHA1 Message Date
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
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
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
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
TreeHugger Robot
2c8178db3a Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev 2016-08-24 00:31:54 +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
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
497704a2cf Merge "Position fingerprint progress in the center on landscape" into nyc-mr1-dev 2016-08-23 22:57:32 +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
993d37749e Merge "Remove duplicate string for fingerprint enroll" into nyc-mr1-dev 2016-08-23 22:19:57 +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
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
0948ce0cdb Merge "Remove duplicated call to authenticationSucceeded()" into nyc-mr1-dev 2016-08-23 13:07:02 +00:00
Rubin Xu
7a4ecbac12 Merge "Do not require MANAGE_DEVICE_ADMINS for showing admin-specifc policy transparency dialog" into nyc-mr1-dev 2016-08-23 12:59:17 +00:00
Doris Ling
6cdd5fccd8 Merge "Fix crash when selecting AppInfo for uninstalled app from Recents." into nyc-mr1-dev 2016-08-23 01:51:21 +00:00
Doris Ling
e9af5024a1 Merge "Update Jump to Camera gesture settings description text." into nyc-mr1-dev 2016-08-23 01:37:29 +00:00
Doris Ling
cf988e3d64 Merge "Fix caption text being cut off when text size is set to very large." into nyc-mr1-dev 2016-08-23 01:30:27 +00:00
Doris Ling
15c13f9e10 Merge "Fix margin in Tap & pay -> Payment default." into nyc-mr1-dev 2016-08-23 01:29:41 +00:00
TreeHugger Robot
88d3cb7176 Merge "Stop apps with Storage Managers from launching activity when disabled" into nyc-mr1-dev 2016-08-22 22:24:15 +00:00
Salvador Martinez
4c8776627b Merge "Disabled BSM mode switch when plugged in" into nyc-mr1-dev 2016-08-22 21:56:21 +00:00
Salvador Martinez
4f6755931e Merge "Made dialog material design compliant" into nyc-mr1-dev 2016-08-22 21:56:06 +00:00
Salvador Martinez
0e98c73666 Merge "Settings Focus prevented from moving to pref" into nyc-mr1-dev 2016-08-22 21:55:47 +00:00
Salvador Martinez
89d138b724 Merge "Prevent wifi icon from disappearing" into nyc-mr1-dev 2016-08-22 21:55:18 +00:00
Salvador Martinez
5b5cf5a2c7 Merge "Tests for launch support on default feature" into nyc-mr1-dev 2016-08-22 21:53:53 +00:00
Salvador Martinez
5bd202e277 Merge "can open settings with support tab by default" into nyc-mr1-dev 2016-08-22 21:53:53 +00:00
Salvador Martinez
3fb4e96b0d Tests for launch support on default feature
Includes some espresso tests to ensure that the proper
tab is selected when you attempt to launch settings.

Bug: 30233920
Change-Id: I171293114bd84b064b333091fcf2394d44debed5
(cherry picked from commit d1ef20beaa)
2016-08-22 21:52:46 +00:00
Lei Yu
2363094863 Merge "Make number in dialog highlighted" into nyc-mr1-dev 2016-08-22 21:50:29 +00:00
Lei Yu
dd90acf2c0 Merge "Fix the nullpointer bug in monkey test." into nyc-mr1-dev 2016-08-22 21:49:56 +00:00
TreeHugger Robot
45fd5c4d4e Merge "Set oem unlock switch to reflect the actual state of device" into nyc-mr1-dev 2016-08-22 21:32:44 +00:00
TreeHugger Robot
b98e47c79b Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-22 21:28:29 +00:00
TreeHugger Robot
5a6fad7607 Merge "Have a fallback package name when matching targetPackage." into nyc-mr1-dev 2016-08-22 21:23:48 +00:00
TreeHugger Robot
ce8a222a59 Merge "Align text to view start so they layout correctly in RTL." into nyc-mr1-dev 2016-08-22 21:17:20 +00:00
TreeHugger Robot
95c097e835 Merge "When click conditional's title, expand/collapse content." into nyc-mr1-dev 2016-08-22 20:01:17 +00:00
Bill Yi
f58be49ba8 Import translations. DO NOT MERGE
Change-Id: Ic0668c1bf03195d38aabb92176ae6ff6d6f079d2
Auto-generated-cl: translation import
2016-08-22 12:57:11 -07:00
Fan Zhang
1ba24ca792 Set oem unlock switch to reflect the actual state of device
Bug: 30772025
Change-Id: I143ceafb36f2f2091683b29d02ee64c07e44bb15
(cherry picked from commit e98178bd58)
2016-08-22 19:41:42 +00:00
Fan Zhang
be56fc17ed Align text to view start so they layout correctly in RTL.
Bug: 28011099
Change-Id: I65b7ab768c384a558f89e3bce539420454fed8a5
(cherry picked from commit 794de426da)
2016-08-22 19:40:22 +00:00