OSDN Git Service

android-x86/frameworks-base.git
8 years agoEnable cascading submenus for screensizes >= 720dp.
Oren Blasberg [Fri, 20 Nov 2015 23:49:20 +0000 (15:49 -0800)]
Enable cascading submenus for screensizes >= 720dp.

This reflects a decision we'd agreed upon with UX, and will enable
larger tablets like N9 and Pixel C to get the cascading feature.

Bug: 20127825
Change-Id: If3d54d60bc4ca0c7fff37857bbb12dcc6fb7d79a

8 years agoMerge "resolve merge conflicts of 723462eba9 to master."
Guang Zhu [Fri, 20 Nov 2015 01:46:25 +0000 (01:46 +0000)]
Merge "resolve merge conflicts of 723462eba9 to "

8 years agoresolve merge conflicts of 723462eba9 to master.
Guang Zhu [Fri, 20 Nov 2015 01:43:28 +0000 (17:43 -0800)]
resolve merge conflicts of 723462eba9 to master.

Change-Id: I34f085ba12ab2602a144a2cbd933cfd5c030748f

8 years agoMerge "Remove the aidl tool" into mnc-dr2-dev am: 8d31b08904
Alex Deymo [Fri, 20 Nov 2015 00:18:01 +0000 (00:18 +0000)]
Merge "Remove the aidl tool" into mnc-dr2-dev am: 8d31b08904
am: f7d10eca49

* commit 'f7d10eca499fee37d8dfc89ec6779a7b46c70be5':
  Remove the aidl tool

8 years agoadd lost RAM info to compact meminfo dump am: 877c6c7742
Guang Zhu [Fri, 20 Nov 2015 00:01:31 +0000 (00:01 +0000)]
add lost RAM info to compact meminfo dump am: 877c6c7742
am: b681ec0219

* commit 'b681ec02194039768767215b2479507742288c98':
  add lost RAM info to compact meminfo dump

8 years agoMerge "Add "Home" directory support."
Steve McKay [Fri, 20 Nov 2015 00:01:25 +0000 (00:01 +0000)]
Merge "Add "Home" directory support."

8 years agoAdd "Home" directory support.
Steve McKay [Wed, 18 Nov 2015 22:56:50 +0000 (14:56 -0800)]
Add "Home" directory support.

Update FilesActivityUiTests to verify Home is present
    and that clicking a root sets the title accordingly.
Guard addition of WRITABLE flag with a volume test.

Bug: 25147243
Change-Id: Ic20372737cae08a82af0aade0c0dbbd8c22d5f34

8 years agoMerge "Added a placeholder home activity for system user"
Fyodor Kupolov [Thu, 19 Nov 2015 23:52:45 +0000 (23:52 +0000)]
Merge "Added a placeholder home activity for system user"

8 years agoMerge "Remove the aidl tool" into mnc-dr2-dev
Alex Deymo [Thu, 19 Nov 2015 23:50:25 +0000 (23:50 +0000)]
Merge "Remove the aidl tool" into mnc-dr2-dev
am: 8d31b08904

* commit '8d31b089040dafefee16033176a884d43e259804':
  Remove the aidl tool

8 years agoMerge "Support LocaleLists in ActivityManagerService."
Roozbeh Pournader [Thu, 19 Nov 2015 23:44:22 +0000 (23:44 +0000)]
Merge "Support LocaleLists in ActivityManagerService."

8 years agoMerge "AAPT2: Fail compiling when private symbols are referenced"
Adam Lesinski [Thu, 19 Nov 2015 23:43:08 +0000 (23:43 +0000)]
Merge "AAPT2: Fail compiling when private symbols are referenced"

8 years agoMerge "Add gesture to drag in recents from navigation bar"
Jorim Jaggi [Thu, 19 Nov 2015 23:23:01 +0000 (23:23 +0000)]
Merge "Add gesture to drag in recents from navigation bar"

8 years agoMerge "More work on layered user restrictions."
Makoto Onuki [Thu, 19 Nov 2015 22:53:37 +0000 (22:53 +0000)]
Merge "More work on layered user restrictions."

8 years agoMerge "Revert "Fix broken build""
Vladislav Kaznacheev [Thu, 19 Nov 2015 22:50:49 +0000 (22:50 +0000)]
Merge "Revert "Fix broken build""

8 years agoRevert "Fix broken build"
Vladislav Kaznacheev [Thu, 19 Nov 2015 22:50:33 +0000 (22:50 +0000)]
Revert "Fix broken build"

This reverts commit 88d753291c834c41ad6c9229082146be72cf8014.

Revert required because the base class change
has been reverted in http://ag/816441

Change-Id: Iee8a8272bda0a92aed8ae46af8439910d8f1ecdc

8 years agoMerge "Track by which client the last focused window was reported."
Yohei Yukawa [Thu, 19 Nov 2015 22:49:40 +0000 (22:49 +0000)]
Merge "Track by which client the last focused window was reported."

8 years agoAAPT2: Fail compiling when private symbols are referenced
Adam Lesinski [Tue, 17 Nov 2015 01:35:44 +0000 (17:35 -0800)]
AAPT2: Fail compiling when private symbols are referenced

Also moved some XML specific stuff into its own directory,
and refactored ReferenceLinker a bit.

Change-Id: I912247a82023c1bbf72dc191fbdaf62858cbec0c

8 years agoSupport LocaleLists in ActivityManagerService.
Roozbeh Pournader [Thu, 19 Nov 2015 01:41:24 +0000 (17:41 -0800)]
Support LocaleLists in ActivityManagerService.

Also add a placeholder method for locale negotiation to LocaleList,
to be filled later.

There is no change in behavior expected by this CL yet. But once we
support setting the first locale to something the system doesn't
support, and implement the locale negotiation, this will cause the
system locale to be set to the first supported locale, instead of
just the default from Settings.

Change-Id: Iec983a5707daffb5bf54eac79ff0856a96631960

8 years agoMerge "Revert "Implement View.cancelDrag""
Vladislav Kaznacheev [Thu, 19 Nov 2015 22:23:35 +0000 (22:23 +0000)]
Merge "Revert "Implement View.cancelDrag""

8 years agoRevert "Implement View.cancelDrag"
Vladislav Kaznacheev [Thu, 19 Nov 2015 22:20:06 +0000 (22:20 +0000)]
Revert "Implement View.cancelDrag"

This reverts commit 93cf731b26e2ab4db49bd80f60675b03e40512f3.

This is required because adding View.cancelDrag conflicts with existing app code.

Change-Id: I323fc5d2144266781d3168fe033c53cb5b37050e

8 years agoAdd gesture to drag in recents from navigation bar
Jorim Jaggi [Wed, 18 Nov 2015 23:57:38 +0000 (15:57 -0800)]
Add gesture to drag in recents from navigation bar

Change-Id: I672ed08f1019835891411b87e2d0de0290defff7

8 years agoMore work on layered user restrictions.
Makoto Onuki [Mon, 16 Nov 2015 21:51:27 +0000 (13:51 -0800)]
More work on layered user restrictions.

- Now when DO/PO sets a user restriction, DPMS pushes it to UMS and
then UMS persists it, in order for UserManager.hasUserRestriction()
to never have to talk with DPMS, which would cause lock inversion.

- Also apply user restrictions when a user start.

- This is an updated version of the abandoned CL -- the difference
is, ActivityManager no longer has to call DPMS.

- Also removed an unnecessary write to userlist.xml in UMS.
upgradeIfNecessaryLP().

Bug 23902097
Bug 25388912
Bug 25354031
Bug 25641040

Change-Id: I0948aea06ad7d0f45fe612a431d765faddfe3c58

8 years agoAdded a placeholder home activity for system user
Fyodor Kupolov [Wed, 18 Nov 2015 19:07:00 +0000 (11:07 -0800)]
Added a placeholder home activity for system user

Standard launcher can be uninstalled for system user. A low priority
placeholder home activity is used to make sure the system can always
boot. By default the component is disabled for all users, and is only enabled
for the system user at boot time.

Bug: 25726710
Change-Id: I97eed02c9e2bbd69a737cc1d203110bed837b803

8 years agoMerge "Add Quick Settings API"
Jason Monk [Thu, 19 Nov 2015 20:55:14 +0000 (20:55 +0000)]
Merge "Add Quick Settings API"

8 years agoMerge "Install the Network Security Config Provider"
Chad Brubaker [Thu, 19 Nov 2015 20:42:37 +0000 (20:42 +0000)]
Merge "Install the Network Security Config Provider"

8 years agoAdd Quick Settings API
Jason Monk [Fri, 6 Nov 2015 20:47:26 +0000 (15:47 -0500)]
Add Quick Settings API

It is a little bit limited right now, but it contains
the lifecycle of a tile getting added/removed, and
listening/not listening and clicks.

SysUI side will need some cleanup later on.

Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0

8 years agoMerge "API for overlaying app content over decor caption in freeform windows."
Filip Gruszczynski [Thu, 19 Nov 2015 19:51:55 +0000 (19:51 +0000)]
Merge "API for overlaying app content over decor caption in freeform windows."

8 years agoRefactor hwuitest
John Reck [Tue, 17 Nov 2015 23:51:08 +0000 (15:51 -0800)]
Refactor hwuitest

Yank animations out into their own files

Change-Id: Iea522ee032752019c07ff308c3a3993011054308

8 years agoMerge "Add support for partial view layouts"
Adam Powell [Thu, 19 Nov 2015 18:59:06 +0000 (18:59 +0000)]
Merge "Add support for partial view layouts"

8 years agoMerge "Allow ephemeral provider/installer"
Todd Kennedy [Thu, 19 Nov 2015 18:54:57 +0000 (18:54 +0000)]
Merge "Allow ephemeral provider/installer"

8 years agoMerge "Tweak grid item layout. Adjust colors to match spec."
Ben Kwa [Thu, 19 Nov 2015 18:52:55 +0000 (18:52 +0000)]
Merge "Tweak grid item layout.  Adjust colors to match spec."

8 years agoMerge "Fixed typos."
Felipe Leme [Thu, 19 Nov 2015 18:50:48 +0000 (18:50 +0000)]
Merge "Fixed typos."

8 years agoTweak grid item layout. Adjust colors to match spec.
Ben Kwa [Wed, 11 Nov 2015 05:02:47 +0000 (21:02 -0800)]
Tweak grid item layout.  Adjust colors to match spec.

BUG=10960718
BUG=24326989

Change-Id: I74da23fe0b40d713a3f435d1467d26d707e76fca

8 years agoMerge "Implement flexible light idle maintenance windows."
Dianne Hackborn [Thu, 19 Nov 2015 18:48:46 +0000 (18:48 +0000)]
Merge "Implement flexible light idle maintenance windows."

8 years agoMerge "Move appops command to the service."
Dianne Hackborn [Thu, 19 Nov 2015 18:47:53 +0000 (18:47 +0000)]
Merge "Move appops command to the service."

8 years agoMerge "More file-based encryption work."
Jeff Sharkey [Thu, 19 Nov 2015 18:45:40 +0000 (18:45 +0000)]
Merge "More file-based encryption work."

8 years agoMerge "allow devs to turn off charging notifications"
Chris Wren [Thu, 19 Nov 2015 18:45:28 +0000 (18:45 +0000)]
Merge "allow devs to turn off charging notifications"

8 years agoAPI for overlaying app content over decor caption in freeform windows.
Filip Gruszczynski [Wed, 18 Nov 2015 22:43:01 +0000 (14:43 -0800)]
API for overlaying app content over decor caption in freeform windows.

Bug: 25486369

Change-Id: I8fba30dd690d9f0ccc48149f57ce254286b0c2ae

8 years agoMerge "Fix crash when docking from recents."
Filip Gruszczynski [Thu, 19 Nov 2015 18:27:01 +0000 (18:27 +0000)]
Merge "Fix crash when docking from recents."

8 years agoAllow ephemeral provider/installer
Todd Kennedy [Wed, 18 Nov 2015 17:59:47 +0000 (09:59 -0800)]
Allow ephemeral provider/installer

The ephemeral provider is a service that simply determines whether or
not an ephemeral application is available. The ephemeral installer
does the heavy lifting of installing the ephemeral application.

Bug: 25119046
Change-Id: I591f4c2c3f2b149d299fa8b4f359f2582d9199cb

8 years agoFix crash when docking from recents.
Filip Gruszczynski [Thu, 19 Nov 2015 02:01:27 +0000 (18:01 -0800)]
Fix crash when docking from recents.

The crash was happening because we were sending a future from sysui, but
that future would always return null animation specs when docking. This
makes it returns proper specs in that case. However, we need to still
protect ourselves from null specs when executing the future.

Bug: 25765339
Change-Id: I02d842ea31503169f6e053a1695d8896d2e4d97c

8 years agoMerge "metrics for people validation"
Chris Wren [Thu, 19 Nov 2015 18:03:15 +0000 (18:03 +0000)]
Merge "metrics for people validation"

8 years agoMore file-based encryption work.
Jeff Sharkey [Fri, 13 Nov 2015 04:17:45 +0000 (20:17 -0800)]
More file-based encryption work.

Add new "am unlock-user" command so we can trigger changes from the
command line.

Move FBE check to static method so it can safely be called early
during boot before the mount service is ready.  Move FBE emulation
to persisted system property, and start reading/writing that value.

Change default permission grants to ignore current encryption-aware
flags, since many of the target apps aren't crypto aware.

Always prepare package data directories, which is how we create the
new "user_de" paths during boot.

Bug: 22358539
Change-Id: I6f58ea2d34b3a466d3775d614f8a13de92272621

8 years agoallow devs to turn off charging notifications
Chris Wren [Thu, 19 Nov 2015 17:40:53 +0000 (12:40 -0500)]
allow devs to turn off charging notifications

in the same was as we allow then to turn of debuging notificaitons
this is useful for screenshots and demos

Change-Id: I6e95addec2917abdd619086ed68910097fb5b8aa

8 years agometrics for people validation
Chris Wren [Thu, 19 Nov 2015 17:39:38 +0000 (12:39 -0500)]
metrics for people validation

Change-Id: If53bb740ca3760e7335c93ad140bae2029d422b7

8 years agoAdd support for partial view layouts
Adam Powell [Thu, 18 Dec 2014 23:22:26 +0000 (15:22 -0800)]
Add support for partial view layouts

Traditionally, when a view called requestLayout it would force
recursive requestLayout calls for all parent views up the
hierarchy. This meant that there was no way to determine at traversal
time whether a parent view itself needed layout, or if just one of its
descendants did.

Add a ViewParent method requestPartialLayoutForChild(View). This lets
a caller state that a particular child of a given parent needs a
remeasure and relayout at its current measured size and position
within that parent. This can help prevent the full-tree relayout often
caused by otherwise trivial changes. Partial layouts are processed
after any pending "full" relayout during ViewRoot traversals, but
before drawing.

Add a ViewGroup method requestLayoutForChild(View). This lets a
ViewGroup decide whether it is more appropriate to request a
traditional relayout or a partial layout for itself or just the child
that changed.

Add a ViewParent method findDependentLayoutAxes. This allows a caller
to check if the ViewParent's layout is dependent on a specific direct
child view along one or both axes. Called recursively, this can be
used to determine if a change in a child view can be isolated to a
partial layout, even if its direct parent's own layout is tied to its
other ancestors. (e.g. MATCH_PARENT, LinearLayout weights)

Implement ViewGroup#requestPartialLayoutForChild to call new
ViewParent method findDependentLayoutAxes and based on the result,
either request a full layout for itself or a partial layout for the
child in question.

Implement findDependentLayoutAxes for common framework ViewGroups. A
private implementation in ViewGroup is available for use by framework
classes that will deal with basic LayoutParams. These implementations
specifically check for derived LayoutParams classes and abort the
optimization if they find something beyond their expected parameter
types.

Change-Id: I0a1a9b79293d17d4fae8d9892b96d3586f9401ae

8 years agoMerge "Do not restart printSpooler when switching portait mode / landscape mode"
Philip P. Moltmann [Thu, 19 Nov 2015 16:56:57 +0000 (16:56 +0000)]
Merge "Do not restart printSpooler when switching portait mode / landscape mode"

8 years agoMerge "Update framework code after new ART options." am: d7d2817ade am: 9da4055766
Nicolas Geoffray [Thu, 19 Nov 2015 16:15:17 +0000 (16:15 +0000)]
Merge "Update framework code after new ART options." am: d7d2817ade am: 9da4055766
am: 5d5f055eb6

* commit '5d5f055eb6783dceb51cdb71630aac40feacfedd':
  Update framework code after new ART options.

8 years agoMerge "Update framework code after new ART options." am: d7d2817ade
Nicolas Geoffray [Thu, 19 Nov 2015 16:05:01 +0000 (16:05 +0000)]
Merge "Update framework code after new ART options." am: d7d2817ade
am: 9da4055766

* commit '9da4055766fc7acf81dcd238204589ea1f484d50':
  Update framework code after new ART options.

8 years agoMerge "Update framework code after new ART options."
Nicolas Geoffray [Thu, 19 Nov 2015 15:54:21 +0000 (15:54 +0000)]
Merge "Update framework code after new ART options."
am: d7d2817ade

* commit 'd7d2817ade8459a8f6872ff814d3208613502858':
  Update framework code after new ART options.

8 years agoMerge "Update framework code after new ART options."
Nicolas Geoffray [Thu, 19 Nov 2015 15:48:01 +0000 (15:48 +0000)]
Merge "Update framework code after new ART options."

8 years agoMerge "Apply VectorDrawable density scaling before applying theme"
Alan Viverette [Thu, 19 Nov 2015 14:50:40 +0000 (14:50 +0000)]
Merge "Apply VectorDrawable density scaling before applying theme"

8 years agoApply VectorDrawable density scaling before applying theme
Alan Viverette [Thu, 19 Nov 2015 14:47:09 +0000 (09:47 -0500)]
Apply VectorDrawable density scaling before applying theme

Refactors density handling to look more similar to GradientDrawable's
implementation, which should make things easier to maintain. We no
longer update density directly in updateStateFromTypedArray, instead
handling it in applyTheme() and inflate().

Lazily calculates local density-dependent dimensions and invalidates
when the constant state density changes, which should ensure a random
call to applyTheme() will still result in the correct intrinsic
dimensions.

Change-Id: I726878a6cd75d38a550637e3e7a7b6bc68bcaf6d

8 years agoUpdate framework code after new ART options.
Nicolas Geoffray [Thu, 19 Nov 2015 13:48:35 +0000 (13:48 +0000)]
Update framework code after new ART options.

Change-Id: I852a5975701653fe7e0cdd02e3c0b30a2b0b0b59

8 years agoMerge "Remove 'peekable' preference."
Julia Reynolds [Thu, 19 Nov 2015 13:58:25 +0000 (13:58 +0000)]
Merge "Remove 'peekable' preference."

8 years agoTrack by which client the last focused window was reported.
Yohei Yukawa [Thu, 19 Nov 2015 11:38:49 +0000 (03:38 -0800)]
Track by which client the last focused window was reported.

To diagnose race conditions like issue #25373872, we want to track
which input method client corresponds to IMMS#mCurFocusedWindow.

Note that IMMS#mCurClient does not always correspond to
IMMS#mCurFocusedWindow, because input method clients can report the
window focus gain only, without requesting to be bound to IME.

Bug: 25373872
Change-Id: Iad121669c0f3db4461245dc80ff3fdee469abb79

8 years agoMerge "Don't close database when all devices have been detached."
Daichi Hirono [Thu, 19 Nov 2015 06:46:40 +0000 (06:46 +0000)]
Merge "Don't close database when all devices have been detached."

8 years agoDon't close database when all devices have been detached.
Daichi Hirono [Tue, 17 Nov 2015 01:55:45 +0000 (10:55 +0900)]
Don't close database when all devices have been detached.

ContentProvider is a singleton of the process. So it may live longer
than Service. We could not close database when the service is destroyed.

BUG=25730042

Change-Id: I591250c1a1e7c5705eb2585c71cac2598c0c0fb9

8 years agoresolve merge conflicts of e3ad4409a6 to master.
Andreas Gampe [Thu, 19 Nov 2015 04:52:39 +0000 (20:52 -0800)]
resolve merge conflicts of e3ad4409a6 to master.

Change-Id: Idc19d27ee359e5434d55d9a29ecdb4b1e30cbfe1

8 years agoClear IMMS#mCurClient when it is dead.
Yohei Yukawa [Wed, 18 Nov 2015 23:54:34 +0000 (15:54 -0800)]
Clear IMMS#mCurClient when it is dead.

Suppose the following case:
  1. Launch an activity.
  2. Focus in an EditText on the activity.  IME is shown up.
  3. Kill the activity process in a not graceful way, e.g.,
     'adb shell kill'

After step 3, IMMS#removeClient(client) is immediately called back from
com.android.server.wm.Session, which is good, but we forgot to clear
IMMS#mCurClient to null.

Basically not clearing IMMS#mCurClient there is not so critical, because
1) we already have bunch of RemoteException check for the case where
IPC target is already dead, and in theory we cannot avoid this kind of
runtime error anyway, and 2) in most of cases new input method client
gains focus.

That said, in conjunction with other focus-related issues such
as bug #25373872, not cleaning that can result in the following error
message in 'input_method:' section of bugreport, which might be a bit
confusing.

  Input method client dead: android.os.DeadObjectException

The primary goal of this CL is to make bugreport less confusing.  Any
user/developer-visible changes beyond that is unintentional.

Bug: 25373872
Change-Id: Iee001ad9cce0c8c6324e3c0984be1e6f0e641d05

8 years agoMerge "Have ControlledInputConnectionWrapper#toString()."
Yohei Yukawa [Thu, 19 Nov 2015 03:45:57 +0000 (03:45 +0000)]
Merge "Have ControlledInputConnectionWrapper#toString()."

8 years agoMerge "AccountManager: add startAddAccount API."
Sandra Kwan [Thu, 19 Nov 2015 03:45:19 +0000 (03:45 +0000)]
Merge "AccountManager: add startAddAccount API."

8 years agoMerge "Remove DEBUG_JIT from Zygote flags." am: cf49583bd0 am: 5485d81578
Nicolas Geoffray [Thu, 19 Nov 2015 03:25:45 +0000 (03:25 +0000)]
Merge "Remove DEBUG_JIT from Zygote flags." am: cf49583bd0 am: 5485d81578
am: 5462e46d23

* commit '5462e46d23800bc480d31d73c21d6089ce299d25':
  Remove DEBUG_JIT from Zygote flags.

8 years agoMerge "Fix build breakage."
Wale Ogunwale [Thu, 19 Nov 2015 03:23:55 +0000 (03:23 +0000)]
Merge "Fix build breakage."

8 years agoFix build breakage.
Wale Ogunwale [Thu, 19 Nov 2015 03:22:49 +0000 (19:22 -0800)]
Fix build breakage.

Change-Id: Ie60b148d61d746de354b12852d4a6db2d82121c5

8 years agoMerge "Fix delegation of methods within inner static classes" into mnc-ub-dev am...
Diego Perez [Thu, 19 Nov 2015 03:19:00 +0000 (03:19 +0000)]
Merge "Fix delegation of methods within inner static classes" into mnc-ub-dev am: 603544d4c4 am: 14a826380d am: 0b76d094c6
am: f9281b6dfe

* commit 'f9281b6dfe94f1df0fac3ddbad846012b0a6fb7d':
  Fix delegation of methods within inner static classes

8 years agoRevert "Don\'t dispatch when non-interactive and the display is off." am: f2b9b2d85a...
Joe LaPenna [Thu, 19 Nov 2015 03:17:33 +0000 (03:17 +0000)]
Revert "Don\'t dispatch when non-interactive and the display is off." am: f2b9b2d85a am: f7aceb60e3 am: 2900dc2349 am: 617bd39465
am: 01186abc81

* commit '01186abc81c721c84a5d588bb7183d811d77f99c':
  Revert "Don't dispatch when non-interactive and the display is off."

8 years agoDO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de am: 614ea4640...
Michael Wright [Thu, 19 Nov 2015 03:16:03 +0000 (03:16 +0000)]
DO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de am: 614ea46405 am: bd23716585  -s ours am: 18a2ac0506 am: 08ed2bc083 am: 41ef58be3e am: 8aa7e6a21a am: 78f974a0b2 am: c173429617
am: 69e4ce3a6f  -s ours

* commit '69e4ce3a6f34c90ac6f635ce7a54ce710ea586c9':

8 years agoRevert "LayoutLib: Fix true transparency in status bar." am: 4ea74d2960 am: d67897e4f...
Deepanshu Gupta [Thu, 19 Nov 2015 03:14:35 +0000 (03:14 +0000)]
Revert "LayoutLib: Fix true transparency in status bar." am: 4ea74d2960 am: d67897e4fb am: 6058efff69
am: 00a3f4b32e

* commit '00a3f4b32e321dbe8320e6cb9d9a90f5699b244f':

8 years agoMerge "AppCompatActionBar: use findClass to test presence" into mnc-ub-dev am: 42a893...
Deepanshu Gupta [Thu, 19 Nov 2015 03:13:06 +0000 (03:13 +0000)]
Merge "AppCompatActionBar: use findClass to test presence" into mnc-ub-dev am: 42a893b50b am: ef4050128a am: 0a9b4e5f00
am: cd8e8ea0eb

* commit 'cd8e8ea0ebc61d13a66c5abcc1d359a24c152f31':

8 years agoLayoutLib: IntelliJ changed project files. am: 22931224d9 am: 66840955d8 am: e45abdb126
Deepanshu Gupta [Thu, 19 Nov 2015 03:11:48 +0000 (03:11 +0000)]
LayoutLib: IntelliJ changed project files. am: 22931224d9 am: 66840955d8 am: e45abdb126
am: aec98e3a7e

* commit 'aec98e3a7e2727a0b2cb04c7bd896d1424ea7fe4':

8 years agoMerge "DO NOT MERGE. Prevent recents from coming up when in SUW" into mnc-dev am...
Michael Wright [Thu, 19 Nov 2015 03:10:13 +0000 (03:10 +0000)]
Merge "DO NOT MERGE. Prevent recents from coming up when in SUW" into mnc-dev am: 4aa1e48a71 am: 313c7b2ee0 am: c73255d8ab am: 053f241cc7 am: e2af036719 am: cd00ba1a71
am: 1c996ff5b4  -s ours

* commit '1c996ff5b49d2dcfd3d9c50e41006fb70ea01947':

8 years agoMerge "Add Bluetooth headset API to allow disabling audio route." into cw-e-dev am...
Bryce Lee [Thu, 19 Nov 2015 03:08:54 +0000 (03:08 +0000)]
Merge "Add Bluetooth headset API to allow disabling audio route." into cw-e-dev am: cb8749c903 am: 0fa22022a3 am: e2861471b9 am: 52d93db91d
am: 20ef5a3f44

* commit '20ef5a3f44cb544ed525451bd306fa676e39a7a5':

8 years agoMerge "Revert "Enable debugging for DeviceIdle DO NOT MERGE ANYWHERE"" into cw-e...
Joe LaPenna [Thu, 19 Nov 2015 03:07:32 +0000 (03:07 +0000)]
Merge "Revert "Enable debugging for DeviceIdle DO NOT MERGE ANYWHERE"" into cw-e-dev am: d083b37917  -s ours am: 7f0a1556ec  -s ours am: dbe1804f58  -s ours am: 9cb81aa210  -s ours
am: 5431e73f14  -s ours

* commit '5431e73f147ca776cbab800c9cac26fd1653e925':

8 years agoMerge "Don\'t allow contact sharing by default for device not recognized as carkit...
Sanket Padawe [Thu, 19 Nov 2015 03:06:10 +0000 (03:06 +0000)]
Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dev am: abea6dc466 am: ccfcb636ae am: 63e6aa8571 am: 32a190bd78 am: 7bb34d7517 am: fc8f7cee01
am: 0106bef2fa

* commit '0106bef2facf448e674c9795e6c38aaad0e232e7':

8 years agoMerge "WindowDecorActionBar name change fix." into mnc-ub-dev am: 62302bd72a am:...
Deepanshu Gupta [Thu, 19 Nov 2015 03:04:49 +0000 (03:04 +0000)]
Merge "WindowDecorActionBar name change fix." into mnc-ub-dev am: 62302bd72a am: 80bd5e6fd7 am: 9f275ec3fd
am: da5929914b

* commit 'da5929914b618678f462c1a24ee042ff25001a0c':

8 years agoDO NOT MERGE ANYWHERE - Hack to disable MTP mode on Clockwork devices. am: 8d6630b87c...
Michael Kwan [Thu, 19 Nov 2015 03:03:18 +0000 (03:03 +0000)]
DO NOT MERGE ANYWHERE - Hack to disable MTP mode on Clockwork devices. am: 8d6630b87c  -s ours am: f23229f45f  -s ours am: b0aae584ea  -s ours am: 2c8f3734af  -s ours
am: 4cb17f362e  -s ours

* commit '4cb17f362e60741c77d9cf56de95a44df0bec648':

8 years agoMerge "resolve merge conflicts of 7d1428d7f3 to master."
Qiwen Zhao [Thu, 19 Nov 2015 02:51:40 +0000 (02:51 +0000)]
Merge "resolve merge conflicts of 7d1428d7f3 to "

8 years agoAccountManager: add startAddAccount API.
Sandra Kwan [Wed, 4 Nov 2015 19:19:47 +0000 (11:19 -0800)]
AccountManager: add startAddAccount API.

Adding startAddAccount API to AccountManager and
AbstractAccountAuthenticator.

Change-Id: I29e1defb2181ece1281534db0e36b28457085148

8 years agoMerge "Allow apps to set launch bounds for activities."
Wale Ogunwale [Thu, 19 Nov 2015 02:10:32 +0000 (02:10 +0000)]
Merge "Allow apps to set launch bounds for activities."

8 years agoAllow apps to set launch bounds for activities.
Wale Ogunwale [Wed, 18 Nov 2015 23:56:57 +0000 (15:56 -0800)]
Allow apps to set launch bounds for activities.

unhide ActivityOptions APIs for setting launch bounds for
an activitiy so apps can use it. Only works on devices that
support PackageManager#FEATURE_FREEFORM_WINDOW_MANAGEMENT.

Bug: 25499677
Change-Id: I75424681f25cbb9fe92f2ed73e6afbab765dab29

8 years agoImplement flexible light idle maintenance windows.
Dianne Hackborn [Wed, 18 Nov 2015 22:52:04 +0000 (14:52 -0800)]
Implement flexible light idle maintenance windows.

For light idle mode, our maintenance window is pretty short (1 minute).
Usually we have nothing to do in it...  but sometimes we may want to
do a sync or download that takes more than a minute, and it would be
nice to not take the overhead of breaking that up in to multiple
windows.

So now we have a flexibile window, from 1 minute to 5 minutes.  We
start out with 1 minute, and any window that uses less than 1
minute increases the available window by that amount for later use.
If we later use more than 1 minute, we correspondingly decrease
the next available window.

Change-Id: Ie273dbd5843b3aa4a3d5d9b2e420cda75517340f

8 years agoMerge "Moving recent tasks information to a user directory"
Suprabh Shukla [Thu, 19 Nov 2015 00:53:20 +0000 (00:53 +0000)]
Merge "Moving recent tasks information to a user directory"

8 years agoMove appops command to the service.
Dianne Hackborn [Thu, 19 Nov 2015 00:29:56 +0000 (16:29 -0800)]
Move appops command to the service.

The "appops" shell command is now just a wrapper around doing
"cmd appops", no more need to launch a Java VM!

Change-Id: I06fc68762d0ab95a016fb24db0affb0d91197588

8 years agoDo not restart printSpooler when switching portait mode / landscape mode
Philip P. Moltmann [Thu, 19 Nov 2015 00:23:03 +0000 (16:23 -0800)]
Do not restart printSpooler when switching portait mode / landscape mode

When the configration changes there are two modes to handle it:
1. do through a onDestroy - onCreate cycle
2. declare that your activity can handle certain changed and handle them
   in onConfigurationChanges

For most apps (1) is zero effort to implement, hence it is the default
behavior. You only want to do (2) if recreating your activity is
expensive.

As recreating the printActivity is expensive (and currently even
impossible) we want to handle the configuration change gracefully. There
is no code to be added as handling portrait mode / landscape mode switch
is not different from an orientation switch.

Bug: 25727559
Change-Id: Iac5b854c9dd080a4432957bc4551162dc3d480e9

8 years agoHave ControlledInputConnectionWrapper#toString().
Yohei Yukawa [Wed, 18 Nov 2015 21:44:14 +0000 (13:44 -0800)]
Have ControlledInputConnectionWrapper#toString().

'dumpsys input_method' does not generate useful information for
InputMethodManager#mIInputContext.  It is currently just a default
output of Object#toString().

This CL overrides ControlledInputConnectionWrapper#toString() so that
we can easily understand whether this connection is accepting API calls
from the IME or silently droping those API calls.  Note that
ControlledInputConnectionWrapper is not exposed to developers so
overriding #toString() has no effect for application developers.

Bug: 25373872
Change-Id: I89b9d4e15bc1569817bab4d1be429ac6e0462f14

8 years agoMerge "Fix leak of Bundled data."
George Mount [Wed, 18 Nov 2015 23:51:52 +0000 (23:51 +0000)]
Merge "Fix leak of Bundled data."

8 years agoresolve merge conflicts of 7d1428d7f3 to master.
Todd Kennedy [Wed, 18 Nov 2015 23:38:28 +0000 (15:38 -0800)]
resolve merge conflicts of 7d1428d7f3 to master.

Change-Id: If6455063e7b47ad503d8ec15a8f1d2477065d6e8

8 years agoFixed typos.
Felipe Leme [Wed, 18 Nov 2015 23:04:13 +0000 (15:04 -0800)]
Fixed typos.

Change-Id: I13f2a0cd9b5e41a6af27fbbc6f33ecc0241b3c29

8 years agoFix leak of Bundled data.
George Mount [Wed, 18 Nov 2015 19:10:55 +0000 (11:10 -0800)]
Fix leak of Bundled data.

Bug 25776890

Change-Id: Ib67c71e2fa01c902ad2b18f46bcaad73a73955ad

8 years agoMerge changes I6b641d6b,Id573a309
Wale Ogunwale [Wed, 18 Nov 2015 22:53:03 +0000 (22:53 +0000)]
Merge changes I6b641d6b,Id573a309

* changes:
  Renamed NonClientDecorView to DecorCaptionView
  Control display of shadows for multi-window in DecorView

8 years agoMerge "Fix layer create properties"
Chris Craik [Wed, 18 Nov 2015 22:50:54 +0000 (22:50 +0000)]
Merge "Fix layer create properties"

8 years agoInstall the Network Security Config Provider
Chad Brubaker [Wed, 18 Nov 2015 06:26:58 +0000 (22:26 -0800)]
Install the Network Security Config Provider

The provider is installed early in ActivityThread to ensure that no
TLS objects are created in the application before the provider is
installed.

Change-Id: I5f77addfa75a4ee19301de54e01507d8dca33657

8 years agoMerge "VectorDrawable native rendering - Step 2 of MANY"
Doris Liu [Wed, 18 Nov 2015 22:44:44 +0000 (22:44 +0000)]
Merge "VectorDrawable native rendering - Step 2 of MANY"

8 years agoFix layer create properties
Chris Craik [Wed, 18 Nov 2015 22:42:00 +0000 (14:42 -0800)]
Fix layer create properties

bug:25753159

Change-Id: Ifa64dbfd8057ae5b390ba0c177627a5325cdd769

8 years agoMerge "cmds: fix settings command help msg"
Xiaohui Chen [Wed, 18 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Merge "cmds: fix settings command help msg"

8 years agocmds: fix settings command help msg
Xiaohui Chen [Wed, 18 Nov 2015 22:10:42 +0000 (14:10 -0800)]
cmds: fix settings command help msg

There is a missing white space.

Change-Id: I7e7f4783464a7be02a3b2e1a30a629ed1ebdc913

8 years agoRemove 'peekable' preference.
Julia Reynolds [Wed, 18 Nov 2015 22:03:56 +0000 (17:03 -0500)]
Remove 'peekable' preference.

To be replaced by 'importance' in the future.

Bug: 22854014
Change-Id: Idc9ca79b145d5c69e769c9239ed9291dce40d8c8

8 years agoMerge "Skip dead users when getting primary."
Xiaohui Chen [Wed, 18 Nov 2015 21:53:15 +0000 (21:53 +0000)]
Merge "Skip dead users when getting primary."

8 years agoVectorDrawable native rendering - Step 2 of MANY
Doris Liu [Tue, 17 Nov 2015 06:48:34 +0000 (22:48 -0800)]
VectorDrawable native rendering - Step 2 of MANY

Introduced PathData in Java, which is effectively a thin layer around the
native instance. PathData holds the verbs and points which is being used
in path morphing/interpolation. The verbs and points can be interpreted
into skia path commands, which is now done in native and therefore saves
a handful of JNI calls during path creation.

Removed the old PathDataNode mechanism and changed the PathEvaluator
to use PathData instead.

Also added tests and a microbench. Also ran CTS tests for VectorDrawable
and AnimatedVectorDrawable, and passed all of the existing tests.

Change-Id: Ia166f5172ff031fe18b154327967f911a62caec1