Commit Graph

13083 Commits

Author SHA1 Message Date
Rubin Xu
cc2861ab56 Prompt to turn on/unlock profile before showing account sync settings am: 3231afe95b
am: e1237c8096

Change-Id: I6b1937ebeabd7f90b1571e655b654375e4ae4137
2016-09-01 10:52:30 +00:00
Rubin Xu
e1237c8096 Prompt to turn on/unlock profile before showing account sync settings
am: 3231afe95b

Change-Id: I4385b5c3d478028a5eabecfe23b073633e27e287
2016-09-01 10:48:46 +00:00
Doris Ling
7d16fb0baf Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93 am: 7a15f88912 am: e972a23faf
am: e3f9654ebc

Change-Id: I48da5c628897cb92f47525772fbfa2ee78929f61
2016-09-01 00:08:17 +00:00
Doris Ling
e3f9654ebc Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93 am: 7a15f88912
am: e972a23faf

Change-Id: I60efde4b22dad901c491dc4ce7585c698047420b
2016-09-01 00:05:04 +00: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
06c04d91c7 Make sure setting switch bar state is announced. am: 664f6dacca
am: d8c8c632d4

Change-Id: I8eceb0ed685ec5101132027f547c0b577c8c459c
2016-08-31 21:38:26 +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
2534a478a6 TetherSettings: check provisionApp array length am: 39f0e41ec7
am: 02602b9b2c

Change-Id: I51d5a3094a575254489d734c823e10608ddb369b
2016-08-31 20:51:31 +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
d30af7c247 Implement Web Action settings am: d5824967ee
am: 1fc2e5dcb7

Change-Id: I4e4976e848af3e8d12b65730147be1257fed382c
2016-08-31 02:28:38 +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
6b41874231 Can restore state on rotate personal dict screen am: 8f4eb4d74b
am: 45cdbd2669

Change-Id: I03d263ec9747dab3a658362e6e58370d28c92101
2016-08-31 00:45:29 +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
Andrew Sapperstein
25d10fd293 Use LinkTextView for support disclaimer text. am: 7e9146950d am: d63e187b1a
am: c3733b8653

Change-Id: I0ecdd164e846e6af7085ff83e8c177f085b9e958
2016-08-31 00:39:59 +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
c3733b8653 Use LinkTextView for support disclaimer text. am: 7e9146950d
am: d63e187b1a

Change-Id: Iffd7cc56eb9ee612b8c86a668f4851f229b746ac
2016-08-31 00:34:45 +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
3d9cb084e9 Only display System section for current user. am: ce37ef51aa
am: 0547440ad7

Change-Id: Ibff762a11759d8b15e5df7208636af5305ac6999
2016-08-30 22:33:49 +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
Doris Ling
925584fb84 Remove preference "Searching for Wi-Fi networks..." am: b8e8485720
am: b7d9f7b83d

Change-Id: I3d21413f7ee61001bae570b478871af6f95d2999
2016-08-30 20:05:08 +00:00
Doris Ling
b7d9f7b83d Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: I170a0f79c0d7c89de314c81088ac8b5939ddff11
2016-08-30 20:01:40 +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
The Android Automerger
94473046fb Merge commit '87e59d0' into nyc-dev-plus-aosp 2016-08-30 01:00:30 +00:00
Philip P. Moltmann
5bc6a57729 Hide unused recylerview to not confuse talkback. am: 6a6db008a9
am: 2664c2331f

Change-Id: I0072acf08ce6365c717d89db284bf1b958c27cda
2016-08-29 21:50:07 +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
Jason Monk
1221326124 Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: I15a10b8260c6812dd1084420b9487497e021f11a
2016-08-29 18:26:31 +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
93352a4451 Only show BootSounds preference if has_boot_sounds is true. am: fd351eaaf1
am: de67bc9d68

Change-Id: I077c3fa8247092a38b1a8aa48885221ae2198b1f
2016-08-29 13:15:54 +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
5d4c701707 Re-enable Ambient Display double tab. am: fec320324c
am: 6bc8858379

Change-Id: I175e52946e1c11bafcb4376572bcce31f2e21538
2016-08-27 00:10:52 +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
45a821105f Fix NullPointerException in DashboardSummary. am: 797dd7440d
am: 454dc3739a

Change-Id: Id334c7b3f36d8fcfbb4e919007d0bf5789b605fb
2016-08-26 22:26:40 +00:00
Doris Ling
454dc3739a Fix NullPointerException in DashboardSummary.
am: 797dd7440d

Change-Id: Icca9421e52c1f751023bdee5a9b6fbcdbd89e6a1
2016-08-26 22:23:31 +00:00