Commit Graph

23328 Commits

Author SHA1 Message Date
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
Treehugger Robot
a1b40f0267 Merge "Settings: trampoline persist.logd.logpersistd to logd.logpersistd" 2016-07-13 17:45:45 +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
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
Robert Greenwalt
03393c4109 Merge "Fix the memory leak in TetherSettings" 2016-06-13 18:35:32 +00:00
Treehugger Robot
3c398ea710 Merge "Settings: add logpersist selection (actions)" 2016-06-10 22:37:55 +00:00
Mark Salyzyn
03af2286ee Settings: add logpersist selection (actions)
- Only add logpersist menu if debuggable.
- Only enable logpersist menu if Logging is On.
- Add selection for Off, All and All minus radio.
- Pop up warning box that persistent storage is to be cleared when
  selecting Off (but not if turned off by Logging Size Off or
  Disabling Debugger Options).

Bug: 28936216
Change-Id: Ic0a58abdcd6ca41069efb818d1dcef4e3927d2de
2016-06-10 21:44:32 +00:00
Mark Salyzyn
99afd4a87d Merge "Settings: add logpersist selection (strings)" 2016-06-09 19:38:32 +00:00
Mark Salyzyn
954ed57091 Settings: add logpersist selection (strings)
Strings for selecting between Off, All and All minus radio to
store logs persistently on the local eMMC device. Strings for
warning button when erasing logpersist data.

Bug: 28936216
Change-Id: I3aaa59a6ebbe1a695490b4a72cad2c807c048985
2016-06-09 19:37:34 +00:00
Treehugger Robot
cc889f6b92 Merge "Handle return value when Bluetooth is enabled" 2016-06-03 17:42:38 +00:00
Sanket Agarwal
3d06893ba6 Handle return value when Bluetooth is enabled
If the Bluetooth enable(true) returns false currently we are waiting for
a broadcast (which may not happen if enable returns false). We mark the
toggle to have failed (i.e. it is clickable and in OFF state) and the
switch bar text is appropriately shown.

Bug: b/28318203
Change-Id: I09ba46d2e102e7f2c4ef9a72bf38dedc1346364f
2016-06-03 01:07:24 +00:00
宋凯伦
0fb2f2bd00 Fix the memory leak in TetherSettings
https://code.google.com/p/android/issues/detail?id=210848

We need to close the bluetooth adapter's profile proxy in OnDestroy 
method, or it will cause TetherSettings object to be held and won't
release. And finally it will cause OOM issue.
Change-Id: Id7667f751697c8ef9fccaaabfed28a91d4fa4960
Signed-off-by: 宋凯伦 <songkailun@xiaomi.com>
2016-06-01 02:13:50 +00:00
Paul Stewart
9126cfba19 Merge "Display connect button in the wifi connection menu" 2016-05-27 14:50:10 +00:00
Jason Monk
34646006ce Merge "Fix the momery leak in DrawOverlayDetails" 2016-05-23 14:13:08 +00:00
宋凯伦
4feb4d9a8b Fix the momery leak in DrawOverlayDetails
https://code.google.com/p/android/issues/detail?id=210852

we need to release the mOverlayBridge in onDestroy, or it will cause Memory Leak issue
Signed-off-by: 宋凯伦 <songkailun@xiaomi.com>

Change-Id: If0113ed72773c366596a2c915ec504c1c68fe3b7
2016-05-23 14:12:34 +00:00
Robert Greenwalt
91f6b496a9 Merge "Fix register multiple PhoneStateListeners." 2016-05-18 17:54:47 +00:00
yifan.bai
4bf1704650 Fix register multiple PhoneStateListeners.
To avoid multiple PhoneStateListeners are registered, when user changes
the tab between SIMs, unregister the previous listener.

Change-Id: I99cf36a2c25bfbb74322b55efc6d751ea96810e5
2016-05-17 09:47:43 +00:00
Amit Mahajan
5620699fb9 Merge "Fix cannot build prefer or restore APN for Secondary SIM/Sub." 2016-05-13 16:45:26 +00:00
Yifan Bai
e00ab6c5d9 Fix cannot build prefer or restore APN for Secondary SIM/Sub.
When built prefer or restore APN with URI, the URI does not contain Sub
Id. This leads to the fail of display selected APN on Secondary SIM/Sub.
To fix, SubId needs to be appended in the URI.

Change-Id: If4b98b0bdd02474b3e7b7537c5a1257dcdbe9511
2016-05-13 01:36:30 +00:00
Amit Mahajan
052768a8b5 Merge "Fix APN cannot save after ApnEditor is paused." 2016-04-19 22:58:18 +00:00
yifan.bai
28fa440116 Fix APN cannot save after ApnEditor is paused.
When ApnEditor is paused and user does not enter name or APN,
the new APN URI will be deleted in validateAndSave() method.
After the activity is resumed, the APN will not able to be
saved because the database record has been deleted.

Change-Id: I19f5246020e4a52239a7fc0ac86a281372e34b90
2016-04-11 10:43:41 +08:00
Amith Yamasani
6186414be8 Merge "Fix user photo popup layout for RTL" 2016-04-07 00:44:06 +00:00
Jason Monk
dc07c2935e Merge "Fix end padding of summary text for dialog is too narrow" 2016-04-05 14:20:44 +00:00
Qi Ding
e5d4a5db28 Fix end padding of summary text for dialog is too narrow
The end padding of summary text is too narrow,
so "dialogPreferredPadding" attribute should be used
as the end padding of the whole list item.

Change-Id: I348c1a0ac8da011b4971b4f38c7f5ee3e295146f
2016-04-05 11:31:36 +09:00
Ryoji Miyazaki
996e8b723a Fix user photo popup layout for RTL
When RTL language is set, the edit-photo popup window
on user profile info is not shown fully.
The popup window should be aligned with the anchor.

Bug: 27955356

Change-Id: Ic9b9eb935e1a88800b008bcf0157b40a49502206
2016-04-01 07:20:28 +00:00
Jason Monk
5c15ff923d Merge "Fix no options menu on location settings screen" 2016-03-22 16:15:34 +00:00
Jason Monk
aca67a3c43 Merge "Add Up button in Status settings" 2016-03-16 14:01:24 +00:00
Carsten Hauge
ce42dfb33d Add Up button in Status settings
The Up button should be added in Status settings
(Settings > About phone > Status) to provide consistent navigation
with other screen like Legal information.

Change-Id: I914df08cc4034d78d345a0958b1820e8933f85e7
2016-03-16 14:48:32 +09:00
qinglian.x.zhang
def100b32f Fix no options menu on location settings screen
Since a help URL for location settings is not provided,
LocationSettings fragment doesn't show options menu by default.
This change is to show options menu even if the help URL is
not set.

Change-Id: I1f37a1bfe155db73a639a8fa214159c044385377
2016-03-02 12:35:07 +09:00
Damien Vagner
41a57e23a3 Display connect button in the wifi connection menu
When you quickly try to reconnect after forgeting the AP, the connection
is in DISCONNECTED state and we may still display the connect button

Change-Id: I755a259fdf68fab470d7f69aa461f5bcedddfd5b
Signed-off-by: Damien Vagner <damienx.vagner@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
2016-03-01 16:11:39 +08:00
Baligh Uddin
71dcb876e8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I5aa09746314d0401283206a7d59a802e752a85a6
2016-02-26 18:46:30 -08:00
Baligh Uddin
f20e68c94c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I52d0f7327dfa403c0f1f5a886b48036efb9c8b6a
2016-02-23 09:50:35 -08:00
Bill Yi
c9652c1d66 Merge commit '6a19c5cabf1615ffce654a1203554bbaa1d1f72e' into HEAD
Change-Id: Ic7cd65ff8d2fd397a77f635b21bd06bfc17a38dc
2016-02-17 11:13:33 -08:00
Andre Eisenbach
6979c8bbe3 Merge "Add Developer menu entry to disable Bluetooth absolute volume" 2016-02-09 21:20:04 +00:00
Andre Eisenbach
bbf4f66143 Add Developer menu entry to disable Bluetooth absolute volume
Bug: 27078729
Change-Id: I8a029baeb25b449446ae9bcc8cb220d5ec8e44a9
2016-02-08 17:20:07 -08:00
Jason Monk
8cb4301b59 Merge "Change receiver name attribute for DISCOVERABLE_TIMEOUT" 2016-02-03 18:48:27 +00:00
Kenny Root
8646736618 Merge "Stop using AlgNameMapper" 2016-01-21 21:53:11 +00:00
Kenny Root
1b291c13f4 Stop using AlgNameMapper
AlgNameMapper currently doesn't work after the transition to it being in
Conscrypt, so just get rid of it altogether.

Change-Id: I0e8b057915edcb584bd4470c43f3458efa49329e
2016-01-20 15:50:57 -08:00
Geoff Mendal
6a19c5cabf Import translations. DO NOT MERGE am: c123a6a923 -s ours
am: 550dd6e8dc  -s ours

* commit '550dd6e8dceaaf2fbb2ed7a24e221c24cd72ee7d':
  Import translations. DO NOT MERGE
2016-01-18 15:44:11 +00:00
Geoff Mendal
12429ac8a7 Import translations. DO NOT MERGE
am: bd620a7de1  -s ours

* commit 'bd620a7de1b171ac54ce1268e12d1757c0baa86d':
  Import translations. DO NOT MERGE
2016-01-18 15:44:00 +00:00
Geoff Mendal
550dd6e8dc Import translations. DO NOT MERGE
am: c123a6a923  -s ours

* commit 'c123a6a9230faf4800df67085b98bcd7badf4ca8':
  Import translations. DO NOT MERGE
2016-01-18 15:41:49 +00:00
Geoff Mendal
bd620a7de1 Import translations. DO NOT MERGE
Change-Id: I91bced80bb025ac6d6599db0a48f2332cea70520
Auto-generated-cl: translation import
2016-01-18 07:40:39 -08:00
Geoff Mendal
c123a6a923 Import translations. DO NOT MERGE
Change-Id: I415c6bc5d49ea34685d6219dfb8482294f17b692
Auto-generated-cl: translation import
2016-01-18 07:32:09 -08:00
Steve Pfetsch
dcd4a64f66 Enable color temperature developer setting am: ab5da2d2fe
am: 979a32e6e3

* commit '979a32e6e30d7fc12fb64ba842f66aee97cdac91':
  Enable color temperature developer setting
2016-01-15 20:44:42 +00:00
Steve Pfetsch
979a32e6e3 Enable color temperature developer setting
am: ab5da2d2fe

* commit 'ab5da2d2fe0b02a7cdf5f4d78d24583b2542d213':
  Enable color temperature developer setting
2016-01-15 20:42:18 +00:00
Jason Monk
6cbc7e4f85 Merge "Settings Hooks launch wrong activity"
am: 69704608f4

* commit '69704608f4801a1362a28b37962f560d834da3da':
  Settings Hooks launch wrong activity
2016-01-15 14:11:09 +00:00