OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Frameworks/base: Change android.util.Log multiline logging"
Andreas Gampe [Fri, 18 Dec 2015 21:27:18 +0000 (21:27 +0000)]
Merge "Frameworks/base: Change android.util.Log multiline logging"

8 years agoMerge "Differentiate between apps that use topics and those that don't."
Julia Reynolds [Fri, 18 Dec 2015 21:09:45 +0000 (21:09 +0000)]
Merge "Differentiate between apps that use topics and those that don't."

8 years agoMerge "Making ViewRootImpl drop input events when the Activity is in ambient mode...
Daniel Koulomzin [Fri, 18 Dec 2015 21:04:41 +0000 (21:04 +0000)]
Merge "Making ViewRootImpl drop input events when the Activity is in ambient mode." into cw-e-dev am: cbef517d02 am: 898e330aae am: 94794af6be
am: 3f66df086a

* commit '3f66df086a210bc0dec7a0bd86081f6f79b3a712':
  Making ViewRootImpl drop input events when the Activity is in ambient mode.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 21:02:54 +0000 (21:02 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5 am: 1e04dfb926 am: 3927089cce am: f1530bf3d7 am: fba515f614 am: 2ce61fb68a
am: c57d50c0fb

* commit 'c57d50c0fbffe2a4f479469b490be751cdcf45fa':
  Protect some new broadcasts.

8 years agoFix system watchdog timeout when reading too many usage events. am: 8877120173 am...
Mark Lu [Fri, 18 Dec 2015 21:00:42 +0000 (21:00 +0000)]
Fix system watchdog timeout when reading too many usage events. am: 8877120173 am: 370567d1f5
am: 8f968ae1a2

* commit '8f968ae1a22f940f68ac2bf08c4ffcfde539e93b':
  Fix system watchdog timeout when reading too many usage events.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f...
Robert Greenwalt [Fri, 18 Dec 2015 20:59:02 +0000 (20:59 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f am: a652b7161d am: c99c41781c am: b5f6115092
am: 740e5da062

* commit '740e5da0624f8ede5a8ddaa20bfdbb2bd1cfa13a':
  Check permissions on getDeviceId.

8 years agoDifferentiate between apps that use topics and those that don't.
Julia Reynolds [Fri, 18 Dec 2015 14:04:34 +0000 (09:04 -0500)]
Differentiate between apps that use topics and those that don't.

Bug: 22451710
Change-Id: Idb567a4fc511a03cb999179765cfa4cbeb63dcb7

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7...
Robert Greenwalt [Fri, 18 Dec 2015 20:57:33 +0000 (20:57 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7cc am: 5d7bb383b8 am: 50843b1708
am: 15912efe72

* commit '15912efe72fe27d9ce212d203227687fe8d98867':
  Check permissions on getDeviceId.

8 years agoMerge "Making ViewRootImpl drop input events when the Activity is in ambient mode...
Daniel Koulomzin [Fri, 18 Dec 2015 20:15:10 +0000 (12:15 -0800)]
Merge "Making ViewRootImpl drop input events when the Activity is in ambient mode." into cw-e-dev am: cbef517d02 am: 898e330aae
am: 94794af6be

* commit '94794af6bee35c249857f0440c361d589b77aa5d':
  Making ViewRootImpl drop input events when the Activity is in ambient mode.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 20:09:54 +0000 (12:09 -0800)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5 am: 1e04dfb926 am: 3927089cce am: f1530bf3d7 am: fba515f614
am: 2ce61fb68a

* commit '2ce61fb68a598622343047aa8a202513a61566c2':
  Protect some new broadcasts.

8 years agoMerge "Making ViewRootImpl drop input events when the Activity is in ambient mode...
Daniel Koulomzin [Fri, 18 Dec 2015 20:09:35 +0000 (20:09 +0000)]
Merge "Making ViewRootImpl drop input events when the Activity is in ambient mode." into cw-e-dev am: cbef517d02
am: 898e330aae

* commit '898e330aaedbfa9e41d649187800c307e3d84169':
  Making ViewRootImpl drop input events when the Activity is in ambient mode.

8 years agoMerge "Fix broken user removal"
Amith Yamasani [Fri, 18 Dec 2015 19:59:19 +0000 (19:59 +0000)]
Merge "Fix broken user removal"

8 years agoMerge "Making ViewRootImpl drop input events when the Activity is in ambient mode...
Daniel Koulomzin [Fri, 18 Dec 2015 19:55:52 +0000 (11:55 -0800)]
Merge "Making ViewRootImpl drop input events when the Activity is in ambient mode." into cw-e-dev
am: cbef517d02

* commit 'cbef517d02f4f3680e155cc1a704ebf5c959d03f':
  Making ViewRootImpl drop input events when the Activity is in ambient mode.

8 years agoMerge "Add a framework service tracking VR mode state."
Ruben Brunk [Fri, 18 Dec 2015 19:50:24 +0000 (19:50 +0000)]
Merge "Add a framework service tracking VR mode state."

8 years agoMerge "Making ViewRootImpl drop input events when the Activity is in ambient mode...
Daniel Koulomzin [Fri, 18 Dec 2015 19:49:18 +0000 (19:49 +0000)]
Merge "Making ViewRootImpl drop input events when the Activity is in ambient mode." into cw-e-dev

8 years agoMerge "Added PRIVATE_FLAG_LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME window flag"
Wale Ogunwale [Fri, 18 Dec 2015 19:47:13 +0000 (19:47 +0000)]
Merge "Added PRIVATE_FLAG_LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME window flag"

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 19:42:58 +0000 (11:42 -0800)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5 am: 1e04dfb926 am: 3927089cce am: f1530bf3d7
am: fba515f614

* commit 'fba515f614c1df7a30f2d003f2861bc14bc8fbda':
  Protect some new broadcasts.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 19:36:54 +0000 (19:36 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5 am: 1e04dfb926 am: 3927089cce
am: f1530bf3d7

* commit 'f1530bf3d72315256dd7a2c18ba383dc15445b54':
  Protect some new broadcasts.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 19:31:54 +0000 (11:31 -0800)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5 am: 1e04dfb926
am: 3927089cce

* commit '3927089cce9d43a0b517f53fd6a542f07cb0955b':
  Protect some new broadcasts.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 19:24:53 +0000 (11:24 -0800)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3 am: 81674b1ff5
am: 1e04dfb926

* commit '1e04dfb926040a6fad073fca0835777123d155e7':
  Protect some new broadcasts.

8 years agoFix broken user removal
Amith Yamasani [Fri, 18 Dec 2015 19:21:31 +0000 (11:21 -0800)]
Fix broken user removal

Check target user instead of current user, when deciding if
user can be stopped.

Bug: 26207032
Change-Id: Ibf9cb827943f8fbf8fa3b96a9e04c96d11a36d0a

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b79...
Robert Greenwalt [Fri, 18 Dec 2015 19:17:58 +0000 (19:17 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798 am: 2ecc918bd3
am: 81674b1ff5

* commit '81674b1ff5deedcf2f1a79f07441e506a4f66354':
  Protect some new broadcasts.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798
Robert Greenwalt [Fri, 18 Dec 2015 19:04:25 +0000 (19:04 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489 am: 5946a9b798
am: 2ecc918bd3

* commit '2ecc918bd3c7f63ea70a7395b3a622c7f1a40f84':
  Protect some new broadcasts.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489
Robert Greenwalt [Fri, 18 Dec 2015 18:48:59 +0000 (18:48 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev. am: 5a77651489
am: 5946a9b798

* commit '5946a9b798f9a4b0e9eacd2685fc5ec9d6cc9ed6':
  Protect some new broadcasts.

8 years agoFix system watchdog timeout when reading too many usage events. am: 8877120173
Mark Lu [Fri, 18 Dec 2015 18:45:39 +0000 (18:45 +0000)]
Fix system watchdog timeout when reading too many usage events. am: 8877120173
am: 370567d1f5

* commit '370567d1f5be189c858836746bd93e7482c9571a':
  Fix system watchdog timeout when reading too many usage events.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f...
Robert Greenwalt [Fri, 18 Dec 2015 18:43:05 +0000 (18:43 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f am: a652b7161d am: c99c41781c
am: b5f6115092

* commit 'b5f611509276516eb26d86fe63e845b7148bec86':
  Check permissions on getDeviceId.

8 years agoAdded PRIVATE_FLAG_LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME window flag
Wale Ogunwale [Fri, 18 Dec 2015 18:42:42 +0000 (10:42 -0800)]
Added PRIVATE_FLAG_LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME window flag

Allows us to differentiate between child windows that always want to be
laid-out in the parent frame regardless of multi-windowing mode
(PopupWindows) and those that don't (SurfaceViews).

Bug: 26255254
Change-Id: Icbc245a24f9a38698444196846ddb25016ef7e2a

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7...
Robert Greenwalt [Fri, 18 Dec 2015 18:41:23 +0000 (18:41 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7cc am: 5d7bb383b8
am: 50843b1708

* commit '50843b1708f7662f9be661001125d91e0ef544d7':
  Check permissions on getDeviceId.

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev.
Robert Greenwalt [Fri, 18 Dec 2015 18:38:10 +0000 (18:38 +0000)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev.
am: 5a77651489

* commit '5a77651489ace080671034a85e5771c6ddc73525':
  Protect some new broadcasts.

8 years agoMerge changes Ieabfedfd,I7159d757
Jeff Sharkey [Fri, 18 Dec 2015 18:25:28 +0000 (18:25 +0000)]
Merge changes Ieabfedfd,I7159d757

* changes:
  Sometimes to move forward you need to move backwards.
  Sometimes to move forward you need to move backwards.

8 years agoSometimes to move forward you need to move backwards.
Jeff Sharkey [Fri, 18 Dec 2015 18:24:20 +0000 (11:24 -0700)]
Sometimes to move forward you need to move backwards.

Part B.

Bug: 26118802

Change-Id: Ieabfedfd0ebff5b1f3dc32d1de43aef9974f15d2

8 years agoSometimes to move forward you need to move backwards.
Jeff Sharkey [Fri, 18 Dec 2015 18:23:29 +0000 (11:23 -0700)]
Sometimes to move forward you need to move backwards.

Part A.

Bug: 26118802
Change-Id: I7159d757caa92c590c79cacf62128d1324978c46

8 years agoMerge "Add field QUOTA_OCCUPIED and QUOTA_TOTAL to VoicemailContract.Status"
Ta-wei Yen [Fri, 18 Dec 2015 18:22:10 +0000 (18:22 +0000)]
Merge "Add field QUOTA_OCCUPIED and QUOTA_TOTAL to VoicemailContract.Status"

8 years agoMerge "Collect activity starting logic into ActivityStarter class."
Filip Gruszczynski [Fri, 18 Dec 2015 18:17:02 +0000 (18:17 +0000)]
Merge "Collect activity starting logic into ActivityStarter class."

8 years agoMerge "Fix merged op clipping issue"
Chris Craik [Fri, 18 Dec 2015 18:07:50 +0000 (18:07 +0000)]
Merge "Fix merged op clipping issue"

8 years agoFix merged op clipping issue
Chris Craik [Fri, 18 Dec 2015 02:42:44 +0000 (18:42 -0800)]
Fix merged op clipping issue

Change-Id: I48cd5e92f3e62dcd189a4411a71aa7a40ce5498c

8 years agoMaking ViewRootImpl drop input events when the Activity is in ambient
Daniel Koulomzin [Wed, 16 Dec 2015 22:52:25 +0000 (17:52 -0500)]
Making ViewRootImpl drop input events when the Activity is in ambient
mode.

WearableActivityController tells ViewRootImpl about ambient mode.

Bug: 25912259
Bug: 25973146
Bug: 25714113
Change-Id: Idcca2b254db3145039f50f2a7dfd38a224ec287e

8 years agoMerge "Use buffering when reading preferred apps"
Fyodor Kupolov [Fri, 18 Dec 2015 17:22:07 +0000 (17:22 +0000)]
Merge "Use buffering when reading preferred apps"

8 years agoMerge "Optimized database creation for a new user"
Fyodor Kupolov [Fri, 18 Dec 2015 17:22:04 +0000 (17:22 +0000)]
Merge "Optimized database creation for a new user"

8 years agoCollect activity starting logic into ActivityStarter class.
Filip Gruszczynski [Thu, 17 Dec 2015 22:16:38 +0000 (14:16 -0800)]
Collect activity starting logic into ActivityStarter class.

Change-Id: If1c074d6c278647ec55f2313483945f24aca8b3b

8 years agoMerge "Correctly set mContainingFrame for PopupWindows in multi-window mode"
Wale Ogunwale [Fri, 18 Dec 2015 16:44:15 +0000 (16:44 +0000)]
Merge "Correctly set mContainingFrame for PopupWindows in multi-window mode"

8 years agoMerge "Allow library spec and app configs to be read from odm partition"
Jeff Sharkey [Fri, 18 Dec 2015 16:34:26 +0000 (16:34 +0000)]
Merge "Allow library spec and app configs to be read from odm partition"

8 years agoCorrectly set mContainingFrame for PopupWindows in multi-window mode
Wale Ogunwale [Fri, 18 Dec 2015 16:25:47 +0000 (08:25 -0800)]
Correctly set mContainingFrame for PopupWindows in multi-window mode

For child windows we want to base their containing frame on their
parent frame and not the task bounds.

Bug: 26255254
Change-Id: Ic211c31e69df16fdbdb7b7ba2022379c5f4a87c0

8 years agoMerge "Alt-up moves focus to the toolbar in action bar mode."
George Mount [Fri, 18 Dec 2015 15:46:31 +0000 (15:46 +0000)]
Merge "Alt-up moves focus to the toolbar in action bar mode."

8 years agoAlt-up moves focus to the toolbar in action bar mode.
George Mount [Tue, 15 Dec 2015 21:36:01 +0000 (13:36 -0800)]
Alt-up moves focus to the toolbar in action bar mode.

Bug 24811572

Change-Id: Ie065fa13ba76131e700e73984a99fc60a7aa513c

8 years agoMerge "Reset accessibility after Activity enter transition."
George Mount [Fri, 18 Dec 2015 15:29:52 +0000 (15:29 +0000)]
Merge "Reset accessibility after Activity enter transition."

8 years agoMerge "Print "Success" on success"
Todd Kennedy [Fri, 18 Dec 2015 15:16:19 +0000 (15:16 +0000)]
Merge "Print "Success" on success"

8 years agoHiding pinned stack tasks from overview
Winson Chung [Fri, 18 Dec 2015 15:03:12 +0000 (10:03 -0500)]
Hiding pinned stack tasks from overview

Bug: 25381158
Change-Id: Iad442b7f5dc49109529cb5dab2168b19837af6e3

8 years agoMerge "Show MTP device as root when it has multiple/zero storages."
Daichi Hirono [Fri, 18 Dec 2015 05:33:38 +0000 (05:33 +0000)]
Merge "Show MTP device as root when it has multiple/zero storages."

8 years agoShow MTP device as root when it has multiple/zero storages.
Daichi Hirono [Wed, 16 Dec 2015 06:03:19 +0000 (15:03 +0900)]
Show MTP device as root when it has multiple/zero storages.

The CL updates MtpDocumentsProvider#queryRoots so that it fetches
devices from Database as well as storages when we don't have storages
under the device, or when we have multiple storages under the device.

BUG=26120019
Change-Id: Id2b140f00a1d49fa4da7e17d2564dbbaa1795e1e

8 years agoresolve merge conflicts of 9887f2f50a to lmp-sprout-dev.
Robert Greenwalt [Fri, 18 Dec 2015 03:32:43 +0000 (19:32 -0800)]
resolve merge conflicts of 9887f2f50a to lmp-sprout-dev.

Change-Id: I240cac5cba106a7f0fab61e04af2c757b46b0bb0

8 years agoMerge "Fixed some issues with tasks with the same affinity in different stacks"
Wale Ogunwale [Fri, 18 Dec 2015 03:17:57 +0000 (03:17 +0000)]
Merge "Fixed some issues with tasks with the same affinity in different stacks"

8 years agoresolve merge conflicts of 6b9e5bf0c2 to master.
Bryce Lee [Fri, 18 Dec 2015 03:01:37 +0000 (19:01 -0800)]
resolve merge conflicts of 6b9e5bf0c2 to master.

Change-Id: Idada49313619533bfeb375ee232c942589457fa4

8 years agoFrameworks/base: Change android.util.Log multiline logging
Andreas Gampe [Mon, 14 Dec 2015 21:54:51 +0000 (13:54 -0800)]
Frameworks/base: Change android.util.Log multiline logging

To avoid long stacktraces being truncated, add code to split up
large chunks along line breaks.

Introduce LineBreakBufferedWriter to chunk up log output. Add a
core test for it.

Change-Id: I34160fbce853c21329f7fa109a9c42506b2066af

8 years agoMerge "Cleanup StubProvider a little."
Tomasz Mikolajewski [Fri, 18 Dec 2015 02:41:30 +0000 (02:41 +0000)]
Merge "Cleanup StubProvider a little."

8 years agoCleanup StubProvider a little.
Tomasz Mikolajewski [Fri, 18 Dec 2015 02:29:48 +0000 (11:29 +0900)]
Cleanup StubProvider a little.

Change-Id: I1d9f1c978850f466ff204bff97a152ba7919a096

8 years agoMerge "Fix typo in config.xml file" am: 738a557d54
Ying Wang [Fri, 18 Dec 2015 01:50:38 +0000 (01:50 +0000)]
Merge "Fix typo in config.xml file" am: 738a557d54
am: 84d1b18b7b

* commit '84d1b18b7be03f1e15b61adcb543d1a47dec5952':
  Fix typo in config.xml file

8 years agoFixed some issues with tasks with the same affinity in different stacks
Wale Ogunwale [Fri, 18 Dec 2015 01:15:29 +0000 (17:15 -0800)]
Fixed some issues with tasks with the same affinity in different stacks

- It is possible for tasks in different stacks to have the same root
affinity. This can be an issue when we are looking for the best task to
launch an acitivty into since there can be a better match in a different
stack based on class name. We now save the task matched by root afinity
and try to find a better match by class name. If we don't find a better
match we use the match based on root affinity.
- For pinned stack we don't allow root affinity matching as no other
task should be launching in the stack based on affinity.
- Correct ASS#moveActivityToStackLocked to use the passed in stack id
instead of the PINNED_STACK_ID.

Bug: 26015860
Change-Id: I6ec44bc97bf3c669c2305a58563518cf9bfc7804

8 years agoFix system watchdog timeout when reading too many usage events.
Mark Lu [Fri, 18 Dec 2015 00:18:45 +0000 (16:18 -0800)]
Fix system watchdog timeout when reading too many usage events.
am: 8877120173

* commit '8877120173fd62d6701822471f06fe84e992c2ae':
  Fix system watchdog timeout when reading too many usage events.

8 years agoMerge "Fix NPE in processForRemoteInput"
Adrian Roos [Fri, 18 Dec 2015 00:03:59 +0000 (00:03 +0000)]
Merge "Fix NPE in processForRemoteInput"

8 years agoFix system watchdog timeout when reading too many usage events.
Mark Lu [Fri, 6 Nov 2015 07:26:15 +0000 (15:26 +0800)]
Fix system watchdog timeout when reading too many usage events.

Symptom:
As issue link:
https://code.google.com/p/android/issues/detail?id=193100

RootCause:
UsageStatsService.onDisplayChanged executed in system main thread,
If calling UsageStatsManager.queryEvents with too many events before it
(i.e. in daily usage event file,
too many activity resume / pause events or configuration change
during monkey test),
System will be blocked then watchdog timeout.

Solution:
Let display listener executed in background thread handler

BUG: 25355086

Change-Id: Ic894d112612400ed8fb7ba843b3309fdc4f66fe1
(Cherrypicked from 4e59db328d8b0cc163d2e3eb0f7f3a108f20a58d)
(cherry picked from commit 7018f60b06fd0c647ebf13225320d7e15d02e075)

8 years agoSimplify ClipArea to prefer Rect args
Chris Craik [Thu, 17 Dec 2015 20:58:24 +0000 (12:58 -0800)]
Simplify ClipArea to prefer Rect args

Change-Id: I8af83d01dc5dd8009a0cd235dd8b59dab61d8560

8 years agoMerge "Correct drawLines annotations"
Chris Craik [Thu, 17 Dec 2015 23:31:30 +0000 (23:31 +0000)]
Merge "Correct drawLines annotations"

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f...
Robert Greenwalt [Thu, 17 Dec 2015 23:15:09 +0000 (15:15 -0800)]
Merge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f am: a652b7161d
am: c99c41781c

* commit 'c99c41781c69d2cfef411c531cf879e84ca62a74':
  Check permissions on getDeviceId.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7cc
Robert Greenwalt [Thu, 17 Dec 2015 23:13:36 +0000 (15:13 -0800)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6 am: 064eb2a7cc
am: 5d7bb383b8

* commit '5d7bb383b85aeaa60abeb6e3ad7ba854d6c40b37':
  Check permissions on getDeviceId.

8 years agoCorrect drawLines annotations
Chris Craik [Thu, 17 Dec 2015 23:11:24 +0000 (15:11 -0800)]
Correct drawLines annotations

Change-Id: I161e419a3ce427e10d802ba692679ad671e23dde

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f
Robert Greenwalt [Thu, 17 Dec 2015 23:09:11 +0000 (23:09 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe am: 628b8f1f5f
am: a652b7161d

* commit 'a652b7161d3069ba9b5650f1caf741d2588de141':
  Check permissions on getDeviceId.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6
Robert Greenwalt [Thu, 17 Dec 2015 23:07:22 +0000 (23:07 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev am: ef58df63d6
am: 064eb2a7cc

* commit '064eb2a7cc8b811671682018b82c2b63064971ef':
  Check permissions on getDeviceId.

8 years agoMerge "Send LOCKED_BOOT_COMPLETED to background apps."
Jeff Sharkey [Thu, 17 Dec 2015 23:04:54 +0000 (23:04 +0000)]
Merge "Send LOCKED_BOOT_COMPLETED to background apps."

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe
Robert Greenwalt [Thu, 17 Dec 2015 23:04:24 +0000 (23:04 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev am: 4557ef32fe
am: 628b8f1f5f

* commit '628b8f1f5f6d249e2f222602352d14c40d648d97':
  Check permissions on getDeviceId.

8 years agoMerge "Make printing framework encryption-aware."
Jeff Sharkey [Thu, 17 Dec 2015 23:04:18 +0000 (23:04 +0000)]
Merge "Make printing framework encryption-aware."

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev
Robert Greenwalt [Thu, 17 Dec 2015 23:01:33 +0000 (23:01 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev
am: ef58df63d6

* commit 'ef58df63d6ba9d56620b6a440f15d0e07c842a44':
  Check permissions on getDeviceId.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev
Robert Greenwalt [Thu, 17 Dec 2015 22:58:14 +0000 (22:58 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev
am: 4557ef32fe

* commit '4557ef32fe36b6f7ef7918052400d18af51d452f':
  Check permissions on getDeviceId.

8 years agoMerge "Check permissions on getDeviceId." into mnc-dr-dev
Robert Greenwalt [Thu, 17 Dec 2015 22:52:58 +0000 (22:52 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dr-dev

8 years agoMerge "Check permissions on getDeviceId."
Robert Greenwalt [Thu, 17 Dec 2015 22:52:57 +0000 (22:52 +0000)]
Merge "Check permissions on getDeviceId."

8 years agoMerge "Check permissions on getDeviceId." into mnc-dev
Robert Greenwalt [Thu, 17 Dec 2015 22:52:56 +0000 (22:52 +0000)]
Merge "Check permissions on getDeviceId." into mnc-dev

8 years agoPrint "Success" on success
Todd Kennedy [Thu, 17 Dec 2015 22:46:39 +0000 (14:46 -0800)]
Print "Success" on success

Change-Id: I274e2aa5d840fee4f57f5a4f2f73af01f0587847

8 years agoSend LOCKED_BOOT_COMPLETED to background apps.
Jeff Sharkey [Thu, 17 Dec 2015 22:38:20 +0000 (15:38 -0700)]
Send LOCKED_BOOT_COMPLETED to background apps.

This mirrors how we're treating the normal BOOT_COMPLETED broadcast.

Bug: 26151835
Change-Id: Ibe1df0df8b89aafbe9af073e14fdd428710a6a40

8 years agoMerge changes Iac20cc7b,I87ce6320
Winson Chung [Thu, 17 Dec 2015 22:33:54 +0000 (22:33 +0000)]
Merge changes Iac20cc7b,I87ce6320

* changes:
  Fixing potential issue with wrong task descriptions being loaded.
  Refactoring to AnimatedEvent.

8 years agoFixing potential issue with wrong task descriptions being loaded.
Winson Chung [Thu, 17 Dec 2015 17:09:02 +0000 (12:09 -0500)]
Fixing potential issue with wrong task descriptions being loaded.

- Also cleaning up the Task to remove some confusing nomenclature
  related to task properties.  Now there is a single icon and title,
  and we keep a copy of the TaskDescription for future icon loading.
- Also changing a few cases where we should be calling isFreeformTask()

Bug: 26221779
Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a

8 years agoMerge "Start at the end of the IME dialog list, not one past."
Michael Wright [Thu, 17 Dec 2015 22:27:35 +0000 (22:27 +0000)]
Merge "Start at the end of the IME dialog list, not one past."

8 years agoStart at the end of the IME dialog list, not one past.
Michael Wright [Thu, 17 Dec 2015 22:19:46 +0000 (17:19 -0500)]
Start at the end of the IME dialog list, not one past.

Bug: 26240994
Change-Id: Ibc20474930d8c796edb3a5d4b75571a045f0a8dd

8 years agoFix NPE in processForRemoteInput
Adrian Roos [Thu, 17 Dec 2015 00:47:02 +0000 (16:47 -0800)]
Fix NPE in processForRemoteInput

Bug: 26168336
Change-Id: I010fb22caee2edd85cc0263abeb729e6b952ed01

8 years agoUse buffering when reading preferred apps
Fyodor Kupolov [Thu, 17 Dec 2015 22:16:51 +0000 (14:16 -0800)]
Use buffering when reading preferred apps

On my test, a buffered version takes 10ms in contrast to 80 ms.

Bug: 26237300
Change-Id: I91ae05798672d243873e7447261156d5ebf3b045

8 years agoMake printing framework encryption-aware.
Jeff Sharkey [Thu, 17 Dec 2015 22:12:22 +0000 (15:12 -0700)]
Make printing framework encryption-aware.

Only create UserState objects when a user has been unlocked, meaning
we can connect to the spooler.  Ignore package events that occur
while a user is locked, since we'll kick off updateIfNeededLocked()
when that user is eventually unlocked.

In all other cases, throw if someone tries obtaining UserState for
a still-locked user.  This should help catch any edge cases in the
system, and communicate clearly through public APIs that printing
isn't available until the user is unlocked.

Bug: 26246836
Change-Id: If15744621890baee206d355484fe20933afc65d8

8 years agoMerge "Allow users to set app-wide Importance default"
Julia Reynolds [Thu, 17 Dec 2015 22:12:04 +0000 (22:12 +0000)]
Merge "Allow users to set app-wide Importance default"

8 years agoMerge "Use correct SparseArray access method when iterating over it."
Filip Gruszczynski [Thu, 17 Dec 2015 21:54:00 +0000 (21:54 +0000)]
Merge "Use correct SparseArray access method when iterating over it."

8 years agoAllow users to set app-wide Importance default
Julia Reynolds [Thu, 17 Dec 2015 13:32:48 +0000 (08:32 -0500)]
Allow users to set app-wide Importance default

And the associated ui changes to the notification guts.

Bug: 22451710
Change-Id: I4e0b11e7b24d70b039a432c5e6cd76c9c7cc547c

8 years agoSmall fixes in TileService
Jason Monk [Thu, 17 Dec 2015 21:43:07 +0000 (16:43 -0500)]
Small fixes in TileService

Change-Id: I4d10c43d8e40697d144802067fcd4f95d866e4e0

8 years agoMerge "Make AppWidgets encryption-aware."
Jeff Sharkey [Thu, 17 Dec 2015 21:28:06 +0000 (21:28 +0000)]
Merge "Make AppWidgets encryption-aware."

8 years agoMerge "Add temporary switch for new renderer in JNI"
Chris Craik [Thu, 17 Dec 2015 21:24:51 +0000 (21:24 +0000)]
Merge "Add temporary switch for new renderer in JNI"

8 years agoMake AppWidgets encryption-aware.
Jeff Sharkey [Thu, 17 Dec 2015 18:19:00 +0000 (11:19 -0700)]
Make AppWidgets encryption-aware.

Only parse and load AppWidget configuration details after a user has
been unlocked.  Yell loudly if someone accidentally tries loading
data for a locked user.

Tidy up protected broadcast logic a bit more to handle persistent
processes.  Add backwards compatible behavior for APPWIDGET_UPDATE
broadcast simliar to APPWIDGET_CONFIGURE, since some apps are sending
it to themselves.

Add hidden USER_HANDLE extra to a handful of broadcasts to make
logic more consistent.

Bug: 2624704926219971
Change-Id: I54e4f2e343488571f9baa1a316962f41186c1a2c

8 years agoAdd temporary switch for new renderer in JNI
Chris Craik [Wed, 16 Dec 2015 23:57:21 +0000 (15:57 -0800)]
Add temporary switch for new renderer in JNI

bug:22480459

Change-Id: I6cb19332cb09650f20b1cc2da3473a2618a50b1e

8 years agoMerge "Clamp action bar button height to default minimum height"
Alan Viverette [Thu, 17 Dec 2015 21:18:25 +0000 (21:18 +0000)]
Merge "Clamp action bar button height to default minimum height"

8 years agoUse correct SparseArray access method when iterating over it.
Filip Gruszczynski [Thu, 17 Dec 2015 21:05:11 +0000 (13:05 -0800)]
Use correct SparseArray access method when iterating over it.

The current code works with a single display, because that display will
have id 0, so the old code will work (get(0) will return that display).

Bug: 26089885
Change-Id: If685c0ff006f353e6d56fd144acbce4d7f1e835b

8 years agoClamp action bar button height to default minimum height
Alan Viverette [Thu, 17 Dec 2015 20:59:30 +0000 (15:59 -0500)]
Clamp action bar button height to default minimum height

Previously, the fixed size of 56dp would bump the landscape action bar
measured height up to 56dp but leave the minHeight at 48dp, which would
cause the buttons to be aligned incorrectly. Now the buttons are scaled
to fit the action bar.

Change-Id: I47801d1fb072d8801b7bbae5c42be3bdfb819404

8 years agoMerge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev am:...
Bryce Lee [Thu, 17 Dec 2015 19:56:12 +0000 (19:56 +0000)]
Merge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev am: cf91b45c05 am: 9eaa59a1ff
am: 132814f20d

* commit '132814f20d2e0920c419042d55c8e50ace827dba':
  Add setting for declaring disabled bluetooth profiles.

8 years agoMerge "Use accessor methods to get/set visibleBehindActivity"
Wale Ogunwale [Thu, 17 Dec 2015 19:54:40 +0000 (19:54 +0000)]
Merge "Use accessor methods to get/set visibleBehindActivity"

8 years agoMerge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev am:...
Bryce Lee [Thu, 17 Dec 2015 19:51:17 +0000 (19:51 +0000)]
Merge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev am: cf91b45c05
am: 9eaa59a1ff

* commit '9eaa59a1ff315bbf4d9809b30bf7777aa88e6bee':
  Add setting for declaring disabled bluetooth profiles.

8 years agoMerge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev
Bryce Lee [Thu, 17 Dec 2015 19:45:17 +0000 (11:45 -0800)]
Merge "Add setting for declaring disabled bluetooth profiles." into cw-e-dev
am: cf91b45c05

* commit 'cf91b45c05358c81ddaccf3ddd4b1ea6d5295faa':
  Add setting for declaring disabled bluetooth profiles.