Commit Graph

27119 Commits

Author SHA1 Message Date
Marie Janssen
de037d5491 Merge "Add Bluetooth toggle prompts - settings" 2016-10-27 23:07:31 +00:00
Svetoslav Ganov
13088cac84 Add Bluetooth toggle prompts - settings
If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I5ae0c532c92b2c05a91f0d769ca6744002747fca
(cherry picked from commit b06766f129)
2016-10-26 13:30:38 -07:00
Treehugger Robot
363c529dc6 Merge "Fix searched item isn't highlighted" 2016-10-13 01:13:41 +00:00
Qi Ding
c4772636db Fix searched item isn't highlighted
The searched item isn't highlighted.
To fix this issue, the highlight process should be posted
as Runnable object.

Bug: 31983855
Test: manual - search a item in Settings app

Change-Id: I0dcc5bb52b2faa0a23991459885d8dfcaed0f226
2016-10-06 09:22:00 +00:00
Treehugger Robot
00a2619a10 Merge "Fix ApplicationsState.Session memory leak in settings app" 2016-09-17 15:45:02 +00:00
Tomohiro Takeda
6cd4db0576 Fix ApplicationsState.Session memory leak in settings app
Removes the creation of an unused session and some other redundant code
left behind when c5291b87 was applied.

Change-Id: Ie5ec0f00b3240df9cf2c4fa3bd05b49ba45f4547
2016-09-07 14:22:11 +02: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
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
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
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
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
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
bb3e765b77 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29390361
Change-Id: Ia51772c969ecd375d6ab9b48f27f1d81749cbd50
2016-06-30 20:20:01 -07:00
Jason Monk
d944277d1f Merge \"Fix DND conditional null state\" into nyc-dev
am: 733649c2fa

Change-Id: I65fd9c378937f9ce634a679e6779368aa63fc143
2016-06-27 18:42:15 +00:00
Jason Monk
733649c2fa Merge "Fix DND conditional null state" into nyc-dev 2016-06-27 18:36:21 +00:00
Bill Yi
3040f703d7 Import translations. DO NOT MERGE
am: 5a9f7d6c9a  -s ours

Change-Id: Ib444afecf20d6119ab0242571fa931ba1ab944d9
2016-06-27 17:33:19 +00:00
Jason Monk
095d9e3d3f Fix DND conditional null state
Persist all of the data it needs to produce the UI.

Change-Id: Ifb143b2cd3fef075cd77feaf53051eb8b7153a51
Fixes: 27664882
2016-06-27 12:29:47 -04:00
Bill Yi
5a9f7d6c9a Import translations. DO NOT MERGE
Change-Id: If45fdc9e3e694f67b9aa78b230fc1491f39f0551
Auto-generated-cl: translation import
2016-06-27 07:34:32 -07:00
Jason Monk
55f6f052e4 Fix crash in AppDataUsage
am: 3763b581a3

Change-Id: I17025581ac647185444b0eaf4ff7f572bca23efd
2016-06-24 20:26:50 +00:00
Jason Monk
3763b581a3 Fix crash in AppDataUsage
Better handling of detecting apps

Change-Id: I15644c8d28f394aeac021af856d0d755d7a986c6
Fixes: 29609311
2016-06-24 10:37:12 -04:00
Bill Yi
1072cc1175 Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: 5bb180388a  -s ours

Change-Id: I13908cbf3a74b215e12c271642722424470e30c6
2016-06-24 06:30:26 +00:00
TreeHugger Robot
5bb180388a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 06:22:57 +00:00
Bill Yi
058e4e9a36 Import translations. DO NOT MERGE
Change-Id: I99973d29e54e0ccd4d0ec2e3e631f0d7d8f57c8a
Auto-generated-cl: translation import
2016-06-23 22:02:51 -07:00
Felipe Leme
a6ec072541 Don\'t toggle Data Saver again until it receives a callback.
am: 484caa3035

Change-Id: Ib4b48a02015b81791d5bb77242968ca7c66b0621
2016-06-24 01:15:45 +00:00
Felipe Leme
484caa3035 Don't toggle Data Saver again until it receives a callback.
BUG: 29253107
Change-Id: I4371f947086a45be6709d2a560d27d1f5f0e79c4
2016-06-23 16:16:32 -07:00
Jason Monk
4c33973714 Merge \"Workaround to avoid crash in user photo selection\" into nyc-dev
am: 8f75abf92f

Change-Id: Ic0378c50fdc7661e76eed36acc9e935351998f04
2016-06-22 19:50:01 +00:00
Jason Monk
8f75abf92f Merge "Workaround to avoid crash in user photo selection" into nyc-dev 2016-06-22 19:45:07 +00:00
Jason Monk
bc1764f404 Merge \"Protect against crash in font size\" into nyc-dev
am: 4b336099f1

Change-Id: Ida2f0e275cea74516616374b858816f162f76dd3
2016-06-22 19:09:27 +00:00
Jason Monk
4b336099f1 Merge "Protect against crash in font size" into nyc-dev 2016-06-22 19:04:16 +00:00
Jason Monk
f7b1ae4ef3 Workaround to avoid crash in user photo selection
Bug: 29556966
Change-Id: I0715dee2a4cef2252b4ed1cc4d242b8b3d0ab45c
2016-06-22 14:46:56 -04:00
Jason Monk
4f8f4f2ec2 Protect against crash in font size
Change-Id: Ib3578e0e82388a4f6aa3eeade0d990fc107b9c14
Fixes: 29438848
2016-06-22 13:10:25 -04:00
Jason Monk
cd2d94b2d1 Merge \"Fix tethering re-enable after edit.\" into nyc-dev
am: dbb5a0b918

Change-Id: Ia9f2e65710a94f314f8bb2b8ec875088c9ccc59f
2016-06-22 15:36:36 +00:00
Jason Monk
dbb5a0b918 Merge "Fix tethering re-enable after edit." into nyc-dev 2016-06-22 15:22:10 +00:00
Jason Monk
29e4b2bc30 Merge \"Update battery content descriptions with labels\" into nyc-dev
am: 2a6b3d4db1

Change-Id: I0e81816f4eb2e99b10d4cbb46d97f0a370159a6c
2016-06-22 13:32:23 +00:00
Jason Monk
2a6b3d4db1 Merge "Update battery content descriptions with labels" into nyc-dev 2016-06-22 13:22:45 +00:00
Dan Sandler
698fe0a9b0 Merge \"Show \"0\" instead of \"0 B\" in storage settings.\" into nyc-dev
am: 87fcf9e95f

Change-Id: I94d18998914552d21099b12b22471ea93857cf52
2016-06-21 18:18:21 +00:00
Daniel Sandler
87fcf9e95f Merge "Show "0" instead of "0 B" in storage settings." into nyc-dev 2016-06-21 18:11:11 +00:00
Jason Monk
cf7c2374a9 Fix tethering re-enable after edit.
Sometimes the tether state change comes in late (or seemingly not
at all).  Also listen for wifi ap state changes as a fallback for
this case.

Change-Id: I6677c4277453be881967a3cf2234de11cd0237b8
Fixes: 28851179
2016-06-21 14:06:48 -04:00
Jason Monk
d589bafc4a Update battery content descriptions with labels
Change-Id: I0ad4ca753f8f5e1a01e2e21181526ddb921d487a
Fixes: 28301362
2016-06-21 13:36:57 -04:00