Mark Renouf
bb01571427
am 29799080: Make InternalListener static to avoid referencing SpeechRecognizer.
...
* commit '297990806dcbdc4413314847b897c9cb5452a1bc':
Make InternalListener static to avoid referencing SpeechRecognizer.
2014-03-18 02:02:59 +00:00
Mark Renouf
297990806d
Make InternalListener static to avoid referencing SpeechRecognizer.
...
Change-Id: I03bc1a5f5188551608395f3468aa69e622601820
(cherry picked from commit b37866db46 )
2014-03-18 01:58:39 +00:00
Jeff Sharkey
da07fe64b0
am eeb36c5c: am d88d8174: Merge "Null pointer exception in FileRotator.java"
...
* commit 'eeb36c5cfc107fe9128490e9e127c2bca2d24e28':
Null pointer exception in FileRotator.java
2014-03-17 16:39:13 +00:00
Jeff Sharkey
275d14befc
am eeb36c5c: am d88d8174: Merge "Null pointer exception in FileRotator.java"
...
* commit 'eeb36c5cfc107fe9128490e9e127c2bca2d24e28':
Null pointer exception in FileRotator.java
2014-03-17 16:39:06 +00:00
Chad Brubaker
1b66923148
Include the interface for clearDnsInterfaceForUidRange
...
With netd allowing overlapping rules for uid range rules the interface
name is needed to make sure only the correct rule is removed.
Bug: 12134439
Change-Id: I94f77f154f49ca8d5f6cf49683a4473cc92c3eb7
2014-03-15 15:31:47 -07:00
Daniel 2 Olofsson
4111e7e176
am 09421fab: Re-initialize error after attach
...
* commit '09421fab0784bcfc6660a09d02faea7835c28e31':
Re-initialize error after attach
2014-03-14 22:27:52 +00:00
Yohei Yukawa
c05362b84c
am 77943308: am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
...
* commit '77943308f5661636d85cb5e78188dbbc8f0e329e':
DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 21:59:35 +00:00
Yohei Yukawa
77943308f5
am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
...
* commit 'fd2f8d43419d1f25ced8b2bac96407925dd4c471':
DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 21:54:49 +00:00
Daniel 2 Olofsson
09421fab07
Re-initialize error after attach
...
If flag for error after attach is not reinitialized, it may cause
NullPointerException on subsequent onAttachedWindow if error text
was reset to null.
Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38
2014-03-14 14:49:23 -07:00
Tim Kilbourn
9873e099c3
am 55740325: Merge "Add leanback device features." into klp-modular-dev
...
* commit '557403250b9accf4f17ab87f636f1722949960a3':
Add leanback device features.
2014-03-14 20:42:18 +00:00
Tim Kilbourn
557403250b
Merge "Add leanback device features." into klp-modular-dev
2014-03-14 20:38:51 +00:00
Yohei Yukawa
daf27b85f1
am fd2f8d43: am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
...
* commit 'fd2f8d43419d1f25ced8b2bac96407925dd4c471':
DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 19:00:17 +00:00
John Spurlock
399cac5b33
am 75985bbe: am 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
...
* commit '75985bbe2f04519cc663db7ad54e8e69f3eabfc0':
Fix doc typos in AppOpsManager.java
2014-03-14 16:32:24 +00:00
JP Abgrall
7238585e2e
am 4f261396: am 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
...
* commit '4f26139661b0039cff5e570975e6bf9b0bbce1af':
ConnectivityService: add support to set TCP initial rwnd
2014-03-14 16:32:21 +00:00
Chad Brubaker
4b59883afd
am 7c2b1625: am 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
...
* commit '7c2b1625d66d3c80c313160f78c8bccd9499539e':
Remove SO_BINDTODEVICE from VPN protect
2014-03-14 16:32:18 +00:00
Svetoslav
9011908230
am 358eaa78: am fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
...
* commit '358eaa7825140ee571a7b9d61705fb3adb5b60aa':
PrintSpooler crash if printer is reported to have only one color mode.
2014-03-14 16:32:15 +00:00
John Spurlock
75985bbe2f
am 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
...
* commit '62826f55be4415684b4e321469298ba43d598bbb':
Fix doc typos in AppOpsManager.java
2014-03-14 16:28:15 +00:00
JP Abgrall
4f26139661
am 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
...
* commit '4ecd833ee35d1120f8c1ae52367947cacfc263a4':
ConnectivityService: add support to set TCP initial rwnd
2014-03-14 16:28:09 +00:00
Chad Brubaker
7c2b1625d6
am 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
...
* commit '78f204aed8c0f3c8174616801d66f96a9a00a5fd':
Remove SO_BINDTODEVICE from VPN protect
2014-03-14 16:27:58 +00:00
Svetoslav
358eaa7825
am fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
...
* commit 'fc1d04714e9042a1b01c7a725fafa1820b8c14fb':
PrintSpooler crash if printer is reported to have only one color mode.
2014-03-14 16:27:55 +00:00
John Spurlock
919fc360c3
am 62826f55: am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
...
* commit '62826f55be4415684b4e321469298ba43d598bbb':
Fix doc typos in AppOpsManager.java
2014-03-14 04:13:00 +00:00
JP Abgrall
e67658d6e2
am 4ecd833e: am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
...
* commit '4ecd833ee35d1120f8c1ae52367947cacfc263a4':
ConnectivityService: add support to set TCP initial rwnd
2014-03-14 04:12:54 +00:00
Chad Brubaker
e0627cf869
am 78f204ae: am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
...
* commit '78f204aed8c0f3c8174616801d66f96a9a00a5fd':
Remove SO_BINDTODEVICE from VPN protect
2014-03-14 04:12:46 +00:00
Svetoslav
eccd4a5f92
am fc1d0471: am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
...
* commit 'fc1d04714e9042a1b01c7a725fafa1820b8c14fb':
PrintSpooler crash if printer is reported to have only one color mode.
2014-03-14 04:12:42 +00:00
Jeff Brown
ba6b897816
resolved conflicts for merge of 825dd9dd to klp-dev-plus-aosp
...
.
Change-Id: I2363c40f641e7e60487354e1710312db2cbbc89a
2014-03-13 21:10:40 -07:00
Yohei Yukawa
fd2f8d4341
am 51b921d0: DO NOT MERGE - Preserve the order of InputMethodManager method calls
...
* commit '51b921d0e33302b3f431dcfa15bd6588408525ea':
DO NOT MERGE - Preserve the order of InputMethodManager method calls
2014-03-14 03:03:08 +00:00
Yohei Yukawa
51b921d0e3
DO NOT MERGE - Preserve the order of InputMethodManager method calls
...
Cherrypick of I0f8d33b0c77129f72581bc43e7f4fdc25469b520
This CL allows the Framework class InputMethodManager to behave
in a more deterministic way, that is to say, with an I/O barrier.
InputMethodManager#setAdditionalInputMethodSubtypes is internally
implemented as a RPC to the corresponding counterpart in
InputMethodManagerService. The problem here is that this RPC is
marked as "oneway". As a consequence, this public API call
returns immediately without waiting the additional subtypes are
actually added. This behavior is also not documented so far
unfortunately.
See the following demo code:
Final InputMethodManager imm = ...;
imm.setAdditionalInputMethodSubtypes(id, subTypes);
Final List<InputMethodInfo> ims = imm.getInputMethodList();
Currently, it is not guaranteed that the InputMethodInfo returned
from #getInputMethodList reflects the result of the previous call
of #setAdditionalInputMethodSubtypes because of its undocumented
asynchronous nature.
With this CL, InputMethodManager#setAdditionalInputMethodSubtypes
behaves as if it has I/O barrier. This change should make it easy
for IME developers to use additional subtype mechanism.
BUG: 13033954
BUG: 13291370
Change-Id: I0455b176bfb3176c533ba3241881f05092b98abc
2014-03-14 11:52:09 +09:00
Adam Powell
b61d39957b
am 898d6d96: am 7f2c9e94: Merge "Add a config override for ViewConfiguration#hasPermanentMenuKey" into klp-dev
...
* commit '898d6d964cb3b650b5c9bed2276310547e5455e0':
Add a config override for ViewConfiguration#hasPermanentMenuKey
2014-03-14 00:40:11 +00:00
Dave Platt
97121c923c
Harden NsdManager against null-dereference crashes
...
Due to race conditions or programming errors, the NsdManager
can attempt to process an asynchronous status message (and issue
a callback to the listener) after the listener has already been
removed from the NsdManager state. This causes dereferencing of
null objects, and a crash.
Split out the three async-queue message cases: these are ones
in which message.arg2 does not hold an NsdManager array index
and the code should not interpret this field as if it were.
Add an explicit check for "null listener" (the array index in the
message has already been released), log a warning, and exit early.
Safeguard accesses to the "NSD service type" string from a possibly
null) NsdServiceInfo object... return a constant "?" string rather
than crashing.
Bug: 9016259
Manual cherrypick of commit b1fbb14122a99c62363a949dd634294f5e887ef,
change-ID I7a6ff6842cf035cefbafe2a023ae1fd43734081e in master.
Change-Id: I8d9b7a1763d47d061a0f46b3cb453de4bdb8c2ed
2014-03-13 17:27:03 -07:00
Adam Powell
6cde6c75b3
am 41685ce9: am 898d6d96: am 7f2c9e94: Merge "Add a config override for ViewConfiguration#hasPermanentMenuKey" into klp-dev
...
* commit '41685ce983abd6b4ccbb0ae8043d6a1dc118f7d3':
Add a config override for ViewConfiguration#hasPermanentMenuKey
2014-03-13 23:57:19 +00:00
Adam Powell
41685ce983
am 898d6d96: am 7f2c9e94: Merge "Add a config override for ViewConfiguration#hasPermanentMenuKey" into klp-dev
...
* commit '898d6d964cb3b650b5c9bed2276310547e5455e0':
Add a config override for ViewConfiguration#hasPermanentMenuKey
2014-03-13 23:53:38 +00:00
John Spurlock
62826f55be
am f6228d95: Merge "Fix doc typos in AppOpsManager.java" into klp-docs
...
* commit 'f6228d95eae7b05dd0015b3062e72c89148e65a2':
Fix doc typos in AppOpsManager.java
2014-03-13 22:14:57 +00:00
Tim Kilbourn
f94b6a93a4
Add leanback device features.
...
android.software.leanback - the device supports leanback UIs.
android.software.leanback_only - the device ONLY supports leanback UIs.
leanback_only is a hidden feature for now.
Change-Id: I497bd96464125ad81212c804e150f210f3e95af2
2014-03-13 15:02:54 -07:00
JP Abgrall
4ecd833ee3
am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
...
* commit '7baa7c804501b9cbcb5de281c5ddfaf03ba08f7a':
ConnectivityService: add support to set TCP initial rwnd
2014-03-13 20:36:51 +00:00
JP Abgrall
7baa7c8045
Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev
2014-03-13 20:33:44 +00:00
Chad Brubaker
7f68f7f4a1
am f5729a6a: am 1011960c: am decfd707: Merge "Add the calling package name to requestRouteToHost" into klp-dev
...
* commit 'f5729a6a1573ba27f69a5c5dc144be3f8f60b026':
Add the calling package name to requestRouteToHost
2014-03-13 18:22:57 +00:00
Chad Brubaker
f5729a6a15
am 1011960c: am decfd707: Merge "Add the calling package name to requestRouteToHost" into klp-dev
...
* commit '1011960c44a4f84d53d05199fe1ca09be9473822':
Add the calling package name to requestRouteToHost
2014-03-13 18:18:36 +00:00
Chad Brubaker
78f204aed8
am 8e240af5: Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
...
* commit '8e240af51df5d7b793f4ae54ce6ff4795ee9f6ac':
Remove SO_BINDTODEVICE from VPN protect
2014-03-13 18:12:36 +00:00
Chad Brubaker
8e240af51d
Merge "Remove SO_BINDTODEVICE from VPN protect" into klp-dev
2014-03-13 18:09:58 +00:00
Jose Lima
53ac5ef214
am 91726f4e: Merge "Add banner attribute to app manifest" into klp-modular-dev
...
* commit '91726f4ea7b60025490209ccb2637d712e8d75fd':
Add banner attribute to app manifest
2014-03-13 18:02:50 +00:00
Alan Viverette
d7cc4bf482
am cf2b65ce: am 9ebe031c: am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev
...
* commit 'cf2b65ce7a5a1d60755a00ae4da6cd6b1101af8c':
DO NOT MERGE Quick fix for updating the FastScroller long list property
2014-03-13 18:02:17 +00:00
Alan Viverette
839321a362
am c25dbb50: am 7b09a4e5: am e910a7ce: Merge "DO NOT MERGE Check item type before re-binding transient state views" into klp-dev
...
* commit 'c25dbb50c30816c97227b9a26cc46afec4e5318e':
DO NOT MERGE Check item type before re-binding transient state views
2014-03-13 18:02:14 +00:00
Alan Viverette
ba3d0fd5fc
am af6288b7: am 3c3377a2: am 6a5b7c6f: Merge "DO NOT MERGE Ensure transient state views are temporarily detached" into klp-dev
...
* commit 'af6288b721110ffc4b4e68d55398b5ca31fc32e8':
DO NOT MERGE Ensure transient state views are temporarily detached
2014-03-13 18:02:11 +00:00
Adam Powell
4a5c9e941a
am 68ec033b: am 75958c29: am 3a153c0d: Merge "Fix a bug in submenu presenter priority handling" into klp-dev
...
* commit '68ec033b7c9ea28155bbb007b01d5dbce2239392':
Fix a bug in submenu presenter priority handling
2014-03-13 18:02:08 +00:00
Jose Lima
91726f4ea7
Merge "Add banner attribute to app manifest" into klp-modular-dev
2014-03-13 17:40:37 +00:00
Svetoslav
fc1d04714e
am 11b7d9fa: Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
...
* commit '11b7d9fa6685e742f5b3e3235a8e6e4920dbed02':
PrintSpooler crash if printer is reported to have only one color mode.
2014-03-13 17:31:03 +00:00
Svetoslav
11b7d9fa66
Merge "PrintSpooler crash if printer is reported to have only one color mode." into klp-dev
2014-03-13 17:26:44 +00:00
Mikael Gullstrand
bbf1861fdd
Null pointer exception in FileRotator.java
...
Sometimes a null pointer exception is thrown when examining files
managed by the file rotator.
The logs from the test show that the Wifi state is changed a large
number of times. On every state change, a write operation is
initiated on the file system. This will eventually result in out
of memory and the call to mBasePath.list() in the maybeRotate(...)
method in FileRotator.java will return null so the iteration will
throw a NullPointerException.
Change-Id: I5d5980d9593bc9ec75281169ca27ee591809903f
2014-03-13 17:25:01 +01:00
Jeff Sharkey
9c5c56eb51
Run finalizers before counting for StrictMode.
...
Otherwise we sometimes end up counting objects strongly referenced
by the finalizer queue, and falsely detecting an instance leak.
Bug: 12533002
Change-Id: I144c941a3dfb0cbb837b98e80d2f49ffc9ca13c7
(cherry picked from commit 6f3a38f3af )
2014-03-13 16:07:17 +00:00
Alan Viverette
cf2b65ce7a
am 9ebe031c: am 6e6dc23c: Merge "DO NOT MERGE Quick fix for updating the FastScroller long list property" into klp-dev
...
* commit '9ebe031cdc916646e95ffcd92dde67e1655be7ba':
DO NOT MERGE Quick fix for updating the FastScroller long list property
2014-03-13 10:01:39 +00:00