229078 Commits

Author SHA1 Message Date
Steve McKay
8c83d3304a Merge "CopyService generalization." 2016-01-08 02:40:34 +00:00
Victor Chan
ecdb8b0e15 Fix crash in car system ui.
Override repositionNavigationBar() in CarStatusBar
and setNavigationIconHints() in CarNavigationBarView
since they are not used  for vehicles.

Bug: 26301185
Change-Id: I1995a514301305bfd2eed64d5f43bc92a6658e15
2016-01-07 18:39:32 -08: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
Felipe Leme
f3fa0f8fc6 Added new API for URI permissions management.
The new methods are:

- getGrantedUriPermissions(String packageName)
- clearGrantedUriPermissions(String packageName)

These methods will be used by the Settings app to allow users to clear
the URI permissions granted to an application.

BUG: 26447975

Change-Id: I6867402e42b3d6fd03050ec57b73973ccd8a17af
2016-01-07 16:02:58 -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
Michael Wright
b0e804a303 Always show enabled keyboards.
With the latest keyboard layout selection process changes we now only
show layouts that are appropriate for a given keyboard. If a user
selected an inappropriate layout prior to this though, then we need
to still show it in the selection menu so they can remove if it they
desire.

Bug: 25624985
Change-Id: I0707981f5b60c1867954752760f6c780a74507b0
2016-01-07 19:01:28 -05:00
Chris Craik
b87eadda18 Partial unclipped save layer support
Not yet implemented in renderer.

Change-Id: I491ec6e7886bfa313d1db71dd5981690d45b78a9
2016-01-07 15:42:45 -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
Matt Sarett
51b75386a8 Deprecate mCancel in BitmapFactory.Options API
This is a follow-up to:
https://googleplex-android-review.git.corp.google.com/#/c/837260/

BUG:26266063
Change-Id: I4a5a9c7bd1f04f27f096ce74668d1509791e1952
2016-01-07 17:56:24 -05:00
Chris Wren
ab41eecf22 allow listeners to disable themselves
This decouples the user permisson grant from the
bound state of the listener. This allows listeners
that are only relevant sometimes to avoid being
bound as a foreground service all the time.

Bug: 19232554
Change-Id: I9ab078630af5a10c6878d3f19ba80661299713d5
2016-01-07 17:29:29 -05: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
Todd Kennedy
819d2745b4 Update PackageInstaller install handing
* Allow forcing permission check. We want to modify the PackageInstaller to
use the PackageInstallerSession for better security / remove deprecated APIs.
In order to do this and continue to prompt for permissions, we need to prevent
the PakcageInstaller from auto-approving the permissions.

* Add originating UID to SessionParams. This is used for package verifier
checks.

Bug: 22282121
Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
2016-01-07 13:51:16 -08: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
Alan Viverette
41a90675be Add support for tick marks in SeekBar
Bug: 26399774
Change-Id: Ie4722fb91da96468325b52a22f72372ba4f536d6
2016-01-07 16:35:40 -05: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