Commit Graph

14713 Commits

Author SHA1 Message Date
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
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
Doris Ling
e9d7698b93 Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93 am: 7a15f88912 am: e972a23faf am: e3f9654ebc
am: 7d16fb0baf

Change-Id: Iaf0fb7bbac3fd1810902150490b59e7baa6d19b7
2016-09-01 00:56:50 +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
5ec9ffe86a Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: I026cfeb1948394f31e3e39a344ee48dd6bca50b8
2016-09-01 00:07:21 +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
Sooraj Sasindran
5cce06b2e8 Provide calling package name in cell info APIs
Provide calling package name in cell info APIs

BUG=31041780
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
2016-08-31 23:34:11 +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
02e894c52a Make sure setting switch bar state is announced. am: 664f6dacca am: d8c8c632d4
am: 06c04d91c7

Change-Id: I623bd0cf15f7a1ef73393e63fd739749834910c5
2016-08-31 22:07:24 +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
c2f6141093 TetherSettings: check provisionApp array length am: 39f0e41ec7 am: 02602b9b2c
am: 2534a478a6

Change-Id: Ibdd4041fb89cace2e3e9734a243ce4d85a922188
2016-08-31 21:22:21 +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
jackqdyulei
348bcc1e81 Add the interface to check the status of location setting.
Bug: 30790766
Test: ag/1346969

Change-Id: Id6de284ba90f75015372dbe28805bdc0d94a0723
2016-08-31 12:54:17 -07:00
Andreas Gampe
ada98fb5b3 resolve merge conflicts of d30af7c to master
Change-Id: I3484e0e6c2a092f05539af569a9d9131f006ecf1
2016-08-30 20:36:50 -07: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
0308649104 Can restore state on rotate personal dict screen am: 8f4eb4d74b am: 45cdbd2669
am: 6b41874231

Change-Id: I426e4bfea077b3494a8a5a8e3eea0659186b60f8
2016-08-31 01:19:32 +00:00
Andrew Sapperstein
e6c06f826f Use LinkTextView for support disclaimer text. am: 7e9146950d am: d63e187b1a am: c3733b8653
am: 25d10fd293

Change-Id: Ie1ac8f05cbe91dd99ea3840c02932ba98050eb91
2016-08-31 01:19:30 +00:00
Felipe Leme
b152113898 Only display System section for current user. am: ce37ef51aa am: 0547440ad7
am: 3d9cb084e9

Change-Id: I5b210e644b2fcdeaa7611a373ab2dbed5db89cd2
2016-08-31 01:19:28 +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
01b36f8e24 Remove preference "Searching for Wi-Fi networks..." am: b8e8485720 am: b7d9f7b83d
am: 925584fb84

Change-Id: I381bd31931d05e22f053ea9fdb822be3c91575f0
2016-08-30 21:37:13 +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
Philip P. Moltmann
578bc45793 Hide unused recylerview to not confuse talkback. am: 6a6db008a9 am: 2664c2331f
am: 5bc6a57729

Change-Id: I934af4a441b19f28a30ea06b74da8df0f270072e
2016-08-30 04:49:55 +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