OSDN Git Service

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

8 years agoSkip dead users when getting primary.
Xiaohui Chen [Wed, 18 Nov 2015 21:37:32 +0000 (13:37 -0800)]
Skip dead users when getting primary.

Bug: 25769085
Change-Id: I220d175839509e4dbf3f2992a90e9625d0caf825

8 years agoMerge "Open the destination dir when a copy notification is tapped."
Ben Kwa [Wed, 18 Nov 2015 21:15:37 +0000 (21:15 +0000)]
Merge "Open the destination dir when a copy notification is tapped."

8 years agoMerge "Start saving CheckedTextView checked state."
Aurimas Liutikas [Wed, 18 Nov 2015 21:06:14 +0000 (21:06 +0000)]
Merge "Start saving CheckedTextView checked state."

8 years agoMerge "Fix broken build"
Vladislav Kaznacheev [Wed, 18 Nov 2015 20:55:35 +0000 (20:55 +0000)]
Merge "Fix broken build"

8 years agoFix broken build
Vladislav Kaznacheev [Wed, 18 Nov 2015 20:53:45 +0000 (12:53 -0800)]
Fix broken build

Followup to ag/808050

Change-Id: I9912eae6a8c09b90685e19b3a9080b2d557c857b

8 years agoMerge "Improves how cornercase scenarios are handled:"
Felipe Leme [Wed, 18 Nov 2015 20:41:53 +0000 (20:41 +0000)]
Merge "Improves how cornercase scenarios are handled:"

8 years agoMerge "Fix crash in bindService due to uncleared binder identity"
Amith Yamasani [Wed, 18 Nov 2015 20:27:43 +0000 (20:27 +0000)]
Merge "Fix crash in bindService due to uncleared binder identity"

8 years agoRenamed NonClientDecorView to DecorCaptionView
Wale Ogunwale [Wed, 18 Nov 2015 19:44:10 +0000 (11:44 -0800)]
Renamed NonClientDecorView to DecorCaptionView

DecorCaptionView better describes what it does now which is to
display the caption area and control buttons within it.

Change-Id: I6b641d6b117bb8f03656bff93702fc093160851d

8 years agoOpen the destination dir when a copy notification is tapped.
Ben Kwa [Fri, 25 Sep 2015 21:48:29 +0000 (14:48 -0700)]
Open the destination dir when a copy notification is tapped.

- Cleanup: rename the "open copy destination" action to "pick copy
  destination", which better reflects what it does.
- Move DocumentsIntent from BaseActivity to Shared.
- Rename ACTION_BROWSE_DOCUMENT_ROOT to ACTION_BROWSE for general browsing.
- Use the new ACTION_BROWSE to open the copy destination when copy
  notifications are tapped.

BUG=23137963

Change-Id: I10480b45a16ce716febac5453cb5015d26bb0062

8 years agoMerge "Implement View.cancelDrag"
Vladislav Kaznacheev [Wed, 18 Nov 2015 19:13:13 +0000 (19:13 +0000)]
Merge "Implement View.cancelDrag"

8 years agoMerge "Fix issue #25673462: Shamu update from MMB29J -> 29K does not complete"
Dianne Hackborn [Wed, 18 Nov 2015 19:07:43 +0000 (19:07 +0000)]
Merge "Fix issue #25673462: Shamu update from MMB29J -> 29K does not complete"

8 years agoFix crash in bindService due to uncleared binder identity
Amith Yamasani [Wed, 18 Nov 2015 18:56:04 +0000 (10:56 -0800)]
Fix crash in bindService due to uncleared binder identity

Clear the calling identity in retrieveServiceLocked before
doing the appop check. It probably needs to be cleared sooner
in general in retrieveServiceLocked(), but that might be a risky
fix. Making this smaller fix to keep it surgical for now.

Bug: 25759739
Change-Id: I66a5f8ef9b2d914181925fa344c3f2962030583d

8 years agoMerge "Fix crash on second screenshot."
Doris Liu [Wed, 18 Nov 2015 18:53:49 +0000 (18:53 +0000)]
Merge "Fix crash on second screenshot."

8 years agoImproves how cornercase scenarios are handled:
Felipe Leme [Wed, 18 Nov 2015 18:26:10 +0000 (10:26 -0800)]
Improves how cornercase scenarios are handled:

- Bug reports without screenshots are supported.
- Shows a toast message when the bugreport file cannot be read.

BUG: 25751868
Change-Id: I4ed2c47a89b373cf878720ebcba90c96bd51342b

8 years agoControl display of shadows for multi-window in DecorView
Wale Ogunwale [Wed, 18 Nov 2015 18:33:22 +0000 (10:33 -0800)]
Control display of shadows for multi-window in DecorView

Allows us to display shadows without needing the NonClientDecorView.
For example, windows in pinned stack don't have a NonClientDecorView.

Bug: 25006507
Change-Id: Id573a30942a9bfcd002b86f0956d0b2a14ec2c2b

8 years agoMerge "TextView setText/append methods set movement method"
Siyamed Sinir [Wed, 18 Nov 2015 18:32:22 +0000 (18:32 +0000)]
Merge "TextView setText/append methods set movement method"

8 years agoMerge "Tell the reason why IMMS unbinds IME client."
Yohei Yukawa [Wed, 18 Nov 2015 18:15:18 +0000 (18:15 +0000)]
Merge "Tell the reason why IMMS unbinds IME client."

8 years agoMerge "Frameworks/base: Make RuntimeAbort more expressive" am: b61d3dd8a7
Andreas Gampe [Wed, 18 Nov 2015 18:11:11 +0000 (18:11 +0000)]
Merge "Frameworks/base: Make RuntimeAbort more expressive" am: b61d3dd8a7
am: a7e9f174c1

* commit 'a7e9f174c1f9ae35be6259de02f46aa8fa4d0a3c':
  Frameworks/base: Make RuntimeAbort more expressive

8 years agoMerge "Frameworks/base: Make RuntimeAbort more expressive"
Andreas Gampe [Wed, 18 Nov 2015 17:47:52 +0000 (17:47 +0000)]
Merge "Frameworks/base: Make RuntimeAbort more expressive"
am: b61d3dd8a7

* commit 'b61d3dd8a773be393c738675cff28fc799497535':
  Frameworks/base: Make RuntimeAbort more expressive

8 years agoMerge "Remove DEBUG_JIT from Zygote flags." am: cf49583bd0
Nicolas Geoffray [Wed, 18 Nov 2015 17:21:41 +0000 (17:21 +0000)]
Merge "Remove DEBUG_JIT from Zygote flags." am: cf49583bd0
am: 5485d81578

* commit '5485d815788e4037829d70d041fe4fc1a35416f3':
  Remove DEBUG_JIT from Zygote flags.

8 years agoMerge "Make recents visible on resume unless requested otherwise."
Filip Gruszczynski [Wed, 18 Nov 2015 17:21:38 +0000 (17:21 +0000)]
Merge "Make recents visible on resume unless requested otherwise."

8 years agoMerge "Frameworks/base: Make RuntimeAbort more expressive"
Andreas Gampe [Wed, 18 Nov 2015 17:16:59 +0000 (17:16 +0000)]
Merge "Frameworks/base: Make RuntimeAbort more expressive"

8 years agoMerge "Swtich from max_action_buttons resource to a method."
Filip Gruszczynski [Wed, 18 Nov 2015 17:04:13 +0000 (17:04 +0000)]
Merge "Swtich from max_action_buttons resource to a method."

8 years agoMake recents visible on resume unless requested otherwise.
Filip Gruszczynski [Wed, 18 Nov 2015 16:58:34 +0000 (08:58 -0800)]
Make recents visible on resume unless requested otherwise.

If the last interaction left recents invisible, we need to make the
visible again on their next resume.

Bug: 25754031
Change-Id: I4b1d4bae5609bf3f4a77250d3544084afd594536

8 years agoMerge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib"
Tony Mantler [Wed, 18 Nov 2015 16:47:41 +0000 (16:47 +0000)]
Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib"

8 years agoMerge "Cache notifications less aggressively."
Julia Reynolds [Wed, 18 Nov 2015 16:43:54 +0000 (16:43 +0000)]
Merge "Cache notifications less aggressively."

8 years agoMerge "Don't recreate remote views that already exist."
Julia Reynolds [Wed, 18 Nov 2015 16:37:59 +0000 (16:37 +0000)]
Merge "Don't recreate remote views that already exist."

8 years agoCache notifications less aggressively.
Julia Reynolds [Wed, 18 Nov 2015 16:12:53 +0000 (11:12 -0500)]
Cache notifications less aggressively.

Bug: 25694023
Change-Id: Ie8f1b518fdcb72cfbd982908aa30cdb8ebbb2f02

8 years agoMerge "Fix build"
Jason Monk [Wed, 18 Nov 2015 15:41:27 +0000 (15:41 +0000)]
Merge "Fix build"

8 years agoFix build
Jason Monk [Wed, 18 Nov 2015 15:40:34 +0000 (10:40 -0500)]
Fix build

Change-Id: Ib784f3b8e1f8e5166128a86d07b43859ee803765

8 years agoMerge "Properly remove GhostViews when Activity Transition canceled."
George Mount [Wed, 18 Nov 2015 15:37:39 +0000 (15:37 +0000)]
Merge "Properly remove GhostViews when Activity Transition canceled."

8 years agoMerge "Move some stuff to SettingsLib to use for Settings Home"
Jason Monk [Wed, 18 Nov 2015 15:08:02 +0000 (15:08 +0000)]
Merge "Move some stuff to SettingsLib to use for Settings Home"

8 years agoMove some stuff to SettingsLib to use for Settings Home
Jason Monk [Mon, 16 Nov 2015 20:59:53 +0000 (15:59 -0500)]
Move some stuff to SettingsLib to use for Settings Home

Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c

8 years agoDon't recreate remote views that already exist.
Julia Reynolds [Wed, 18 Nov 2015 14:59:57 +0000 (09:59 -0500)]
Don't recreate remote views that already exist.

Bug: 25582071
Change-Id: Ie56225ec57ab43b2cab5ffb0198f283592e7bcd9

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 18 Nov 2015 13:36:36 +0000 (05:36 -0800)]
Import translations. DO NOT MERGE

Change-Id: I49c49dae609cc2b2770652a0979693124f30a824
Auto-generated-cl: translation import

8 years agoMerge "Remove DEBUG_JIT from Zygote flags."
Nicolas Geoffray [Wed, 18 Nov 2015 10:54:19 +0000 (10:54 +0000)]
Merge "Remove DEBUG_JIT from Zygote flags."
am: cf49583bd0

* commit 'cf49583bd02d01b5d7aa57912d5469b466722c65':
  Remove DEBUG_JIT from Zygote flags.

8 years agoMerge "Remove DEBUG_JIT from Zygote flags."
Nicolas Geoffray [Wed, 18 Nov 2015 10:47:50 +0000 (10:47 +0000)]
Merge "Remove DEBUG_JIT from Zygote flags."

8 years agoRemove DEBUG_JIT from Zygote flags.
Nicolas Geoffray [Thu, 5 Nov 2015 11:29:42 +0000 (11:29 +0000)]
Remove DEBUG_JIT from Zygote flags.

The flag is being obsolete by the move to JIT.

(cherry picked from commit 9abbf45c8dcdb2e5b13b615e5138ad996fe8afa3)

Change-Id: I3ce4577e81f91e9dd55d44116e0f9e2014bd00b8

8 years agoTell the reason why IMMS unbinds IME client.
Yohei Yukawa [Wed, 18 Nov 2015 05:14:42 +0000 (21:14 -0800)]
Tell the reason why IMMS unbinds IME client.

As a preparation to fix Bug 25373872, this introduce an additional
parameter to IInputMethodClient.unbind() so that the IME client
that is running in the application side can know why IMMS needs
to unbind the connection.

In future the "unbindReason" parameter is supposed to be used to
optimize the behavior of IMM runtime running in the application process,
but for now it is not used unless we build the sytem with debug message
enabled.  Hence there should be no user-visible change with this CL.

Bug: 25373872
Change-Id: I74e83c8ca9d1d53e31e9c7b5bda1dec6274e59c8

8 years agoMerge "Factor out IMMS#resetCurrentMethodAndClient()."
Yohei Yukawa [Wed, 18 Nov 2015 03:56:45 +0000 (03:56 +0000)]
Merge "Factor out IMMS#resetCurrentMethodAndClient()."

8 years agoFix issue #25673462: Shamu update from MMB29J -> 29K does not complete
Dianne Hackborn [Tue, 17 Nov 2015 02:07:35 +0000 (18:07 -0800)]
Fix issue #25673462: Shamu update from MMB29J -> 29K does not complete

The direct path to the package manager returns null on failure, oops!

Change-Id: Id33ea299b605a59b0703dab200bafb754dd66e78

8 years agoMerge "Fix crash with animation specs"
Chong Zhang [Wed, 18 Nov 2015 02:16:33 +0000 (02:16 +0000)]
Merge "Fix crash with animation specs"

8 years agoMerge "Fix issue #25727069: Top sleeping activity overrides foreground service"
Dianne Hackborn [Wed, 18 Nov 2015 02:05:30 +0000 (02:05 +0000)]
Merge "Fix issue #25727069: Top sleeping activity overrides foreground service"

8 years agoFix issue #25727069: Top sleeping activity overrides foreground service
Dianne Hackborn [Tue, 17 Nov 2015 19:14:43 +0000 (11:14 -0800)]
Fix issue #25727069: Top sleeping activity overrides foreground service

Change-Id: I9a085cd650604f9d6277ad343bf3c3852324cafc

8 years agoTextView setText/append methods set movement method
Siyamed Sinir [Mon, 16 Nov 2015 23:39:34 +0000 (15:39 -0800)]
TextView setText/append methods set movement method

Previously, TextView setText and append methods set the movement
method to LinkMovementMethod only when autoLink was enabled and
Linkify was able to find links in the input text. This CL adds the
case where autoLink is false, linksClickable is true, and the input
text contains ClickableSpans.

Fixes https://code.google.com/p/android/issues/detail?id=2219

Bug: 1712837
Change-Id: Ife4e35bac7f6cb48ad0dac6ecb4b90aec126fc73