Note that if you revert this change, the code it removes is incorrect,
and doesn't handle the top 32 bits of capabilities, one of which we're
already using: CAP_BLOCK_SUSPEND.
Bug: 11508244
Change-Id: Ice1f51334bce4941c6d24d6016450a2ebcf92886
Fixes: This patch makes sure that the layer's alpha value is
up-to-date and does not reflect the previous view's alpha value.
it fixes the square block on marquee fading edge when text view
is applied transparency.
Change-Id: I110649db72a75fecc02ba56c201a05773f80328c
Removed parentheses around return statement in drag-n-drop sample,
which is not part of the Android style.
Change-Id: I09701829b277f2aa84b1fff1c7a8ea8241bdc578
Signed-off-by: Taeho Kim <jyte82@gmail.com>
It's currently possible to reference deviceModeChanged in InputReader
while it's in an unknown state. Change the style of initialization
here and a few other places to better prevent this type of error.
(cherry-pick of f583d0dcc6e5c1968c472c844f6c8fbbe036ad78.)
Bug: 11433748
Change-Id: Ic450ca4afe50987b022db9d20bb1cb18ccf060cc
Fixed some erros in 'Responding to drag events' sample code on
http://developer.android.com/guide/topics/ui/drag-drop.html
Changed View.OnDragEventListener to View.OnDragListener,
deleted brace start('{') after DragEvent.ACTION_DRAG_ENTERED which
does not have matching ends, and removed 'break' on each case in
swich statement which causes 'Unreachable code' error.
Added return statement at the 'default' case, so that onDrag() method
can return value in all case.
Change-Id: I7d2335f5c405626e3f0cff275b52818762c84634
Signed-off-by: Taeho Kim <jyte82@gmail.com>
The method was returning all supported cipher suites instead of the
default ones only. The default list of cipher suites actually used by
sockets created by this factory is not affected by this issue.
Change-Id: I2e4d7c6547fcb29ff7a0943bc8791706cc8d22bc
Renderscript expose its native types back to the Android
system through a set of classes defined within the renderscript
package. These classes provides no easy mean to manipulate
data they represent. It would be convinient to be able to manipulate
the data stored within an allocation via these classes directly
instead of having to marshall them into native Java objects.
This commit adds such operations to the existing exposed vector types.
Change-Id: I1845df1368a82f0d39b36416c83938c7160f6a3f
jniGetNonMovableArrayElements is not safe and is going to be deleted.
Change-Id: I6daae1e4ac9e01ca593cda522fdbeb774eef1eff
(cherry picked from commit 75a5038849cecf38aba72721272ff07cca09501f)
* commit 'e704c3c9ee6a9ed2b7fbf34a0fcf70b0062d0dfb': (27 commits)
Fix dock rect calculation when nav is translucent.
Fix registerListener and flush bugs.
Guard against NPE when using existing process.
Add missing locking when updating the accessibility node info cache.
Fix issue #11113111: `dumpsys activity service` is broken
Revert "Use a build-specific wifi country code"
Fix CookieSyncManager for WebViewClassic
Retain IME assignment if no windows accept input.
KLP/KitKat is now API 19.
Decouple construction of WebView, CookieSyncManager, WebViewDatabase
Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle...
De-blue the add lock screen widget pressed state
De-blue notification backgrounds
Revert behavior to perform onResume.
PackageManager#queryIntentServices breaks its contract.
Choosing default paper size for the "Save to PDF" fake printer
Adding hidden APIs for observing the print jobs state.
Disallow range selection if the document has unknown page count.
Missed signal in FusedPrintersLoader.
Page range validation edge case handling.
...
* commit '41e6e50ce60b0f806c69f66e8e3362e3a6c422ad': (27 commits)
Fix dock rect calculation when nav is translucent.
Fix registerListener and flush bugs.
Guard against NPE when using existing process.
Add missing locking when updating the accessibility node info cache.
Fix issue #11113111: `dumpsys activity service` is broken
Revert "Use a build-specific wifi country code"
Fix CookieSyncManager for WebViewClassic
Retain IME assignment if no windows accept input.
KLP/KitKat is now API 19.
Decouple construction of WebView, CookieSyncManager, WebViewDatabase
Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle...
De-blue the add lock screen widget pressed state
De-blue notification backgrounds
Revert behavior to perform onResume.
PackageManager#queryIntentServices breaks its contract.
Choosing default paper size for the "Save to PDF" fake printer
Adding hidden APIs for observing the print jobs state.
Disallow range selection if the document has unknown page count.
Missed signal in FusedPrintersLoader.
Page range validation edge case handling.
...