Commit Graph

23309 Commits

Author SHA1 Message Date
宋凯伦
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
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
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
Jason Monk
69704608f4 Merge "Settings Hooks launch wrong activity" 2016-01-15 14:07:27 +00:00
Henrik Baard
3436f3a88e Settings Hooks launch wrong activity
The Operator and Manufacturer Hooks are broken, when
clicked they will launch WirelessSettings instead of
the activity intended to be launched.

The hook tile specifies a fragment which will be launched
when clicked. By removing this the tile will work as
intended.

Change-Id: I42d53698340cda676f4bab71857cc049d007803c
2016-01-15 11:46:32 +01:00
Steve Pfetsch
ab5da2d2fe Enable color temperature developer setting
Add a switch in Developer Settings to enable "cool" color temperature
mode.

Bug: 26110238
Change-Id: Id0ab3283c1ee3208287c8dca11298a4bc367b314
2016-01-14 15:19:05 -08:00
Justin Harrison
7e0586b7a6 Merge "Add strings for color temperature developer option" into mnc-dr1.5-dev am: 0c38aca074
am: 9f6cb40ebc

* commit '9f6cb40ebc8bcd12409bb73b8310420b89d43a83':
  Add strings for color temperature developer option
2016-01-14 02:08:36 +00:00
Justin Harrison
9f6cb40ebc Merge "Add strings for color temperature developer option" into mnc-dr1.5-dev
am: 0c38aca074

* commit '0c38aca074d0e069eb214abc91eeb024b5121b73':
  Add strings for color temperature developer option
2016-01-14 02:04:47 +00:00
Justin Harrison
0c38aca074 Merge "Add strings for color temperature developer option" into mnc-dr1.5-dev 2016-01-14 01:56:42 +00:00
Steve Pfetsch
63e40965bb Add strings for color temperature developer option
Introducing en-US strings for color temperature settings ahead of code
changes.

Bug: 26110238
Change-Id: I5a12aa35a730d93daa6383f7dde7d3c90db1d74b
2016-01-13 15:59:43 -08:00
Geoff Mendal
ee38f84a66 Import translations. DO NOT MERGE am: 6a52aca8ea -s ours am: 21e3d54adc -s ours am: b994c93600 -s ours am: 0fc4bed550 -s ours
am: b8d0b5323b  -s ours

* commit 'b8d0b5323b2e01a36e242a74829670d2f3e6ae7f':
  Import translations. DO NOT MERGE
2016-01-13 01:14:57 +00:00
Geoff Mendal
b8d0b5323b Import translations. DO NOT MERGE am: 6a52aca8ea -s ours am: 21e3d54adc -s ours am: b994c93600 -s ours
am: 0fc4bed550  -s ours

* commit '0fc4bed5503136cbd8bd474c33901a2ce9a98eae':
  Import translations. DO NOT MERGE
2016-01-13 01:12:12 +00:00
Geoff Mendal
0fc4bed550 Import translations. DO NOT MERGE am: 6a52aca8ea -s ours am: 21e3d54adc -s ours
am: b994c93600  -s ours

* commit 'b994c936002bacf9d6fe314f9ebef3432a58dd6c':
  Import translations. DO NOT MERGE
2016-01-13 01:10:08 +00:00
Geoff Mendal
b994c93600 Import translations. DO NOT MERGE am: 6a52aca8ea -s ours
am: 21e3d54adc  -s ours

* commit '21e3d54adc473b20c2591cd348b79fe0dd43e61e':
  Import translations. DO NOT MERGE
2016-01-13 01:07:32 +00:00
Geoff Mendal
21e3d54adc Import translations. DO NOT MERGE
am: 6a52aca8ea  -s ours

* commit '6a52aca8eab3bb879fa7376747f23526cb8398bc':
  Import translations. DO NOT MERGE
2016-01-13 01:05:38 +00:00
Geoff Mendal
6a52aca8ea Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25447946
Change-Id: Ib40df44dd0aa81ccaec4c45aa65527c71b0b9a81
2016-01-12 16:44:04 -08:00
Sungmin Choi
5a1e5edeb7 Select or not Wi-Fi Calling preference as CarrierConfig am: 577add865a
am: 6a4d214ed6

* commit '6a4d214ed6733efca5cb4217a64c4dd7b5a7e96d':
  Select or not Wi-Fi Calling preference as CarrierConfig
2016-01-11 20:33:11 +00:00
Sungmin Choi
6a4d214ed6 Select or not Wi-Fi Calling preference as CarrierConfig
am: 577add865a

* commit '577add865a0ca3d225b0fdc248b099ea05984a75':
  Select or not Wi-Fi Calling preference as CarrierConfig
2016-01-11 20:31:22 +00:00
Sungmin Choi
577add865a Select or not Wi-Fi Calling preference as CarrierConfig
Some operators support Wi-Fi Calling only, not VoLTE.
They don't need "Cellular preferred" option.
In this case, set uneditalbe attribute for preferred preference.

Bug: 26299288
Change-Id: I58b44bbd85bb5ef436d32a5e34d7372532695b91
2016-01-11 11:06:41 -08:00
Mark Salyzyn
836be3ff89 Merge "whitelist "snet_event_log" when turning logs off"
am: 574814a4c2

* commit '574814a4c2ac0e66cd14eb6370dba426bb6d5882':
  whitelist "snet_event_log" when turning logs off
2016-01-08 22:44:12 +00:00
Mark Salyzyn
574814a4c2 Merge "whitelist "snet_event_log" when turning logs off" 2016-01-08 22:41:10 +00:00
Mark Salyzyn
8fc90b4fe0 whitelist "snet_event_log" when turning logs off
- Before silencing the logs, ensure security logs are whitelisted
- Only touch persist.log.tag properties if they need to be, add
  stacking to the property.
- Clear persist.logd.size property when at default setting

Bug: 26178938
Change-Id: I8fdb040062dc9cbb23d7bc3c117d96ff8550c132
2016-01-08 13:48:24 -08:00