228947 Commits

Author SHA1 Message Date
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
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
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
Alex Klyubin
e7565ad959 Merge "[1/3] Remove unnecessary throws statement in ServiceManager" am: d1240219aa
am: 4a06b7ea7e

* commit '4a06b7ea7e493bf7b575da5219429e2cbeb5b3e8':
  [1/3] Remove unnecessary throws statement in ServiceManager
2016-01-07 19:21:59 +00:00
Jeff Sharkey
e46fbfaf2e Don't look for verifier/installer when core only.
When booting the device in core-only mode we're running over a tmpfs
and only a small handful of apps are actually available.  Don't
bother looking for verifiers or installers, since we probably won't
find them.

Bug: 26438767
Change-Id: Ia4c4a6e71007b01c4aaa273c2e0197b5cd021262
2016-01-07 12:21:48 -07:00
Alex Klyubin
4a06b7ea7e Merge "[1/3] Remove unnecessary throws statement in ServiceManager"
am: d1240219aa

* commit 'd1240219aadedc867b50158c67d1737a27fa7c6f':
  [1/3] Remove unnecessary throws statement in ServiceManager
2016-01-07 19:18:01 +00:00
Alex Klyubin
d1240219aa Merge "[1/3] Remove unnecessary throws statement in ServiceManager" 2016-01-07 19:08:26 +00:00
Jeff Sharkey
ba75a9b6ba Instrumentation targets must have code.
If they don't have code, give the developer a somewhat helpful error
message instead of later falling into a weird classpath failure.

Change-Id: Iebda10173ff99943cbbd71127ae24aa455b709f4
2016-01-07 12:03:16 -07:00
Glenn Kasten
8c04e18c9a Merge "Short-term fix for unregistered JNI method" 2016-01-07 18:58:56 +00:00
Glenn Kasten
7922be86e2 Short-term fix for unregistered JNI method
Bug: 26445503
Change-Id: Id40d4f026572538e3481d8e4c7142fd5489670a3
2016-01-07 10:55:26 -08:00
Julia Reynolds
08c5ad4336 Merge "Save importance on 'done'" 2016-01-07 18:54:57 +00:00
Julia Reynolds
b86a137e25 Merge "Send less unnecessary broadcasts." 2016-01-07 18:54:41 +00:00
Yohei Yukawa
f14fa1ec93 Merge "Stop lying about hardware keyboard presence." 2016-01-07 18:54:07 +00:00
Sudheer Shanka
918343b5f9 Merge "Add an intent for ShowAdminSupportDetailsDialog in settings." 2016-01-07 18:43:40 +00:00
Jeff Sharkey
6190d9cf17 Merge "Add flags to requests for package UID/GIDs." 2016-01-07 18:31:53 +00:00
Matt Sarett
055b82aa50 Merge "Allow ninepatches to be encoded using non-RGBA modes" 2016-01-07 18:31:18 +00:00
Julia Reynolds
0714f62c29 Save importance on 'done'
Bug: 26402940
Change-Id: I500b1e5c98cd849b2d24ea15b12ef667349a2119
2016-01-07 13:24:09 -05:00
Daniel Sandler
d20aebb321 Merge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm." into mnc-dr1.5-dev am: c2ec3f1bbe am: f61708617c
am: 2c8f42d730  -s ours

* commit '2c8f42d73005507bcd4d169fc42e844ee0a16521':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
2016-01-07 18:21:04 +00:00
Felipe Leme
0e734165bb Merge "Include title and description on bugreport.zip" 2016-01-07 18:17:39 +00:00
Matt Sarett
3b1b68d6c7 Allow ninepatches to be encoded using non-RGBA modes
The original intention for forcing ninepatches to be encoded as
RGBA (with alpha) was to avoid the possibility of the decoder
producing 565 output.

565 output is bad for ninepatches because dithering tiny images
that we intend to scale later leads to bad results.  I would
argue that, since the new BitmapFactory does not dither, we might
now be ok to allow 565 decodes for ninepatches.  However, we
will maintain the old behavior by disabling 565 decodes for
ninepatch.

There are two changes to PNG encodings:
(1) Allows ninepatch images to be encoded in any mode.  Forcing
    them to RGBA makes things awkward for the decoder.  Currently,
    BitmapFactory's png decoder checks every pixel for alpha.
    That way, RGBA images that are actually opaque can be marked
    as opaque, in order to optimize drawing.  We want to remove
    this complexity from the decoder.
(2) Make sure ninepatch chunks are stored in the png header.  That
    way we know immediately that the png is a ninepatch, and can
    refuse to decode to 565 (if we feel this is best).

Change-Id: I724f5dbefb1be7b412f9b362dff83cbc0603f0bf
2016-01-07 18:17:33 +00:00
Daniel Sandler
2c8f42d730 Merge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm." into mnc-dr1.5-dev am: c2ec3f1bbe
am: f61708617c

* commit 'f61708617ca7eb85b81f479fedf7364fff0395d5':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
2016-01-07 18:17:10 +00:00
Andrei Stingaceanu
cc5061f73e Lock screen customization message: documentation note
Specify in the javadocs the behavior when the message is formed
from whitespaces only. It is not obvious.

Bug: 26313904
Change-Id: I51d5722f090a0780a65f20395bee4fc40f9eb446
2016-01-07 18:13:22 +00:00
Daniel Sandler
f61708617c Merge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm." into mnc-dr1.5-dev
am: c2ec3f1bbe

* commit 'c2ec3f1bbe7271be2126b48fc94acc42a37f43f2':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
2016-01-07 18:13:07 +00:00