Commit Graph

27467 Commits

Author SHA1 Message Date
Todd Kennedy
2ef1aa5894 Direct launch to web action
We want to be able to direct launch into the web action settings
Fixes: 31338071

Change-Id: I295729b8c9e0d3c1196ed820a9e9f6163bf611b4
2016-09-08 13:51:12 -07:00
Salvador Martinez
20d19a89da Merge "Fixed Sound Settings summary text" into nyc-mr1-dev 2016-09-07 16:06:41 +00:00
Bill Yi
596da67f4b Import translations. DO NOT MERGE
Change-Id: Ic79af1cb3c770ec68e0665d9885e8e189497075f
Auto-generated-cl: translation import
2016-09-07 03:20:53 -07:00
Salvador Martinez
b706d4e956 Fixed Sound Settings summary text
The summary for Sound settings was not
descriptive enough when the volume was set
to 0% so additional strings were added. Now
it will change let you know the status
of the ringer and vibration settings when
at 0% volume. Espresso tests added to test
that text is properly updated in each of
these states.

Test: make SettingsTests
Bug: 31099179
Change-Id: Id49e2d0c4b7ac0f17efcdaf31de48d5eb678ca46
2016-09-06 17:23:50 -07:00
Maurice Lam
6a51dfdcf3 [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba -s ours am: 17ec053dd5
am: 27aabcd4df

Change-Id: I1be1f917392a5102e9f7c5178ef9316aadd29ad2
2016-09-06 23:23:49 +00:00
Andrew Sapperstein
86a4c442c1 Merge "Null check intent before starting "learn more"." into nyc-dev am: 4e4e4ff19a
am: 27af0ed9e2

Change-Id: I701957dceecec49950ffab22ab6ca38f204d687e
2016-09-06 23:23:48 +00:00
Andrew Sapperstein
9177b11c8d Null check intent before starting "learn more". am: e56d2be0b2 -s ours
am: aa12cf603b

Change-Id: Ie9389929ab179aafd2066db6483ba2cebf5563ee
2016-09-06 23:23:47 +00:00
Maurice Lam
27aabcd4df [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba -s ours
am: 17ec053dd5

Change-Id: I11ea83d07eebfb55b8f1fbd0f431120c791314b1
2016-09-06 23:22:52 +00:00
Andrew Sapperstein
27af0ed9e2 Merge "Null check intent before starting "learn more"." into nyc-dev
am: 4e4e4ff19a

Change-Id: Ia2a0fec158a49c723cc3923baafa024aa3570c0b
2016-09-06 23:22:50 +00:00
Maurice Lam
17ec053dd5 [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759
am: 746dff40ba  -s ours

Change-Id: I304081ab8e9ddaeb48af51cc07c4d3e131e7b13b
2016-09-06 23:18:46 +00:00
Andrew Sapperstein
aa12cf603b Null check intent before starting "learn more".
am: e56d2be0b2  -s ours

Change-Id: Ia53a28a35679db7d25c15c9cc9b862da7065f68a
2016-09-06 23:18:45 +00:00
Maurice Lam
9e081e0db8 Remove help links when device is not provisioned. DO NOT MERGE am: d0a95da564 -s ours
am: 534fa13894

Change-Id: I6c98994b9b7629f38e7f718a8e559456ea97443c
2016-09-06 23:16:47 +00:00
Maurice Lam
746dff40ba [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952
am: 94a0fa5759

Change-Id: I76460eee64ad7bc84d67379dc4f952deb2232130
2016-09-06 23:14:25 +00:00
Maurice Lam
534fa13894 Remove help links when device is not provisioned. DO NOT MERGE
am: d0a95da564  -s ours

Change-Id: Ib1a0d40efcd380ea6dc3a959770a3ce1b4e6114f
2016-09-06 23:14:15 +00:00
Maurice Lam
94a0fa5759 [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af
am: d278da7952

Change-Id: I771b15c4c94314f7fb3f1d3d3734b0c97a35f782
2016-09-06 23:11:17 +00:00
Maurice Lam
d278da7952 [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
am: c94f2b93af

Change-Id: Ib66b9b9d6b97fe1299a24b0c92991b4bd6a46656
2016-09-06 23:08:45 +00:00
TreeHugger Robot
4e4e4ff19a Merge "Null check intent before starting "learn more"." into nyc-dev 2016-09-06 23:07:27 +00:00
Maurice Lam
c94f2b93af [Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Remove the learn more link during setup wizard, because HelpUtils is
returning null for the intent while the device is not provisioned.

Bug: 31246856
Change-Id: I4cf5c282f170188aef98a02d3b96af5e63ea7f39
2016-09-02 16:53:52 -07:00
Maurice Lam
d0a95da564 Remove help links when device is not provisioned. DO NOT MERGE
Bug: 31246856
Change-Id: Id638de8ab1c6b815d62916a584892be84cabe1ae
2016-09-01 17:12:20 -07:00
Andrew Sapperstein
e56d2be0b2 Null check intent before starting "learn more".
It is possible in certain build configurations to have an invalid
link. Instead of crashing, swallow the error and write to logs.

BUG: 28381984
Fixes: 31246856
Change-Id: I19f20b96afb42758187707f1b86a5817e8d737a8
(cherry picked from commit 6561d4870f)
2016-09-01 21:57:59 +00:00
Rubin Xu
95089be460 Merge "Prompt to turn on/unlock profile before showing account sync settings" into nyc-mr1-dev 2016-09-01 10:41:29 +00:00
TreeHugger Robot
6030f64a58 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 06:36:19 +00:00
Bill Yi
3afce04bf8 Import translations. DO NOT MERGE
Change-Id: I97dae1e7f6b416d7a676e9c2c76942f6ada9582a
Auto-generated-cl: translation import
2016-08-31 21:56:25 -07:00
Doris Ling
e972a23faf Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93
am: 7a15f88912

Change-Id: I3b04d4d87063f928fa76b4843ca0692c8d0311cb
2016-09-01 00:02:02 +00:00
Doris Ling
7a15f88912 Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: Ib77f937b79813351594037eaa424fac33995f336
2016-08-31 23:59:08 +00:00
Doris Ling
b8011dbb93 Fix NullPointerException when refreshing wifi preferences.
AccessPointPreference.refresh() is being called in different threads.
The refresh of the preference should only be updated in the main thread.
When access point updates is received not in the main thread, will post
the refreshing of the preference to the message queue to make the update
on the UI thread.

Test: auto - run monkey to verify there is no ANR or crash
      manual - go to Settings->Wifi, toggle on/off many times and verify
      there is no crash.

Change-Id: I656a70ecf2e7b9446c7b95b6b42ab19a5cc2e51c
Fixes: 30902893
2016-08-31 22:19:19 +00:00
Phil Weaver
e954b992d8 Merge "Make sure setting switch bar state is announced." into nyc-mr1-dev 2016-08-31 21:32:08 +00:00
Rebecca Silberstein
3756593811 Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev 2016-08-31 20:28:56 +00:00
TreeHugger Robot
1721e4510f Merge "Implement Web Action settings" into nyc-mr1-dev 2016-08-31 02:20:47 +00:00
Salvador Martinez
adfcb15518 Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev 2016-08-31 00:38:15 +00:00
Andrew Sapperstein
65a8409ddc Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
am: a200918af0

Change-Id: I7554d650756aad063d8cf091022fb2a04f823b81
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
d63e187b1a Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
a200918af0 Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev 2016-08-31 00:21:29 +00:00
Phil Weaver
664f6dacca Make sure setting switch bar state is announced.
When the switch is clicked, a TYPE_VIEW_CLICKED a11y
event is produced. It works fine if the switch bar is
clicked, but if the switch itself is clicked the event
comes from the switch, which is marked as not important
for accessibility. Re-dispatching events from the switch
as coming from the switch bar makes sure that the event
comes from a view that accessibility services can see.

Bug: 30484493
Change-Id: Ie48cc78594c64b1cc5735475e1cb5959fadaaf4a
2016-08-30 16:40:40 -07:00
TreeHugger Robot
c24a46128a Merge "Only display System section for current user." into nyc-mr1-dev 2016-08-30 22:24:16 +00:00
Doris Ling
dc8a2d2b36 Remove preference "Searching for Wi-Fi networks..." am: b8e8485720
am: ba7e57ec06

Change-Id: Ic2e0b0c977cf11dcca4ed87deeb8bc6fe9a27420
2016-08-30 20:07:38 +00:00
Doris Ling
ba7e57ec06 Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: Ie264fbdddf2aff8b8f5f4d6aac2fc079b98c9747
2016-08-30 20:05:09 +00:00
Andrew Sapperstein
7e9146950d Use LinkTextView for support disclaimer text.
LinkTextView uses LinkAccessibilityHelper to properly handle
making links accessible.

Deleted Settings' outdated fork for the version in setupwizardlib.

Test: manual

Change-Id: I38c031f96b5be0d45e4cc1aa358f95b229f17480
Fixes: 31077012
2016-08-30 19:57:39 +00:00
Felipe Leme
ce37ef51aa Only display System section for current user.
Otherwise it will be displayed twice on work profiles.

Change-Id: Ic7d21a57f72b9f4a254d574adce90afd7cd27b90
Test: manual verification
Fixes: 31108318
2016-08-30 12:00:27 -07:00
Salvador Martinez
8f4eb4d74b Can restore state on rotate personal dict screen
When adding/editing a word for your personal dictionary
rotating the screen could cause the language to change
back to the device default. This has been fixed.

Test: ag/1389633, robolectric not supported in this branch.
Bug: 30874931
Change-Id: I0c8ebec5f4d5e7b23112b656c482c3b2cda7791f
2016-08-30 18:34:15 +00:00
Doris Ling
b8e8485720 Remove preference "Searching for Wi-Fi networks..."
When we add the preference "Searching for Wi-Fi networks...", we didn't
provide a key to the preference. As a result, each time when we get
access point update and try to show such tile, it creates a new one, and
results in multiple entries of such tile. Adding a key to the preference
will prevent the multiple entry from being added.

Test: Manual -
1. Turn wifi off and on several times, verify that there is only one entry
   of "Searching for Wi-Fi networks..." when initializing the wifi access
   point list.
2. Verifies that when the access point list is established, the
   "Searching for Wi-Fi networks..." entry is gone.

Change-Id: Iaad329d89f8e4b52129d0661501aa34fbd956692

Change-Id: I1bfa77051e068926e8c876a89adf14d143970e7e
Fixes: 31143961
2016-08-30 17:41:44 +00:00
Maurice Lam
23a91fb029 Merge "Add label to redaction interstitial activity" into nyc-mr1-dev 2016-08-29 23:36:35 +00:00
TreeHugger Robot
5dbc933501 Merge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev 2016-08-29 21:39:34 +00:00
Jason Monk
3c929b5cd3 Fix multiple bluetooth devices bug am: e2428aff75
am: 716313a533

Change-Id: I05f6b74325359b96e7d52dc5869d341346e9c591
2016-08-29 19:05:37 +00:00
Jason Monk
716313a533 Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: Ia4fadb8ea7e4818dde27e3806401735622c6a516
2016-08-29 18:54:18 +00:00
Philip P. Moltmann
6a6db008a9 Hide unused recylerview to not confuse talkback.
Fixes: 31088913
Change-Id: I1394cec881d8a1944004a69bc787e5341f8c9ddc
2016-08-29 18:03:26 +00:00
Jason Monk
e2428aff75 Fix multiple bluetooth devices bug
Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
(cherry picked from commit 6666f9cc37)
2016-08-29 13:26:26 +00:00
Geoffrey Pitsch
1ff11c5ef0 Merge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev 2016-08-29 13:06:21 +00:00
Doris Ling
302abf2f54 Merge "Re-enable Ambient Display double tab." into nyc-mr1-dev 2016-08-27 00:04:19 +00:00
Doris Ling
fec320324c Re-enable Ambient Display double tab.
Restoring the changes to move Display->Ambient Display to Moves->Quick screen

This reverts commit 9b3000d8ac, except for
the removal of res/raw/gesture_ambient_move_lift.mp4

Test: Manual - Go to Settings->Display->Quick screen check and verify
the preference is restored.

Bug: 30595437
Change-Id: Ie50bcebd119714d49422b7139d0d0234f27584e2
2016-08-26 14:46:03 -07:00