OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Remove the name length limit for system properties."
Elliott Hughes [Thu, 2 Mar 2017 22:15:18 +0000 (22:15 +0000)]
Merge "Remove the name length limit for system properties."

7 years agoMerge "Update package use info when the app data is updated"
Calin Juravle [Thu, 2 Mar 2017 21:34:52 +0000 (21:34 +0000)]
Merge "Update package use info when the app data is updated"

7 years agoMerge "Let ResourcesManager generate CompatResources"
TreeHugger Robot [Thu, 2 Mar 2017 21:28:24 +0000 (21:28 +0000)]
Merge "Let ResourcesManager generate CompatResources"

7 years agoMerge "Add API to indicate which tile was long-clicked."
TreeHugger Robot [Thu, 2 Mar 2017 21:18:55 +0000 (21:18 +0000)]
Merge "Add API to indicate which tile was long-clicked."

7 years agoMerge "Add enums for battery settings page."
Lei Yu [Thu, 2 Mar 2017 21:05:39 +0000 (21:05 +0000)]
Merge "Add enums for battery settings page."

7 years agoMerge "New design for instant apps in app details header"
Antony Sargent [Thu, 2 Mar 2017 21:03:35 +0000 (21:03 +0000)]
Merge "New design for instant apps in app details header"

7 years agoMerge "Fix NavGesture version"
TreeHugger Robot [Thu, 2 Mar 2017 21:03:09 +0000 (21:03 +0000)]
Merge "Fix NavGesture version"

7 years agoMerge "Fix emergency only edge case"
TreeHugger Robot [Thu, 2 Mar 2017 21:01:50 +0000 (21:01 +0000)]
Merge "Fix emergency only edge case"

7 years agoMerge "Use DexManager logic to decide if a package is used by other apps"
Calin Juravle [Thu, 2 Mar 2017 20:56:03 +0000 (20:56 +0000)]
Merge "Use DexManager logic to decide if a package is used by other apps"

7 years agoMerge "SurfaceView: Include surfaceInsets in position calculation"
TreeHugger Robot [Thu, 2 Mar 2017 20:53:04 +0000 (20:53 +0000)]
Merge "SurfaceView: Include surfaceInsets in position calculation"

7 years agoMerge "Fix NDK access to recycle'd bitmaps"
TreeHugger Robot [Thu, 2 Mar 2017 20:28:26 +0000 (20:28 +0000)]
Merge "Fix NDK access to recycle'd bitmaps"

7 years agoMerge "Correct dissapearing SurfaceView during exit animations."
TreeHugger Robot [Thu, 2 Mar 2017 20:20:39 +0000 (20:20 +0000)]
Merge "Correct dissapearing SurfaceView during exit animations."

7 years agoMerge "Adding platform constants for various install reasons."
TreeHugger Robot [Thu, 2 Mar 2017 19:58:04 +0000 (19:58 +0000)]
Merge "Adding platform constants for various install reasons."

7 years agoMerge "Force ephemeral apps to have correct targetSdk/targetSandbox temporarily"
TreeHugger Robot [Thu, 2 Mar 2017 19:56:47 +0000 (19:56 +0000)]
Merge "Force ephemeral apps to have correct targetSdk/targetSandbox temporarily"

7 years agoUpdate package use info when the app data is updated
Calin Juravle [Thu, 23 Feb 2017 03:05:06 +0000 (19:05 -0800)]
Update package use info when the app data is updated

- clear usesByOtherApps flag when the package is updated
- delete secondary dex usage data when the app data is destroyed

Test: runtest -x .../PackageDexUsageTests.java
      runtest -x .../DexManagerTests.java
Bug: 32871170
Bug: 35381405

Change-Id: I3a249b9e8680e745fa678c7ce61b4ae764078fb9

7 years agoMerge "Change from literal to constant in AccessPointPreference."
TreeHugger Robot [Thu, 2 Mar 2017 19:48:51 +0000 (19:48 +0000)]
Merge "Change from literal to constant in AccessPointPreference."

7 years agoAdd API to indicate which tile was long-clicked.
Jason Monk [Thu, 2 Mar 2017 19:46:10 +0000 (14:46 -0500)]
Add API to indicate which tile was long-clicked.

Test: make
Change-Id: I5ff5a3ed954e231b6d63e02bf64bfe771cd78b0f
Fixes: 34832801

7 years agoMerge "The system can post notifications for any package"
TreeHugger Robot [Thu, 2 Mar 2017 19:42:45 +0000 (19:42 +0000)]
Merge "The system can post notifications for any package"

7 years agoFix NavGesture version
Jason Monk [Thu, 2 Mar 2017 19:33:47 +0000 (14:33 -0500)]
Fix NavGesture version

Test: make
Change-Id: Ib9925ac5f01d0d08ef7f37222f0e78321753b464

7 years agoAdd enums for battery settings page.
jackqdyulei [Wed, 1 Mar 2017 00:20:48 +0000 (16:20 -0800)]
Add enums for battery settings page.

Bug: 35063415
Test: Manual
Change-Id: If2d8cb88bd4a91458747730dc9f352fe828de7ad

7 years agoMerge "Revert "Add new key purpose Wrap Key to KeyProperties.java and""
TreeHugger Robot [Thu, 2 Mar 2017 19:20:34 +0000 (19:20 +0000)]
Merge "Revert "Add new key purpose Wrap Key to KeyProperties.java and""

7 years agoMerge "Copy callback list to avoid crash"
TreeHugger Robot [Thu, 2 Mar 2017 19:15:22 +0000 (19:15 +0000)]
Merge "Copy callback list to avoid crash"

7 years agoFix emergency only edge case
Jason Monk [Thu, 2 Mar 2017 18:58:19 +0000 (13:58 -0500)]
Fix emergency only edge case

When the default sub id doesn't exist and there is only one other
sub id currently, assume that is meant to be the default and use
that to pull emergency state.

Also switch to SparseArray for performance and betterness.

Change-Id: I976de6abb58c46bce0c56793442c0377a39a7071
Fixes: 34119642
Test: runtest systemui

7 years agoMerge "Remove activity from task if not set properly."
Bryce Lee [Thu, 2 Mar 2017 18:40:51 +0000 (18:40 +0000)]
Merge "Remove activity from task if not set properly."

7 years agoSurfaceView: Include surfaceInsets in position calculation
Robert Carr [Wed, 1 Mar 2017 20:02:05 +0000 (12:02 -0800)]
SurfaceView: Include surfaceInsets in position calculation

Previously the WM was taking care of this.

Fixes: 35588318
Fixes: 34888808
Test: Manual
Change-Id: I8b48d89f830bbef43b0132d191b29552e9c35702

7 years agoMerge "Implement issue #34842682: Add ability to limit permissions based on features"
Dianne Hackborn [Thu, 2 Mar 2017 18:31:11 +0000 (18:31 +0000)]
Merge "Implement issue #34842682: Add ability to limit permissions based on features"

7 years agoRevert "Add new key purpose Wrap Key to KeyProperties.java and"
Frank Salim [Wed, 25 Jan 2017 22:22:41 +0000 (22:22 +0000)]
Revert "Add new key purpose Wrap Key to KeyProperties.java and"

This reverts commit eb30e64f3fac192404a6ae3c162a0770201a7dc2.

Reason for revert: Remove partial support for wrapped key import

Test: CTS tested
Change-Id: I8008494860534257fa983e1a5169d0ed034621f7

7 years agoChange from literal to constant in AccessPointPreference.
Sundeep Ghuman [Wed, 1 Mar 2017 21:58:24 +0000 (13:58 -0800)]
Change from literal to constant in AccessPointPreference.

Bug: b/35854026
Test: NA - non-functional refactor
Change-Id: Ic50ca3e6c9364446bc07207f8bb9a76a27a114c2

7 years agoLet ResourcesManager generate CompatResources
Jason Monk [Thu, 2 Mar 2017 17:55:00 +0000 (12:55 -0500)]
Let ResourcesManager generate CompatResources

This will let the ResourcesImpl be updated and handle null cases
better.

Test: Select text while composing email.
Change-Id: Ia8aed22f02b040a202db9cbb2bc02687c693cfa1
Fixes: 34761805
Fixes: 35869547

7 years agoMerge "Allow translatable channel names."
Julia Reynolds [Thu, 2 Mar 2017 17:50:05 +0000 (17:50 +0000)]
Merge "Allow translatable channel names."

7 years agoMerge "Fix Javadoc for StrictMode#permitUnbufferdIo" am: b8648ae07a am: c847aae2cf
Shubham Ajmera [Thu, 2 Mar 2017 17:41:36 +0000 (17:41 +0000)]
Merge "Fix Javadoc for StrictMode#permitUnbufferdIo" am: b8648ae07a am: c847aae2cf
am: 6404cc18bf

Change-Id: I92ee23cc68a6a204f0cb936c6242475a49a27145

7 years agoMerge "Disable flaky test"
TreeHugger Robot [Thu, 2 Mar 2017 17:39:10 +0000 (17:39 +0000)]
Merge "Disable flaky test"

7 years agoMerge "Fix Javadoc for StrictMode#permitUnbufferdIo" am: b8648ae07a
Shubham Ajmera [Thu, 2 Mar 2017 17:36:11 +0000 (17:36 +0000)]
Merge "Fix Javadoc for StrictMode#permitUnbufferdIo" am: b8648ae07a
am: c847aae2cf

Change-Id: Ic8a35213b2699c28a0427a0930b330a3a35a34ad

7 years agoMerge "Fix Javadoc for StrictMode#permitUnbufferdIo"
Shubham Ajmera [Thu, 2 Mar 2017 17:32:14 +0000 (17:32 +0000)]
Merge "Fix Javadoc for StrictMode#permitUnbufferdIo"
am: b8648ae07a

Change-Id: I86adc3e40c083c999b717384ae38e437a17a9557

7 years agoMerge "Fix Javadoc for StrictMode#permitUnbufferdIo"
Treehugger Robot [Thu, 2 Mar 2017 17:23:45 +0000 (17:23 +0000)]
Merge "Fix Javadoc for StrictMode#permitUnbufferdIo"

7 years agoMerge "Add the test function for rectangle shadow"
Charlie Tsai [Thu, 2 Mar 2017 16:51:50 +0000 (16:51 +0000)]
Merge "Add the test function for rectangle shadow"

7 years agoRemove activity from task if not set properly.
Bryce Lee [Thu, 2 Mar 2017 00:01:06 +0000 (16:01 -0800)]
Remove activity from task if not set properly.

We do not start an activity in the case of a lock task mode
violation. However, the activity is still associated with the task
and therefore participates in future interactions, such as
visibility checks.

This changelist addresses this issue by removing the assocation in
the case of failures.

Change-Id: Ibf7edd2bd4532de5e7f355311a808ffd21e542e3
Fixes: 35034729
Fixes: 35035258
Fixes: 34179495
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser

7 years agoMerge "JavaDoc improvements as suggested by API council."
TreeHugger Robot [Thu, 2 Mar 2017 16:38:51 +0000 (16:38 +0000)]
Merge "JavaDoc improvements as suggested by API council."

7 years agoAdding platform constants for various install reasons.
Sunny Goyal [Thu, 2 Mar 2017 16:32:33 +0000 (08:32 -0800)]
Adding platform constants for various install reasons.

Bug: 33415829
Test: Not a  testable change
Change-Id: Ib0803e55f71a1c6b46e12b1a324db4e028a20529

7 years agoCopy callback list to avoid crash
Jason Monk [Thu, 2 Mar 2017 16:27:15 +0000 (11:27 -0500)]
Copy callback list to avoid crash

Change-Id: I66928a793a1712cdd753055a4d0457a94eb5588b
Fixes: 35591913
Test: Unlock ryu

7 years agoDisable flaky test
Jason Monk [Thu, 2 Mar 2017 15:57:36 +0000 (10:57 -0500)]
Disable flaky test

Don't have a fix yet, disable to avoid any unwanted flakes.

Bug: 35866797
Test: runtest systemui
Change-Id: I8865253fbb58f619eb23d1c24c4370e819c58a29

7 years agoAllow translatable channel names.
Julia Reynolds [Wed, 1 Mar 2017 21:33:44 +0000 (16:33 -0500)]
Allow translatable channel names.

Bug: 35336590
Test: runtest sytemui runtest systemui-notification, manual
Change-Id: I1e6ebbcc36cab22ab9b2dfde505a68513544ef52

7 years agoMerge "Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620"
TreeHugger Robot [Thu, 2 Mar 2017 15:15:39 +0000 (15:15 +0000)]
Merge "Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620"

7 years agoMerge "Fix NPE when combining pop with add transaction."
George Mount [Thu, 2 Mar 2017 15:12:26 +0000 (15:12 +0000)]
Merge "Fix NPE when combining pop with add transaction."

7 years agoJavaDoc improvements as suggested by API council.
Filip Pavlis [Wed, 1 Mar 2017 18:50:00 +0000 (18:50 +0000)]
JavaDoc improvements as suggested by API council.

Bug: b/35813554
Test: Not needed.
Change-Id: I009497bab66c9cc624f434f6d2dde0d80381d961

7 years agoMerge "ConnectivityManager: no double NetworkCallback registration" am: 06a192fa49...
Hugo Benichi [Thu, 2 Mar 2017 08:12:09 +0000 (08:12 +0000)]
Merge "ConnectivityManager: no double NetworkCallback registration" am: 06a192fa49 am: 5983a772cb
am: 974e83cc0b

Change-Id: I73569fd084c14a78067e09565418f296994cd424

7 years agoMerge "ConnectivityManager: no double NetworkCallback registration" am: 06a192fa49
Hugo Benichi [Thu, 2 Mar 2017 08:08:01 +0000 (08:08 +0000)]
Merge "ConnectivityManager: no double NetworkCallback registration" am: 06a192fa49
am: 5983a772cb

Change-Id: Ic36fbd67d92df0d9f70fe26d6aee92ee782bfb3c

7 years agoMerge "ConnectivityManager: no double NetworkCallback registration"
Hugo Benichi [Thu, 2 Mar 2017 08:04:03 +0000 (08:04 +0000)]
Merge "ConnectivityManager: no double NetworkCallback registration"
am: 06a192fa49

Change-Id: I250fa7d3c5e37a66caa41cc898a44bcb18c9a0c4

7 years agoMerge "ConnectivityManager: no double NetworkCallback registration"
Treehugger Robot [Thu, 2 Mar 2017 07:56:24 +0000 (07:56 +0000)]
Merge "ConnectivityManager: no double NetworkCallback registration"

7 years agoMerge "Add perf tests to Main"
Diego Perez [Thu, 2 Mar 2017 07:42:11 +0000 (07:42 +0000)]
Merge "Add perf tests to Main"

7 years agoMerge "Added two new RIL commands support" am: d7b60d7869 am: 01cfdb4f3a
Jack Yu [Thu, 2 Mar 2017 06:52:35 +0000 (06:52 +0000)]
Merge "Added two new RIL commands support" am: d7b60d7869 am: 01cfdb4f3a
am: b5d25274d7

Change-Id: I56789a3a56c7993fbfaf0fc3b8b76140fdb863e8

7 years agoMerge changes I0df55b11,I1cbeb477
TreeHugger Robot [Thu, 2 Mar 2017 06:22:02 +0000 (06:22 +0000)]
Merge changes I0df55b11,I1cbeb477

* changes:
  Don't destroy preserved surfaces when cleaning up on resume.
  Don't limited pinned tasks to content area.

7 years agoConnectivityManager: no double NetworkCallback registration
Hugo Benichi [Fri, 3 Feb 2017 06:55:42 +0000 (15:55 +0900)]
ConnectivityManager: no double NetworkCallback registration

Test: new test in ConnectivityManagerTest
Bug: 20701525
Change-Id: I205333d31d43e6e6c7fe704ce63b458065f345ce

7 years agoMerge "Added two new RIL commands support" am: d7b60d7869
Jack Yu [Thu, 2 Mar 2017 06:18:13 +0000 (06:18 +0000)]
Merge "Added two new RIL commands support" am: d7b60d7869
am: 01cfdb4f3a

Change-Id: I40948d26d865336a31e6305012d828c6630e1e99

7 years agoMerge "Added two new RIL commands support"
Jack Yu [Thu, 2 Mar 2017 06:11:24 +0000 (06:11 +0000)]
Merge "Added two new RIL commands support"
am: d7b60d7869

Change-Id: I28f1e0192db63a302daa69c2e6b13762fcbfb37b

7 years agoMerge "Added two new RIL commands support"
Treehugger Robot [Thu, 2 Mar 2017 06:02:19 +0000 (06:02 +0000)]
Merge "Added two new RIL commands support"

7 years agoRemove the name length limit for system properties.
Elliott Hughes [Thu, 2 Mar 2017 02:47:56 +0000 (18:47 -0800)]
Remove the name length limit for system properties.

Bug: http://b/33926793
Test: builds
Change-Id: Ib89b66b7abebc9a28961a0c9032b99947e3db0d6

7 years agoMerge "Added two new RIL commands support"
TreeHugger Robot [Thu, 2 Mar 2017 04:58:57 +0000 (04:58 +0000)]
Merge "Added two new RIL commands support"

7 years agoMerge "Clean up closing apps list when clearing anAppWindowToken's task."
Bryce Lee [Thu, 2 Mar 2017 04:34:39 +0000 (04:34 +0000)]
Merge "Clean up closing apps list when clearing anAppWindowToken's task."

7 years agoDon't destroy preserved surfaces when cleaning up on resume.
Robert Carr [Thu, 2 Mar 2017 04:17:58 +0000 (20:17 -0800)]
Don't destroy preserved surfaces when cleaning up on resume.

We clean up surfaces from apps which were stopping (mDestroying=true)
but not stopped when we resume, as described in commit 45e6d2d. The removal
of preserved surfaces was added earlier in eb66557 for a use case where
an app is stopped without an animation pass. It seems the clean up of preserved
surfaces on resume may be more coincidental than intentional, so let's try
disabling it! This fixes flicker at the end of the PiP animation when we use
preserved surfaces for switching in to fullscreen.

Bug: 35396882
Test: Move PiP to fullscreen. No flickers?
Change-Id: I0df55b11774c826027b0982fca7a28f4d8322d1d

7 years agoUse DexManager logic to decide if a package is used by other apps
Calin Juravle [Thu, 2 Mar 2017 03:55:35 +0000 (19:55 -0800)]
Use DexManager logic to decide if a package is used by other apps

Stop relying on the file marker recorded by the runtime. We have the
same data available from the DexManager.

The clean up CL to remove the handling of the file markers will follow.

Test: verify that "shared packages" (e.g. gmscore) are not compiled with speed-profile.

Bug: 32871170
Change-Id: I6cc5834ac88489e69896cd5fba9ed9968aa7f5a2

7 years agoMerge "Improve dumpsys output for AlarmMAnager"
TreeHugger Robot [Thu, 2 Mar 2017 03:42:44 +0000 (03:42 +0000)]
Merge "Improve dumpsys output for AlarmMAnager"

7 years agoDon't limited pinned tasks to content area.
Robert Carr [Wed, 1 Mar 2017 00:52:59 +0000 (16:52 -0800)]
Don't limited pinned tasks to content area.

During the pinned animation from fullscreen we
layout the window for as if it were fullscreen. However
this logic determines that we then overlap the content area
and unhelpfully tries to adjust us.

Test: Manual.
Change-Id: I1cbeb47731062f95c631e8cbd1f0601085d1762f

7 years agoAdded two new RIL commands support
Jack Yu [Thu, 16 Feb 2017 18:33:38 +0000 (10:33 -0800)]
Added two new RIL commands support

Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.

Test: telephony sanity tests
bug: 322238972012503728294587

Merged-In: I148a4322dfab2d8d84faf6505fb89dfc290411e3
Change-Id: I148a4322dfab2d8d84faf6505fb89dfc290411e3

7 years agoAdded two new RIL commands support
Jack Yu [Thu, 16 Feb 2017 18:33:38 +0000 (10:33 -0800)]
Added two new RIL commands support

Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.

Test: telephony sanity tests
bug: 322238972012503728294587

Change-Id: I148a4322dfab2d8d84faf6505fb89dfc290411e3

7 years agoMerge "Create PackageManager.isInstantApp API to query whether a given package name...
David Christie [Thu, 2 Mar 2017 03:18:01 +0000 (03:18 +0000)]
Merge "Create PackageManager.isInstantApp API to query whether a given package name is an instant app."

7 years agoMerge "Basic javadoc for android.os.UpdateEngine." am: cbafc8d682 am: 91c1048bc7
Elliott Hughes [Thu, 2 Mar 2017 03:15:10 +0000 (03:15 +0000)]
Merge "Basic javadoc for android.os.UpdateEngine." am: cbafc8d682 am: 91c1048bc7
am: 99cca40d29

Change-Id: If2513d4265890afc5bf95bb416c701ef66b74ea8

7 years agoMerge "Basic javadoc for android.os.UpdateEngine." am: cbafc8d682
Elliott Hughes [Thu, 2 Mar 2017 03:07:33 +0000 (03:07 +0000)]
Merge "Basic javadoc for android.os.UpdateEngine." am: cbafc8d682
am: 91c1048bc7

Change-Id: I2130b49b61ee93ec79f1cd86f72fc98355bdc9cc

7 years agoMerge "Added inputType to Assist API."
TreeHugger Robot [Thu, 2 Mar 2017 03:01:44 +0000 (03:01 +0000)]
Merge "Added inputType to Assist API."

7 years agoMerge "Basic javadoc for android.os.UpdateEngine."
Elliott Hughes [Thu, 2 Mar 2017 03:01:34 +0000 (03:01 +0000)]
Merge "Basic javadoc for android.os.UpdateEngine."
am: cbafc8d682

Change-Id: I927f7e3014d7e27b4e003d2f4f4fdaa7ea0645c5

7 years agoMerge "Basic javadoc for android.os.UpdateEngine."
Elliott Hughes [Thu, 2 Mar 2017 02:52:08 +0000 (02:52 +0000)]
Merge "Basic javadoc for android.os.UpdateEngine."

7 years agoMerge "LightService: recover if light hal fails."
Steven Moreland [Thu, 2 Mar 2017 02:21:20 +0000 (02:21 +0000)]
Merge "LightService: recover if light hal fails."

7 years agoFix NDK access to recycle'd bitmaps
John Reck [Thu, 2 Mar 2017 02:05:41 +0000 (18:05 -0800)]
Fix NDK access to recycle'd bitmaps

Also kills off one user of GraphicsJNI.h!

Change-Id: Icbf979e485b3b6ec2f37e18ff654b8ff1e44fb35
Fixes: 34712423
Test: cts CtsGraphicsTestCases --test android.graphics.cts.BitmapTest#testNdkAccessAfterRecycle passes

7 years agoImprove dumpsys output for AlarmMAnager
Makoto Onuki [Thu, 2 Mar 2017 02:11:00 +0000 (18:11 -0800)]
Improve dumpsys output for AlarmMAnager

Test: manual test with dumpsys alarm
Change-Id: I788be58d3cdc5e10045908b6d4501933b1603cb9

7 years agoMerge "Log user running states"
Fyodor Kupolov [Thu, 2 Mar 2017 01:33:55 +0000 (01:33 +0000)]
Merge "Log user running states"

7 years agoMerge "Fixed some issues with alert window notifications"
TreeHugger Robot [Thu, 2 Mar 2017 01:04:53 +0000 (01:04 +0000)]
Merge "Fixed some issues with alert window notifications"

7 years agoMerge changes Ic4370fa8,I81c43329,Ic563a8fe,I6d4be770,I858d1c95, ...
TreeHugger Robot [Thu, 2 Mar 2017 00:52:48 +0000 (00:52 +0000)]
Merge changes Ic4370fa8,I81c43329,Ic563a8fe,I6d4be770,I858d1c95, ...

* changes:
  Fixed a bug where a wrong notification could be visible
  Fixed a bug where the icon would dissappear
  Continued low-priority group implementation
  Fixed an issue where the minimum height wasn't applied correctly
  Worked around a bug where the view could render blank
  Fixed another memory leak
  Creating the right views for low-priority group children
  Move the inflation away from the statusbar

7 years agoFix NPE when combining pop with add transaction.
George Mount [Wed, 1 Mar 2017 23:38:02 +0000 (15:38 -0800)]
Fix NPE when combining pop with add transaction.

Bug 35832085

When pop transactions and an add transaction are acting
in the same frame, optimized tranactions can work properly,
but unoptimized transactions have no guarantees. This fixes
a crash with unoptimized transactions so they will at least
not break.

Test: I996f54ae2540f31134e6a9a28870826a73ea1610
Change-Id: I3890dd30e9aff70f4ac142773de8479f1a9dffc8

7 years agoMerge "Clear associated task when starting activity in a new task."
Bryce Lee [Thu, 2 Mar 2017 00:48:24 +0000 (00:48 +0000)]
Merge "Clear associated task when starting activity in a new task."

7 years agoCreate PackageManager.isInstantApp API to query whether
David Christie [Wed, 1 Mar 2017 23:08:45 +0000 (15:08 -0800)]
Create PackageManager.isInstantApp API to query whether
a given package name is an instant app.

Test: refactor existing codepaths retained

Change-Id: I6253fe8cc398d6547566d11043bffd1c4ffaa74a

7 years agoMerge "Remove DocumentsContract.ACTION_BROWSE."
Garfield Tan [Thu, 2 Mar 2017 00:35:54 +0000 (00:35 +0000)]
Merge "Remove DocumentsContract.ACTION_BROWSE."

7 years agoMerge "Fix up EAP-SIM documentation" am: 2142b14a88 am: 32655dfa19
Paul Stewart [Thu, 2 Mar 2017 00:27:33 +0000 (00:27 +0000)]
Merge "Fix up EAP-SIM documentation" am: 2142b14a88 am: 32655dfa19
am: 5e10f3d8e3

Change-Id: Idecbc5f6e85c35c8f648dda005d701bf4ebdec82

7 years agoMerge "Fix up EAP-SIM documentation" am: 2142b14a88
Paul Stewart [Thu, 2 Mar 2017 00:22:25 +0000 (00:22 +0000)]
Merge "Fix up EAP-SIM documentation" am: 2142b14a88
am: 32655dfa19

Change-Id: I781b6e586b7925262d529056dd5f403e081a3d80

7 years agoClean up closing apps list when clearing anAppWindowToken's task.
Bryce Lee [Tue, 28 Feb 2017 23:30:17 +0000 (15:30 -0800)]
Clean up closing apps list when clearing anAppWindowToken's task.

Previously it was possible for an AppWindowToken to be removed while
on the closing apps list, used in transition animations. During these
transitions, the visibility of the token is modified. Since
visibility relies on the WindowContainer parent, a
NullPointerException would occur.

This changelist addresses the issue by making sure to remove any
AppWindowToken from this list when its task is set to null.

Change-Id: Id9234822b228f4658f04d42ac0fe7b49ded6f5a1
Fixes: 35352214
Test: manual (primarily code inspection)

7 years agoMerge "Fix up EAP-SIM documentation"
Paul Stewart [Thu, 2 Mar 2017 00:12:43 +0000 (00:12 +0000)]
Merge "Fix up EAP-SIM documentation"
am: 2142b14a88

Change-Id: I944734796ea97fded5cc818899ddf7b41cbeca00

7 years agoLog user running states
Fyodor Kupolov [Wed, 1 Mar 2017 23:53:57 +0000 (15:53 -0800)]
Log user running states

Test: manual
Bug: 28278870
Change-Id: I6ce20167e98eb44c838a681471095d00c4a6346d

7 years agoMerge "Fix up EAP-SIM documentation"
Treehugger Robot [Thu, 2 Mar 2017 00:01:32 +0000 (00:01 +0000)]
Merge "Fix up EAP-SIM documentation"

7 years agoMerge "Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am...
Android Build Merger (Role) [Wed, 1 Mar 2017 23:59:13 +0000 (23:59 +0000)]
Merge "Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a am: 07acbea653 am: 0c4cace2a0  -s ours"

7 years agoMerge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2...
Tim Zhang [Wed, 1 Mar 2017 23:58:32 +0000 (23:58 +0000)]
Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a am: 07acbea653
am: 0c4cace2a0  -s ours

Change-Id: Icbbbc4f885c3839dcbc6c695c2ee3d16c78abf92

7 years agoMerge "Revert "Remove activity from task if not set properly.""
Bryce Lee [Wed, 1 Mar 2017 23:58:13 +0000 (23:58 +0000)]
Merge "Revert "Remove activity from task if not set properly.""

7 years agoMerge "getTransport checks interface and instance names." am: 7f0300f1e2 am: 7719c1ad0d
Yifan Hong [Wed, 1 Mar 2017 23:46:09 +0000 (23:46 +0000)]
Merge "getTransport checks interface and instance names." am: 7f0300f1e2 am: 7719c1ad0d
am: cf4bd05edd

Change-Id: I9b811571c301f034c06cdbad5c90afe746023173

7 years agoRevert "Remove activity from task if not set properly."
Bryce Lee [Wed, 1 Mar 2017 23:44:43 +0000 (23:44 +0000)]
Revert "Remove activity from task if not set properly."

This reverts commit 0f9bde84a1120a17dc73d107fc7bb8e5c8c6e719.

Reason for revert: causing b/35879503

Change-Id: I06402356ecdb559dcb8342f3a6cca755aea6533a
Fixes: 35879503
Bug: 35034729
Bug: 35035258
Bug: 34179495
Test: manual with repro steps

7 years agoMerge "Support for showing self-managed calls in IncallService." am: 5a33057092 am...
Tyler Gunn [Wed, 1 Mar 2017 23:40:53 +0000 (23:40 +0000)]
Merge "Support for showing self-managed calls in IncallService." am: 5a33057092 am: 8c7d28f163
am: fd0e1a9d93

Change-Id: I88170e214ca6c142e0445a814ad0e76064e72ba7

7 years agoMerge changes from topic 'query-fplmn-sync' am: 0dc62c6dd3 am: 1f7f262920
nharold [Wed, 1 Mar 2017 23:38:30 +0000 (23:38 +0000)]
Merge changes from topic 'query-fplmn-sync' am: 0dc62c6dd3 am: 1f7f262920
am: 3243ec0614

Change-Id: I3da03980792e5fa898b7109dbb2cea7147f7ee94

7 years agoMerge "Remove SystemApi from android.permission.REQUEST_NETWORK_SCORES."
TreeHugger Robot [Wed, 1 Mar 2017 23:34:35 +0000 (23:34 +0000)]
Merge "Remove SystemApi from android.permission.REQUEST_NETWORK_SCORES."

7 years agoMerge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a
Tim Zhang [Wed, 1 Mar 2017 23:32:07 +0000 (23:32 +0000)]
Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a
am: 07acbea653

Change-Id: I0087c756987e31f45a66928e60e5d8d53e26945a

7 years agoMerge "Remove FastJNI optimization on AssetManager to avoid dead lock."
Tim Zhang [Wed, 1 Mar 2017 23:23:24 +0000 (23:23 +0000)]
Merge "Remove FastJNI optimization on AssetManager to avoid dead lock."
am: 4904e7ae2a

Change-Id: I38169c42b5b5600c0e3d00f0342429b3843f88f8

7 years agoMerge "Added auto-fill support for DatePicker and TimePicker."
TreeHugger Robot [Wed, 1 Mar 2017 23:15:31 +0000 (23:15 +0000)]
Merge "Added auto-fill support for DatePicker and TimePicker."

7 years agoMerge "Compute merged configuration changes"
Andrii Kulian [Wed, 1 Mar 2017 23:14:32 +0000 (23:14 +0000)]
Merge "Compute merged configuration changes"

7 years agoChange MaskableBitmap to AdaptiveBitmap
Hyunyoung Song [Wed, 1 Mar 2017 20:51:26 +0000 (12:51 -0800)]
Change MaskableBitmap to AdaptiveBitmap
Test: $ make dist -j30
b/35399620

Change-Id: I96d6eaceaf7ce9dec7de21634a5fa2bd40b0deba