OSDN Git Service

android-x86/frameworks-base.git
8 years agoOne final tweak to the platlogo.
Dan Sandler [Tue, 28 Jun 2016 02:02:12 +0000 (22:02 -0400)]
One final tweak to the platlogo.

Bug: 27376882
Change-Id: Ie60600018204f48593975b947d6fc10f4dd8a69f

8 years agoFix SuperNotCalledException.
Dan Sandler [Tue, 28 Jun 2016 01:33:27 +0000 (21:33 -0400)]
Fix SuperNotCalledException.

Q. Dan, how did you make such a basic newbie mistake?
A. new phone who dis

Bug: 29779845
Change-Id: Iecba53effcf6252df228afd2cc80df43b2afaa59

8 years agoMerge "Mark app pending intents in notification extras" into nyc-dev
Svetoslav Ganov [Tue, 28 Jun 2016 00:42:23 +0000 (00:42 +0000)]
Merge "Mark app pending intents in notification extras" into nyc-dev

8 years agoMark app pending intents in notification extras
Svet Ganov [Fri, 24 Jun 2016 02:55:24 +0000 (19:55 -0700)]
Mark app pending intents in notification extras

We need to make every peniding intent that went in the notification
system to allow special handling of such intents when fired by a
notification listener. If a pending intent from a notification
is sent from a notification listener, we white-list the source app
to run in data saver mode for a short period of time. The problem is
that actions and the notificaion can have extras which bundles may
contain pending intents but the system cannot look into the bundles
as they may contain custom parcelable objects. To address this we
keep a list of all pending intents in the notification allowing
the system to access them without touching the bundle. Currently
the pending intents are written to the parcel twice, once in the
bundle and once as the explicit list. We can come up with a scheme
to optimize this but since pending itents are just a binder pointer
it is not worth the excecise.

bug:29480440

Change-Id: I7328a47017ca226117adf7054900836619f5679b

8 years agoMerge "Fix bug where process whitelist manager state would not be correct." into...
Dianne Hackborn [Mon, 27 Jun 2016 23:52:00 +0000 (23:52 +0000)]
Merge "Fix bug where process whitelist manager state would not be correct." into nyc-dev

8 years agoMerge "Add extra waiting when switching users" into nyc-dev
Andre Eisenbach [Mon, 27 Jun 2016 23:42:15 +0000 (23:42 +0000)]
Merge "Add extra waiting when switching users" into nyc-dev

8 years agoMerge "Fix #29737133 : content-trigger jobs not running properly" into nyc-dev
Chris Tate [Mon, 27 Jun 2016 23:18:30 +0000 (23:18 +0000)]
Merge "Fix #29737133 : content-trigger jobs not running properly" into nyc-dev

8 years agoFix #29737133 : content-trigger jobs not running properly
Christopher Tate [Mon, 27 Jun 2016 23:12:41 +0000 (16:12 -0700)]
Fix #29737133 : content-trigger jobs not running properly

When removing the ContentObserver wrapper from our internal
bookkeeping we were using the wrong key.  That led to future
re-registrations thinking they were reusing a currently-
registered observers, but instead never getting onChange()
notifications.

Change-Id: Id3111db057ae63194049d7d48d45b75be6bb0000

8 years agoAdd extra waiting when switching users
Pavlin Radoslavov [Mon, 27 Jun 2016 22:25:18 +0000 (15:25 -0700)]
Add extra waiting when switching users

If disabling Bluetooth times out, wait for an additional amount of time
to ensure the process is shut down completely before attempting to restart.

Bug: 29738770
Change-Id: I43dec35a1e03d12cb07863babea97d55baa32528

8 years agoFix bug where process whitelist manager state would not be correct.
Dianne Hackborn [Mon, 27 Jun 2016 22:07:18 +0000 (15:07 -0700)]
Fix bug where process whitelist manager state would not be correct.

We can't update this in updateOomAdjLocked(), because we very
deliberately only iterate through services in there as needed.
The correct thing to do is update the process as services/connections
are associated with it, so do that.

Now basically all of the logic for tracking the state is in
ActiveServices, as we bind and unbind services and add and removing
them from process records.  It's a little messy because we don't
have a central place for removing them from process records, which
should be cleaned up in the future.

Part of fixes for issue #29480440

Change-Id: Iac96f002a5b4e3b0277df244ff7b90f59a6e8440

8 years agoMerge "Add missing roundOut for layer damage" into nyc-dev
John Reck [Mon, 27 Jun 2016 22:22:40 +0000 (22:22 +0000)]
Merge "Add missing roundOut for layer damage" into nyc-dev

8 years agoAdd missing roundOut for layer damage
John Reck [Mon, 27 Jun 2016 22:13:54 +0000 (15:13 -0700)]
Add missing roundOut for layer damage

fixes: 29771171

This is a regression from HWUI_NEW_OPS, a roundOut
was missing in the new path that was in the old one

Change-Id: Ibf223d550bb5525781864dd9b7f7cd6d73adb98b

8 years agoRound unclipped saveLayers
Chris Craik [Fri, 24 Jun 2016 20:53:37 +0000 (13:53 -0700)]
Round unclipped saveLayers

fixes: 29456451

Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
(cherry picked from commit d5a90114128f4d3d528f1a0e93651496c968f940)

8 years agoMerge "Resume only activities in focused stack" into nyc-dev
Andrii Kulian [Mon, 27 Jun 2016 20:50:01 +0000 (20:50 +0000)]
Merge "Resume only activities in focused stack" into nyc-dev

8 years agoMerge "Fix smooth panel deceleration" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 20:44:55 +0000 (20:44 +0000)]
Merge "Fix smooth panel deceleration" into nyc-dev

8 years agoMerge "Fix mistranslation from the NDK changelog." into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 20:13:52 +0000 (20:13 +0000)]
Merge "Fix mistranslation from the NDK changelog." into nyc-dev

8 years agoFix smooth panel deceleration
Jorim Jaggi [Mon, 27 Jun 2016 18:50:58 +0000 (11:50 -0700)]
Fix smooth panel deceleration

State of dismiss view was wrong when the panel was closed, thus, we didn't
apply our logic for smooth panel deceleration anymore.

Bug: 29579394
Change-Id: I79718517e776adad092457aba6db18219998fde1

8 years agoFix mistranslation from the NDK changelog.
Dan Albert [Mon, 27 Jun 2016 18:19:11 +0000 (11:19 -0700)]
Fix mistranslation from the NDK changelog.

Gingerbread begins at API level 9, not 10.

Bug: https://github.com/android-ndk/ndk/issues/136
Change-Id: Ie65e543c06bed925f33e2cac92a27d6b83934a88

8 years agoRemove reference to obsolete installation step.
Dan Albert [Mon, 27 Jun 2016 17:52:24 +0000 (10:52 -0700)]
Remove reference to obsolete installation step.

Bug: https://github.com/android-ndk/ndk/issues/136
Change-Id: Idd08b009fefd69053675545bf94fda2147e01318

8 years agoMerge "Add redirect for new Run/Debug Config doc b/29615014" into nyc-dev
Cheryl Potter [Mon, 27 Jun 2016 18:02:53 +0000 (18:02 +0000)]
Merge "Add redirect for new Run/Debug Config doc b/29615014" into nyc-dev

8 years agoResume only activities in focused stack
Andrii Kulian [Mon, 27 Jun 2016 17:53:53 +0000 (10:53 -0700)]
Resume only activities in focused stack

While performing ensureActivitiesVisibleLocked we should only
resume activity in focused stack. Otherwise we can get several
resumed activities at the same time.

Bug: 29619461
Change-Id: Id65fe1a29841ee3166694bfb6a8236151b9fc7ec

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 17:34:24 +0000 (17:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Most cats would prefer chicken." into nyc-dev
Daniel Sandler [Mon, 27 Jun 2016 16:56:29 +0000 (16:56 +0000)]
Merge "Most cats would prefer chicken." into nyc-dev

8 years agoMerge "Add missing null checks" into nyc-dev
John Reck [Mon, 27 Jun 2016 16:55:28 +0000 (16:55 +0000)]
Merge "Add missing null checks" into nyc-dev

8 years agoMost cats would prefer chicken.
Dan Sandler [Mon, 27 Jun 2016 15:51:14 +0000 (11:51 -0400)]
Most cats would prefer chicken.

Bug: 27376882
Change-Id: I2c6d04c2515fd23e44120a3f9ffd6b1668d521ff

8 years agoAdd redirect for new Run/Debug Config doc
Cheryl Potter [Mon, 27 Jun 2016 16:23:14 +0000 (09:23 -0700)]
Add redirect for new Run/Debug Config doc
b/29615014

Change-Id: Iff3d896d5f3788d0d20be0bfb6f305a77e094721

8 years agoMerge "media: document format keys for MediaMuxer" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 16:10:38 +0000 (16:10 +0000)]
Merge "media: document format keys for MediaMuxer" into nyc-dev

8 years agoMerge "media: document output image crop and layout for MediaCodec" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 16:09:50 +0000 (16:09 +0000)]
Merge "media: document output image crop and layout for MediaCodec" into nyc-dev

8 years agoAdd missing null checks
John Reck [Mon, 27 Jun 2016 14:56:37 +0000 (07:56 -0700)]
Add missing null checks

Bug: 29743482
Change-Id: Ic4bc5b9d5718eabd41e09a108a765b01aef4e3c8

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 27 Jun 2016 09:31:14 +0000 (02:31 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Update finding success page to feature playbook." into nyc-dev
Dirk Dougherty [Mon, 27 Jun 2016 02:49:25 +0000 (02:49 +0000)]
Merge "Update finding success page to feature playbook." into nyc-dev

8 years agoCats are not, technically, tasty treats.
Dan Sandler [Wed, 22 Jun 2016 04:05:11 +0000 (00:05 -0400)]
Cats are not, technically, tasty treats.

Bug: 27376882
Change-Id: I97183339e51c5d07fe6e9404bbcc5178ca605c05
Copilot: Jason Monk <jmonk@google.com>

8 years agoUpdate finding success page to feature playbook.
Dirk Dougherty [Fri, 24 Jun 2016 19:08:00 +0000 (12:08 -0700)]
Update finding success page to feature playbook.

Bug: 29207942
Change-Id: Ia8be8fa45bf9e37bb31627bdba042c7b3cfbe8c0

8 years agomedia: document output image crop and layout for MediaCodec
Lajos Molnar [Thu, 23 Jun 2016 23:34:48 +0000 (16:34 -0700)]
media: document output image crop and layout for MediaCodec

These use hidden, now deprecated MediaFormat keys.

Bug: 14127601
Change-Id: Ib51e4ef41204c9be34ad571300fcb7860feb504e

8 years agomedia: document format keys for MediaMuxer
Lajos Molnar [Fri, 24 Jun 2016 00:51:15 +0000 (17:51 -0700)]
media: document format keys for MediaMuxer

Bug: 19461810
Change-Id: Iee4396aa6f00b3f580c02fa99f0b9291700f5738

8 years agoMerge "Update DisplayMetrics when resizing" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 23:35:12 +0000 (23:35 +0000)]
Merge "Update DisplayMetrics when resizing" into nyc-dev

8 years agoMerge "Fix layout issue after insets changed" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 23:21:28 +0000 (23:21 +0000)]
Merge "Fix layout issue after insets changed" into nyc-dev

8 years agoMerge "PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL." into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 22:43:30 +0000 (22:43 +0000)]
Merge "PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL." into nyc-dev

8 years agoUpdate DisplayMetrics when resizing
Adam Lesinski [Fri, 24 Jun 2016 19:29:16 +0000 (12:29 -0700)]
Update DisplayMetrics when resizing

Previously the DisplayMetrics passed to a new ResourcesImpl
object would be generated from the default DisplayAdjustments.
We now use the correct DisplayAdjustments for the ResourcesImpl
and make sure to update them for things like rotation changes.

Bug:29619314
Change-Id: If2ba0d7670a4554dcd3fde9766e2337f20a191fd
(cherry picked from commit 8e8d23214a71d8813ebd3676b192924c530cb913)

8 years agoMerge "Update documentation for View.startDragAndDrop" into nyc-dev
Yorke Lee [Fri, 24 Jun 2016 22:10:46 +0000 (22:10 +0000)]
Merge "Update documentation for View.startDragAndDrop" into nyc-dev

8 years agoFix layout issue after insets changed
Adam Powell [Fri, 24 Jun 2016 21:42:30 +0000 (14:42 -0700)]
Fix layout issue after insets changed

Fix a regression where a change in insets would forceLayout on the
view hierarchy but not run the measure/layout as a result. This would
cause layout requests to become stalled until a window-level relayout
event.

Bug 29634368

Change-Id: Ia3f32f5891c8b32c06c13f95ebd0572233572b04

8 years agoPopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL.
Robert Carr [Fri, 24 Jun 2016 20:58:16 +0000 (13:58 -0700)]
PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL.

When we want the WindowManager to clip our requested width/height
to the display frame, we need to pass DISPLAY_CLIP_VERTICAL/HORIZONTAL.
It seems this behavior was unintentionally applied without this flag
in previous releases.

Bug: 29602363
Change-Id: Ib98060e36efde0dbaabb59a758da5374035dbb62

8 years agoReapply more strings for "more settings"
Min Yun [Fri, 24 Jun 2016 18:05:03 +0000 (11:05 -0700)]
Reapply more strings for "more settings"

Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 15:33:56 +0000 (08:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231

8 years agoAlways reapply strings.
Julia Reynolds [Fri, 24 Jun 2016 12:44:57 +0000 (08:44 -0400)]
Always reapply strings.

Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:41 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:09 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Improve ANR dropbox reports" into nyc-dev
Adrian Roos [Fri, 24 Jun 2016 01:57:42 +0000 (01:57 +0000)]
Merge "Improve ANR dropbox reports" into nyc-dev

8 years agoImprove ANR dropbox reports
Adrian Roos [Thu, 23 Jun 2016 23:38:06 +0000 (16:38 -0700)]
Improve ANR dropbox reports

Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf

8 years agoAccess internal ringer mode to properly vibrate in DND
Brad Ebinger [Fri, 24 Jun 2016 00:42:30 +0000 (17:42 -0700)]
Access internal ringer mode to properly vibrate in DND

Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 00:07:49 +0000 (17:07 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Jun 2016 23:34:21 +0000 (16:34 -0700)]
Import translations. DO NOT MERGE

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

8 years agoDocs: Fixed wrong link text am: 9e9d2c7fba
Hemal Patel [Thu, 23 Jun 2016 22:59:38 +0000 (22:59 +0000)]
Docs: Fixed wrong link text am: 9e9d2c7fba
am: 1727bb369e

Change-Id: I655d77ccdc8586b348bd61309cd8cfba012113b8

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 22:54:30 +0000 (22:54 +0000)]
Docs: Fixed wrong link text
am: 9e9d2c7fba

Change-Id: I0d66075bb75a2f4cc809d2df698c4acec5234187

8 years agoMerge "fix bad contrast in table links by switching to normal table cells instead...
Scott Main [Thu, 23 Jun 2016 21:57:51 +0000 (21:57 +0000)]
Merge "fix bad contrast in table links by switching to normal table cells instead of headings." into nyc-dev

8 years agoMerge "Fix guts are not bound properly." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:45:58 +0000 (21:45 +0000)]
Merge "Fix guts are not bound properly." into nyc-dev

8 years agoMerge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:26:33 +0000 (21:26 +0000)]
Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev

8 years agoMerge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 21:25:32 +0000 (21:25 +0000)]
Merge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev

8 years agoMerge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev
Jason Monk [Thu, 23 Jun 2016 20:52:49 +0000 (20:52 +0000)]
Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev

8 years agoDocs: Fixed wrong link text
Hemal Patel [Thu, 23 Jun 2016 19:08:52 +0000 (12:08 -0700)]
Docs: Fixed wrong link text

Fixed the link text of the
AnimatorInflater.loadStateListAnimator method to display the
correct name of the class.

Bug: 24599015
Change-Id: I914e4152a5999544ff167c54959276180a7a1003

8 years agoFix guts are not bound properly.
Min Yun [Fri, 17 Jun 2016 18:59:24 +0000 (11:59 -0700)]
Fix guts are not bound properly.

When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b

8 years agoHUN: Close RemoteInputView when Home is pressed
Adrian Roos [Thu, 23 Jun 2016 18:19:28 +0000 (11:19 -0700)]
HUN: Close RemoteInputView when Home is pressed

CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313

8 years agoMerge "QS: Fix hotspot refreshing state" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 19:33:16 +0000 (19:33 +0000)]
Merge "QS: Fix hotspot refreshing state" into nyc-dev

8 years agoUpdate documentation for View.startDragAndDrop
Yorke Lee [Thu, 23 Jun 2016 19:23:22 +0000 (12:23 -0700)]
Update documentation for View.startDragAndDrop

Bug: 29606395
Change-Id: Ibbe1a20c998986c7afffac6f5f4b25769f56a8f2

8 years agofix bad contrast in table links by switching to normal table cells instead of headings.
smain@google.com [Thu, 23 Jun 2016 19:09:30 +0000 (12:09 -0700)]
fix bad contrast in table links by switching to normal table cells instead of headings.

Change-Id: I91139ac2f01a9e099ffb5f65f4579a0b33ced5ab

8 years agoQS: Hacks to fix bigger problems in TileService binding
Jason Monk [Thu, 23 Jun 2016 18:59:22 +0000 (14:59 -0400)]
QS: Hacks to fix bigger problems in TileService binding

Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999

8 years agomedia: update getAchievableFrameRatesFor javadoc
Lajos Molnar [Thu, 23 Jun 2016 16:21:27 +0000 (09:21 -0700)]
media: update getAchievableFrameRatesFor javadoc

Bug: 28752802
Change-Id: I1c04ae7c3f9f15f84ff185af8d8f3c89958f5595

8 years agoMerge "Remove FD from the right Looper" into nyc-dev
John Reck [Thu, 23 Jun 2016 18:32:08 +0000 (18:32 +0000)]
Merge "Remove FD from the right Looper" into nyc-dev

8 years agoMerge "When uninstalling, only kill the requested user." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 18:03:13 +0000 (18:03 +0000)]
Merge "When uninstalling, only kill the requested user." into nyc-dev

8 years agoRemove FD from the right Looper
John Reck [Thu, 23 Jun 2016 17:21:45 +0000 (10:21 -0700)]
Remove FD from the right Looper

Bug: 29586513

Also gives BackdropFrameRenderer a direct-destroy
of Choreographer since it's hammering on new Threads
and we don't want to wait for the GC to release
FDs.

Change-Id: Id2ec0af2ee4d5304961c4ab87a104ccb92f35fc2

8 years agoDocs: Update Auth section of API Overview am: 480b523c8e
Bert McMeen [Thu, 23 Jun 2016 17:31:45 +0000 (17:31 +0000)]
Docs: Update Auth section of API Overview am: 480b523c8e
am: 773ad4f422

Change-Id: Iad796f9112ee003559ccfab899be75b0ab1734f4

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Thu, 23 Jun 2016 17:26:46 +0000 (17:26 +0000)]
Docs: Update Auth section of API Overview
am: 480b523c8e

Change-Id: I847679daad0f69c196bc26661b49efd2548de87f

8 years agoQS: Fix hotspot refreshing state
Jason Monk [Thu, 23 Jun 2016 17:23:01 +0000 (13:23 -0400)]
QS: Fix hotspot refreshing state

Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006

8 years agoDocs: Update Auth section of API Overview
Bert McMeen [Fri, 17 Jun 2016 23:31:01 +0000 (16:31 -0700)]
Docs: Update Auth section of API Overview

Bug: 28268899
Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c

8 years agoWhen uninstalling, only kill the requested user.
Jeff Sharkey [Thu, 23 Jun 2016 15:26:00 +0000 (09:26 -0600)]
When uninstalling, only kill the requested user.

When an app is being uninstalled for a specific user, only kill the
app under that user; leave the app running under other users.

Bug: 28875343
Change-Id: Ie60753cfd22df10a2b17d8c3732b6f19d2fe1fb9

8 years agoMerge "Don't loop forever on 0-length options." into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 08:10:16 +0000 (08:10 +0000)]
Merge "Don't loop forever on 0-length options." into nyc-dev

8 years agoDon't loop forever on 0-length options.
Lorenzo Colitti [Thu, 23 Jun 2016 06:24:46 +0000 (15:24 +0900)]
Don't loop forever on 0-length options.

A malformed RA could cause the Ra constructor in ApfFilter to
enter an infinite loop while holding the class lock. This blocks
IpManager until reboot and drains the battery.

Bug: 29586253
Change-Id: Idaa46b3bc50371db076630881883807c2fa21674

8 years agoMerge "Sensor: Make getId() more varied" into nyc-dev
Greg Kaiser [Thu, 23 Jun 2016 03:25:44 +0000 (03:25 +0000)]
Merge "Sensor: Make getId() more varied" into nyc-dev

8 years agoMerge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into...
Dianne Hackborn [Thu, 23 Jun 2016 03:04:25 +0000 (03:04 +0000)]
Merge "Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)" into nyc-dev

8 years agoMerge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 02:17:23 +0000 (02:17 +0000)]
Merge "Don't compare intent filters on singleTask adjacent launch" into nyc-dev

8 years agoMerge "Do not launch non exposed add printer activity" into nyc-dev
TreeHugger Robot [Thu, 23 Jun 2016 01:51:06 +0000 (01:51 +0000)]
Merge "Do not launch non exposed add printer activity" into nyc-dev

8 years agoMerge "Show unsopported display size dialog on relaunch" into nyc-dev
Andrii Kulian [Thu, 23 Jun 2016 01:00:35 +0000 (01:00 +0000)]
Merge "Show unsopported display size dialog on relaunch" into nyc-dev

8 years agoMerge "Clarify docs for PopupWindow width/height parameters" into nyc-dev
Alan Viverette [Thu, 23 Jun 2016 00:55:51 +0000 (00:55 +0000)]
Merge "Clarify docs for PopupWindow width/height parameters" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Thu, 23 Jun 2016 00:40:01 +0000 (00:40 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoDon't compare intent filters on singleTask adjacent launch
Andrii Kulian [Thu, 23 Jun 2016 00:16:45 +0000 (17:16 -0700)]
Don't compare intent filters on singleTask adjacent launch

Bug: 29578845
Change-Id: Ic1614fc1f321e80ffdc2ab498d720657f393c239

8 years agoFix issue #29532165: System Server Java Crashes in WiFi (RT Restart)
Dianne Hackborn [Wed, 22 Jun 2016 23:49:14 +0000 (16:49 -0700)]
Fix issue #29532165: System Server Java Crashes in WiFi (RT Restart)

I really have no idea how this can be happening (we check
for a null intent before posting the args), but add another
check before dispatching to try to avoid it.

Change-Id: Ic704850c9750b6a078c49ea628189be568031086

8 years agoDo not launch non exposed add printer activity
Philip P. Moltmann [Wed, 22 Jun 2016 23:12:27 +0000 (16:12 -0700)]
Do not launch non exposed add printer activity

Change-Id: I0b9b11ea0ce0140c77dff2539b1a0a9dcf1558b0
Fixes: 29580579

8 years agoMerge "Change approach for windowPositionLostRT" into nyc-dev
John Reck [Wed, 22 Jun 2016 23:38:23 +0000 (23:38 +0000)]
Merge "Change approach for windowPositionLostRT" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 22 Jun 2016 23:33:07 +0000 (16:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29322470
Change-Id: Iec697120d3e8b234bde18e0e37f02ad532796816

8 years agoChange approach for windowPositionLostRT
John Reck [Wed, 22 Jun 2016 21:23:31 +0000 (14:23 -0700)]
Change approach for windowPositionLostRT

Bug: 29547000

Instead of shifting the window off screen fall
back to the UI-thread calculated values. This fixes
a race issue around tear-down where we stop
drawing long before our window is actually no longer
visible, as well as fixes a funky issue with
PRESERVE_GEOMETRY during first draw.

Change-Id: I792d1966f5aaee1e703295ae79166c723b97a1dc

8 years agoMerge "Fix adb backup/restore" into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 22:56:34 +0000 (22:56 +0000)]
Merge "Fix adb backup/restore" into nyc-dev

8 years agoMerge "Report all content changes to a11y services." into nyc-dev
Phil Weaver [Wed, 22 Jun 2016 22:48:49 +0000 (22:48 +0000)]
Merge "Report all content changes to a11y services." into nyc-dev

8 years agoMerge "Use granted userId to look up provider info" into nyc-dev
Fyodor Kupolov [Wed, 22 Jun 2016 22:28:37 +0000 (22:28 +0000)]
Merge "Use granted userId to look up provider info" into nyc-dev

8 years agoMerge "Fix build due to missing abstract method impl" into nyc-dev
Adam Lesinski [Wed, 22 Jun 2016 22:20:54 +0000 (22:20 +0000)]
Merge "Fix build due to missing abstract method impl" into nyc-dev

8 years agoShow unsopported display size dialog on relaunch
Andrii Kulian [Wed, 22 Jun 2016 21:49:58 +0000 (14:49 -0700)]
Show unsopported display size dialog on relaunch

If the display density change made app restart when it was focused
or we navigate back to it after density change and it makes it
restart - we didn't display unsupported display size dialog.

Bug: 29574686
Change-Id: Ic8fdc8a54df160f947e2d340ab2cb2931bac195d

8 years agoFix adb backup/restore
Christopher Tate [Fri, 17 Jun 2016 20:24:02 +0000 (13:24 -0700)]
Fix adb backup/restore

* Exclude key/value-only backup participants until we have a chance to
  augment the archive format with proper handling.

* Don't back up 'stopped' apps, which would un-stop them

* Fix unspecified-user bindService/startActivity invocations

* Teach adb restore about the onRestoreFinished() lifecycle method

* Implement proper app timeout handling in the adb data flows

* Backstop wallpaper backup against rare leftover-state issues

Bug 28056941

Change-Id: Ia59c71a2c74a632a2c2a527b9b7374229c440d46

8 years agoMerge "Fixed whitelistManager assignment." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 20:40:19 +0000 (20:40 +0000)]
Merge "Fixed whitelistManager assignment." into nyc-dev

8 years agoSensor: Make getId() more varied
Peng Xu [Thu, 26 May 2016 04:10:00 +0000 (21:10 -0700)]
Sensor: Make getId() more varied

Apps from different developers will now receive a different
ID for the same dynamic sensor.  Additionally, all apps
will now receive a different/new ID for the same dynamic
sensor after a factory reset.

Bug: 2877559029547335
Change-Id: I15b48b974cbb1d53cc33dfdb7b9eb5f1b562190c

8 years agoFix build due to missing abstract method impl
Adam Lesinski [Wed, 22 Jun 2016 20:11:40 +0000 (13:11 -0700)]
Fix build due to missing abstract method impl

getDisplay() was added to Context, which needs to be implemented
for BridgeContext.

Bug:28388969
Change-Id: I7b0ffcbbe252403e35f08d3fa40d6b0e4dbf0daa

8 years agoMerge "Avoid runtime restart when storage is missing." into nyc-dev
TreeHugger Robot [Wed, 22 Jun 2016 20:08:17 +0000 (20:08 +0000)]
Merge "Avoid runtime restart when storage is missing." into nyc-dev