OSDN Git Service

android-x86/frameworks-base.git
8 years agoGuard against monkey crash
Jason Monk [Thu, 25 Feb 2016 18:07:41 +0000 (13:07 -0500)]
Guard against monkey crash

Bug: 27337783
Change-Id: Ifa1538a0a0521789a516f8cdbc0615a057611ce7

8 years agoMerge "Revert "Revert "ExifInterface: switch from using jhead to java implementation...
Jaesung Chung [Thu, 25 Feb 2016 14:14:27 +0000 (14:14 +0000)]
Merge "Revert "Revert "ExifInterface: switch from using jhead to java implementation""" into nyc-dev

8 years agoRevert "Revert "ExifInterface: switch from using jhead to java implementation""
Jaesung Chung [Thu, 25 Feb 2016 14:12:32 +0000 (14:12 +0000)]
Revert "Revert "ExifInterface: switch from using jhead to java implementation""

This reverts commit 3c233ee291cfe1b765184920b6b7a69cb1bb82d9.

Bug: 27349581
Change-Id: Ib9f687e79ec36692fa7505ba3852099eb3e44573

8 years agoMerge "Don't run WebView-preparation during an encryption boot phase." into nyc-dev
Gustav Sennton [Thu, 25 Feb 2016 13:58:07 +0000 (13:58 +0000)]
Merge "Don't run WebView-preparation during an encryption boot phase." into nyc-dev

8 years agoDon't run WebView-preparation during an encryption boot phase.
Gustav Sennton [Thu, 25 Feb 2016 13:42:45 +0000 (13:42 +0000)]
Don't run WebView-preparation during an encryption boot phase.

When a device is booting up in an encrypted state WebView won't find the
packages needed for loading WebView and might thus try to use incorrect
webview packages. This in itself might cause us to incorrectly change
the webview provider setting but also causes us to crash the system
server if we try to enabled/disable a package that cannot be seen by the
package manager.

Bug: 27353062
Change-Id: I9349778506e8bec1c56b9b786fe4ed15c7c3260d

8 years agoMerge "Revert "ExifInterface: switch from using jhead to java implementation"" into...
Sungsoo Lim [Thu, 25 Feb 2016 11:50:41 +0000 (11:50 +0000)]
Merge "Revert "ExifInterface: switch from using jhead to java implementation"" into nyc-dev

8 years agoRevert "ExifInterface: switch from using jhead to java implementation"
Sungsoo Lim [Thu, 25 Feb 2016 11:48:10 +0000 (11:48 +0000)]
Revert "ExifInterface: switch from using jhead to java implementation"

This reverts commit bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6.

Change-Id: Id278e831a9c03f615208fd6eab51c65f7bb019eb

8 years agoSuspend packages - decline suspending privileged apps
Andrei Stingaceanu [Tue, 23 Feb 2016 13:20:33 +0000 (13:20 +0000)]
Suspend packages - decline suspending privileged apps

Because there is a high risk of making the system instable.

Bug: 22776761
Bug: 26949256
Bug: 26949428
Bug: 26683041
Change-Id: I73b3f05c13b5023db5176e709320ca6e2e5f6354

8 years agoMerge "MediaSession: Add a way to get a calling package" into nyc-dev
Donghyun Cho [Thu, 25 Feb 2016 10:01:14 +0000 (10:01 +0000)]
Merge "MediaSession: Add a way to get a calling package" into nyc-dev

8 years agoMerge "Resolve unmapped document when the device is connected." into nyc-dev
Daichi Hirono [Thu, 25 Feb 2016 08:37:13 +0000 (08:37 +0000)]
Merge "Resolve unmapped document when the device is connected." into nyc-dev

8 years agoPIP: Make PIPed activity to be focused from Recents
Jaewan Kim [Tue, 16 Feb 2016 01:33:25 +0000 (17:33 -0800)]
PIP: Make PIPed activity to be focused from Recents

This makes PIPed activity to look like part of the Recents.

Bug: 26946155
Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5

8 years agoMerge "Fix suggestion window issues." into nyc-dev
Seigo Nonaka [Thu, 25 Feb 2016 06:16:34 +0000 (06:16 +0000)]
Merge "Fix suggestion window issues." into nyc-dev

8 years agoMerge "Show selection handles at the correct position for view transformation" into...
Seigo Nonaka [Thu, 25 Feb 2016 05:59:18 +0000 (05:59 +0000)]
Merge "Show selection handles at the correct position for view transformation" into nyc-dev

8 years agoFix suggestion window issues.
Seigo Nonaka [Thu, 25 Feb 2016 05:49:57 +0000 (14:49 +0900)]
Fix suggestion window issues.

- Unable to commit suggestion by tap at the right edge of the row.
  It turned out that the ListView doesn't fill the entire width of the
  window. Fix this issue by specifying match_parent instead of
  wrap_content. The Holo theme already has a match_parent attribute.

- Follow up of I03e0f602970b3b8f638f6c7b8cdff7be07ec17a6
  Unexpected trancation happens on Matrial suggestion window was fixed,
  but same issue happens on the Holo suggestion window. Fixing by
  removing ellipsize=marquee.

Bug: 15347319
Bug: 27341560
Change-Id: Ic8445022634e9130f9462e02bfb08d4877396ba3

8 years agoMerge "ExifInterface: switch from using jhead to java implementation" into nyc-dev
Jaesung Chung [Thu, 25 Feb 2016 05:35:53 +0000 (05:35 +0000)]
Merge "ExifInterface: switch from using jhead to java implementation" into nyc-dev

8 years agoMerge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev
Winson Chung [Thu, 25 Feb 2016 03:15:23 +0000 (03:15 +0000)]
Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev

* changes:
  Fixing crash when focusing tasks.
  Minor tweaks to layout and visuals.
  Improving transition from paging to stack.
  Fixing issue with persistent screenshot notification
  Updating task description when activity is visible.

8 years agoMerge changes Iaf179d60,I315cf372,I21d3c5cc into nyc-dev
Yohei Yukawa [Thu, 25 Feb 2016 02:57:50 +0000 (02:57 +0000)]
Merge changes Iaf179d60,I315cf372,I21d3c5cc into nyc-dev

* changes:
  Use LocaleList for implicitly enabled subtypes.
  Add a utility method to filter locales.
  Mechanical refactoring in InputMethodUtilsTest.

8 years agoMerge "Revert "PIP: Temporarily disable overlay text bubble timeout"" into nyc-dev
Jaewan Kim [Thu, 25 Feb 2016 02:52:12 +0000 (02:52 +0000)]
Merge "Revert "PIP: Temporarily disable overlay text bubble timeout"" into nyc-dev

8 years agoRevert "PIP: Temporarily disable overlay text bubble timeout"
Jaewan Kim [Thu, 25 Feb 2016 02:50:28 +0000 (18:50 -0800)]
Revert "PIP: Temporarily disable overlay text bubble timeout"

Bug: 27224884
This reverts commit bfef1edd2632fecc99600fcdb5e0d0854373cee1.

8 years agoMerge "Delete disconnected row when the corresponding remote file is deleted in a...
Daichi Hirono [Thu, 25 Feb 2016 02:30:43 +0000 (02:30 +0000)]
Merge "Delete disconnected row when the corresponding remote file is deleted in a MTP device." into nyc-dev

8 years agoUse LocaleList for implicitly enabled subtypes.
Yohei Yukawa [Thu, 25 Feb 2016 02:27:04 +0000 (18:27 -0800)]
Use LocaleList for implicitly enabled subtypes.

There are two major changes in this CL:

  1. Now IMMS resets its internal state whenever the system locale list
     is changed, rather than just checking the primary system locale.
  2. For software keyboard subtypes,
     InputMethodUtils#getImplicitlyApplicableSubtypesLocked() now takes
     the entire system locale list into account when determining what
     subtypes should be enabled by default when the user does not
     explicitly enable one or more subtypes.

Bug: 27129703
Change-Id: Iaf179d60c12b9a98b4f097e2449471c4184e049b

8 years agoMerge "Use actual window size for layout" into nyc-dev
Jorim Jaggi [Thu, 25 Feb 2016 02:26:30 +0000 (02:26 +0000)]
Merge "Use actual window size for layout" into nyc-dev

8 years agoAdd a utility method to filter locales.
Yohei Yukawa [Thu, 25 Feb 2016 02:25:16 +0000 (18:25 -0800)]
Add a utility method to filter locales.

This is a preparation CL to take secondary system locales into
account in InputMethodUtils#getImplicitlyApplicableSubtypesLocked().

Suppose the following situation:

  available subtypes:
    en-US, en-IN, and en-GB, fr, fr-CA, fr-CH, fr (QWERTZ)
  system locales:
    en-GB, en-US, fr-MC

Basically we want to have at most one subtype for each language appears
in system locales.  Hence the goal of this utility method is to filter
the above available subtypes into en-GB and fr.  In other word, we do
not want to enable both en-GB and en-US subtypes in this scenario.

This CL introduces LocaleUtils#filterByLanguage() for this purpose, with
some unit tests.  Note that that method is not used in production yet.

Bug: 27129703
Change-Id: I315cf3722a06e00bdbfac284c4949578da8fe78d

8 years agoMerge "Revert "Temporary fix for QXDM crashes."" into nyc-dev
Thierry Strudel [Thu, 25 Feb 2016 02:16:49 +0000 (02:16 +0000)]
Merge "Revert "Temporary fix for QXDM crashes."" into nyc-dev

8 years agoRevert "Temporary fix for QXDM crashes."
Thierry Strudel [Thu, 25 Feb 2016 02:14:16 +0000 (02:14 +0000)]
Revert "Temporary fix for QXDM crashes."

This reverts commit d7793693ad6b8937bb7850573278b881618795b0.

Change-Id: I9f27d6d5075be7b170ebe7a5bf4f2c3fe8c7c604

8 years agoMerge "Launch the activity with the test root opened for tests to reduce some flakine...
Aga Wronska [Thu, 25 Feb 2016 02:06:32 +0000 (02:06 +0000)]
Merge "Launch the activity with the test root opened for tests to reduce some flakiness and save time used on opening test root over and over again." into nyc-dev

8 years agoMerge "N-release temporary platlogo." into nyc-dev
Daniel Sandler [Thu, 25 Feb 2016 02:05:53 +0000 (02:05 +0000)]
Merge "N-release temporary platlogo." into nyc-dev

8 years agoN-release temporary platlogo.
Dan Sandler [Mon, 15 Feb 2016 03:24:43 +0000 (22:24 -0500)]
N-release temporary platlogo.

What are we going to do 13 releases from now, I wonder?

Bug: 27315386
Change-Id: I65814f9cd686b3bac537565166b2a5d09a9b8f2b

8 years agoExifInterface: switch from using jhead to java implementation
Jaesung Chung [Wed, 17 Feb 2016 11:50:15 +0000 (20:50 +0900)]
ExifInterface: switch from using jhead to java implementation

Bug: 26044456, Bug: 11224701
Change-Id: I881ef0ead24bcec76c0fa5a7dd0b74cc71c77285

8 years agoMerge "remove some logspam and fix an NPE" into nyc-dev
Chris Wren [Thu, 25 Feb 2016 01:57:15 +0000 (01:57 +0000)]
Merge "remove some logspam and fix an NPE" into nyc-dev

8 years agoUse actual window size for layout
Jorim Jaggi [Wed, 24 Feb 2016 23:37:51 +0000 (18:37 -0500)]
Use actual window size for layout

When doing the actual layout pass, desiredWindowWidth/Height might be wrong,
because window manager has the final say how large the surface is, so use
that size.

Bug: 27342700
Change-Id: I4f74fdef66ba7aa88b86f8c95fb391b1cc847beb

8 years agoShow toast if app was forced to be resizable
Jorim Jaggi [Wed, 24 Feb 2016 23:06:49 +0000 (18:06 -0500)]
Show toast if app was forced to be resizable

Bug: 27327287
Change-Id: Iaf33f0ba27a6bfb240068b9cf21732b0870f4429

8 years agoMerge "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method...
Edward Cunningham [Thu, 25 Feb 2016 01:10:55 +0000 (01:10 +0000)]
Merge "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."" into nyc-dev

8 years agoMerge "Add Network Security Config documentation." into nyc-dev
Alex Klyubin [Thu, 25 Feb 2016 01:01:20 +0000 (01:01 +0000)]
Merge "Add Network Security Config documentation." into nyc-dev

8 years agoMerge "Make sure background drawable callback is cleared during resizing" into nyc-dev
Chong Zhang [Thu, 25 Feb 2016 00:38:18 +0000 (00:38 +0000)]
Merge "Make sure background drawable callback is cleared during resizing" into nyc-dev

8 years agoLaunch the activity with the test root opened for tests
Aga Wronska [Wed, 24 Feb 2016 20:57:21 +0000 (12:57 -0800)]
Launch the activity with the test root opened for tests
to reduce some flakiness and save time used on opening test root over
and over again.

Bug: 27271765
Change-Id: I6fa191ed8e0c7e8e071e4dd17c62aab5db1e23a5

8 years agoFixing crash when focusing tasks.
Winson [Wed, 24 Feb 2016 20:05:26 +0000 (12:05 -0800)]
Fixing crash when focusing tasks.

- We call bindVisibleTaskViews() at the new scroll value expecting all
  visible task views at that scroll to be bound synchronously, however,
  the call to computeVisibleTaskTransforms() would not produce the
  correct visible range if the visible range at the current and new
  scroll resulted in gaps (ie. at scroll 0, 0-3 are visible, and at
  scroll s, 5-8 were visible).  As a result, the task view would not be
  bound, causing a later crash.

  Instead of the optimization before, which would assume every task
  after the first non-visible task would also be non-visible, we can
  just update the transforms for all task views.  This ensures that
  all visible task views should be bound, even if they are not in a
  contiguous range.  A global range is still provided in the call to
  allow accessibility to focus the next task when a task is unbound at
  the two ends of the stack.
- Also removing expensive calls to remove all listeners and cancel
  animations that are not even started.

Bug: 27295423

Change-Id: Ib309e9de3095cacb178ae9ff5c53b8ee2c7ddac0

8 years agoMinor tweaks to layout and visuals.
Winson [Wed, 24 Feb 2016 19:06:01 +0000 (11:06 -0800)]
Minor tweaks to layout and visuals.

- Constructing max dim paths to be dependent on focused range
- Reducing highlight on tasks
- Making header/icons smaller

Change-Id: Ia7cf8b996428012e9619a640e178b4b42e094d68

8 years agoImproving transition from paging to stack.
Winson [Wed, 24 Feb 2016 02:45:47 +0000 (18:45 -0800)]
Improving transition from paging to stack.

- When we start scrolling, project the tasks onto the unfocused curve,
  then reduce the offsets from the projected task indices back to the
  normal indices as you scroll.  This doesn’t give you a perfect result,
  especially when scrolling in the same direction as the tasks are
  offset, but is better than what we have now.

Change-Id: I055b08257fe1427e00e26ffa02f261cf51a8a2e0

8 years agoFixing issue with persistent screenshot notification
Winson [Thu, 18 Feb 2016 21:45:54 +0000 (13:45 -0800)]
Fixing issue with persistent screenshot notification

- Ensure that we dismiss notifications when cancelled
- Removing unnecessary notification id and cancel extra
- Fixing the strings when capturing a screenshot fails

Bug: 27149651
Bug: 27177097
Change-Id: Ie2ea4318309fff4041acb04833216fdd5cf8838a

8 years agoUpdating task description when activity is visible.
Winson [Tue, 23 Feb 2016 21:32:09 +0000 (13:32 -0800)]
Updating task description when activity is visible.

Bug: 27275448
Change-Id: If92221d30c84c58b5d36db1b254d264a0ff3ec25

8 years agoAdd Network Security Config documentation.
Chad Brubaker [Mon, 22 Feb 2016 18:40:05 +0000 (10:40 -0800)]
Add Network Security Config documentation.

Initial pass at Network Security Config documentation, this also adds a
Security section to the list of topics which is currently just a stub.

Bug: 26931435
Change-Id: Iae0ec98a202ad3222b8f3ef39df77ecd2316504a

8 years agoMerge "Aggressively unbind GL_PIXEL_UNPACK_BUFFER" into nyc-dev
John Reck [Thu, 25 Feb 2016 00:14:23 +0000 (00:14 +0000)]
Merge "Aggressively unbind GL_PIXEL_UNPACK_BUFFER" into nyc-dev

8 years agoMerge "Disallow downgrading of non-debuggable packages." into nyc-dev
Alex Klyubin [Thu, 25 Feb 2016 00:05:35 +0000 (00:05 +0000)]
Merge "Disallow downgrading of non-debuggable packages." into nyc-dev

8 years agoMerge "Dont trust the user added CA store by default for apps targeting N" into nyc-dev
Chad Brubaker [Thu, 25 Feb 2016 00:02:35 +0000 (00:02 +0000)]
Merge "Dont trust the user added CA store by default for apps targeting N" into nyc-dev

8 years agoMerge "Settings: add ENCODED_SURROUND_OUTPUT" into nyc-dev
Phil Burk [Wed, 24 Feb 2016 23:49:17 +0000 (23:49 +0000)]
Merge "Settings: add ENCODED_SURROUND_OUTPUT" into nyc-dev

8 years agoMerge "Grant permissions for EmergencyInfo app" into nyc-dev
Maria Garcia Puyol [Wed, 24 Feb 2016 23:44:04 +0000 (23:44 +0000)]
Merge "Grant permissions for EmergencyInfo app" into nyc-dev

8 years agoAggressively unbind GL_PIXEL_UNPACK_BUFFER
John Reck [Wed, 24 Feb 2016 23:36:35 +0000 (15:36 -0800)]
Aggressively unbind GL_PIXEL_UNPACK_BUFFER

Bug: 27186019

Theory: It appears to be possible for FontRenderer
to not unbind its PBO prior to textures being uploaded,
resulting in trying to glSubTexImage2D with a bound
GL_PIXEL_UNPACK_BUFFER. In that scenario the void* is
the offset into the PBO which given a non-null data
will almost certainly overrun the end of the buffer. This
in turn produces a GL_INVALID_OPERATION error.

Change PixelBuffer to avoid leaking this state for now.
This will result in more calls to glBindBuffer/glUnbindBuffer
in the worst case, but the worst case is already bad so this
shouldn't be a problem. In the normal case we avoid binding
the PBO at all ever, so this doesn't impact that.

Change-Id: I05473f0d2f9a3a5da0e33d8f9ddea4731ce970e3

8 years agoMake sure background drawable callback is cleared during resizing
Chong Zhang [Wed, 24 Feb 2016 23:39:53 +0000 (15:39 -0800)]
Make sure background drawable callback is cleared during resizing

bug: 27297724
Change-Id: I8ee3d0e093f94a7fc293f64949abbb612e0b2aa4

8 years agoMerge "Fix exit transition and dismiss callback for popup exit transition" into nyc-dev
Alan Viverette [Wed, 24 Feb 2016 23:22:19 +0000 (23:22 +0000)]
Merge "Fix exit transition and dismiss callback for popup exit transition" into nyc-dev

8 years agoMerge "Fix the title of the language selection list" into nyc-dev
Mihai Niță [Wed, 24 Feb 2016 23:22:03 +0000 (23:22 +0000)]
Merge "Fix the title of the language selection list" into nyc-dev

8 years agoMerge "Fix AlwaysOnHotwordDetector recognition event bug." into nyc-dev
Arunesh Mishra [Wed, 24 Feb 2016 23:12:11 +0000 (23:12 +0000)]
Merge "Fix AlwaysOnHotwordDetector recognition event bug." into nyc-dev

8 years agoMerge "Protect FragmentManager against View.NO_ID container ids" into nyc-dev
Adam Powell [Wed, 24 Feb 2016 23:01:32 +0000 (23:01 +0000)]
Merge "Protect FragmentManager against View.NO_ID container ids" into nyc-dev

8 years agoFix the title of the language selection list
Mihai Nita [Wed, 24 Feb 2016 22:57:25 +0000 (14:57 -0800)]
Fix the title of the language selection list

Changed to "Add a language" (consistent with "Add an account")

Bug: 27148570
Change-Id: I4d48c83ac59884f7d568f93f83fd9ea4799c60ad

8 years agoMerge "Revert "Remove deprecated methods / classes"" into nyc-dev
Todd Kennedy [Wed, 24 Feb 2016 22:45:48 +0000 (22:45 +0000)]
Merge "Revert "Remove deprecated methods / classes"" into nyc-dev

8 years agoRevert "Remove deprecated methods / classes"
Todd Kennedy [Wed, 24 Feb 2016 22:45:00 +0000 (22:45 +0000)]
Revert "Remove deprecated methods / classes"

This reverts commit 9706c01f9b92cee64bb84782138735225c8588e0.

Change-Id: I14c53ab140220e48f6728b1173ea58760bbeb7f9

8 years agoRevert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to...
Edward Cunningham [Wed, 24 Feb 2016 22:43:15 +0000 (22:43 +0000)]
Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."

This reverts commit baccf15a4adafe3fb3fdf23c35ea29d95c45c89b.

Change-Id: If218d579cbf473fdab2b16a715a5dbb75dc9fbbc

8 years agoDisallow downgrading of non-debuggable packages.
Alex Klyubin [Wed, 24 Feb 2016 21:21:41 +0000 (13:21 -0800)]
Disallow downgrading of non-debuggable packages.

An attacker could downgrade a package to an older version with known
security vulnerabilities and then use some of the vulnerabilities to
access the application's data. This would constitute a bypass of
Android Application Sandbox. Thus, downgrading while keeping
application data is no longer permitted.

To help developers debug their apps, packages marked as debuggable can
still be downgraded while keeping their data. This does not put the
installed base at risk because, as a security measure, most
application stores reject packages marked as debuggable.

To downgrade a non-debuggable (i.e., release) package, uninstall the
package (thus wiping its data), then install the older version of the
package.

Bug: 27327503
Change-Id: Iac75ed3c3831b5d925dfd8b660527cfa95813da8

8 years agoMerge "QS Tweaks" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 22:30:37 +0000 (22:30 +0000)]
Merge "QS Tweaks" into nyc-dev

8 years agoQS Tweaks
Jason Monk [Wed, 24 Feb 2016 22:25:49 +0000 (17:25 -0500)]
QS Tweaks

 - Bring back toolbar, save on close, reset -> overflow
 - Fix drag on touch
 - Fix battery icon size
 - Verify correct permission to display QS tile

Bug: 27327479
Bug: 27250519
Bug: 27341503
Change-Id: I8984e441222e004f7ddd4b280b0c154bda2cc742

8 years agoMerge "Support safe mode properly." into nyc-dev
Makoto Onuki [Wed, 24 Feb 2016 22:20:06 +0000 (22:20 +0000)]
Merge "Support safe mode properly." into nyc-dev

8 years agoMerge "Update data for emoji modifier bases to Unicode 9" into nyc-dev
Raph Levien [Wed, 24 Feb 2016 22:00:58 +0000 (22:00 +0000)]
Merge "Update data for emoji modifier bases to Unicode 9" into nyc-dev

8 years agoMerge "Type-to-focus improvements." into nyc-dev
Ben Kwa [Wed, 24 Feb 2016 21:55:42 +0000 (21:55 +0000)]
Merge "Type-to-focus improvements." into nyc-dev

8 years agoMerge "Fix a crash when browsing empty roots." into nyc-dev
Ben Kwa [Wed, 24 Feb 2016 21:52:47 +0000 (21:52 +0000)]
Merge "Fix a crash when browsing empty roots." into nyc-dev

8 years agoMerge "Make sure tuner has metrics coverage for new stuff" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 21:52:13 +0000 (21:52 +0000)]
Merge "Make sure tuner has metrics coverage for new stuff" into nyc-dev

8 years agoMerge "TIF: Add null-checking in Programs.Genres.encode/decode" into nyc-dev
Dongwon Kang [Wed, 24 Feb 2016 21:51:21 +0000 (21:51 +0000)]
Merge "TIF: Add null-checking in Programs.Genres.encode/decode" into nyc-dev

8 years agoType-to-focus improvements.
Ben Kwa [Wed, 24 Feb 2016 07:00:01 +0000 (23:00 -0800)]
Type-to-focus improvements.

- Fix handling of tab and backspace keys while in type-to-search mode.
- Fix search term highlighting on directory items in grid view.
- Switch to a time-based search model.  Typing starts a search.  The
  current search expires if no keys are pressed for 500 ms.
- Make type-to-focus case-insensitive.

BUG=27336167
BUG=27324974

Change-Id: I92633222c9a04af24729501c48885eabebf00696

8 years agoMerge "PIP: Add RTL support" into nyc-dev
Jaewan Kim [Wed, 24 Feb 2016 21:39:44 +0000 (21:39 +0000)]
Merge "PIP: Add RTL support" into nyc-dev

8 years agoPIP: Add RTL support
Jaewan Kim [Wed, 24 Feb 2016 20:40:35 +0000 (12:40 -0800)]
PIP: Add RTL support

This also matches the PIP size with the UX redline.

Bug: 27108444
Change-Id: I786b9633e753cb26852095ff91674b2f44f30a3d

8 years agoMerge "NPE fix for JobScheduler" into nyc-dev
Matthew Williams [Wed, 24 Feb 2016 21:37:44 +0000 (21:37 +0000)]
Merge "NPE fix for JobScheduler" into nyc-dev

8 years agoMerge "Don't restore stack when picking copy destination." into nyc-dev
Steve McKay [Wed, 24 Feb 2016 21:32:37 +0000 (21:32 +0000)]
Merge "Don't restore stack when picking copy destination." into nyc-dev

8 years agoNPE fix for JobScheduler
Shreyas Basarge [Mon, 22 Feb 2016 22:29:39 +0000 (22:29 +0000)]
NPE fix for JobScheduler

Add a null check before setting stop
reason for job parameters.

Bug: 27166522
Change-Id: I8b829c0cf8df7da0b8118ab75779f209d0af1b22

8 years agoDon't restore stack when picking copy destination.
Steve McKay [Tue, 23 Feb 2016 22:34:50 +0000 (14:34 -0800)]
Don't restore stack when picking copy destination.

Move fancy drawer "fiddling" to FilesActivity.
Rename the various "Restore" tasks to better reflect their roles.

Change-Id: I7f5c3dee11112bf0a31e6219d09c572c5651629d

8 years agoMake sure tuner has metrics coverage for new stuff
Jason Monk [Wed, 24 Feb 2016 21:24:55 +0000 (16:24 -0500)]
Make sure tuner has metrics coverage for new stuff

Change-Id: I1e0d8e34f518cb3fc2bd9ccff0b71dc586ed2ab6

8 years agoSettings: add ENCODED_SURROUND_OUTPUT
Phil Burk [Wed, 24 Feb 2016 01:12:04 +0000 (17:12 -0800)]
Settings: add ENCODED_SURROUND_OUTPUT

Support AUTO, ALWAYS or NEVER preference for using AC3 and DTS.

Bug: 24541671
Change-Id: I423969882d18d99ce93bea57d10bdb1da7063b7a
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Adding missing break statements causing crash on MSG_SET_EXTRAS." into nyc-dev
Tyler Gunn [Wed, 24 Feb 2016 21:23:16 +0000 (21:23 +0000)]
Merge "Adding missing break statements causing crash on MSG_SET_EXTRAS." into nyc-dev

8 years agoMerge "ImageReader: skip callback when image reader is being closed" into nyc-dev
Zhijun He [Wed, 24 Feb 2016 21:17:50 +0000 (21:17 +0000)]
Merge "ImageReader: skip callback when image reader is being closed" into nyc-dev

8 years agoAdding missing break statements causing crash on MSG_SET_EXTRAS.
Tyler Gunn [Wed, 24 Feb 2016 21:17:21 +0000 (13:17 -0800)]
Adding missing break statements causing crash on MSG_SET_EXTRAS.

The case block for MSG_SET_EXTRAS was missing its break statement, all
the way back to summer 2015 when that code was originally added.

When the new MSG_ON_CONNECTION_EVENT handler was added, it introduced a
new potential fall-through from MSG_SET_EXTRAS (in addition to the fact it
too was missing a break statement).

Bug: 27338441
Change-Id: I2df2bc78c4ceb32e6245888eed18c2d8834e629b

8 years agoMerge "Temporary fix for QXDM crashes." into nyc-dev
Jeff Sharkey [Wed, 24 Feb 2016 21:16:33 +0000 (21:16 +0000)]
Merge "Temporary fix for QXDM crashes." into nyc-dev

8 years agoTemporary fix for QXDM crashes.
Jeff Sharkey [Wed, 24 Feb 2016 21:15:03 +0000 (14:15 -0700)]
Temporary fix for QXDM crashes.

Bug: 26971038
Change-Id: I59efbdec11ca8d9a0b640c092402091d66b220a0

8 years agoSupport safe mode properly.
Makoto Onuki [Tue, 16 Feb 2016 23:20:30 +0000 (15:20 -0800)]
Support safe mode properly.

In safe mode, IPM.queryXxx() doesn't work.  Use IPM.getReceiverInfo()
directly instead.

Bug 27108276

Change-Id: Ice8f882559b8f0596a19ddb3a16395a4dc538a25

8 years agoMerge "Fix personal apps are not shown when tapping "personal" in activity chooser...
Tony Mak [Wed, 24 Feb 2016 21:11:29 +0000 (21:11 +0000)]
Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev

8 years agoUpdate data for emoji modifier bases to Unicode 9
Raph Levien [Wed, 24 Feb 2016 20:58:22 +0000 (12:58 -0800)]
Update data for emoji modifier bases to Unicode 9

This patch updates the set of emoji modifier bases to Unicode 9,
using data from:
http://www.unicode.org/Public/emoji/3.0/emoji-data.txt

Bug: 27039487
Change-Id: I94c09113753c0595e72f403ba01b3e7fa78c5627

8 years agoMerge "Remove deprecated methods / classes" into nyc-dev
Todd Kennedy [Wed, 24 Feb 2016 21:02:56 +0000 (21:02 +0000)]
Merge "Remove deprecated methods / classes" into nyc-dev

8 years agoTIF: Add null-checking in Programs.Genres.encode/decode
Dongwon Kang [Tue, 23 Feb 2016 21:45:25 +0000 (13:45 -0800)]
TIF: Add null-checking in Programs.Genres.encode/decode

Bug: 27292029
Change-Id: I041a5242f9e5fef9c5c7f89e3d5d597a6063ed4c

8 years agoMerge "Only ellipsize at end of strings." into nyc-dev
Steve McKay [Wed, 24 Feb 2016 21:01:07 +0000 (21:01 +0000)]
Merge "Only ellipsize at end of strings." into nyc-dev

8 years agoOnly ellipsize at end of strings.
Steve McKay [Wed, 24 Feb 2016 20:57:06 +0000 (12:57 -0800)]
Only ellipsize at end of strings.

Bug: 2733948427338617
Change-Id: I5e908c862cf9d6a2ba0c7552434914f18fbab716

8 years agoFix AlwaysOnHotwordDetector recognition event bug.
Arunesh Mishra [Fri, 19 Feb 2016 00:16:12 +0000 (16:16 -0800)]
Fix AlwaysOnHotwordDetector recognition event bug.

Parcelables don't work well with inheritance. So changed the
IRecognitionStatusCallback to have onKeyphraseDetected() and
onGenericSoundTriggerDetected() for those respective events.

Made corresponding changes to AlwaysOnHotwordDetector and SoundTriggerDetector.

Bug: 27250528
Change-Id: Ic08a431e7cc4248c688b05c865348170246de576

8 years agoMerge "Disable per-app scheduled job limits" into nyc-dev
Chris Tate [Wed, 24 Feb 2016 20:45:17 +0000 (20:45 +0000)]
Merge "Disable per-app scheduled job limits" into nyc-dev

8 years agoUse correct task bounds when moved from fullscreen to freeform stack
Wale Ogunwale [Tue, 23 Feb 2016 20:20:08 +0000 (12:20 -0800)]
Use correct task bounds when moved from fullscreen to freeform stack

When we are moving a task to the freeform stack, get the launch bounds
to use or layout in stack vs. using the existing bounds that can be
null.

Also, prevent moving a task to the freeform stack if freeform isn't supported.

Bug: 27157914
Change-Id: I0d86baa6141961b92a436107b5c5bb1316570558

8 years agoAdd support for showing wallpaper for the user selected in UI.
Vadim Tryshev [Fri, 12 Feb 2016 23:39:28 +0000 (15:39 -0800)]
Add support for showing wallpaper for the user selected in UI.

This change will go nyc-dev.

There will be another change in the UI, which will go to our
branch.

Bug: 25185253
Change-Id: I6feac9fa4190b28a8599a18367bea8c6a5a83b9a

8 years agoFix exit transition and dismiss callback for popup exit transition
Alan Viverette [Wed, 24 Feb 2016 20:34:11 +0000 (15:34 -0500)]
Fix exit transition and dismiss callback for popup exit transition

We should run the transition only when the anchor root IS attached,
and we should only call the dismiss callback when the animation has
completed and the window has been removed.

Bug: 25323707
Bug: 26647820
Change-Id: I2bcdc901885d4c0a6c48c2b2c949797def1d7512

8 years agoDisable per-app scheduled job limits
Christopher Tate [Wed, 24 Feb 2016 20:30:22 +0000 (12:30 -0800)]
Disable per-app scheduled job limits

Bug 27335118

Change-Id: I6ec92498c1e90e63a650db2a676cfd75dd91aced

8 years agoFix personal apps are not shown when tapping "personal" in activity chooser
Tony Mak [Wed, 24 Feb 2016 20:26:24 +0000 (20:26 +0000)]
Fix personal apps are not shown when tapping "personal" in activity chooser

It is introduced in ag/842541.
function isMatch return flage when Flag that are neither
MATCH_ENCRYPTION_AWARE and MATCH_ENCRYPTION_UNAWARE.

We should call updateFlagsForResolve before resolving any intent in order
to make sure the flag is set properly.

Bug: 26614039
Change-Id: I4da34a34cb515557d0f5948a4c9ec4da9bfeb3f4

8 years agoMerge "QS Animation tweaks" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 20:24:11 +0000 (20:24 +0000)]
Merge "QS Animation tweaks" into nyc-dev

8 years agoresolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
Andre Eisenbach [Wed, 24 Feb 2016 20:22:09 +0000 (20:22 +0000)]
resolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
am: 1cba33abf3

* commit '1cba33abf35159928e065ca933dfbe67189215a7':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)

8 years agoMerge "Fix broken remote inputs" into nyc-dev
Adrian Roos [Wed, 24 Feb 2016 20:20:12 +0000 (20:20 +0000)]
Merge "Fix broken remote inputs" into nyc-dev

8 years agoMerge "Set input type on RemoteInputView" into nyc-dev
Adrian Roos [Wed, 24 Feb 2016 20:11:43 +0000 (20:11 +0000)]
Merge "Set input type on RemoteInputView" into nyc-dev

8 years agoFix broken remote inputs
Adrian Roos [Wed, 24 Feb 2016 20:05:51 +0000 (12:05 -0800)]
Fix broken remote inputs

Bug: 22452379
Change-Id: Ibcf0cf23e9f163b37270d42629de01083e12643c

8 years agoMerge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
Nathan Harold [Wed, 24 Feb 2016 20:02:09 +0000 (20:02 +0000)]
Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
am: 17469433e3

* commit '17469433e35e5a137ff37cb3a5fdead76574c146':
  Adding Error Codes for IWLAN/EPDG Connection