OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd pre-defined apps to the restrict background whitelist.
Felipe Leme [Fri, 26 Feb 2016 18:28:41 +0000 (10:28 -0800)]
Add pre-defined apps to the restrict background whitelist.

System config can defined apps to be automatically whitelisted for
restricted background data, but the user can remove the whitelist.

Implementation-wise, NPMS now keeps a list of
<revoked-restrict-background> UIDs in the netpolicy.xml file, and when
it starts it compares the UIDs returned by SystemConfig against this
list, and only whitelist them if they are not revoked. The
revoked-restrict-background is then updated as users change the
whitelist status of UIDs.

BUG: 27366993

Change-Id: I427024fd058924fc9831e409da6636e1bf8e4219

8 years agoReset UI fields when dialog is reused, otherwise it might contain fields
Felipe Leme [Thu, 25 Feb 2016 20:10:43 +0000 (12:10 -0800)]
Reset UI fields when dialog is reused, otherwise it might contain fields
from a previous bug report.

BUG: 26524513
Change-Id: If9d176806b28120b57dddeb62b636065f8ff7cf6

8 years agoMerge "Final (?) fixes on id / pid split." into nyc-dev
Felipe Leme [Thu, 25 Feb 2016 19:57:40 +0000 (19:57 +0000)]
Merge "Final (?) fixes on id / pid split." into nyc-dev

8 years agoMerge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wirel...
Pavel Zhamaitsiak [Thu, 25 Feb 2016 19:46:20 +0000 (19:46 +0000)]
Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev
am: d76b7ee263

* commit 'd76b7ee2636a9bc92d8e1e5fb5cb649e5bd67be9':
  Add registrationAssociatedUriChanged to ImsRegistrationListener

8 years agoMerge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wirel...
Pavel Zhamaitsiak [Thu, 25 Feb 2016 19:43:31 +0000 (19:43 +0000)]
Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev

8 years agoMerge "Make group expanding nicer" into nyc-dev
Selim Cinek [Thu, 25 Feb 2016 19:43:26 +0000 (19:43 +0000)]
Merge "Make group expanding nicer" into nyc-dev

8 years agoMerge "Transforming notifications now based on the user dragging" into nyc-dev
Selim Cinek [Thu, 25 Feb 2016 19:42:23 +0000 (19:42 +0000)]
Merge "Transforming notifications now based on the user dragging" into nyc-dev

8 years agoMerge "Always update drawable container source res" into nyc-dev
Alan Viverette [Thu, 25 Feb 2016 19:38:24 +0000 (19:38 +0000)]
Merge "Always update drawable container source res" into nyc-dev

8 years agosysui: refactor for reuse
Xiaohui Chen [Thu, 25 Feb 2016 00:08:00 +0000 (16:08 -0800)]
sysui: refactor for reuse

Bug: 27099709
Change-Id: I44d3abc7dbed0b655efeb1769fa6a2543bc8322e

8 years agoFinal (?) fixes on id / pid split.
Felipe Leme [Wed, 24 Feb 2016 23:36:50 +0000 (15:36 -0800)]
Final (?) fixes on id / pid split.

The main goal of this CL was to change the test cases to send an
EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2
minor bugs:

- When setting the name property, it was using id instead of pid (which
  is what dumpstate expects).
- When the pid is replaced by the name in the screenshots, it would be
  replaced twice if the pid was small enough (because the call to
  String.replace() would also replace the counter).

This CL fixes these issues, and removes the temporary assignment of id =
pid when the former is missing.

BUG: 27076108
Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723

8 years agoRetire ScanResult.autoJoinStatus
Randy Pan [Thu, 25 Feb 2016 19:12:41 +0000 (19:12 +0000)]
Retire ScanResult.autoJoinStatus
am: 366da67282

* commit '366da672828864fa166f184757e44f89e5139a31':
  Retire ScanResult.autoJoinStatus

8 years agoMake group expanding nicer
Selim Cinek [Thu, 25 Feb 2016 02:48:01 +0000 (18:48 -0800)]
Make group expanding nicer

The group expanding now follows the finger.

Bug: 19437552
Change-Id: If85557bb75ea2f2e560cb28d62a06c217187c9c3

8 years agoTransforming notifications now based on the user dragging
Selim Cinek [Wed, 24 Feb 2016 03:56:31 +0000 (19:56 -0800)]
Transforming notifications now based on the user dragging

The animation is not a canned animation anymore but base on
the finger movement of the user.

Bug: 19437552
Change-Id: I0f81ac2ff05a92673e3f3b9b72a5c2de238890d0

8 years agoMerge "Call prepareAppDataAfterInstall without mPackages lock" into nyc-dev
Fyodor Kupolov [Thu, 25 Feb 2016 18:57:28 +0000 (18:57 +0000)]
Merge "Call prepareAppDataAfterInstall without mPackages lock" into nyc-dev

8 years agoCall prepareAppDataAfterInstall without mPackages lock
Fyodor Kupolov [Thu, 25 Feb 2016 02:14:33 +0000 (18:14 -0800)]
Call prepareAppDataAfterInstall without mPackages lock

prepareAppDataAfterInstallInternal may call into ActivityManager which will
try to obtain a lock in a reversed order, which causes a deadlock.

Bug: 27336728
Change-Id: I91bb74cd06c6aa6cee057bab5972b0275d12125b

8 years agoMerge "Add glReadPixels with buffer-offset argument" into nyc-dev
Pablo Ceballos [Thu, 25 Feb 2016 18:54:17 +0000 (18:54 +0000)]
Merge "Add glReadPixels with buffer-offset argument" into nyc-dev

8 years agoMerge "Start with mHiddenForOtherReasons=true" into nyc-dev
Jorim Jaggi [Thu, 25 Feb 2016 18:52:25 +0000 (18:52 +0000)]
Merge "Start with mHiddenForOtherReasons=true" into nyc-dev

8 years agoMerge "Fix JobSchedulerService FBE regression." into nyc-dev
Jeff Sharkey [Thu, 25 Feb 2016 18:52:11 +0000 (18:52 +0000)]
Merge "Fix JobSchedulerService FBE regression." into nyc-dev

8 years agoStart with mHiddenForOtherReasons=true
Jorim Jaggi [Thu, 25 Feb 2016 18:36:14 +0000 (13:36 -0500)]
Start with mHiddenForOtherReasons=true

Initially a surface is hidden after creating, so reflect that fact
in mHiddenForOtherReasons, so it doesn't get shown before the correct
transformation is applied.

Bug: 27350530
Change-Id: Idfe8723195dd1488894da066fafee1f2c2afc12d

8 years agoMerge "Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into nyc-dev
Shishir Agrawal [Thu, 25 Feb 2016 18:49:47 +0000 (18:49 +0000)]
Merge "Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into nyc-dev

8 years agoAdd logging to crash and anr dialog
Adrian Roos [Wed, 17 Feb 2016 23:45:09 +0000 (15:45 -0800)]
Add logging to crash and anr dialog

Bug: 26760334
Change-Id: If81c7a6834e86f7390febef6767a07fa4caded4d

8 years agoMerge "Accessibility for split-screen divider" into nyc-dev
Jorim Jaggi [Thu, 25 Feb 2016 18:40:20 +0000 (18:40 +0000)]
Merge "Accessibility for split-screen divider" into nyc-dev

8 years agoMerge "TIF: Define activity action to set up channel sources" into nyc-dev
Jae Seo [Thu, 25 Feb 2016 18:37:32 +0000 (18:37 +0000)]
Merge "TIF: Define activity action to set up channel sources" into nyc-dev

8 years agoMerge changes from topic 'dragon-drop' into nyc-dev
Ben Kwa [Thu, 25 Feb 2016 18:32:46 +0000 (18:32 +0000)]
Merge changes from topic 'dragon-drop' into nyc-dev

* changes:
  Clean up after a drop event.
  Enable dragon drop for touch.

8 years agoMerge "Remove starting window whenever the acitvity is stopped" into nyc-dev
Wale Ogunwale [Thu, 25 Feb 2016 18:29:38 +0000 (18:29 +0000)]
Merge "Remove starting window whenever the acitvity is stopped" into nyc-dev

8 years agoAccessibility for split-screen divider
Jorim Jaggi [Thu, 25 Feb 2016 02:11:08 +0000 (21:11 -0500)]
Accessibility for split-screen divider

- Add label
- Add actions

Bug: 27274494
Bug: 26894949
Change-Id: I041c44f793f1ec86ec27951cc8e87868148b527d

8 years agoMulti-SIM - Fixing inconsistent naming in CarrierConfigManager.
Shishir Agrawal [Wed, 17 Feb 2016 23:52:09 +0000 (15:52 -0800)]
Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.

All MSIM specific calls should not use a suffix/prefix.

Bug: 26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7

8 years agoRemove starting window whenever the acitvity is stopped
Wale Ogunwale [Thu, 25 Feb 2016 16:55:25 +0000 (08:55 -0800)]
Remove starting window whenever the acitvity is stopped

The main app window will never finish drawing at this point so there
is nothing to trigger the removal of the starting window.

Also, set ActivityRecord.mStartingWindowShown to true for some cases
where we were telling WM to show starting window but not setting the
flag that would later be used for clean-up.

Bug: 26659857
Change-Id: I7a8582521853f1f95b77d8b08f4dd0cf778f8cbf

8 years agoMerge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev
Sunny Goyal [Thu, 25 Feb 2016 18:10:37 +0000 (18:10 +0000)]
Merge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev

8 years agoFix JobSchedulerService FBE regression.
Jeff Sharkey [Thu, 25 Feb 2016 18:09:55 +0000 (11:09 -0700)]
Fix JobSchedulerService FBE regression.

Internally isReadyToBeExecutedLocked() needs to check if the target
service is actually present and runnable.  For example, when an FBE
device is locked, we need to keep any encryption-unaware jobs
pending until the device is later unlocked.

Bug: 26279465
Change-Id: I53ff4a2243ebe8a199d0e8dcf87dc3f5b06a2686

8 years agoMerge "Cleanup vertex attrib management" into nyc-dev
Chris Craik [Thu, 25 Feb 2016 17:31:46 +0000 (17:31 +0000)]
Merge "Cleanup vertex attrib management" into nyc-dev

8 years agoAlways update drawable container source res
Alan Viverette [Thu, 25 Feb 2016 17:27:02 +0000 (12:27 -0500)]
Always update drawable container source res

Bug: 27349209
Change-Id: I3bb3d4862a03fd5ce0beeb2bf5208f2917ec9320

8 years agoMerge "Use correct index when obtaining unresolved attribute value" into nyc-dev
Alan Viverette [Thu, 25 Feb 2016 17:25:37 +0000 (17:25 +0000)]
Merge "Use correct index when obtaining unresolved attribute value" into nyc-dev

8 years agoFixing the parent check loop to allow RemoteViewsFrameLayout
Sunny Goyal [Wed, 24 Feb 2016 22:38:59 +0000 (14:38 -0800)]
Fixing the parent check loop to allow RemoteViewsFrameLayout

Bug: 27328093
Change-Id: I0f6ae8e95f952d40589eafb912ba188d15d7624c

8 years agoMerge "Fix anti falsing detection" into nyc-dev
Adrian Roos [Thu, 25 Feb 2016 16:22:36 +0000 (16:22 +0000)]
Merge "Fix anti falsing detection" into nyc-dev

8 years agoMerge "Add APIs to support CDMA add-call limitations." into nyc-dev
Santos Cordon [Thu, 25 Feb 2016 16:16:42 +0000 (16:16 +0000)]
Merge "Add APIs to support CDMA add-call limitations." into nyc-dev

8 years agoClean up after a drop event.
Ben Kwa [Wed, 24 Feb 2016 18:05:53 +0000 (10:05 -0800)]
Clean up after a drop event.

- Clear the drop target highlight.
- Exit selection mode.

BUG=27296889

Change-Id: I869bd01cb49555b28b19164638b4c0af48ca8583

8 years agoEnable dragon drop for touch.
Ben Kwa [Fri, 19 Feb 2016 00:45:45 +0000 (16:45 -0800)]
Enable dragon drop for touch.

- Start a drag when the user long-presses on an already-selected item.
- Start a drag when the user mouse-drags on an already-selected item.
- Add highlighting of drop targets.

BUG=20556237

Change-Id: I450fd6768eeb08906304227385476942d641fd11

8 years agoMerge "Trigger the webview update logic when receiving PACKAGE_CHANGED intents."...
Gustav Sennton [Thu, 25 Feb 2016 15:34:23 +0000 (15:34 +0000)]
Merge "Trigger the webview update logic when receiving PACKAGE_CHANGED intents." into nyc-dev

8 years agoTrigger the webview update logic when receiving PACKAGE_CHANGED intents.
Gustav Sennton [Thu, 25 Feb 2016 12:26:36 +0000 (12:26 +0000)]
Trigger the webview update logic when receiving PACKAGE_CHANGED intents.

Since which WebView implementation we use depends on whether the
different webview packages are enabled or disabled we should listen to
changes to the enabled-state of our webview packages (to keep the
webview implementation up to date).

Bug: 27340150
Change-Id: Ie384a48424c9138150ddcc9f7bfaf7b82a911f16

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 agoTIF: Define activity action to set up channel sources
Jae Seo [Wed, 24 Feb 2016 21:06:35 +0000 (13:06 -0800)]
TIF: Define activity action to set up channel sources

Bug: 24776978
Change-Id: Ib176217bb896fa10db73c5aa8568171b9f6e2fe7

8 years agoCleanup vertex attrib management
Chris Craik [Thu, 25 Feb 2016 02:25:32 +0000 (18:25 -0800)]
Cleanup vertex attrib management

bug:27289007

Also removes unused code in MeshState

Change-Id: I46116631111cc82e1cdffb5706344bbb6d4c6600

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 agoRetire ScanResult.autoJoinStatus
Randy Pan [Wed, 24 Feb 2016 22:43:09 +0000 (14:43 -0800)]
Retire ScanResult.autoJoinStatus

This attribute is no longer in use.

Bug: 27340037
Change-Id: I2e5dfdc266673388a55ef34a4d088352d2e1723c

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