228967 Commits

Author SHA1 Message Date
Steve McKay
8c83d3304a Merge "CopyService generalization." 2016-01-08 02:40:34 +00:00
Daichi Hirono
35e92382e0 Merge "Encapsulate stackTouched logic into State class." 2016-01-08 02:28:05 +00:00
Daichi Hirono
3b36c5a10b Encapsulate stackTouched logic into State class.
BUG=26437613

Change-Id: I84a667cb3561d395daac4e63d9eaca589c8f1fea
2016-01-08 11:26:46 +09:00
Daichi Hirono
c0a77fa95d Merge "Move MTP event code to MtpConstants class." 2016-01-08 02:09:40 +00:00
Daichi Hirono
cf62fdc0c9 Move MTP event code to MtpConstants class.
BUG=25128276

Change-Id: I49530c50d7889e1b04931b8ec61f5f92a1c7e68f
2016-01-08 11:06:02 +09:00
Jeff Sharkey
cc70834060 Merge "Null cursors don't need to be wrapped." 2016-01-08 01:53:14 +00:00
Jeff Sharkey
703fe24e25 Null cursors don't need to be wrapped.
Change-Id: I59b604a60a066c2d808a796658757af952ef913c
2016-01-07 18:52:26 -07:00
Winson
fd1dd726dc Fixing regression in tuner pref due to changed key name.
Change-Id: If785f511d1d8bd587706afdada8edc3fd93bb943
2016-01-08 01:38:24 +00:00
Winson
9317f86984 Fix crash when trying to use uninitialized layout.
Bug: 26453007
Change-Id: I006cf2f622b267163230eae4a07ef676c805f5c3
2016-01-08 01:03:35 +00:00
Rob Carr
b34f48ff71 Merge "Correct exit animation window retention logic." 2016-01-08 01:02:46 +00:00
Filip Gruszczynski
b5c1f3b4de Merge "Only allow activities to move to full screen stack." 2016-01-08 00:58:43 +00:00
Filip Gruszczynski
411c06fbf9 Only allow activities to move to full screen stack.
We allowed activities to move to any stack, but that's too much
freedom. Instead we only allow them to move from freeform stack to a
fullscreen stack.

Change-Id: I04de9bbf18cf4431d7bd34d6c727de82802661ef
2016-01-07 16:58:13 -08:00
Steve McKay
14e827a958 CopyService generalization.
Make the service operation agnostic, so we can also move delete operations to it.
In a followup change we'll see about adding support for multiple concurrent
    operations. We'll need to evaluate how to do this in IntentService (which
    serializes requests....a major limitation).

Change-Id: I03eca9c1ecaba519af42d88edffeb0dce78bd1da
2016-01-07 16:29:36 -08:00
Glenn Kasten
1097fa88de Merge "Better fix for unregistered JNI method" 2016-01-08 00:11:00 +00:00
Glenn Kasten
00a0431628 Merge "Revert "Short-term fix for unregistered JNI method"" 2016-01-08 00:10:47 +00:00
Winson
7db704a3b8 Preventing crash when attempting to move un-resizeable task to FF stack.
Bug: 26405612
Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08
2016-01-08 00:06:57 +00:00
Winson Chung
3e9bc83e6e Merge "Cleaning up imports and dead code." 2016-01-08 00:06:34 +00:00
Glenn Kasten
931fde4291 Better fix for unregistered JNI method
Bug: 26445503
Change-Id: I0de5c34a86f14aeb786a12df8488511c4a280912
2016-01-07 16:03:12 -08:00
Glenn Kasten
25d3c7c49b Revert "Short-term fix for unregistered JNI method"
This reverts commit 7922be86e29002dc3714824b2b669a9760de0528.
2016-01-07 16:02:49 -08:00
Filip Gruszczynski
5e677425e0 Merge "Allow specifying packages for which we don't report crashes and anrs." 2016-01-07 23:36:17 +00:00
Filip Gruszczynski
3a939da931 Allow specifying packages for which we don't report crashes and anrs.
Bug: 22472592
Change-Id: I7b103a6cc26166983b6ae3d74e3291ced810d75c
2016-01-07 15:10:52 -08:00
Robert Carr
8aa603d830 Correct exit animation window retention logic.
The current logic in removeWindow will retain windows
for exit animation if mExiting is true or if isAnimating is true.
In the case that mExiting is false, but perhaps isAnimating is
true (because we are opening or resuming), we could also enter this
code path. This means that if an application removes its window
during an entrance animation, the window could be incorrectly retained
as if for an exit animation. This incorrectly retained window could be
eligible to receive WM focus, despite already having its input handle
being set, this would cause a null focus to be copied to the
InputManager leading to the ANR we observe in linked bug.

Bug: 26157153
Change-Id: Ib02964bcdfba665d7e7162cea8ed96315870d805
2016-01-07 15:08:42 -08:00
Winson
dc8de84820 Cleaning up imports and dead code.
Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802
2016-01-07 23:06:07 +00:00
Winson Chung
b4f4dc4e4d Merge "Refactoring and unifying TaskView animations." 2016-01-07 23:05:34 +00:00
Winson Chung
3b8e5a1c95 Merge "Moving more callbacks to animated events." 2016-01-07 23:05:24 +00:00
Stephen Hines
5724fe9d2f Merge "Remove graphics-related RenderScript tests." am: 766e20506c
am: 8272a345ec

* commit '8272a345ecfba356c6ed280e8726472c88adc6ee':
  Remove graphics-related RenderScript tests.
2016-01-07 22:09:56 +00:00
Sailesh Nepal
5b7d39428a Merge "Add methods to the API to retrieve voicemail notification settings." 2016-01-07 22:06:32 +00:00
Stephen Hines
8272a345ec Merge "Remove graphics-related RenderScript tests."
am: 766e20506c

* commit '766e20506c85fef052b3dec668c079a1ad9b9eb2':
  Remove graphics-related RenderScript tests.
2016-01-07 22:05:13 +00:00
Stephen Hines
766e20506c Merge "Remove graphics-related RenderScript tests." 2016-01-07 21:57:21 +00:00
Deepanshu Gupta
d41f0f841b Merge "Prevent infinite loop in case of integer overflow." 2016-01-07 21:50:36 +00:00
Alan Viverette
e77845796c Merge "Revert ripple background fast-enter behavior to M style" 2016-01-07 21:42:44 +00:00
Alan Viverette
0671f05fa9 Revert ripple background fast-enter behavior to M style
No longer fast-enters the background for unbounded ripples.

Bug: 25602850
Change-Id: I3250505c1de04a72fb764174abf269e247e21578
2016-01-07 16:37:39 -05:00
Paul Miller
167a623c45 Merge "Document WebView Metrics opt out API" 2016-01-07 21:36:06 +00:00
Deepanshu Gupta
7a8fb26c20 Prevent infinite loop in case of integer overflow.
Bug: 26331754
Change-Id: I29068159204ecd2e03e44fbb2375d2e116774e07
2016-01-07 13:29:04 -08:00
Sriram Viswanathan
44d86599fb Merge "Changes to support navigation bar system UI in car mode." 2016-01-07 21:03:38 +00:00
Siyamed Sinir
9c95443ca7 Merge "Fix SpannableStringBuilder.replace() exception." 2016-01-07 20:58:08 +00:00
Siyamed Sinir
3463c04b51 Fix SpannableStringBuilder.replace() exception.
When SpannableStringBuilder.replace is called with a source text that
contains a span with SPAN_PARAGRAPH flag, the code tries to retain the
spans. However when the paragraph boundary constraint is not satisfied,
setSpan method throws an exception. Updated the rule as: if the source
text has a span with SPAN_PARAGRAPH flag check if it can be copied into
the target. If not, discard the span. Also updated the JavaDoc for
Spanned and Editable.

Bug: 22521443
Change-Id: Ie8541e00bfdf5b8b0115ad7b26cb9f83a6a3ee55
2016-01-07 12:56:09 -08:00
Shreyas Basarge
6c333507c3 Merge "Fixes Javadoc of JobScheduler" 2016-01-07 20:51:54 +00:00
Sriram Viswanathan
9ebbe6afe7 Changes to support navigation bar system UI in car mode.
The change has all the platform changes required to support
modifications in the navbar dimensions and custom icons in car mode.
The UX is not frozen yet, but have placeholder resources provided
by android auto UX engineers.
The change assumes that the car mode configuration is known to the
WindowManagerService and uses its current ui mode to request the
latest from the policy (PhoneWindowManager.java). The change is
modeled on the way rotation is handled, where the Policy knows the
different view attributes for uiMode and just returns back the
window sizes based on the current uiMode requested. The policy does
know the current uiMode, but the order of when that changes is not
deterministic [from logs it does happen before any request to update
UI occurs, but guess that could change].

Bug: 25996809
Change-Id: Ia46cbe5096382d26c9eb8ec74cf59a059b767edb
2016-01-07 12:47:23 -08:00
Prashant Malani
9d7272a669 Merge "Re-hide AXIS_SCROLL constant." 2016-01-07 20:42:34 +00:00
Prashant Malani
8171658b9f Re-hide AXIS_SCROLL constant.
Bug: 22836852
Bug: 18707397
Change-Id: I9cf7111cf5e3b73efca2ec8c98bf07941d1cec4e
2016-01-07 20:41:16 +00:00
Hui Shu
15c5a50b9d Merge "Deprecate setGeolocationDatabasePath because it is no-op since KitKat" 2016-01-07 20:07:02 +00:00
Michal Karpinski
f34113f417 Merge "Modifying Shell to accomodate remote bugreports" 2016-01-07 20:04:26 +00:00
Filip Gruszczynski
08cbabc4d4 Merge "Set screenLayout in task configuration override." 2016-01-07 20:04:00 +00:00
Michal Karpinski
226940ed85 Modifying Shell to accomodate remote bugreports
After receiving android.intent.action.REMOTE_BUGREPORT_FINISHED
in newly created RemoteBugreportReceiver, Shell will generate URI
to the bugreport zip file and send the broadcast
android.intent.action.REMOTE_BUGREPORT_DISPATCH.

Bug: 26152603
Change-Id: I058d626e021b488c9347b45467a4e3505134e79c
2016-01-07 20:02:13 +00:00
Hui Shu
89eb9b4540 Deprecate setGeolocationDatabasePath because it is no-op since KitKat
Also updated the documentation of setGeolocationEnabled.

BUG: crbug.com/507505
Change-Id: I5f4bb38189338f58dcd4c1ba0310493aeac5cbd2
2016-01-07 11:47:30 -08:00
Jason Monk
5a5d6aeec0 Merge "Add internal power mode changed broadcast" 2016-01-07 19:41:32 +00:00
Dianne Hackborn
6b545bb0d8 Merge "Fix crashes in background check." 2016-01-07 19:37:37 +00:00
Paul Miller
a469218d07 Document WebView Metrics opt out API
BUG:22665268
Change-Id: Ib2f7b2a340e27d7d3faf5bfbf6c2216d3c1549e4
2016-01-07 11:32:15 -08:00
Jeff Sharkey
aa6555992b Merge "Don't look for verifier/installer when core only." 2016-01-07 19:23:05 +00:00