OSDN Git Service

android-x86/frameworks-base.git
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 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.

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

* commit '212fe88251a6c769ba71f562fd2f51c30926ccc1':
  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:35:00 +0000 (16:35 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1 am: 78f672ef05
am: 8d85292827

* commit '8d8529282719f035d0ce7460ffd640f94d6c6eb8':
  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:34:59 +0000 (16:34 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931 am: a9850abb82
am: 9c43094473

* commit '9c430944737a5b73218e4162e81aaada2257603d':
  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:31:02 +0000 (16:31 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b am: aa2210c5c1
am: 78f672ef05

* commit '78f672ef05d9dbfbd0abf1b29b76f8cb22d84979':
  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:31:01 +0000 (16:31 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 71921cb23c am: 6980f76931
am: a9850abb82

* commit 'a9850abb82b0ce7b4319a9b8deb0926f40ab1e70':
  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:26:49 +0000 (16:26 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468 am: 4340e0677b
am: aa2210c5c1

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

8 years agoFix plurals variable to unblock Translations Pipeline. am: 71921cb23c
Baligh Uddin [Thu, 7 Jan 2016 16:26:48 +0000 (16:26 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 71921cb23c
am: 6980f76931

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

8 years agoFix plurals variable to unblock Translations Pipeline. am: 61f9f31468
Baligh Uddin [Thu, 7 Jan 2016 16:22:23 +0000 (16:22 +0000)]
Fix plurals variable to unblock Translations Pipeline. am: 61f9f31468
am: 4340e0677b

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

8 years agoFix plurals variable to unblock Translations Pipeline.
Baligh Uddin [Thu, 7 Jan 2016 16:18:11 +0000 (16:18 +0000)]
Fix plurals variable to unblock Translations Pipeline.
am: 61f9f31468

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

8 years agoFix plurals variable to unblock Translations Pipeline.
Baligh Uddin [Thu, 7 Jan 2016 16:18:10 +0000 (16:18 +0000)]
Fix plurals variable to unblock Translations Pipeline.
am: 71921cb23c

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

8 years agoMerge "Show back button while RemoteInput is active on keyguard"
Adrian Roos [Thu, 7 Jan 2016 16:10:53 +0000 (16:10 +0000)]
Merge "Show back button while RemoteInput is active on keyguard"

8 years agoMerge "Use FCC_2 and FCC_8 to highlight channel count assumptions"
Glenn Kasten [Thu, 7 Jan 2016 15:54:45 +0000 (15:54 +0000)]
Merge "Use FCC_2 and FCC_8 to highlight channel count assumptions"

8 years agoMerge "Avoid drawable invalidation during draw()"
Alan Viverette [Thu, 7 Jan 2016 15:54:36 +0000 (15:54 +0000)]
Merge "Avoid drawable invalidation during draw()"

8 years agoMerge "Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder"
Alan Viverette [Thu, 7 Jan 2016 15:48:40 +0000 (15:48 +0000)]
Merge "Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder"

8 years agoMerge "Keyboard shortcuts: minor naming refactor"
Andrei Stingaceanu [Thu, 7 Jan 2016 15:30:15 +0000 (15:30 +0000)]
Merge "Keyboard shortcuts: minor naming refactor"

8 years agoRemoving workaround causing full view inflation.
Winson [Wed, 6 Jan 2016 23:21:29 +0000 (15:21 -0800)]
Removing workaround causing full view inflation.

Bug: 26420766

Change-Id: I0bb0eeada5002460de47fe4b3e23bc8a8d6e751d

8 years agoKeyboard shortcuts: minor naming refactor
Andrei Stingaceanu [Thu, 7 Jan 2016 12:39:38 +0000 (12:39 +0000)]
Keyboard shortcuts: minor naming refactor

Replace all occurrences of showKeyboardShortcuts* with
toggleKeyboardShortcuts* in order to be inline with
the current/desired behavior.

Change-Id: Ia076952ec40963b2727fd1f855b64859b94b1643

8 years agoresolve merge conflicts of 435ad029a3 to master.
Calin Juravle [Thu, 7 Jan 2016 12:15:36 +0000 (12:15 +0000)]
resolve merge conflicts of 435ad029a3 to master.

Change-Id: I87202d69a772c593b691de8ce2faeaac9b7d1f58

8 years agoMerge "Create jit profile file during the app startup flow."
Calin Juravle [Thu, 7 Jan 2016 11:52:50 +0000 (11:52 +0000)]
Merge "Create jit profile file during the app startup flow."
am: 5fac913d98

* commit '5fac913d98eb44269b53cd9cc6a011a4eef3c98d':
  Create jit profile file during the app startup flow.

8 years agoMerge "Create jit profile file during the app startup flow."
Calin Juravle [Thu, 7 Jan 2016 11:44:55 +0000 (11:44 +0000)]
Merge "Create jit profile file during the app startup flow."

8 years agoCreate jit profile file during the app startup flow.
Calin Juravle [Thu, 17 Dec 2015 15:06:49 +0000 (17:06 +0200)]
Create jit profile file during the app startup flow.

ActivityThread has already all the needed information
(userId,sharedAppId) to create the profile file and set the correct
permissions on it. This avoids passing uids to the runtime which now
expects the profile file to be already created.

As part of this change:
- move the registration with the runtim in handleBindApplication
- register only if needed: we could properly setup a profile file and we
have at least one code path. Note that registration with the runtime is
done solely for profiling reasons.

Bug: 26080105
Change-Id: I72657e9ea0a0449a09734456b5f8b5da844cee62

8 years agoMerge "Create parent APIs in DevicePolicyManager"
Clara Bayarri [Thu, 7 Jan 2016 11:12:09 +0000 (11:12 +0000)]
Merge "Create parent APIs in DevicePolicyManager"

8 years agoCreate parent APIs in DevicePolicyManager
Clara Bayarri [Mon, 14 Dec 2015 17:51:22 +0000 (17:51 +0000)]
Create parent APIs in DevicePolicyManager

This change creates the infrastructure for a parent
DPM and implements the actual parent APIs for
- set/getPasswordQuality
- isActivePasswordSufficient

This is part of the Separate Work Challenge

Change-Id: I0477051b3162cbb26aac79467da08932f22fd1b7

8 years agoKeyboard shortcuts: initial view.
Andrei Stingaceanu [Mon, 24 Aug 2015 16:19:06 +0000 (17:19 +0100)]
Keyboard shortcuts: initial view.

Initial view and functionality for showing/hiding it.

Change-Id: I0e365ecc3ba19110b87b020ff53a6318a7304ce8

8 years ago[1/3] Remove unnecessary throws statement in ServiceManager
Umair Khan [Wed, 6 Jan 2016 14:17:20 +0000 (19:47 +0530)]
[1/3] Remove unnecessary throws statement in ServiceManager

The exception is already caught by the try-catch block.

Change-Id: I0c10fe51d12a10cbc02a25c719d03a4ba6497767
Signed-off-by: Umair Khan <omerjerk@gmail.com>
8 years agoMerge "Revert "Revert "Update APIs for the flag changes in SAF."""
Tomasz Mikolajewski [Thu, 7 Jan 2016 07:27:13 +0000 (07:27 +0000)]
Merge "Revert "Revert "Update APIs for the flag changes in SAF."""

8 years agoRevert "Revert "Update APIs for the flag changes in SAF.""
Tomasz Mikolajewski [Thu, 7 Jan 2016 07:26:51 +0000 (07:26 +0000)]
Revert "Revert "Update APIs for the flag changes in SAF.""

This reverts commit 475c19532d1f06185b63a0708cf0164a0d6f3feb.

Change-Id: Idb9a91eaab36d28e6ed3f3b4c55f1e7d44f1d3ad

8 years agoMerge "Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundE...
Tomasz Mikolajewski [Thu, 7 Jan 2016 07:19:56 +0000 (07:19 +0000)]
Merge "Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."""

8 years agoRevert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""
Tomasz Mikolajewski [Thu, 7 Jan 2016 07:19:22 +0000 (07:19 +0000)]
Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""

This reverts commit 2b931719783cda11c3bbac9928c603d0a0a06d43.

Change-Id: Ic61b874012daeada02b73643f5c58f9ec840b3e5

8 years agoMerge "Use mCurrentUserId instead of ActivityManager.getCurrentUser()"
Sungsoo Lim [Thu, 7 Jan 2016 07:11:51 +0000 (07:11 +0000)]
Merge "Use mCurrentUserId instead of ActivityManager.getCurrentUser()"

8 years agoMerge "Fix: TextView cannot be scrolled."
Keisuke Kuroyanagi [Thu, 7 Jan 2016 06:59:03 +0000 (06:59 +0000)]
Merge "Fix: TextView cannot be scrolled."

8 years agoUse mCurrentUserId instead of ActivityManager.getCurrentUser()
Sungsoo Lim [Thu, 7 Jan 2016 05:40:59 +0000 (14:40 +0900)]
Use mCurrentUserId instead of ActivityManager.getCurrentUser()

Change-Id: I5b6887d320a03eb548ae04f15841d7f6f5bd9da4

8 years agoMerge "MediaSession: Use Handler for sending a pending intent"
Sungsoo Lim [Thu, 7 Jan 2016 05:33:49 +0000 (05:33 +0000)]
Merge "MediaSession: Use Handler for sending a pending intent"

8 years agoMediaSession: Use Handler for sending a pending intent
riddle_hsu [Tue, 20 Oct 2015 08:00:15 +0000 (16:00 +0800)]
MediaSession: Use Handler for sending a pending intent

When PendingIntent.send() is called with a null handler,
onSendFinished() will be called inside of the send() method.
Therefore in this case, if a thread holds a lock before
calling send(), and onSendFinished() also requires the lock,
a deadlock could happen.

Bug: 25653801
Change-Id: I71d9f708fc3d52b7b5713426ad6140cbf6e336ef

8 years agoMedia: Fix MtpDevice call
Andreas Gampe [Thu, 7 Jan 2016 05:15:09 +0000 (21:15 -0800)]
Media: Fix MtpDevice call

The signature was changed last minute. Update the media side.

Bug: 26284424
Change-Id: Ia8fb665221f60d3eadd2c32831a12aa21c6c5e9c

8 years agoMerge "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""
Tomasz Mikolajewski [Thu, 7 Jan 2016 04:47:42 +0000 (04:47 +0000)]
Merge "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""

8 years agoRevert "Remove the flag and make openTypedDocument throw FileNotFoundException."
Tomasz Mikolajewski [Thu, 7 Jan 2016 04:47:03 +0000 (04:47 +0000)]
Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."

This reverts commit 95149ab6a5442a05f05f448854b6ab386c87f717.

Change-Id: I218aa8059ef674400dac8531a86cd326748c26d5