OSDN Git Service

android-x86/frameworks-base.git
9 years agoam e2cd8419: Merge "Fix pattern lock for accessibility" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 21:37:08 +0000 (21:37 +0000)]
am e2cd8419: Merge "Fix pattern lock for accessibility" into mnc-dev

* commit 'e2cd84196e1266200f906b5d721640217fc2e6f9':
  Fix pattern lock for accessibility

9 years agoMerge "Fix pattern lock for accessibility" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 21:23:25 +0000 (21:23 +0000)]
Merge "Fix pattern lock for accessibility" into mnc-dev

9 years agoFix pattern lock for accessibility
Adrian Roos [Mon, 27 Jul 2015 20:49:53 +0000 (13:49 -0700)]
Fix pattern lock for accessibility

- remove the content description in Keyguard
- only show virtual views when pattern is in progress
- add a content description when the pattern is not in progress

Bug: 22646748
Change-Id: Id32a37c4c74c82b547cee8861b2856fa0a08c41c

9 years agoam 93184eef: Merge "DO NOT MERGE: Don\'t backup night mode setting" into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 20:58:38 +0000 (20:58 +0000)]
am 93184eef: Merge "DO NOT MERGE: Don\'t backup night mode setting" into mnc-dev

* commit '93184eef410da6bb958d22e1dc90f3fddabc9369':
  DO NOT MERGE: Don't backup night mode setting

9 years agoam 726d47b7: Merge "Fix and deprecate lock pattern related settings" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 20:58:32 +0000 (20:58 +0000)]
am 726d47b7: Merge "Fix and deprecate lock pattern related settings" into mnc-dev

* commit '726d47b7716807f740ceea6ea71c46b20ecb8ba7':
  Fix and deprecate lock pattern related settings

9 years agoMerge "DO NOT MERGE: Don't backup night mode setting" into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 20:46:08 +0000 (20:46 +0000)]
Merge "DO NOT MERGE: Don't backup night mode setting" into mnc-dev

9 years agoMerge "Fix and deprecate lock pattern related settings" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 20:39:27 +0000 (20:39 +0000)]
Merge "Fix and deprecate lock pattern related settings" into mnc-dev

9 years agoDO NOT MERGE: Don't backup night mode setting
Alan Viverette [Wed, 29 Jul 2015 20:22:03 +0000 (16:22 -0400)]
DO NOT MERGE: Don't backup night mode setting

Bug: 22824325
Change-Id: I7a244f416e1aa258735eea09858e3c202e8c8945

9 years agoam 47a74e7e: Merge "Ensure maxHeight is at least 0 during measureChildHorizontal...
Alan Viverette [Wed, 29 Jul 2015 20:10:21 +0000 (20:10 +0000)]
am 47a74e7e: Merge "Ensure maxHeight is at least 0 during measureChildHorizontal()" into mnc-dev

* commit '47a74e7e2b45d9ec462f47f6741c381c478b4156':
  Ensure maxHeight is at least 0 during measureChildHorizontal()

9 years agoam 5c380efa: Merge "Always distribute excess space in LinearLayout measurement" into...
Alan Viverette [Wed, 29 Jul 2015 20:10:16 +0000 (20:10 +0000)]
am 5c380efa: Merge "Always distribute excess space in LinearLayout measurement" into mnc-dev

* commit '5c380efa2c0bf3617aedbb9270fa02cce59c7935':
  Always distribute excess space in LinearLayout measurement

9 years agoam b86048da: Merge "Always return content Uri for downloads." into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 20:10:09 +0000 (20:10 +0000)]
am b86048da: Merge "Always return content Uri for downloads." into mnc-dev

* commit 'b86048dab3df3e4a8f05de170b38c189243de898':
  Always return content Uri for downloads.

9 years agoMerge "Ensure maxHeight is at least 0 during measureChildHorizontal()" into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 20:02:41 +0000 (20:02 +0000)]
Merge "Ensure maxHeight is at least 0 during measureChildHorizontal()" into mnc-dev

9 years agoMerge "Always distribute excess space in LinearLayout measurement" into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 20:01:52 +0000 (20:01 +0000)]
Merge "Always distribute excess space in LinearLayout measurement" into mnc-dev

9 years agoMerge "Always return content Uri for downloads." into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 19:59:36 +0000 (19:59 +0000)]
Merge "Always return content Uri for downloads." into mnc-dev

9 years agoam c3cc344d: Merge "Release text when finishing StaticLayout.Builder" into mnc-dev
Raph Levien [Wed, 29 Jul 2015 19:58:30 +0000 (19:58 +0000)]
am c3cc344d: Merge "Release text when finishing StaticLayout.Builder" into mnc-dev

* commit 'c3cc344d12ff4a952af8842fab71ef2f6df5e340':
  Release text when finishing StaticLayout.Builder

9 years agoEnsure maxHeight is at least 0 during measureChildHorizontal()
Alan Viverette [Wed, 29 Jul 2015 19:55:20 +0000 (15:55 -0400)]
Ensure maxHeight is at least 0 during measureChildHorizontal()

Bug: 22613599
Change-Id: I11f70ed1f7221874bef0f00f006e0ae294c4bdfa

9 years agoAlways distribute excess space in LinearLayout measurement
Alan Viverette [Wed, 29 Jul 2015 19:53:53 +0000 (15:53 -0400)]
Always distribute excess space in LinearLayout measurement

Previously, excess space was added to existing measured dimensions.
This consistently resulted in incorrect allocation of excess space,
since the delta already included the height of any measured children
rather than just the excess space itself.

This CL ensures that excess space is always distributed according to the
layout weights.

Bug: 22810327
Change-Id: I482a553c469169769cc40ab3d88b4a44023f3eb5

9 years agoMerge "Release text when finishing StaticLayout.Builder" into mnc-dev
Raph Levien [Wed, 29 Jul 2015 19:44:21 +0000 (19:44 +0000)]
Merge "Release text when finishing StaticLayout.Builder" into mnc-dev

9 years agoRelease text when finishing StaticLayout.Builder
Raph Levien [Wed, 29 Jul 2015 19:34:13 +0000 (12:34 -0700)]
Release text when finishing StaticLayout.Builder

DynamicLayout reuses a StaticLayout.Builder object to avoid having to
allocate. There is a "finish" method that releases any expensive
internal state of the builder object, but it didn't release a
reference to the text object (which in turn may contain references to
lots of other things, especially if it's a Spannable).

This patch releases the text, as well as a few other arrays, at time
of finish.

Bug: 22822416
Change-Id: Icc8b6cd41a9a2d11689df7bd1b9f524c6524f706

9 years agoam 25782ef8: Merge "Added stack id to TaskRecord dump." into mnc-dev
Wale Ogunwale [Wed, 29 Jul 2015 19:23:48 +0000 (19:23 +0000)]
am 25782ef8: Merge "Added stack id to TaskRecord dump." into mnc-dev

* commit '25782ef834514d6e24a0f8aaa463683d1a7f95f3':
  Added stack id to TaskRecord dump.

9 years agoam 944b6362: Merge "Add a command to register SIM Phone account." into mnc-dev
Roshan Pius [Wed, 29 Jul 2015 19:14:40 +0000 (19:14 +0000)]
am 944b6362: Merge "Add a command to register SIM Phone account." into mnc-dev

* commit '944b63624b40c96f4a31af750e1678c0b9c88ad1':
  Add a command to register SIM Phone account.

9 years agoMerge "Added stack id to TaskRecord dump." into mnc-dev
Wale Ogunwale [Wed, 29 Jul 2015 19:11:44 +0000 (19:11 +0000)]
Merge "Added stack id to TaskRecord dump." into mnc-dev

9 years agoMerge "Add a command to register SIM Phone account." into mnc-dev
Roshan Pius [Wed, 29 Jul 2015 18:54:04 +0000 (18:54 +0000)]
Merge "Add a command to register SIM Phone account." into mnc-dev

9 years agoam 75d958c4: Merge "Disable launching assist during setup" into mnc-dev
Maurice Lam [Wed, 29 Jul 2015 18:43:02 +0000 (18:43 +0000)]
am 75d958c4: Merge "Disable launching assist during setup" into mnc-dev

* commit '75d958c40e67c338d65df185ce1f09b164c58d49':
  Disable launching assist during setup

9 years agoAdded stack id to TaskRecord dump.
Wale Ogunwale [Wed, 29 Jul 2015 18:38:01 +0000 (11:38 -0700)]
Added stack id to TaskRecord dump.

Bug: 22812470
Change-Id: Ic8f3550e61ad1cf175423abe900c5f60686338a2

9 years agoMerge "Disable launching assist during setup" into mnc-dev
Maurice Lam [Wed, 29 Jul 2015 18:25:16 +0000 (18:25 +0000)]
Merge "Disable launching assist during setup" into mnc-dev

9 years agoam a42e6816: Merge "Change NTP polling interval from 10 days to 24 hours." into mnc-dev
Christine Hallstrom [Wed, 29 Jul 2015 18:18:26 +0000 (18:18 +0000)]
am a42e6816: Merge "Change NTP polling interval from 10 days to 24 hours." into mnc-dev

* commit 'a42e6816512e637e5322be8c66d3cc5eff840647':
  Change NTP polling interval from 10 days to 24 hours.

9 years agoam 3986360a: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 18:18:22 +0000 (18:18 +0000)]
am 3986360a: (-s ours) Import translations. DO NOT MERGE

* commit '3986360a752563e78b9d06f5a9ee7c4d61b979c8':
  Import translations. DO NOT MERGE

9 years agoam 9352af2a: Merge "Remove dependencies on the package installer\'s package name...
Svetoslav Ganov [Wed, 29 Jul 2015 18:17:56 +0000 (18:17 +0000)]
am 9352af2a: Merge "Remove dependencies on the package installer\'s package name" into mnc-dev

* commit '9352af2a9ef95e3f577a04474625249d3da62a04':
  Remove dependencies on the package installer's package name

9 years agoam 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev
Sailesh Nepal [Wed, 29 Jul 2015 18:00:05 +0000 (18:00 +0000)]
am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev

* commit '6b96de8dae8be99f75c86c795672905e10fca153':
  Default permissions for sim call manager

9 years agoam a7a65ee4: Merge "Allow non system to set perm policy flags - needed by the install...
Svetoslav Ganov [Wed, 29 Jul 2015 18:00:01 +0000 (18:00 +0000)]
am a7a65ee4: Merge "Allow non system to set perm policy flags - needed by the installer" into mnc-dev

* commit 'a7a65ee4c5fb879fee258c63b92e49ab4571bbdb':
  Allow non system to set perm policy flags - needed by the installer

9 years agoMerge "Change NTP polling interval from 10 days to 24 hours." into mnc-dev
Christine Hallstrom [Wed, 29 Jul 2015 17:59:23 +0000 (17:59 +0000)]
Merge "Change NTP polling interval from 10 days to 24 hours." into mnc-dev

9 years agoam 120a86ac: Merge "Do not reset runtime permissions on upgrade" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 17:58:20 +0000 (17:58 +0000)]
am 120a86ac: Merge "Do not reset runtime permissions on upgrade" into mnc-dev

* commit '120a86ac6f4ac6d2dfdef01dd1fbefdcd1cc8735':
  Do not reset runtime permissions on upgrade

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 17:57:52 +0000 (10:57 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Remove dependencies on the package installer's package name" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 17:54:23 +0000 (17:54 +0000)]
Merge "Remove dependencies on the package installer's package name" into mnc-dev

9 years agoChange NTP polling interval from 10 days to 24 hours.
Christine Hallstrom [Tue, 14 Jul 2015 21:01:51 +0000 (14:01 -0700)]
Change NTP polling interval from 10 days to 24 hours.

Bug: 22820525
Change-Id: Ifb5da0a19854d751d00889e4c9d075e909414d62

9 years agoMerge "Default permissions for sim call manager" into mnc-dev
Sailesh Nepal [Wed, 29 Jul 2015 17:39:37 +0000 (17:39 +0000)]
Merge "Default permissions for sim call manager" into mnc-dev

9 years agoMerge "Allow non system to set perm policy flags - needed by the installer" into...
Svetoslav Ganov [Wed, 29 Jul 2015 17:38:29 +0000 (17:38 +0000)]
Merge "Allow non system to set perm policy flags - needed by the installer" into mnc-dev

9 years agoMerge "Do not reset runtime permissions on upgrade" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 17:37:50 +0000 (17:37 +0000)]
Merge "Do not reset runtime permissions on upgrade" into mnc-dev

9 years agoam eda1cc50: Merge "Work on issue #22765972: Binder transactions running out of addre...
Dianne Hackborn [Wed, 29 Jul 2015 17:25:15 +0000 (17:25 +0000)]
am eda1cc50: Merge "Work on issue #22765972: Binder transactions running out of address..." into mnc-dev

* commit 'eda1cc50cead674287616e6a852f8f281b70b9f5':
  Work on issue #22765972: Binder transactions running out of address...

9 years agoam 64ac302f: Merge "Send a public broadcast when the device owner is set." into mnc-dev
Nicolas Prévot [Wed, 29 Jul 2015 17:25:10 +0000 (17:25 +0000)]
am 64ac302f: Merge "Send a public broadcast when the device owner is set." into mnc-dev

* commit '64ac302f0c10de0016689b234ba01c1c81da0061':
  Send a public broadcast when the device owner is set.

9 years agoAlways return content Uri for downloads.
Jeff Sharkey [Wed, 29 Jul 2015 17:15:34 +0000 (10:15 -0700)]
Always return content Uri for downloads.

Now that we're relying more heavily on Uri permission grants between
apps, we should always return content:// Uris.

Bug: 22820206
Change-Id: Ie9603da09944dc594ea5dde2db04455f57d6f103

9 years agoMerge "Work on issue #22765972: Binder transactions running out of address..." into...
Dianne Hackborn [Wed, 29 Jul 2015 17:05:58 +0000 (17:05 +0000)]
Merge "Work on issue #22765972: Binder transactions running out of address..." into mnc-dev

9 years agoMerge "Send a public broadcast when the device owner is set." into mnc-dev
Nicolas Prévot [Wed, 29 Jul 2015 16:59:46 +0000 (16:59 +0000)]
Merge "Send a public broadcast when the device owner is set." into mnc-dev

9 years agoam 1bd310e1: Merge "import more metrics enums" into mnc-dev
Chris Wren [Wed, 29 Jul 2015 16:11:26 +0000 (16:11 +0000)]
am 1bd310e1: Merge "import more metrics enums" into mnc-dev

* commit '1bd310e18c50d4fd81207a3e2fe61cc694ee7607':
  import more metrics enums

9 years agoAllow non system to set perm policy flags - needed by the installer
Svet Ganov [Wed, 29 Jul 2015 16:09:12 +0000 (09:09 -0700)]
Allow non system to set perm policy flags - needed by the installer

My previous change overtightened which permission flags can be changed
by a non-system caller. This took away the capability of the package
installer to set policy flags which it needs to implement the auto
grant/deny behavior.

bug:22776149

Change-Id: Ic2a82bedc413fc91360c3bcec355fac456f0fccf

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 29 Jul 2015 15:55:17 +0000 (15:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 15:48:35 +0000 (10:48 -0500)]
Import translations. DO NOT MERGE

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

9 years agoDo not reset runtime permissions on upgrade
Svet Ganov [Wed, 29 Jul 2015 15:39:41 +0000 (08:39 -0700)]
Do not reset runtime permissions on upgrade

bug:22772831

Change-Id: Ic7113f48bf4fe2fe2f50bf94c4b6dbb2130b6621

9 years agoRemove dependencies on the package installer's package name
Svet Ganov [Wed, 29 Jul 2015 15:33:42 +0000 (08:33 -0700)]
Remove dependencies on the package installer's package name

bug:22700053

Change-Id: I8540eb8577fbec84e1a67e31e1c31ba654c828a4

9 years agoresolved conflicts for merge of 30813942 to mnc-dr-dev
Paul Jensen [Wed, 29 Jul 2015 15:31:53 +0000 (11:31 -0400)]
resolved conflicts for merge of 30813942 to mnc-dr-dev

Change-Id: I8b33797528f16596f0d350ad38458baa51fcacf6

9 years agoMerge "import more metrics enums" into mnc-dev
Chris Wren [Wed, 29 Jul 2015 14:57:15 +0000 (14:57 +0000)]
Merge "import more metrics enums" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 29 Jul 2015 13:55:41 +0000 (13:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 29 Jul 2015 13:55:26 +0000 (13:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 29 Jul 2015 13:53:51 +0000 (13:53 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoMerge "Disable WiFi autojoin when user decides via "Stay connected?" dialog" into...
Paul Jensen [Wed, 29 Jul 2015 13:52:02 +0000 (13:52 +0000)]
Merge "Disable WiFi autojoin when user decides via "Stay connected?" dialog" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 13:47:22 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 13:47:13 +0000 (06:47 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 13:44:19 +0000 (06:44 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 13:43:43 +0000 (06:43 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam 7157c2ca: Merge "Revert "Call getInstanceForPackage instead of creating a new...
Narayan Kamath [Wed, 29 Jul 2015 10:08:04 +0000 (10:08 +0000)]
am 7157c2ca: Merge "Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."" into mnc-dev

* commit '7157c2ca81cb2c942a1e94cf1a0344babf6a8bd6':
  Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."

9 years agoMerge "Revert "Call getInstanceForPackage instead of creating a new SensorManager...
Narayan Kamath [Wed, 29 Jul 2015 09:41:22 +0000 (09:41 +0000)]
Merge "Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."" into mnc-dev

9 years agoRevert "Call getInstanceForPackage instead of creating a new SensorManager instance."
Narayan Kamath [Wed, 29 Jul 2015 09:35:46 +0000 (09:35 +0000)]
Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."

This reverts commit 5967ddbf05f146bdb6744207e3daed1aa76fc637.

Change-Id: I6d58129585a30d7c2ef39c8cbe796fd696c93f56

9 years agoam 50184147: Merge "Resource for setting default NFC payment component." into mnc-dev
Martijn Coenen [Wed, 29 Jul 2015 08:10:18 +0000 (08:10 +0000)]
am 50184147: Merge "Resource for setting default NFC payment component." into mnc-dev

* commit '50184147fc35d5d441ae24661531819cc6cc025f':
  Resource for setting default NFC payment component.

9 years agoMerge "Resource for setting default NFC payment component." into mnc-dev
Martijn Coenen [Wed, 29 Jul 2015 07:54:29 +0000 (07:54 +0000)]
Merge "Resource for setting default NFC payment component." into mnc-dev

9 years agoDefault permissions for sim call manager
Sailesh Nepal [Wed, 29 Jul 2015 02:22:14 +0000 (19:22 -0700)]
Default permissions for sim call manager

This CL adds the following permissions by default to the
SIM call manager:
 - microphone
 - phone

BUG: 22790160
Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f

9 years agoam a7b4d6dc: Merge "Keymaster digest/padding NONE no longer means ANY." into mnc-dev
Shawn Willden [Wed, 29 Jul 2015 04:17:51 +0000 (04:17 +0000)]
am a7b4d6dc: Merge "Keymaster digest/padding NONE no longer means ANY." into mnc-dev

* commit 'a7b4d6dc1017bcb2e6144fa5eb9d2ed07093ffa8':
  Keymaster digest/padding NONE no longer means ANY.

9 years agoMerge "Keymaster digest/padding NONE no longer means ANY." into mnc-dev
Shawn Willden [Wed, 29 Jul 2015 03:58:39 +0000 (03:58 +0000)]
Merge "Keymaster digest/padding NONE no longer means ANY." into mnc-dev

9 years agoam b8040265: Merge "Give secondary users read-only physical cards." into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 01:34:42 +0000 (01:34 +0000)]
am b8040265: Merge "Give secondary users read-only physical cards." into mnc-dev

* commit 'b8040265dd0d5a2a96e0850623647dad2f528db1':
  Give secondary users read-only physical cards.

9 years agoMerge "Give secondary users read-only physical cards." into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 01:19:43 +0000 (01:19 +0000)]
Merge "Give secondary users read-only physical cards." into mnc-dev

9 years agoWork on issue #22765972: Binder transactions running out of address...
Dianne Hackborn [Wed, 29 Jul 2015 01:07:13 +0000 (18:07 -0700)]
Work on issue #22765972: Binder transactions running out of address...

...space causing package manager to fail

Lower the maximum IPC size we use in various places, to keep it
under the threshold of becoming dangerous.  Now everything tries
to keep not much more than 64k.

Change-Id: I814013097966a7843179e5d581bfdb254c5ae318

9 years agoam 02022b70: Merge "media: fix estimateFrameRatesFor to use correct ratio" into mnc-dev
Ronghua Wu [Wed, 29 Jul 2015 01:00:50 +0000 (01:00 +0000)]
am 02022b70: Merge "media: fix estimateFrameRatesFor to use correct ratio" into mnc-dev

* commit '02022b70bef7d6964bc8043385531d1aa97fb15b':
  media: fix estimateFrameRatesFor to use correct ratio

9 years agoam b310c894: Merge "Fix issue #22802691: APR: NPE in ActivityRecord" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 01:00:45 +0000 (01:00 +0000)]
am b310c894: Merge "Fix issue #22802691: APR: NPE in ActivityRecord" into mnc-dev

* commit 'b310c8945330a0a94abae34451e0bdc227f52035':
  Fix issue #22802691: APR: NPE in ActivityRecord

9 years agoam 5b009d52: Merge "Fix issue #22802617: APR: spurious wtf when restarting a persiste...
Dianne Hackborn [Wed, 29 Jul 2015 01:00:41 +0000 (01:00 +0000)]
am 5b009d52: Merge "Fix issue #22802617: APR: spurious wtf when restarting a persistent process" into mnc-dev

* commit '5b009d523c6ad89f946e4a19f3fdba3c63bcf1f5':
  Fix issue #22802617: APR: spurious wtf when restarting a persistent process

9 years agoam b492ced8: Merge "Fix issue #22802782: APR: NPE in package manager with bad intent...
Dianne Hackborn [Wed, 29 Jul 2015 01:00:37 +0000 (01:00 +0000)]
am b492ced8: Merge "Fix issue #22802782: APR: NPE in package manager with bad intent data" into mnc-dev

* commit 'b492ced89eaf38b2b9962dbfae2435dd242abf19':
  Fix issue #22802782: APR: NPE in package manager with bad intent data

9 years agoMerge "media: fix estimateFrameRatesFor to use correct ratio" into mnc-dev
Ronghua Wu [Wed, 29 Jul 2015 00:53:12 +0000 (00:53 +0000)]
Merge "media: fix estimateFrameRatesFor to use correct ratio" into mnc-dev

9 years agoMerge "Fix issue #22802691: APR: NPE in ActivityRecord" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:47:33 +0000 (00:47 +0000)]
Merge "Fix issue #22802691: APR: NPE in ActivityRecord" into mnc-dev

9 years agoMerge "Fix issue #22802617: APR: spurious wtf when restarting a persistent process...
Dianne Hackborn [Wed, 29 Jul 2015 00:46:20 +0000 (00:46 +0000)]
Merge "Fix issue #22802617: APR: spurious wtf when restarting a persistent process" into mnc-dev

9 years agoMerge "Fix issue #22802782: APR: NPE in package manager with bad intent data" into...
Dianne Hackborn [Wed, 29 Jul 2015 00:45:18 +0000 (00:45 +0000)]
Merge "Fix issue #22802782: APR: NPE in package manager with bad intent data" into mnc-dev

9 years agoam c96e6f19: Merge "BatteryStats: Use proper power calculator when energy data is...
Adam Lesinski [Wed, 29 Jul 2015 00:41:03 +0000 (00:41 +0000)]
am c96e6f19: Merge "BatteryStats: Use proper power calculator when energy data is received" into mnc-dev

* commit 'c96e6f19937ac36c8147a52863a43b35895aeb0b':
  BatteryStats: Use proper power calculator when energy data is received

9 years agoam fbcbad13: Merge "Add sizes to SysUI tests" into mnc-dev
Jason Monk [Wed, 29 Jul 2015 00:40:58 +0000 (00:40 +0000)]
am fbcbad13: Merge "Add sizes to SysUI tests" into mnc-dev

* commit 'fbcbad138d1b4c55e86ff671821b4feb7fc48f50':
  Add sizes to SysUI tests

9 years agoam 15938235: Merge "Call getInstanceForPackage instead of creating a new SensorManage...
Aravind Akella [Wed, 29 Jul 2015 00:40:53 +0000 (00:40 +0000)]
am 15938235: Merge "Call getInstanceForPackage instead of creating a new SensorManager instance." into mnc-dev

* commit '15938235d25a879ebb000cb3671fd75cb092e981':
  Call getInstanceForPackage instead of creating a new SensorManager instance.

9 years agoFix issue #22802691: APR: NPE in ActivityRecord
Dianne Hackborn [Wed, 29 Jul 2015 00:40:06 +0000 (17:40 -0700)]
Fix issue #22802691: APR: NPE in ActivityRecord

Change-Id: I8d6265589c97edc7a1d6c63f98c7252a439e62da

9 years agoMerge "BatteryStats: Use proper power calculator when energy data is received" into...
Adam Lesinski [Wed, 29 Jul 2015 00:34:38 +0000 (00:34 +0000)]
Merge "BatteryStats: Use proper power calculator when energy data is received" into mnc-dev

9 years agoMerge "Add sizes to SysUI tests" into mnc-dev
Jason Monk [Wed, 29 Jul 2015 00:31:16 +0000 (00:31 +0000)]
Merge "Add sizes to SysUI tests" into mnc-dev

9 years agoFix issue #22802782: APR: NPE in package manager with bad intent data
Dianne Hackborn [Wed, 29 Jul 2015 00:30:59 +0000 (17:30 -0700)]
Fix issue #22802782: APR: NPE in package manager with bad intent data

If they pass in a null data for the intent matching, don't throw up
on it, just consider it to not match.

Change-Id: I30b6af49989eb8b5c2e585ce5d96416f0daff3a8

9 years agoFix issue #22802617: APR: spurious wtf when restarting a persistent process
Dianne Hackborn [Wed, 29 Jul 2015 00:22:46 +0000 (17:22 -0700)]
Fix issue #22802617: APR: spurious wtf when restarting a persistent process

Just don't do a wtf here, it isn't really wrong (though it isn't really
right, but at this point in a release it is right enough!).

Change-Id: Ic38a2e27556224cf8868f1fa18b4810929d67fcc

9 years agoMerge "Call getInstanceForPackage instead of creating a new SensorManager instance...
Aravind Akella [Wed, 29 Jul 2015 00:21:18 +0000 (00:21 +0000)]
Merge "Call getInstanceForPackage instead of creating a new SensorManager instance." into mnc-dev

9 years agoBatteryStats: Use proper power calculator when energy data is received
Adam Lesinski [Wed, 29 Jul 2015 00:11:29 +0000 (17:11 -0700)]
BatteryStats: Use proper power calculator when energy data is received

We check for the presence of energy data when determining whether to use
the WiFiPowerCalculator or WiFiPowerEstimator. Since we can receive this data
later, we need to switch to the WiFiPowerCalculator if we weren't using it before.

We can't ask the hardware if it supports energy data because that would involve a call into
WiFiManagerService, which can cause a deadlock if we are holding the BatteryStatsService lock
while using this class.

Bug:22776010
Change-Id: Id685d487c56595eab1d382f49da9417a423bb517

9 years agoam 0d210f63: Animation for touch, wake and unlock
Jorim Jaggi [Tue, 28 Jul 2015 23:19:39 +0000 (23:19 +0000)]
am 0d210f63: Animation for touch, wake and unlock

* commit '0d210f6395072db4a4c53d4cb8fac4a59a3965b4':
  Animation for touch, wake and unlock

9 years agoam 751a96a0: Merge "Don\'t redundantly call transport.finishRestore()" into mnc-dev
Chris Tate [Tue, 28 Jul 2015 23:19:34 +0000 (23:19 +0000)]
am 751a96a0: Merge "Don\'t redundantly call transport.finishRestore()" into mnc-dev

* commit '751a96a040ada09199ca3356d9a515ec090d1237':
  Don't redundantly call transport.finishRestore()

9 years agoAnimation for touch, wake and unlock
Jorim Jaggi [Fri, 10 Jul 2015 21:24:44 +0000 (14:24 -0700)]
Animation for touch, wake and unlock

- Add callback to inform SysUI when the screen has been unblocked
and turned on.
- Cleanup inconsistent messaging about device interactive/screen on
and off.
- Add callbacks to inform SysUI about screen states
- Implement a quick fade for the scrim after touch, wake, and unlock.
  First, start with a black scrim on top of everything, and then fade
  it out.
- Make sure we play the normal unlock animation when device is pulsing
- Override navigation bar animations for touch, wake and unlock: Fade
  in the same manner as the scrim.

Bug: 22571198
Bug: 21855614
Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c

9 years agoam 5faa0336: Merge "Add filter for personal apps that are not disabled until first...
Zach Johnson [Tue, 28 Jul 2015 22:58:11 +0000 (22:58 +0000)]
am 5faa0336: Merge "Add filter for personal apps that are not disabled until first use" into mnc-dev

* commit '5faa033615dcb4297fcb6a81828099285364942d':
  Add filter for personal apps that are not disabled until first use

9 years agoMerge "Don't redundantly call transport.finishRestore()" into mnc-dev
Chris Tate [Tue, 28 Jul 2015 22:56:41 +0000 (22:56 +0000)]
Merge "Don't redundantly call transport.finishRestore()" into mnc-dev

9 years agoAdd a command to register SIM Phone account.
Roshan Pius [Tue, 28 Jul 2015 20:35:35 +0000 (13:35 -0700)]
Add a command to register SIM Phone account.

Phone accounts with SIM_SUBSCRIPTION capabiltiy needs system permission.
Hence adding a command to add sunc phone accounts for CTS testing of
remote connections.

BUG: 20303674
Change-Id: Ieb7349f906ec8209776ffbe39ed3633f01ba1e7c

9 years agoam f2c616ed: Merge "Partially revert package freezing" into mnc-dev
Todd Kennedy [Tue, 28 Jul 2015 22:37:28 +0000 (22:37 +0000)]
am f2c616ed: Merge "Partially revert package freezing" into mnc-dev

* commit 'f2c616ed02aee3b9a9025caf288aadbf22cfd046':
  Partially revert package freezing

9 years agoMerge "Add filter for personal apps that are not disabled until first use" into mnc-dev
Zach Johnson [Tue, 28 Jul 2015 22:36:30 +0000 (22:36 +0000)]
Merge "Add filter for personal apps that are not disabled until first use" into mnc-dev

9 years agoMerge "Partially revert package freezing" into mnc-dev
Todd Kennedy [Tue, 28 Jul 2015 22:15:43 +0000 (22:15 +0000)]
Merge "Partially revert package freezing" into mnc-dev

9 years agomedia: fix estimateFrameRatesFor to use correct ratio
Ronghua Wu [Tue, 28 Jul 2015 22:05:51 +0000 (15:05 -0700)]
media: fix estimateFrameRatesFor to use correct ratio

Bug: 22504214
Change-Id: I5a325ae495b76aadd3fcbb8932d865c2f6322b2a

9 years agoGive secondary users read-only physical cards.
Jeff Sharkey [Tue, 28 Jul 2015 17:49:47 +0000 (10:49 -0700)]
Give secondary users read-only physical cards.

Long ago, we mounted secondary physical cards as readable by all
users on the device, which enabled the use-case of loading media on
a card and viewing it from all users.

More recently, we started giving write access to these secondary
physical cards, but this created a one-directional channel for
communication across user boundaries; something that CDD disallows.

This change is designed to give us the best of both worlds: the
package-specific directories are writable for the user that mounted
the card, but access to those "Android" directories are blocked for
all other users.  Other users remain able to read content elsewhere
on the card.

Bug: 22787184
Change-Id: Ied8c98995fec1b7b50ff7d930550feabb4398582