Commit Graph

27729 Commits

Author SHA1 Message Date
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
caa37ab1db Merge "Make sure setting switch bar state is announced." into nyc-mr1-dev
am: e954b992d8

Change-Id: Ib39605af8243f105c94909cf0b1aa5c3680250a0
2016-08-31 21:34:53 +00:00
Phil Weaver
d8c8c632d4 Make sure setting switch bar state is announced.
am: 664f6dacca

Change-Id: I8ecc83b5affa7af17071971abee57320d1fe2333
2016-08-31 21:34:53 +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
2651bdcfd7 Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev
am: 3756593811

Change-Id: Iaa61a5d18148e721987df8fb1d76745b315daa85
2016-08-31 20:45:21 +00:00
Rebecca Silberstein
02602b9b2c TetherSettings: check provisionApp array length
am: 39f0e41ec7

Change-Id: I25e14b85e810e9423e8c89d8449e2826acb77e74
2016-08-31 20:45:21 +00:00
Rebecca Silberstein
3756593811 Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev 2016-08-31 20:28:56 +00:00
Todd Kennedy
5674358df2 Merge "Implement Web Action settings" into nyc-mr1-dev
am: 1721e4510f

Change-Id: Ib0e0a234b0dcc3fbd6a3602977d744629b31a0ca
2016-08-31 02:25:37 +00:00
Todd Kennedy
1fc2e5dcb7 Implement Web Action settings
am: d5824967ee

Change-Id: Ibd54894d1c71d835931e0b0296add2b1a010cde5
2016-08-31 02:25:37 +00:00
TreeHugger Robot
1721e4510f Merge "Implement Web Action settings" into nyc-mr1-dev 2016-08-31 02:20:47 +00:00
Salvador Martinez
6584b76a87 Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev
am: adfcb15518

Change-Id: I968eb6945d2c276f6b7590125b50c7d48671798c
2016-08-31 00:43:06 +00:00
Salvador Martinez
45cdbd2669 Can restore state on rotate personal dict screen
am: 8f4eb4d74b

Change-Id: I8e4a2a29474784e60eb41b356cac65fe5b86886c
2016-08-31 00:43:06 +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
f6908339fd Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev am: a200918af0
am: 65a8409ddc

Change-Id: I11631880866d49e4a69869b375779aab2c472f68
2016-08-31 00:34:45 +00:00
Andrew Sapperstein
c3733b8653 Use LinkTextView for support disclaimer text. am: 7e9146950d
am: d63e187b1a

Change-Id: Iffd7cc56eb9ee612b8c86a668f4851f229b746ac
2016-08-31 00:34:45 +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
Felipe Leme
9eb3b31c29 Merge "Only display System section for current user." into nyc-mr1-dev
am: c24a46128a

Change-Id: I6fe2bf073e3511c94a1c8f64cea28fa512aaa195
2016-08-30 22:31:20 +00:00
Felipe Leme
0547440ad7 Only display System section for current user.
am: ce37ef51aa

Change-Id: I6f0aa56dc8ec2c10687bea442c53db1f53242f7b
2016-08-30 22:31:20 +00: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
3bac184939 Remove preference "Searching for Wi-Fi networks..." am: b8e8485720 am: ba7e57ec06
am: dc8a2d2b36

Change-Id: I276e37f4a49de53e996db168b022c45f18f33cea
2016-08-30 20:16:11 +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
cc04f36357 Merge "Add label to redaction interstitial activity" into nyc-mr1-dev
am: 23a91fb029

Change-Id: Ic52ee043145f897d10f074daefdb6347694f5c67
2016-08-29 23:52:00 +00:00
Maurice Lam
bf4f7fdace Add label to redaction interstitial activity
am: 05c38450e2

Change-Id: I34ba0a2686785bc0d3477eed06a85d66573fd87e
2016-08-29 23:52:00 +00:00
Maurice Lam
23a91fb029 Merge "Add label to redaction interstitial activity" into nyc-mr1-dev 2016-08-29 23:36:35 +00:00
Philip P. Moltmann
5626726151 Merge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev
am: 5dbc933501

Change-Id: I60a8354f4d07722318dc171c33361edc9a4c9185
2016-08-29 21:42:20 +00:00
Philip P. Moltmann
2664c2331f Hide unused recylerview to not confuse talkback.
am: 6a6db008a9

Change-Id: I09a366e14349d4e13ceef0bc9b0f1f0de2210a16
2016-08-29 21:42:19 +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
7bd4a34e7e Fix multiple bluetooth devices bug am: e2428aff75 am: 716313a533
am: 3c929b5cd3

Change-Id: I82bc82ef905f9698693d039880d3e98c27f19a21
2016-08-29 19:12:00 +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
cf58341082 Merge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev
am: 1ff11c5ef0

Change-Id: I93b33da62bdc2cbb06ab427f92193773ba1e86fe
2016-08-29 13:12:24 +00:00
Geoffrey Pitsch
de67bc9d68 Only show BootSounds preference if has_boot_sounds is true.
am: fd351eaaf1

Change-Id: Iac1ce93f1c9cb063162c2eab14774b720b4eb4e8
2016-08-29 13:12:23 +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
f4e5c9352a Merge "Re-enable Ambient Display double tab." into nyc-mr1-dev
am: 302abf2f54

Change-Id: I4aac43d3f5bf6c2bafda59dc16013a65e5c7e953
2016-08-27 00:07:32 +00:00
Doris Ling
6bc8858379 Re-enable Ambient Display double tab.
am: fec320324c

Change-Id: I0fb3bb11e0c6d9b10a095ea1d8cf45c62afaa8e4
2016-08-27 00:07:31 +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
454dc3739a Fix NullPointerException in DashboardSummary.
am: 797dd7440d

Change-Id: Icca9421e52c1f751023bdee5a9b6fbcdbd89e6a1
2016-08-26 22:23:31 +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
Doris Ling
797dd7440d Fix NullPointerException in DashboardSummary.
In onSaveInstanceState(), move saving the suggestions logging lists to
the top so that it will be saved to the bundle even when layout manager
is null.

Test: run monkey
Change-Id: I248563a255158feadeb85898a920af96a1565fa9
Fixes:31111795
2016-08-26 11:13:21 -07:00