OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd operationsSupported to device info.
Daichi Hirono [Wed, 6 Jan 2016 07:43:32 +0000 (16:43 +0900)]
Add operationsSupported to device info.

Because not all MTP devices support getPartialObject, we need to check
supported operation of MTP devices. The CL adds operationsSupported
field to MtpDeviceInfo class.

BUG=26147375

Change-Id: Iaad968fb4497a5ad11bf6489097abea99c3cbac7

8 years agoMerge "RealDeviceTest for MTP does not need to ask device permission."
Daichi Hirono [Fri, 8 Jan 2016 07:20:46 +0000 (07:20 +0000)]
Merge "RealDeviceTest for MTP does not need to ask device permission."

8 years agoMerge "Do not account ZRAM physical memory as Lost RAM"
Thierry Strudel [Fri, 8 Jan 2016 05:43:56 +0000 (05:43 +0000)]
Merge "Do not account ZRAM physical memory as Lost RAM"

8 years agoDo not account ZRAM physical memory as Lost RAM
Thierry Strudel [Mon, 21 Dec 2015 19:06:57 +0000 (11:06 -0800)]
Do not account ZRAM physical memory as Lost RAM

Bug: 26039328
Change-Id: I0f28ed777e10a90186700b4879c69f827a3c0495

8 years agoMerge "Fix document stack."
Daichi Hirono [Fri, 8 Jan 2016 05:34:59 +0000 (05:34 +0000)]
Merge "Fix document stack."

8 years agoFix document stack.
Daichi Hirono [Fri, 8 Jan 2016 03:22:09 +0000 (12:22 +0900)]
Fix document stack.

We need to add document to stack by using 'push' method instead of 'add'
method.

BUG=26437613

Change-Id: I3e4ac6b0d03cacbe2d6cdd93443ce1c96c8c47d9

8 years agoMerge "CopyService generalization."
Steve McKay [Fri, 8 Jan 2016 02:40:34 +0000 (02:40 +0000)]
Merge "CopyService generalization."

8 years agoMerge "Encapsulate stackTouched logic into State class."
Daichi Hirono [Fri, 8 Jan 2016 02:28:05 +0000 (02:28 +0000)]
Merge "Encapsulate stackTouched logic into State class."

8 years agoEncapsulate stackTouched logic into State class.
Daichi Hirono [Thu, 7 Jan 2016 06:29:12 +0000 (15:29 +0900)]
Encapsulate stackTouched logic into State class.

BUG=26437613

Change-Id: I84a667cb3561d395daac4e63d9eaca589c8f1fea

8 years agoMerge "Move MTP event code to MtpConstants class."
Daichi Hirono [Fri, 8 Jan 2016 02:09:40 +0000 (02:09 +0000)]
Merge "Move MTP event code to MtpConstants class."

8 years agoMove MTP event code to MtpConstants class.
Daichi Hirono [Wed, 6 Jan 2016 05:55:47 +0000 (14:55 +0900)]
Move MTP event code to MtpConstants class.

BUG=25128276

Change-Id: I49530c50d7889e1b04931b8ec61f5f92a1c7e68f

8 years agoMerge "Null cursors don't need to be wrapped."
Jeff Sharkey [Fri, 8 Jan 2016 01:53:14 +0000 (01:53 +0000)]
Merge "Null cursors don't need to be wrapped."

8 years agoNull cursors don't need to be wrapped.
Jeff Sharkey [Fri, 8 Jan 2016 01:52:26 +0000 (18:52 -0700)]
Null cursors don't need to be wrapped.

Change-Id: I59b604a60a066c2d808a796658757af952ef913c

8 years agoFixing regression in tuner pref due to changed key name.
Winson [Thu, 7 Jan 2016 23:12:09 +0000 (15:12 -0800)]
Fixing regression in tuner pref due to changed key name.

Change-Id: If785f511d1d8bd587706afdada8edc3fd93bb943

8 years agoFix crash when trying to use uninitialized layout.
Winson [Fri, 8 Jan 2016 00:59:53 +0000 (16:59 -0800)]
Fix crash when trying to use uninitialized layout.

Bug: 26453007
Change-Id: I006cf2f622b267163230eae4a07ef676c805f5c3

8 years agoMerge "Correct exit animation window retention logic."
Rob Carr [Fri, 8 Jan 2016 01:02:46 +0000 (01:02 +0000)]
Merge "Correct exit animation window retention logic."

8 years agoMerge "Only allow activities to move to full screen stack."
Filip Gruszczynski [Fri, 8 Jan 2016 00:58:43 +0000 (00:58 +0000)]
Merge "Only allow activities to move to full screen stack."

8 years agoOnly allow activities to move to full screen stack.
Filip Gruszczynski [Thu, 7 Jan 2016 17:44:44 +0000 (09:44 -0800)]
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

8 years agoCopyService generalization.
Steve McKay [Thu, 7 Jan 2016 02:32:13 +0000 (18:32 -0800)]
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

8 years agoMerge "Better fix for unregistered JNI method"
Glenn Kasten [Fri, 8 Jan 2016 00:11:00 +0000 (00:11 +0000)]
Merge "Better fix for unregistered JNI method"

8 years agoMerge "Revert "Short-term fix for unregistered JNI method""
Glenn Kasten [Fri, 8 Jan 2016 00:10:47 +0000 (00:10 +0000)]
Merge "Revert "Short-term fix for unregistered JNI method""

8 years agoPreventing crash when attempting to move un-resizeable task to FF stack.
Winson [Thu, 7 Jan 2016 21:13:52 +0000 (13:13 -0800)]
Preventing crash when attempting to move un-resizeable task to FF stack.

Bug: 26405612
Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08

8 years agoMerge "Cleaning up imports and dead code."
Winson Chung [Fri, 8 Jan 2016 00:06:34 +0000 (00:06 +0000)]
Merge "Cleaning up imports and dead code."

8 years agoBetter fix for unregistered JNI method
Glenn Kasten [Thu, 7 Jan 2016 23:59:38 +0000 (15:59 -0800)]
Better fix for unregistered JNI method

Bug: 26445503
Change-Id: I0de5c34a86f14aeb786a12df8488511c4a280912

8 years agoRevert "Short-term fix for unregistered JNI method"
Glenn Kasten [Thu, 7 Jan 2016 18:59:35 +0000 (10:59 -0800)]
Revert "Short-term fix for unregistered JNI method"

This reverts commit 7922be86e29002dc3714824b2b669a9760de0528.

8 years agoMerge "Allow specifying packages for which we don't report crashes and anrs."
Filip Gruszczynski [Thu, 7 Jan 2016 23:36:17 +0000 (23:36 +0000)]
Merge "Allow specifying packages for which we don't report crashes and anrs."

8 years agoAllow specifying packages for which we don't report crashes and anrs.
Filip Gruszczynski [Thu, 7 Jan 2016 23:08:19 +0000 (15:08 -0800)]
Allow specifying packages for which we don't report crashes and anrs.

Bug: 22472592
Change-Id: I7b103a6cc26166983b6ae3d74e3291ced810d75c

8 years agoCorrect exit animation window retention logic.
Robert Carr [Thu, 7 Jan 2016 21:58:52 +0000 (13:58 -0800)]
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

8 years agoCleaning up imports and dead code.
Winson [Wed, 6 Jan 2016 23:21:41 +0000 (15:21 -0800)]
Cleaning up imports and dead code.

Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802

8 years agoMerge "Refactoring and unifying TaskView animations."
Winson Chung [Thu, 7 Jan 2016 23:05:34 +0000 (23:05 +0000)]
Merge "Refactoring and unifying TaskView animations."

8 years agoMerge "Moving more callbacks to animated events."
Winson Chung [Thu, 7 Jan 2016 23:05:24 +0000 (23:05 +0000)]
Merge "Moving more callbacks to animated events."

8 years agoMerge "Remove graphics-related RenderScript tests." am: 766e20506c
Stephen Hines [Thu, 7 Jan 2016 22:09:56 +0000 (22:09 +0000)]
Merge "Remove graphics-related RenderScript tests." am: 766e20506c
am: 8272a345ec

* commit '8272a345ecfba356c6ed280e8726472c88adc6ee':
  Remove graphics-related RenderScript tests.

8 years agoMerge "Add methods to the API to retrieve voicemail notification settings."
Sailesh Nepal [Thu, 7 Jan 2016 22:06:32 +0000 (22:06 +0000)]
Merge "Add methods to the API to retrieve voicemail notification settings."

8 years agoMerge "Remove graphics-related RenderScript tests."
Stephen Hines [Thu, 7 Jan 2016 22:05:13 +0000 (22:05 +0000)]
Merge "Remove graphics-related RenderScript tests."
am: 766e20506c

* commit '766e20506c85fef052b3dec668c079a1ad9b9eb2':
  Remove graphics-related RenderScript tests.

8 years agoMerge "Remove graphics-related RenderScript tests."
Stephen Hines [Thu, 7 Jan 2016 21:57:21 +0000 (21:57 +0000)]
Merge "Remove graphics-related RenderScript tests."

8 years agoMerge "Prevent infinite loop in case of integer overflow."
Deepanshu Gupta [Thu, 7 Jan 2016 21:50:36 +0000 (21:50 +0000)]
Merge "Prevent infinite loop in case of integer overflow."

8 years agoMerge "Revert ripple background fast-enter behavior to M style"
Alan Viverette [Thu, 7 Jan 2016 21:42:44 +0000 (21:42 +0000)]
Merge "Revert ripple background fast-enter behavior to M style"

8 years agoRevert ripple background fast-enter behavior to M style
Alan Viverette [Thu, 7 Jan 2016 21:37:39 +0000 (16:37 -0500)]
Revert ripple background fast-enter behavior to M style

No longer fast-enters the background for unbounded ripples.

Bug: 25602850
Change-Id: I3250505c1de04a72fb764174abf269e247e21578

8 years agoMerge "Document WebView Metrics opt out API"
Paul Miller [Thu, 7 Jan 2016 21:36:06 +0000 (21:36 +0000)]
Merge "Document WebView Metrics opt out API"

8 years agoPrevent infinite loop in case of integer overflow.
Deepanshu Gupta [Thu, 7 Jan 2016 21:29:04 +0000 (13:29 -0800)]
Prevent infinite loop in case of integer overflow.

Bug: 26331754
Change-Id: I29068159204ecd2e03e44fbb2375d2e116774e07

8 years agoMerge "Changes to support navigation bar system UI in car mode."
Sriram Viswanathan [Thu, 7 Jan 2016 21:03:38 +0000 (21:03 +0000)]
Merge "Changes to support navigation bar system UI in car mode."

8 years agoMerge "Fix SpannableStringBuilder.replace() exception."
Siyamed Sinir [Thu, 7 Jan 2016 20:58:08 +0000 (20:58 +0000)]
Merge "Fix SpannableStringBuilder.replace() exception."

8 years agoFix SpannableStringBuilder.replace() exception.
Siyamed Sinir [Wed, 6 Jan 2016 21:02:59 +0000 (13:02 -0800)]
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

8 years agoMerge "Fixes Javadoc of JobScheduler"
Shreyas Basarge [Thu, 7 Jan 2016 20:51:54 +0000 (20:51 +0000)]
Merge "Fixes Javadoc of JobScheduler"

8 years agoChanges to support navigation bar system UI in car mode.
Sriram Viswanathan [Tue, 17 Nov 2015 01:59:22 +0000 (17:59 -0800)]
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

8 years agoMerge "Re-hide AXIS_SCROLL constant."
Prashant Malani [Thu, 7 Jan 2016 20:42:34 +0000 (20:42 +0000)]
Merge "Re-hide AXIS_SCROLL constant."

8 years agoRe-hide AXIS_SCROLL constant.
Prashant Malani [Wed, 6 Jan 2016 21:31:14 +0000 (13:31 -0800)]
Re-hide AXIS_SCROLL constant.

Bug: 22836852
Bug: 18707397
Change-Id: I9cf7111cf5e3b73efca2ec8c98bf07941d1cec4e

8 years agoMerge "Deprecate setGeolocationDatabasePath because it is no-op since KitKat"
Hui Shu [Thu, 7 Jan 2016 20:07:02 +0000 (20:07 +0000)]
Merge "Deprecate setGeolocationDatabasePath because it is no-op since KitKat"

8 years agoMerge "Modifying Shell to accomodate remote bugreports"
Michal Karpinski [Thu, 7 Jan 2016 20:04:26 +0000 (20:04 +0000)]
Merge "Modifying Shell to accomodate remote bugreports"

8 years agoMerge "Set screenLayout in task configuration override."
Filip Gruszczynski [Thu, 7 Jan 2016 20:04:00 +0000 (20:04 +0000)]
Merge "Set screenLayout in task configuration override."

8 years agoModifying Shell to accomodate remote bugreports
Michal Karpinski [Tue, 15 Dec 2015 18:14:26 +0000 (18:14 +0000)]
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

8 years agoDeprecate setGeolocationDatabasePath because it is no-op since KitKat
Hui Shu [Thu, 7 Jan 2016 19:32:23 +0000 (11:32 -0800)]
Deprecate setGeolocationDatabasePath because it is no-op since KitKat

Also updated the documentation of setGeolocationEnabled.

BUG: crbug.com/507505
Change-Id: I5f4bb38189338f58dcd4c1ba0310493aeac5cbd2

8 years agoMerge "Add internal power mode changed broadcast"
Jason Monk [Thu, 7 Jan 2016 19:41:32 +0000 (19:41 +0000)]
Merge "Add internal power mode changed broadcast"

8 years agoMerge "Fix crashes in background check."
Dianne Hackborn [Thu, 7 Jan 2016 19:37:37 +0000 (19:37 +0000)]
Merge "Fix crashes in background check."

8 years agoDocument WebView Metrics opt out API
Paul Miller [Thu, 7 Jan 2016 19:32:15 +0000 (11:32 -0800)]
Document WebView Metrics opt out API

BUG:22665268
Change-Id: Ib2f7b2a340e27d7d3faf5bfbf6c2216d3c1549e4

8 years agoMerge "Don't look for verifier/installer when core only."
Jeff Sharkey [Thu, 7 Jan 2016 19:23:05 +0000 (19:23 +0000)]
Merge "Don't look for verifier/installer when core only."

8 years agoMerge "[1/3] Remove unnecessary throws statement in ServiceManager" am: d1240219aa
Alex Klyubin [Thu, 7 Jan 2016 19:21:59 +0000 (19:21 +0000)]
Merge "[1/3] Remove unnecessary throws statement in ServiceManager" am: d1240219aa
am: 4a06b7ea7e

* commit '4a06b7ea7e493bf7b575da5219429e2cbeb5b3e8':
  [1/3] Remove unnecessary throws statement in ServiceManager

8 years agoDon't look for verifier/installer when core only.
Jeff Sharkey [Thu, 7 Jan 2016 19:01:56 +0000 (12:01 -0700)]
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

8 years agoMerge "[1/3] Remove unnecessary throws statement in ServiceManager"
Alex Klyubin [Thu, 7 Jan 2016 19:18:01 +0000 (19:18 +0000)]
Merge "[1/3] Remove unnecessary throws statement in ServiceManager"
am: d1240219aa

* commit 'd1240219aadedc867b50158c67d1737a27fa7c6f':
  [1/3] Remove unnecessary throws statement in ServiceManager

8 years agoMerge "[1/3] Remove unnecessary throws statement in ServiceManager"
Alex Klyubin [Thu, 7 Jan 2016 19:08:26 +0000 (19:08 +0000)]
Merge "[1/3] Remove unnecessary throws statement in ServiceManager"

8 years agoInstrumentation targets must have code.
Jeff Sharkey [Thu, 7 Jan 2016 18:51:33 +0000 (11:51 -0700)]
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

8 years agoMerge "Short-term fix for unregistered JNI method"
Glenn Kasten [Thu, 7 Jan 2016 18:58:56 +0000 (18:58 +0000)]
Merge "Short-term fix for unregistered JNI method"

8 years agoShort-term fix for unregistered JNI method
Glenn Kasten [Thu, 7 Jan 2016 18:55:26 +0000 (10:55 -0800)]
Short-term fix for unregistered JNI method

Bug: 26445503
Change-Id: Id40d4f026572538e3481d8e4c7142fd5489670a3

8 years agoMerge "Save importance on 'done'"
Julia Reynolds [Thu, 7 Jan 2016 18:54:57 +0000 (18:54 +0000)]
Merge "Save importance on 'done'"

8 years agoMerge "Send less unnecessary broadcasts."
Julia Reynolds [Thu, 7 Jan 2016 18:54:41 +0000 (18:54 +0000)]
Merge "Send less unnecessary broadcasts."

8 years agoMerge "Stop lying about hardware keyboard presence."
Yohei Yukawa [Thu, 7 Jan 2016 18:54:07 +0000 (18:54 +0000)]
Merge "Stop lying about hardware keyboard presence."

8 years agoMerge "Add an intent for ShowAdminSupportDetailsDialog in settings."
Sudheer Shanka [Thu, 7 Jan 2016 18:43:40 +0000 (18:43 +0000)]
Merge "Add an intent for ShowAdminSupportDetailsDialog in settings."

8 years agoMerge "Add flags to requests for package UID/GIDs."
Jeff Sharkey [Thu, 7 Jan 2016 18:31:53 +0000 (18:31 +0000)]
Merge "Add flags to requests for package UID/GIDs."

8 years agoMerge "Allow ninepatches to be encoded using non-RGBA modes"
Matt Sarett [Thu, 7 Jan 2016 18:31:18 +0000 (18:31 +0000)]
Merge "Allow ninepatches to be encoded using non-RGBA modes"

8 years agoSave importance on 'done'
Julia Reynolds [Thu, 7 Jan 2016 18:24:09 +0000 (13:24 -0500)]
Save importance on 'done'

Bug: 26402940
Change-Id: I500b1e5c98cd849b2d24ea15b12ef667349a2119

8 years agoMerge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm."...
Daniel Sandler [Thu, 7 Jan 2016 18:21:04 +0000 (18:21 +0000)]
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.

8 years agoMerge "Include title and description on bugreport.zip"
Felipe Leme [Thu, 7 Jan 2016 18:17:39 +0000 (18:17 +0000)]
Merge "Include title and description on bugreport.zip"

8 years agoAllow ninepatches to be encoded using non-RGBA modes
Matt Sarett [Mon, 14 Dec 2015 18:08:33 +0000 (13:08 -0500)]
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

8 years agoMerge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm."...
Daniel Sandler [Thu, 7 Jan 2016 18:17:10 +0000 (18:17 +0000)]
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.

8 years agoLock screen customization message: documentation note
Andrei Stingaceanu [Thu, 7 Jan 2016 17:55:57 +0000 (17:55 +0000)]
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

8 years agoMerge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm."...
Daniel Sandler [Thu, 7 Jan 2016 18:13:07 +0000 (18:13 +0000)]
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.

8 years agoMerge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm."...
Daniel Sandler [Thu, 7 Jan 2016 18:09:29 +0000 (18:09 +0000)]
Merge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm." into mnc-dr1.5-dev

8 years agoDO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
Dan Sandler [Tue, 29 Dec 2015 20:45:39 +0000 (15:45 -0500)]
DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.

Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8

8 years agoMerge "System UI for auto."
Rakesh Iyer [Thu, 7 Jan 2016 18:07:04 +0000 (18:07 +0000)]
Merge "System UI for auto."

8 years agoMerge "Don't call pre- and post-handlers for state machine initialization"
Hall Liu [Thu, 7 Jan 2016 17:50:08 +0000 (17:50 +0000)]
Merge "Don't call pre- and post-handlers for state machine initialization"

8 years agoMerge "Store which print services are disabled instead of which are enabled"
Philip P. Moltmann [Thu, 7 Jan 2016 17:42:57 +0000 (17:42 +0000)]
Merge "Store which print services are disabled instead of which are enabled"

8 years agoMerge "sysui: remove some dead code"
Xiaohui Chen [Thu, 7 Jan 2016 17:35:56 +0000 (17:35 +0000)]
Merge "sysui: remove some dead code"

8 years agoAdd flags to requests for package UID/GIDs.
Jeff Sharkey [Wed, 6 Jan 2016 23:47:42 +0000 (16:47 -0700)]
Add flags to requests for package UID/GIDs.

This gives callers the ability to request details for missing
packages.  Also add annotations for userId and appId variables and
start tagging their usage.

Change-Id: I63d5d7f870ac4b7ebae501e0ba4f40e08b14f3f6

8 years agosysui: remove some dead code
Xiaohui Chen [Wed, 6 Jan 2016 19:26:53 +0000 (11:26 -0800)]
sysui: remove some dead code

Change-Id: I77f16798971e1984fc4be058f626a1730b8c0c89

8 years agoStore which print services are disabled instead of which are enabled
Philip P. Moltmann [Tue, 22 Dec 2015 01:03:05 +0000 (17:03 -0800)]
Store which print services are disabled instead of which are enabled

This make services that appreared while the print manager was not active
by default enabled.

In the case we upgrade from pre-N we convert the enabled-list into a
disabled-list.

Bug: 26249649
Change-Id: Iae783a8dd19f1a9d75d675710ea4348fdfbd34f3

8 years agoRemove debugging from print notification code.
Philip P. Moltmann [Thu, 7 Jan 2016 17:25:49 +0000 (09:25 -0800)]
Remove debugging from print notification code.

Change-Id: I3f0fb6c68de0b3f4cd0fa67ddf8c405199d6498e

8 years agoMerge "Use notification grouping for print notification."
Philip P. Moltmann [Thu, 7 Jan 2016 17:21:03 +0000 (17:21 +0000)]
Merge "Use notification grouping for print notification."

8 years agoUse notification grouping for print notification.
Philip P. Moltmann [Wed, 6 Jan 2016 21:26:02 +0000 (13:26 -0800)]
Use notification grouping for print notification.

Change-Id: Ifb5bc0f233611a056db511b15379165ac6fe0edf

8 years agoMerge "Use activity dimensions instead of display to calculate dialog size."
Filip Gruszczynski [Thu, 7 Jan 2016 17:08:56 +0000 (17:08 +0000)]
Merge "Use activity dimensions instead of display to calculate dialog size."

8 years agoSet screenLayout in task configuration override.
Filip Gruszczynski [Thu, 7 Jan 2016 01:39:14 +0000 (17:39 -0800)]
Set screenLayout in task configuration override.

This prevented loading of correct resources when activities are in multi
window mode and the resource had a qualifier that used screen layout.
Specifically, it was causing problem with having the correct minimum
dialog size.

Bug: 26251921
Change-Id: Ia4c16685bd4ef51fcf8283f4fa29602fc93fa10f

8 years agoMerge "Internal components still need filename access."
Jeff Sharkey [Thu, 7 Jan 2016 17:01:36 +0000 (17:01 +0000)]
Merge "Internal components still need filename access."

8 years agoInternal components still need filename access.
Jeff Sharkey [Thu, 7 Jan 2016 16:58:40 +0000 (09:58 -0700)]
Internal components still need filename access.

Give them a way to force-enable filename access, bypassing the
recently added deprecated check.

Bug: 26438975
Change-Id: Ifd1e3debf7c7b3113907a5f2815c29ddb7db581f

8 years agoFix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b...
Baligh Uddin [Thu, 7 Jan 2016 16:55:04 +0000 (16:55 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1 am: 78f672ef05 am: 8d85292827 am: 212fe88251 am: ee895112b3 am: 9530b07c4e am: 4329dd6a62
am: 5ce01af8a3

* commit '5ce01af8a31eec16f1c41c5adf27a41a692b3864':
  Fix plurals variable to unblock Translations Pipeline.

8 years agoFix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b...
Baligh Uddin [Thu, 7 Jan 2016 16:51:10 +0000 (16:51 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1 am: 78f672ef05 am: 8d85292827 am: 212fe88251 am: ee895112b3 am: 9530b07c4e
am: 4329dd6a62

* commit '4329dd6a625e829f0395889586d98bf1523f72ef':
  Fix plurals variable to unblock Translations Pipeline.

8 years agoMerge "GmsCore is casting to a concrete subclass, sigh."
Jeff Sharkey [Thu, 7 Jan 2016 16:49:02 +0000 (16:49 +0000)]
Merge "GmsCore is casting to a concrete subclass, sigh."

8 years agoGmsCore is casting to a concrete subclass, sigh.
Jeff Sharkey [Thu, 7 Jan 2016 16:47:20 +0000 (09:47 -0700)]
GmsCore is casting to a concrete subclass, sigh.

Since this technically wasn't an API change, there isn't a good
reason to protect with target API.  So change the behavior based on
the caller for now.

Bug: 26438049
Change-Id: I65aa1fc9af1f935544f8e191444440af4f98f26f

8 years agoFix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b...
Baligh Uddin [Thu, 7 Jan 2016 16:47:19 +0000 (16:47 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1 am: 78f672ef05 am: 8d85292827 am: 212fe88251 am: ee895112b3
am: 9530b07c4e

* commit '9530b07c4e56819e2b5a9ddc7a60feb44e9406c8':
  Fix plurals variable to unblock Translations Pipeline.

8 years agoFix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b...
Baligh Uddin [Thu, 7 Jan 2016 16:43:22 +0000 (16:43 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1 am: 78f672ef05 am: 8d85292827 am: 212fe88251
am: ee895112b3

* commit 'ee895112b3b221062c7093582c9ad98b3bf0bf58':
  Fix plurals variable to unblock Translations Pipeline.

8 years agoFix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931...
Baligh Uddin [Thu, 7 Jan 2016 16:43:19 +0000 (16:43 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931 am: a9850abb82 am: 9c43094473 am: fd023a630a
am: edb0e3bea8

* commit 'edb0e3bea800fa92ba2b0c8135f0d1c2c6b49d95':
  Fix plurals variable to unblock Translations Pipeline.

8 years agoFix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931...
Baligh Uddin [Thu, 7 Jan 2016 16:39:15 +0000 (16:39 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931 am: a9850abb82 am: 9c43094473
am: fd023a630a

* commit 'fd023a630af22b60297d36893dff6d5b218a163b':
  Fix plurals variable to unblock Translations Pipeline.