Andrew Solovay
de0c99e89b
Noted that OnSharedPreferenceChangeListener does not store a strong reference
...
to the listener.
Because of this, the listener is susceptible to garbage collection unless the
caller preserves a strong reference to it. We suggest that the caller store a
reference to the listener in an instance field of an object that will exist as
long as the listener is needed.
Also fixed code sample formatting in Settings.jd (some lines were overlong).
Docs are staged in:
http://asolovay.mtv:8901/guide/topics/ui/settings.html#Listening
http://asolovay.mtv:8901/reference/android/content/SharedPreferences.html#registerOnSharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener)
Bug: 10437648
Change-Id: I48f5b87fa2ca7a240661d0cc00114d225819d54d
2014-05-19 16:05:06 -07:00
Griff Hazen
293977bdb0
Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE.
...
The logic was opposite.
Change-Id: I62e0b1e6701a4c9990119a1b94918e64783e9b1a
2014-04-28 10:32:21 -07:00
Ricardo Cervera
6aeea45497
Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs
2014-04-18 01:46:25 +00:00
Ricardo Cervera
a3b13847b0
docs: Added the play from search intent. Bug: 13473141.
...
Change-Id: Icf483b5e0446e064b32a782717408484d5806859
2014-04-17 12:31:18 -07:00
Ricardo Cervera
90a5f9851a
docs: Added permissions note for Context.getFilesDir. Bug: 13716053
...
Change-Id: I02e17c358630ab298bb99731723405cdeae701fc
2014-04-04 10:26:05 -07:00
Katie McCormick
87d9d1a040
Doc Update: revert PendingIntent fix.
...
Original fix was in error. Reverting. See:
b/10641568
Change-Id: I471157388b2d55aa99bd16813c07607b8a0a7046
2014-03-31 16:18:15 -07:00
Jeff Sharkey
a686d16d59
am 0bc7cea6: Enlarge space allowed for internal downloads.
...
* commit '0bc7cea6aa2523f9f519f63038c541cb1b1942a8':
Enlarge space allowed for internal downloads.
2014-03-28 01:43:53 +00:00
Jeff Sharkey
0bc7cea6aa
Enlarge space allowed for internal downloads.
...
Bug: 13673309
Change-Id: Iefafe9abc9f116199f4a76d85bd0d7bfd872103d
2014-03-27 18:16:32 -07:00
Baligh Uddin
9ac253ffed
Import translations. DO NOT MERGE
...
Change-Id: I9e363ec3f4253e6496f1c6cc6019bb807388e7f4
Auto-generated-cl: translation import
2014-03-26 11:06:02 -07:00
Eino-Ville Talvala
1555cec2e5
am ecad0541: Merge "DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values" into klp-dev
...
* commit 'ecad0541a6e90b98ad96456c4e6992121ee8a789':
DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
2014-03-25 19:01:45 +00:00
Eino-Ville Talvala
ecad0541a6
Merge "DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values" into klp-dev
2014-03-25 18:57:08 +00:00
Baligh Uddin
077587fb50
Import translations. DO NOT MERGE
...
Change-Id: I0b32878886c66eb9fdd22bf332786e140d334533
Auto-generated-cl: translation import
2014-03-24 09:46:08 -07:00
Gabriel Peal
e05077d78c
am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
...
* commit '83da75d938d519bbcffb9c3b52802fd2daad4aee':
Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-22 23:35:00 +00:00
Gabriel Peal
83da75d938
Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
...
The first set of these APIs is for telephony:
Added some APIs to ITelephony and created a first party framework for them
toggleHold()
merge()
mute(boolean mute)
playDtmfTone(char digit, boolean timedShortCode)
stopDtmfTone()
swap()
addListener(ITelephonyListener listener)
removeListener(ITelephonyListener listener)
Bug: 13302451
Change-Id: Iefec5688c26a1b4fe77f5643eba6e1690a057ee6
2014-03-22 13:33:43 -07:00
Igor Murashkin
965bed1c2c
DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
...
Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da
2014-03-22 01:36:54 +00:00
Chad Brubaker
1fce89d946
am de4e7b49: Merge "Include the interface for clearDnsInterfaceForUidRange" into klp-dev
...
* commit 'de4e7b4947998638e0345ab9a181bf35a8827bef':
Include the interface for clearDnsInterfaceForUidRange
2014-03-21 20:56:37 +00:00
Chad Brubaker
de4e7b4947
Merge "Include the interface for clearDnsInterfaceForUidRange" into klp-dev
2014-03-21 20:52:05 +00:00
Unsuk Jung
8114c3d02d
am 1a70f391: Merge "Change wallpaper sizing" into klp-dev
...
* commit '1a70f391608e82fcc5550c76ccc7bf8bac5bbc10':
Change wallpaper sizing
2014-03-21 19:05:40 +00:00
Unsuk Jung
1a70f39160
Merge "Change wallpaper sizing" into klp-dev
2014-03-21 19:01:08 +00:00
Jeff Sharkey
c620ec3614
am 3f523222: Merge "Lock down MANAGE_DOCUMENTS permission." into klp-dev
...
* commit '3f5232220f2db839f690489ed272113f660daa40':
Lock down MANAGE_DOCUMENTS permission.
2014-03-21 17:50:39 +00:00
Jeff Sharkey
3f5232220f
Merge "Lock down MANAGE_DOCUMENTS permission." into klp-dev
2014-03-21 17:47:00 +00:00
Michael Jurka
3368a63c64
Change wallpaper sizing
...
Bug: 11997581
- ignore suggested dimensions
- when orientation changes, scale up wallpaper if
it doesn't fill the whole screen, or scale back to
original size if not necessary
Change-Id: I75b7519a105d4097bf7a35cd8af61fc40f45f8fb
(cherry picked from commit 824a4b5ea4c58592b9b2ebe787f5fb6974e7cabe)
2014-03-21 10:29:27 +00:00
Adam Powell
a6454ccbfb
am 49325305: Merge "Update contextual asset bar assets to avoid 9-patch artifacts" into klp-dev
...
* commit '49325305905198b9d077ccc784be96e5684e3623':
Update contextual asset bar assets to avoid 9-patch artifacts
2014-03-21 00:22:38 +00:00
Adam Powell
4932530590
Merge "Update contextual asset bar assets to avoid 9-patch artifacts" into klp-dev
2014-03-21 00:19:12 +00:00
Vinit Deshapnde
f92b00722d
am 52bc363c: Merge "DO NOT MERGE - Use Samoa country code to satisfy wifi regulatory concerns" into klp-dev
...
* commit '52bc363cf3a7de8431cfbb370f0fd3adeecaed52':
DO NOT MERGE - Use Samoa country code to satisfy wifi regulatory concerns
2014-03-20 19:31:42 +00:00
Vinit Deshapnde
52bc363cf3
Merge "DO NOT MERGE - Use Samoa country code to satisfy wifi regulatory concerns" into klp-dev
2014-03-20 19:26:44 +00:00
Baligh Uddin
d16505da86
Merge "Import translations. DO NOT MERGE" into klp-dev
2014-03-20 18:32:35 +00:00
Adam Powell
f503a2d47f
Update contextual asset bar assets to avoid 9-patch artifacts
...
Asset drop from UX
Bug 11879853
Change-Id: I8190340900a16ae41135ec1231e36e959603e165
2014-03-20 09:32:11 -07:00
Wei Wang
13bd85772f
am c0384b6b: DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050
...
* commit 'c0384b6b18617cc395814c5b20077955a185e392':
DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050
2014-03-20 03:41:47 +00:00
Wei Wang
15a18d07ac
am da084104: Merge "DO NOT MERGE: Add status callback for start/stop advertising." into klp-dev
...
* commit 'da084104eb768f4472b7988b77a4f2b7e3f170d8':
DO NOT MERGE: Add status callback for start/stop advertising.
2014-03-20 03:32:17 +00:00
Wei Wang
c0384b6b18
DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050
...
Cherrypick from master to fix b/13289050
Change-Id: Ibf3c772561125821817c947730cf21defafd4cb2
2014-03-19 20:31:36 -07:00
Wei Wang
4b4eebb9a5
DO NOT MERGE: Add status callback for start/stop advertising.
...
Cherrypick from master to fix b/13289050
Change-Id: I231ba51aaa67b1f917e476ef0f2c8f82c762df77
Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothGatt.java
2014-03-20 00:33:41 +00:00
Victoria Lease
cfd46dc484
am 610d401c: am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '610d401cb580ee233c008acf8fc076047a0ffdb4':
malloc some advances
2014-03-19 22:32:12 +00:00
Victoria Lease
610d401cb5
am e9c7fd2f: am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit 'e9c7fd2f2ee7840c61dc66ead3737e437f4e8c10':
malloc some advances
2014-03-19 22:27:06 +00:00
Victoria Lease
e9c7fd2f2e
am 55371beb: am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '55371beb024ae402831898f8788e4293f52dd832':
malloc some advances
2014-03-19 15:21:09 -07:00
Victoria Lease
55371beb02
am 754bf6ab: am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '754bf6abc0f5a5a26eda4081ce01b1f013a0e1e2':
malloc some advances
2014-03-19 15:14:07 -07:00
Victoria Lease
754bf6abc0
am c8868db2: am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit 'c8868db2a025a97e439f8a9adde565c9c83f2204':
malloc some advances
2014-03-19 15:08:32 -07:00
Vinit Deshapnde
45b97c2c99
DO NOT MERGE - Use Samoa country code to satisfy wifi regulatory concerns
...
This helps in reducing overt scans when cell network is unavailable; and
in turn helps alleviate some regulatory concerns.
BUG: 11062898
Change-Id: I2d860f2d1acfdafba427504247a54b81482b0f5b
2014-03-19 15:04:49 -07:00
Victoria Lease
c8868db2a0
am 737d3e5d: am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '737d3e5da366124d164555009fa5ee4552143cc8':
malloc some advances
2014-03-19 15:03:28 -07:00
Victoria Lease
737d3e5da3
am 6b96ecca: am 32753f4f: am 31912122: am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '6b96ecca90555e04da8a4477d6dc6de83e7b9ee1':
malloc some advances
2014-03-19 14:57:36 -07:00
Victoria Lease
3191212259
am 6eb28103: am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '6eb2810318262ff36014c52384ed3cdea19bd34e':
malloc some advances
2014-03-19 14:40:17 -07:00
Victoria Lease
6eb2810318
am 183f97b7: am 1c12f9e7: malloc some advances
...
* commit '183f97b72faf7a0f45ad66e1b3fd9a4343cc7482':
malloc some advances
2014-03-19 14:32:15 -07:00
Victoria Lease
183f97b72f
am 1c12f9e7: malloc some advances
...
* commit '1c12f9e76298c757423155ad812890d27effafe8':
malloc some advances
2014-03-19 14:27:19 -07:00
Jeff Brown
80af531624
am f260ed09: Merge "Fix inverted conditional in View.setFilterTouchesWhenObscured." into klp-dev
...
* commit 'f260ed09263d60ff941225e31e22d344afd90c0f':
Fix inverted conditional in View.setFilterTouchesWhenObscured.
2014-03-19 20:05:40 +00:00
Jeff Brown
f260ed0926
Merge "Fix inverted conditional in View.setFilterTouchesWhenObscured." into klp-dev
2014-03-19 20:01:42 +00:00
Baligh Uddin
7cf3e334be
Import translations. DO NOT MERGE
...
Change-Id: I2a993d03ba28b42348c201919c4d1ab6bae23445
Auto-generated-cl: translation import
2014-03-19 09:48:18 -07:00
Robert Greenwalt
bd84f01c6c
am 5d3d4ee3: Merge "Handle provisioning APN by turning off/on data." into klp-dev
...
* commit '5d3d4ee3005e910dce780074d3f68d594aa12070':
Handle provisioning APN by turning off/on data.
2014-03-19 16:15:22 +00:00
Robert Greenwalt
5d3d4ee300
Merge "Handle provisioning APN by turning off/on data." into klp-dev
2014-03-19 16:12:01 +00:00
Jeff Brown
aba566589e
Fix inverted conditional in View.setFilterTouchesWhenObscured.
...
Bug: 13530806
Change-Id: Icdaf909c355f5b22635e1060f2190502916b144f
2014-03-18 17:59:21 -07:00
Dave Platt
17e7c4076b
am 98a027a5: Merge "Harden NsdManager against null-dereference crashes" into klp-dev
...
* commit '98a027a506b5acff1a7ab0cc3655399da7d025c7':
Harden NsdManager against null-dereference crashes
2014-03-19 00:54:54 +00:00