Commit Graph

27149 Commits

Author SHA1 Message Date
Andrew Sapperstein
c16c5ded7b Merge "Null check intent before starting "learn more"." into nyc-dev
am: 4e4e4ff19a

Change-Id: I4d25b74d3cb8781b5f80f714d749dd59f3ec0c83
2016-09-06 23:13:26 +00:00
Andrew Sapperstein
1d20e81742 Null check intent before starting "learn more".
am: e56d2be0b2

Change-Id: I93aa097da0b6404dfbe279ee7d678e1f83a9ec93
2016-09-06 23:13:26 +00:00
Maurice Lam
595cae7039 Remove help links when device is not provisioned. DO NOT MERGE
am: d0a95da564

Change-Id: Ie8658b5ceb4546013f893f33301834db4a773f10
2016-09-06 23:12:02 +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
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
Doris Ling
5ec9ffe86a Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: I026cfeb1948394f31e3e39a344ee48dd6bca50b8
2016-09-01 00:07:21 +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
Doris Ling
b7d9f7b83d Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: I170a0f79c0d7c89de314c81088ac8b5939ddff11
2016-08-30 20:01:40 +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
Jason Monk
1221326124 Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: I15a10b8260c6812dd1084420b9487497e021f11a
2016-08-29 18:26:31 +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
Christopher Wiley
87e59d0e81 Do not use TetherUtil.setWifiTethering
This functionality is replaced by ConnectivityManager.startTethering()
and ConnectivityManager.stopTethering().

Bug: 30147602
Test: Can toggle tethering on/off via all of settings, quick settings,
      and quick quick settings.
Change-Id: I4d190185c473237982b988f898e76d4997dc401c

(cherry picked from commit 9d251279ca)
2016-08-26 13:26:45 -07:00
Fan Zhang
1dda6f6430 Don't remove wifi preferences when updating AP to avoid GC.
am: 9d031f2fbc

Change-Id: I3b589d86fc6ecd1a6caf0db9f3b9f7674dbe046a
2016-08-25 00:44:53 +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
Ajay Panicker
0493302a06 Merge "Do not allow apps to cause Bluetooth to be discoverable forever" am: 692ad7c9ec
am: 717d9f205a

Change-Id: I1c4f627f6792109db1fec087855962bf4f635b7c
2016-08-18 22:30:51 +00:00
Ajay Panicker
717d9f205a Merge "Do not allow apps to cause Bluetooth to be discoverable forever"
am: 692ad7c9ec

Change-Id: I60f576fee6222d0917ce845dd0bc071817d26009
2016-08-18 22:27:24 +00:00
Treehugger Robot
692ad7c9ec Merge "Do not allow apps to cause Bluetooth to be discoverable forever" 2016-08-18 22:23:05 +00:00
Ajay Panicker
3c1149871d Do not allow apps to cause Bluetooth to be discoverable forever
Trying to set a discoverable timout of 0 for Bluetooth will now
not allow bluetooth to be discoverable forever.

Bug: 28177801
Change-Id: Icfa03e2100f8e7f31415ebab39889b9ec32e6c77
(cherry picked from commit 6dcab67c0c)
2016-08-18 13:28:27 -07:00
Mark Salyzyn
a8e7eaafda Merge changes Ic198dc44,I15f000bf am: 682c2ede09 -s ours
am: d3ad45e37c

Change-Id: If65c8493f77db6bc24e24ecb7ff089c7284959be
2016-08-05 17:29:00 +00:00
Mark Salyzyn
d3ad45e37c Merge changes Ic198dc44,I15f000bf
am: 682c2ede09  -s ours

Change-Id: I69584d0b778ca9ffa6c8f2965a874cf63fa650d7
2016-08-05 17:26:28 +00:00
Mark Salyzyn
682c2ede09 Merge changes Ic198dc44,I15f000bf
* changes:
  select_logd_size_summaries char limit
  select_logpersist_title char limit
2016-08-05 17:03:06 +00:00
Mark Salyzyn
f0b844cab1 select_logd_size_summaries char limit
increase select_logd_size_summaries character limit to 44

Bug: 29890579
Change-Id: Ic198dc4420e074fd72d1864c7448659a33126b1b
2016-08-05 09:31:09 -07:00
Mark Salyzyn
0e86d328d6 select_logpersist_title char limit
increase select_logpersist_title character limit to 60
increase select_logpersist_titles character limit to 26

Bug: 29313564
Change-Id: I15f000bf155f33a7d4a1cc6c5434552f43803f58
2016-08-05 09:31:04 -07:00
Jason Monk
3b0bfee337 Merge \"Pre-setup restrictions\" into nyc-dev
am: 5a3d1c17f2

Change-Id: I58796967153f15fad0ba853fa428b191ecc08ed2
2016-07-19 20:40:35 +00:00
Jason Monk
5a3d1c17f2 Merge "Pre-setup restrictions" into nyc-dev 2016-07-19 20:31:15 +00:00
Jason Monk
2263a64eb8 Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481 am: e67f458667 -s ours
am: 2703570242

Change-Id: Ia0abf8f562cbec2afa86d5e85ecf22de190f86d6
2016-07-15 14:11:29 +00:00
Jason Monk
2703570242 Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf am: 68d53c0481
am: e67f458667  -s ours

Change-Id: Ic5c066a81be1fe3b884cf1c9ead6c7c276a12fd1
2016-07-15 14:08:40 +00:00
Jason Monk
e67f458667 Pre-setup restrictions DO NOT MERGE am: e6ad6e866b am: 2d21d1b9cf
am: 68d53c0481

Change-Id: Ic501eb9b08f18eb3e9f3e95d64aae511815db268
2016-07-15 14:05:59 +00:00
Jason Monk
68d53c0481 Pre-setup restrictions DO NOT MERGE am: e6ad6e866b
am: 2d21d1b9cf

Change-Id: I1fc62827de765434ac88a7cb75d63febb074b565
2016-07-15 14:03:03 +00:00
Jason Monk
2d21d1b9cf Pre-setup restrictions DO NOT MERGE
am: e6ad6e866b

Change-Id: I0bfc276c9bf0e3d6320cc9aa8c77f77899b69e04
2016-07-15 13:59:59 +00:00
Mark Salyzyn
2e6a8bb8f8 Merge \\"Settings: trampoline persist.logd.logpersistd to logd.logpersistd\\" am: a1b40f0267
am: 455006c9ca

Change-Id: Ia486d98338a1fdc60103324c99a46b31883af932
2016-07-13 18:05:34 +00:00
Mark Salyzyn
455006c9ca Merge \"Settings: trampoline persist.logd.logpersistd to logd.logpersistd\"
am: a1b40f0267

Change-Id: I38e4c7756a2ea617053656558d8223458d898a28
2016-07-13 18:02:20 +00:00
Treehugger Robot
a1b40f0267 Merge "Settings: trampoline persist.logd.logpersistd to logd.logpersistd" 2016-07-13 17:45:45 +00:00
Bill Yi
60761866e5 Import translations. DO NOT MERGE
am: fdb2a9ab61  -s ours

Change-Id: Ica3d0c2c2fcc40034c93cd26e5596961dff32473
2016-07-12 16:31:39 +00:00
Mark Salyzyn
364322a81d Merge \\"Settings: add logpersist kernel only selection\\" am: 3c60540078
am: bd900c98ef

Change-Id: I4fea0151e3bf5fb9d0ee14a333eac4ddaa16c5f3
2016-07-12 15:32:34 +00:00
Mark Salyzyn
bd900c98ef Merge \"Settings: add logpersist kernel only selection\"
am: 3c60540078

Change-Id: Ieefd7e08368174f735b8491f8f01847906e1fd3b
2016-07-12 15:29:51 +00:00
Treehugger Robot
3c60540078 Merge "Settings: add logpersist kernel only selection" 2016-07-12 15:24:10 +00:00
Mark Salyzyn
98849ce7ae Settings: trampoline persist.logd.logpersistd to logd.logpersistd
- Deal with trampoline, where we read logd.logpersistd and
  logd.logpersistd.buffer, write to persist.logd.logpersistd and
  persist.logd.logpersistd.buffer and logd.logpersistd*
- Deal with an as designed requirement that empty values do not
  automatically trampoline, to properly communicate state.
- check logd.logpersistd.enable boolean for support

Bug: 28936216
Bug: 29831823
Change-Id: Ib460ca90738ffdee17084349c1035701301c52bc
2016-07-12 07:22:41 -07:00
Mark Salyzyn
338377b3a0 Settings: add logpersist kernel only selection
Bug: 28936216
Bug: 29831823
Change-Id: I9bfbb2717c2d4d39bfda6b92221a38985a4f4973
2016-07-12 07:22:41 -07:00
Bill Yi
fdb2a9ab61 Import translations. DO NOT MERGE
Change-Id: I945ac4865ce29fb45b0e0935cadbdc0dd3ab3ce7
Auto-generated-cl: translation import
2016-07-11 12:42:47 -07:00
Mark Salyzyn
f8da6eca1c Merge \\"Settings: add logpersist kernel only selection (strings)\\" am: fd021e203d -s ours
am: a79d854fb6

Change-Id: I06daa419b00c21c3ed981ff674023e3d1d5b1719
2016-07-08 21:26:51 +00:00
Mark Salyzyn
a79d854fb6 Merge \"Settings: add logpersist kernel only selection (strings)\"
am: fd021e203d  -s ours

Change-Id: I3eebcf646fa289462caf57b51846cee93a7774c0
2016-07-08 21:24:24 +00:00
Mark Salyzyn
fd021e203d Merge "Settings: add logpersist kernel only selection (strings)" 2016-07-08 21:06:29 +00:00
Mark Salyzyn
466abc5f0f Settings: add logpersist kernel only selection (strings)
Bug: 28936216
Bug: 29831823
Change-Id: I4e578bbe2f5bbf936b03fbdac34a225a0432e503
2016-07-08 11:08:05 -07:00
Bill Yi
d2a702e82f Import translations. DO NOT MERGE
am: 271f042229  -s ours

Change-Id: Ia494efe0469c9877dc7730c9a57d9be8ea9e30a9
2016-07-06 18:25:17 +00:00
Bill Yi
271f042229 Import translations. DO NOT MERGE
Change-Id: Idce951754c8e74f8e6370dc1ad03cebfce4db3c6
Auto-generated-cl: translation import
2016-07-05 19:42:12 -07:00
Bill Yi
57d0077833 Import translations. DO NOT MERGE
am: bb3e765b77  -s ours

Change-Id: Ie794d33045a64ba42a7c765e06a7d6fb9531c3da
2016-07-01 05:13:39 +00:00
Bill Yi
bb3e765b77 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29390361
Change-Id: Ia51772c969ecd375d6ab9b48f27f1d81749cbd50
2016-06-30 20:20:01 -07:00