OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Fixing a NullPointerException in isProfileOwnerApp." into lmp-dev
Nicolas Prevot [Wed, 30 Jul 2014 14:05:02 +0000 (14:05 +0000)]
Merge "Fixing a NullPointerException in isProfileOwnerApp." into lmp-dev

9 years agoFixing a NullPointerException in isProfileOwnerApp.
Nicolas Prevot [Wed, 30 Jul 2014 13:19:12 +0000 (14:19 +0100)]
Fixing a NullPointerException in isProfileOwnerApp.

Fixing a NullPointerException in isProfileOwnerApp of DevicePolicyManager
if there is no profile owner.

BUG: 16673376
Change-Id: I912fcd38343d3c1893313e6335802d26014a2e9d

9 years agoNoListener: Optimize RankingMap
Christoph Studer [Tue, 29 Jul 2014 21:13:16 +0000 (23:13 +0200)]
NoListener: Optimize RankingMap

Cache ranks and interception bits instead of re-calculating
them every time they're accessed.

Change-Id: I2c6bbeaa01648d03ff8b3690b7f21cef4e2b9d97

9 years agoSysUI: Reset background treatment when re-using Entries
Christoph Studer [Tue, 29 Jul 2014 20:57:21 +0000 (22:57 +0200)]
SysUI: Reset background treatment when re-using Entries

Bug: 16220667
Change-Id: I8fd2770fa5ea554728eb8cd70ce4a6171e28ece5

9 years agoAdd warning in the disambig for specific launchers.
Sander Alewijnse [Thu, 17 Jul 2014 09:03:31 +0000 (10:03 +0100)]
Add warning in the disambig for specific launchers.

For launcher that do not support managed profiles.
Also, ignore the intent after click on those launchers.

Change-Id: I3d5691952a9409755b7cde68a3caba98a3772665

9 years agoMerge "disable flashlight for monkey tests" into lmp-dev
Guang Zhu [Wed, 30 Jul 2014 07:54:26 +0000 (07:54 +0000)]
Merge "disable flashlight for monkey tests" into lmp-dev

9 years agodisable flashlight for monkey tests
Guang Zhu [Sun, 27 Jul 2014 21:47:43 +0000 (14:47 -0700)]
disable flashlight for monkey tests

Change-Id: I81f459d41a780712f4c02e7ac7c0b51312e404be

9 years agoTIF: Use more consistent constant names
Jae Seo [Tue, 29 Jul 2014 08:25:47 +0000 (17:25 +0900)]
TIF: Use more consistent constant names

Change-Id: Iee7cbbba621e4174c9fdaedc86d3830ca9f46cfe

9 years agoMerge "Revert "Update switch assets, fix SearchView asset 9-patch areas"" into lmp-dev
Alan Viverette [Wed, 30 Jul 2014 02:39:40 +0000 (02:39 +0000)]
Merge "Revert "Update switch assets, fix SearchView asset 9-patch areas"" into lmp-dev

9 years agoRevert "Update switch assets, fix SearchView asset 9-patch areas"
Alan Viverette [Wed, 30 Jul 2014 02:39:07 +0000 (02:39 +0000)]
Revert "Update switch assets, fix SearchView asset 9-patch areas"

Missing updated current.txt

This reverts commit dbf6b0d68a3d502430d061cd14f03f344b50f019.

Change-Id: I70846883f56be661fa89f9eaf20f5d103f2833c6

9 years agoTIF: ensure hardware / CEC event calling sequence
Wonsik Kim [Thu, 24 Jul 2014 09:25:29 +0000 (18:25 +0900)]
TIF: ensure hardware / CEC event calling sequence

Bug: 16441047
Change-Id: Ie654b78ec91a081a1438cc036967f528e063f25b

9 years agoUpdate switch assets, fix SearchView asset 9-patch areas
Alan Viverette [Wed, 30 Jul 2014 00:22:30 +0000 (17:22 -0700)]
Update switch assets, fix SearchView asset 9-patch areas

BUG: 16606037
BUG: 16467249
Change-Id: Iabdf1634f4d8f87031ab3e5579140cdd428173de

9 years agoNotify VIS of shutdown before switching implementations
Sandeep Siddhartha [Mon, 28 Jul 2014 23:40:11 +0000 (16:40 -0700)]
Notify VIS of shutdown before switching implementations

This lets the implementation cleanup before it's destroyed.

Bug: 16629417
Change-Id: Ia717d461677e9ca8fa66f02c030aacad1597692d

9 years agoAdding video width/height to camera capabilities.
Tyler Gunn [Sun, 27 Jul 2014 21:51:29 +0000 (14:51 -0700)]
Adding video width/height to camera capabilities.

Bug: 16602621
Bug: 16573836
Change-Id: Idaca4b6d889bf7910fcc37bee7ef478e2fbe3af3

9 years agoLatest DocumentsUI material asset drop.
Jeff Sharkey [Tue, 29 Jul 2014 23:32:36 +0000 (16:32 -0700)]
Latest DocumentsUI material asset drop.

Bug: 15836082
Change-Id: Ifdd8a42a963071f1c958d56b3f835228f257cf9a

9 years agoMerge "Update switch assets, fix SearchView asset 9-patch areas" into lmp-dev
Alan Viverette [Wed, 30 Jul 2014 01:07:03 +0000 (01:07 +0000)]
Merge "Update switch assets, fix SearchView asset 9-patch areas" into lmp-dev

9 years agoam 78ad92b4: am 4ff57a9a: am fa3d1b2a: Doc change: add notice for admob sdk upgrade.
Dirk Dougherty [Wed, 30 Jul 2014 00:55:51 +0000 (00:55 +0000)]
am 78ad92b4: am 4ff57a9a: am fa3d1b2a: Doc change: add notice for admob sdk upgrade.

* commit '78ad92b48f8e41a413b6a61970e278024098dbaa':
  Doc change: add notice for admob sdk upgrade.

9 years agoam 4ff57a9a: am fa3d1b2a: Doc change: add notice for admob sdk upgrade.
Dirk Dougherty [Tue, 29 Jul 2014 21:07:53 +0000 (21:07 +0000)]
am 4ff57a9a: am fa3d1b2a: Doc change: add notice for admob sdk upgrade.

* commit '4ff57a9aee76bdfe6808ac9c64f2e90bc14a25ae':
  Doc change: add notice for admob sdk upgrade.

9 years agoam fa3d1b2a: Doc change: add notice for admob sdk upgrade.
Dirk Dougherty [Tue, 29 Jul 2014 21:03:25 +0000 (21:03 +0000)]
am fa3d1b2a: Doc change: add notice for admob sdk upgrade.

* commit 'fa3d1b2a27448b82ec1aa6f75c95ed17c4f46748':
  Doc change: add notice for admob sdk upgrade.

9 years agoDoc change: add notice for admob sdk upgrade.
Dirk Dougherty [Tue, 29 Jul 2014 01:19:46 +0000 (18:19 -0700)]
Doc change: add notice for admob sdk upgrade.

Change-Id: I9281b17e4ff277ef99ae57ce0360e05f4231e7ff

9 years agoam 58967bfb: am 1c977b37: Merge "docs: fix typo bug 16623189" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 16:34:01 +0000 (16:34 +0000)]
am 58967bfb: am 1c977b37: Merge "docs: fix typo bug 16623189" into klp-modular-docs

* commit '58967bfbe824f020194872a6d0a5204b54e6043a':
  docs: fix typo bug 16623189

9 years agoam 1c977b37: Merge "docs: fix typo bug 16623189" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 16:30:07 +0000 (16:30 +0000)]
am 1c977b37: Merge "docs: fix typo bug 16623189" into klp-modular-docs

* commit '1c977b3744dbe916edde2e256a39c30e5888ef4f':
  docs: fix typo bug 16623189

9 years agoam dadb473e: am 9613b433: Merge "docs: fix typo" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 15:42:24 +0000 (15:42 +0000)]
am dadb473e: am 9613b433: Merge "docs: fix typo" into klp-modular-docs

* commit 'dadb473e2b9dc7bf2691dea7153c6700102e6562':
  docs: fix typo

9 years agoam 9613b433: Merge "docs: fix typo" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 15:38:02 +0000 (15:38 +0000)]
am 9613b433: Merge "docs: fix typo" into klp-modular-docs

* commit '9613b433f47162d008f034afbb16deac16532662':
  docs: fix typo

9 years agoam 8d1aa957: am 652e5c7e: Merge "docs: Describe the alloc tracker in Android Studio...
Ricardo Cervera [Tue, 29 Jul 2014 15:32:57 +0000 (15:32 +0000)]
am 8d1aa957: am 652e5c7e: Merge "docs: Describe the alloc tracker in Android Studio" into klp-modular-docs

* commit '8d1aa95729a44a953dd5cd434f2c7380e6d1f641':
  docs: Describe the alloc tracker in Android Studio

9 years agoam 652e5c7e: Merge "docs: Describe the alloc tracker in Android Studio" into klp...
Ricardo Cervera [Tue, 29 Jul 2014 15:29:00 +0000 (15:29 +0000)]
am 652e5c7e: Merge "docs: Describe the alloc tracker in Android Studio" into klp-modular-docs

* commit '652e5c7ef1f8176dc680f7c4ba782164269b03b0':
  docs: Describe the alloc tracker in Android Studio

9 years agoam df881ccc: am 321e0302: docs: Fix Wear docs issues.
Ricardo Cervera [Tue, 29 Jul 2014 15:07:56 +0000 (15:07 +0000)]
am df881ccc: am 321e0302: docs: Fix Wear docs issues.

* commit 'df881ccc1fe5efefa4a71cf8e5f663f9e2911151':
  docs: Fix Wear docs issues.

9 years agoam 321e0302: docs: Fix Wear docs issues.
Ricardo Cervera [Tue, 29 Jul 2014 15:01:11 +0000 (15:01 +0000)]
am 321e0302: docs: Fix Wear docs issues.

* commit '321e030202cb74cad0dd8a4950cffe361a5072c8':
  docs: Fix Wear docs issues.

9 years agoam d0e03392: Merge "Fix double chin issue, where bottom inset is applied twice."...
Filip Gruszczynski [Mon, 28 Jul 2014 23:40:13 +0000 (23:40 +0000)]
am d0e03392: Merge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev

* commit 'd0e03392394164e1e261ef8829e187ad2362d426':
  Fix double chin issue, where bottom inset is applied twice.

9 years agoam 0fa45d93: Merge "Remove PendingActivityLaunches based on stack." into klp-modular-dev
Craig Mautner [Mon, 28 Jul 2014 23:28:59 +0000 (23:28 +0000)]
am 0fa45d93: Merge "Remove PendingActivityLaunches based on stack." into klp-modular-dev

* commit '0fa45d93f7265c130d5dc49a51130ed74db5cec9':
  Remove PendingActivityLaunches based on stack.

9 years agoMerge "SensorManager API changes." into lmp-dev
Aravind Akella [Wed, 30 Jul 2014 00:49:40 +0000 (00:49 +0000)]
Merge "SensorManager API changes." into lmp-dev

9 years agoSensorManager API changes.
Aravind Akella [Mon, 28 Jul 2014 21:53:44 +0000 (14:53 -0700)]
SensorManager API changes.

     i) Remove WAKE_UP_* sensor constants and corresponding string constants.
     ii) Add getDefaultSensor(int, boolean) API.

Bug: 16399898
Change-Id: I53cb7dec02568503ebd35983e6b0c64e9c5070d7

9 years agoMerge "Enable hardware rendering for system process" into lmp-dev
Alan Viverette [Wed, 30 Jul 2014 00:49:18 +0000 (00:49 +0000)]
Merge "Enable hardware rendering for system process" into lmp-dev

9 years agoLight icons for DocumentsUI.
Jeff Sharkey [Wed, 30 Jul 2014 00:33:36 +0000 (17:33 -0700)]
Light icons for DocumentsUI.

In some cases we want to show light variants.  Also tweak drawer
sizes and grid padding.

Bug: 15836082
Change-Id: Ic6459ff0533a7d346c03db5d7deb3d6da42e7649

9 years agoEnable hardware rendering for system process
Alan Viverette [Tue, 29 Jul 2014 23:14:25 +0000 (16:14 -0700)]
Enable hardware rendering for system process

Also enables hardware rendering by default on windows created
without a parent activity (e.g. by services).

BUG: 16240470
Change-Id: I906d48cb07af50fa02dae4f4ecdb5e65211fc6ef

9 years agoMerge "docs: fix typo bug 16623189" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 16:26:51 +0000 (16:26 +0000)]
Merge "docs: fix typo bug 16623189" into klp-modular-docs

9 years agodocs: fix typo bug 16623189
Robert Ly [Tue, 29 Jul 2014 16:25:45 +0000 (09:25 -0700)]
docs: fix typo bug 16623189

Change-Id: Ia790587cf60cbf4e9f699605a5ad6a7dc5a06799

9 years agodocs: fix typo
Robert Ly [Tue, 29 Jul 2014 15:33:17 +0000 (08:33 -0700)]
docs: fix typo

Change-Id: I4d76d625dc508e7279162d1d3ace9c32625e1358

9 years agoMerge "Remove PendingActivityLaunches based on stack." into klp-modular-dev
Craig Mautner [Mon, 28 Jul 2014 23:25:55 +0000 (23:25 +0000)]
Merge "Remove PendingActivityLaunches based on stack." into klp-modular-dev

9 years agoMerge "MediaPlayer: scanInternalSubtitleTracks in synchronous prepare" into lmp-dev
Robert Shih [Tue, 29 Jul 2014 21:08:21 +0000 (21:08 +0000)]
Merge "MediaPlayer: scanInternalSubtitleTracks in synchronous prepare" into lmp-dev

9 years agoMediaPlayer: scanInternalSubtitleTracks in synchronous prepare
Robert Shih [Fri, 25 Jul 2014 18:08:50 +0000 (11:08 -0700)]
MediaPlayer: scanInternalSubtitleTracks in synchronous prepare

Bug: 16385674
Change-Id: I56d205ad2fe33bd64ea2251440c88fd4ecfa13ad

9 years agoRemove PendingActivityLaunches based on stack.
Craig Mautner [Mon, 28 Jul 2014 21:00:35 +0000 (14:00 -0700)]
Remove PendingActivityLaunches based on stack.

Was previously removing by trying to match activities, but the
activity being matched would not have been in the stack yet. Since
it doesn't get added to the stack when it goes into the list
of pending activities. By removing all pending activities associated
with the stack we clean up all such pending activities.

Fixes bug 16045752.

Change-Id: I6b5981ffcce674139837b06362e573299bbc9e52

9 years agoam 77d6f36b: Revert "DO NOT MERGE Implement line breaking using ICU break iterator"
Alan Lau [Mon, 28 Jul 2014 20:07:23 +0000 (20:07 +0000)]
am 77d6f36b: Revert "DO NOT MERGE Implement line breaking using ICU break iterator"

* commit '77d6f36bbc76dbed51bea17d1ffcd3c1d6ffd30f':
  Revert "DO NOT MERGE Implement line breaking using ICU break iterator"

9 years agoam 40b0d4d7: Merge "Revert "DO NOT MERGE Fix line breaking for clusters in narrow...
Alan Lau [Mon, 28 Jul 2014 19:58:00 +0000 (19:58 +0000)]
am 40b0d4d7: Merge "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"" into klp-modular-dev

* commit '40b0d4d7519b6a1999742534513406f94c169f1f':
  Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"

9 years agoam af60e56b: Revert "DO NOT MERGE Fix extraneous allocation and copying"
Alan Lau [Mon, 28 Jul 2014 19:57:55 +0000 (19:57 +0000)]
am af60e56b: Revert "DO NOT MERGE Fix extraneous allocation and copying"

* commit 'af60e56b39582ea90ccd7601cd06350a50bf6500':
  Revert "DO NOT MERGE Fix extraneous allocation and copying"

9 years agoRevert "DO NOT MERGE Implement line breaking using ICU break iterator"
Alan Lau [Mon, 28 Jul 2014 19:50:14 +0000 (19:50 +0000)]
Revert "DO NOT MERGE Implement line breaking using ICU break iterator"

This reverts commit 0c87dfd25d5a305fb67eb328d114aada87055dd7.

Change-Id: Ibc300bb945776594099b69965cabe7220d10de2f

9 years agoam 1a408a34: DO NOT MERGE Fix extraneous allocation and copying
Anish Athalye [Mon, 28 Jul 2014 19:53:26 +0000 (19:53 +0000)]
am 1a408a34: DO NOT MERGE Fix extraneous allocation and copying

* commit '1a408a344c7921d7c943826bea3ce0cdd822583d':
  DO NOT MERGE Fix extraneous allocation and copying

9 years agoRevert "DO NOT MERGE Fix extraneous allocation and copying"
Alan Lau [Mon, 28 Jul 2014 19:51:01 +0000 (19:51 +0000)]
Revert "DO NOT MERGE Fix extraneous allocation and copying"

This reverts commit 1a408a344c7921d7c943826bea3ce0cdd822583d.

Change-Id: If5a19a4cc54e76aeddac0923e28bbf310e78feb4

9 years agoam 97170e0c: Merge "DO NOT MERGE Implement line breaking using ICU break iterator...
Alan Lau [Mon, 28 Jul 2014 19:10:29 +0000 (19:10 +0000)]
am 97170e0c: Merge "DO NOT MERGE Implement line breaking using ICU break iterator" into klp-modular-dev

* commit '97170e0c48bbff21ef6773110d950621131cf9dd':
  DO NOT MERGE Implement line breaking using ICU break iterator

9 years agoam a28e4764: DO NOT MERGE Fix line breaking for clusters in narrow views
Anish Athalye [Mon, 28 Jul 2014 19:10:19 +0000 (19:10 +0000)]
am a28e4764: DO NOT MERGE Fix line breaking for clusters in narrow views

* commit 'a28e4764994283c3595dd41f12e425cf7dc0d985':
  DO NOT MERGE Fix line breaking for clusters in narrow views

9 years agoDO NOT MERGE Fix extraneous allocation and copying
Anish Athalye [Tue, 8 Jul 2014 20:27:14 +0000 (13:27 -0700)]
DO NOT MERGE Fix extraneous allocation and copying

With breaks being allocated the way it was, there were 16 ints with
value 0 being stored in the beginning of the vector. Because of the way
the rest of the code is structured, this did not result in incorrect
operation, but it still wasted time and memory.

Change-Id: Ic0df3e5484417da51f2465ec2d72222fefffc18a
(cherry picked from commit 733b3c0f8b77fefcd234c94170faa4e7bd76074c)

9 years agoDO NOT MERGE Fix line breaking for clusters in narrow views
Anish Athalye [Fri, 27 Jun 2014 21:37:53 +0000 (14:37 -0700)]
DO NOT MERGE Fix line breaking for clusters in narrow views

Clusters were broken incorrectly when in narrow views (when the width of
the cluster was greater than the width of a view). Also, out() calls
were modifying fm, so clusters that were too wide were not positioned
correctly.

Change-Id: I521f8dc6338f5f1de6858af3f0c0bd320aa46bc0
(cherry picked from commit 162713dd0b72af79c1b2286985f7e79f043cd915)

9 years agoMerge "docs: Describe the alloc tracker in Android Studio" into klp-modular-docs
Ricardo Cervera [Tue, 29 Jul 2014 15:26:56 +0000 (15:26 +0000)]
Merge "docs: Describe the alloc tracker in Android Studio" into klp-modular-docs

9 years agodocs: Fix Wear docs issues.
Ricardo Cervera [Mon, 28 Jul 2014 17:50:32 +0000 (10:50 -0700)]
docs: Fix Wear docs issues.

Bug: 16624918
Bug: 16626217
Bug: 16626415
Bug: 16624384
Bug: 16623147

Change-Id: I774f19aded22562b891f9d2ccc35f0befb50f21c

9 years agoMerge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev
Filip Gruszczynski [Mon, 28 Jul 2014 23:34:59 +0000 (23:34 +0000)]
Merge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev

9 years agoMerge "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"" into...
Alan Lau [Mon, 28 Jul 2014 19:53:43 +0000 (19:53 +0000)]
Merge "Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"" into klp-modular-dev

9 years agoRevert "DO NOT MERGE Fix line breaking for clusters in narrow views"
Alan Lau [Mon, 28 Jul 2014 19:52:11 +0000 (19:52 +0000)]
Revert "DO NOT MERGE Fix line breaking for clusters in narrow views"

This reverts commit a28e4764994283c3595dd41f12e425cf7dc0d985.

Change-Id: I73fe7b3e6bdba327e55a58afd36a7f58f49945d0

9 years agoMerge "DO NOT MERGE Implement line breaking using ICU break iterator" into klp-modula...
Alan Lau [Mon, 28 Jul 2014 19:05:45 +0000 (19:05 +0000)]
Merge "DO NOT MERGE Implement line breaking using ICU break iterator" into klp-modular-dev

9 years agoDO NOT MERGE Implement line breaking using ICU break iterator
Anish Athalye [Tue, 24 Jun 2014 21:39:43 +0000 (14:39 -0700)]
DO NOT MERGE Implement line breaking using ICU break iterator

Change-Id: I4ad98757aa2eab5dbc2ae44c0391e900ef20c4d0
(cherry picked from commit f8133ae5896926aaf70f12bc0dd1f36a6704c0f5)

9 years agoFix double chin issue, where bottom inset is applied twice.
Filip Gruszczynski [Fri, 25 Jul 2014 21:25:16 +0000 (14:25 -0700)]
Fix double chin issue, where bottom inset is applied twice.

This changes how windowOutsetBottom is applied. Instead of being added to
whatever inset is already set, it overwrites it.

Bug: 16567038
Change-Id: Idedae93b790652e9de0519764ea7a03841f9e8fd

9 years agoMerge "docs: fix typo" into klp-modular-docs
Robert Ly [Tue, 29 Jul 2014 15:34:47 +0000 (15:34 +0000)]
Merge "docs: fix typo" into klp-modular-docs

9 years agoMerge "MediaPlayer: support external timed text in java" into lmp-dev
Robert Shih [Tue, 29 Jul 2014 21:07:37 +0000 (21:07 +0000)]
Merge "MediaPlayer: support external timed text in java" into lmp-dev

9 years agoMediaPlayer: support external timed text in java
Robert Shih [Thu, 24 Jul 2014 00:18:46 +0000 (17:18 -0700)]
MediaPlayer: support external timed text in java

Bug: 16385674
Change-Id: I7c2bf7a7d88c8396c3e228e3cf500998a3fa9db8

9 years agoMerge "Make archive metadata idempotent" into lmp-dev
Christopher Tate [Tue, 29 Jul 2014 21:06:40 +0000 (21:06 +0000)]
Merge "Make archive metadata idempotent" into lmp-dev

9 years agoFix crash in Stopping/Starting BLE advertising after
Prerepa Viswanadham [Tue, 29 Jul 2014 20:42:30 +0000 (13:42 -0700)]
Fix crash in Stopping/Starting BLE advertising after
BluetoothAdapter cycling

Bug 16528460
Change-Id: Iad852bc93d307c5ca5f7e42f24248aa02c105e8a

9 years agoMake archive metadata idempotent
Christopher Tate [Tue, 29 Jul 2014 20:47:47 +0000 (13:47 -0700)]
Make archive metadata idempotent

We want to make sure that the manifest and widget metadata
blocks are identical, including their in-stream headers, if
we regenerate the archive without underlying filesystem changes.

Bug 15968355

Change-Id: I828b264545d19e1d865d98d5723915d02fafc012

9 years agodocs: Describe the alloc tracker in Android Studio
Ricardo Cervera [Thu, 24 Jul 2014 17:15:09 +0000 (10:15 -0700)]
docs: Describe the alloc tracker in Android Studio

Change-Id: Ic3cfc94950029104ec75ab04a9fac51ba64dd9a9

9 years agoam a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
Craig Mautner [Fri, 25 Jul 2014 02:19:53 +0000 (02:19 +0000)]
am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev

* commit 'a0bb44efe96ca70635b64dac8922b225d1a19407':
  Finish crashed activities immediately

9 years agoMerge "Finish crashed activities immediately" into klp-modular-dev
Craig Mautner [Fri, 25 Jul 2014 01:30:51 +0000 (01:30 +0000)]
Merge "Finish crashed activities immediately" into klp-modular-dev

9 years agoFinish crashed activities immediately
Craig Mautner [Thu, 24 Jul 2014 20:32:37 +0000 (13:32 -0700)]
Finish crashed activities immediately

By finishing crashed activities right away the VirtualDisplays
associated with ActivityView are removed immediately rather than
being deferred. Also there is no waiting for Pause (0.5 sec) and
Destroy (10 sec) timeouts to expire.

Fixes bug 15092354.

Change-Id: Ie4941cb19dcc6f6fc61b2475162ea2794c9558a2

9 years agoam b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev
Prashant Malani [Thu, 24 Jul 2014 18:06:03 +0000 (18:06 +0000)]
am b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev

* commit 'b4dcc64fe6314b139ac17aa296419bbf153df2f6':
  Revert "Remove circular mask"

9 years agoMerge "TIF: Add a system api TvInputInfo.isCecDeviceConnectedToSwitch" into lmp-dev
Youngsang Cho [Wed, 30 Jul 2014 07:29:57 +0000 (07:29 +0000)]
Merge "TIF: Add a system api TvInputInfo.isCecDeviceConnectedToSwitch" into lmp-dev

9 years agoTIF: Add a system api TvInputInfo.isCecDeviceConnectedToSwitch
Youngsang Cho [Tue, 29 Jul 2014 23:28:21 +0000 (08:28 +0900)]
TIF: Add a system api TvInputInfo.isCecDeviceConnectedToSwitch

Change-Id: Ib178cc7362eb82c0a9f777a1616c9e2943fee7a8

9 years agoTIF: Merge TvParentalControlManager into TvInputManager
Jae Seo [Mon, 28 Jul 2014 08:30:50 +0000 (17:30 +0900)]
TIF: Merge TvParentalControlManager into TvInputManager

This change addresses the following API council feedback.

TvParentalControlManager:
-- Replace the listener interface with a broadcast Intent with well-known
   action, something like ACTION_BLOCKED_RATINGS_CHANGED.
-- TvParentalControlManager goes away, and two remaining methods move to
   TvInputManager.

== Implementation changes ==
-- The user-selected rating preferences should be stored in an XML file, and
   loaded at boot by your internal system service.  It should _not_ be stored in
   a Secure/Global setting.

Bug: 16542165
Change-Id: I278df963576652ec9163a66c1ef99419fcdb36c2

9 years agoMerge "Implement broker pattern for imms (1/3)" into lmp-dev
Ye Wen [Tue, 29 Jul 2014 23:51:59 +0000 (23:51 +0000)]
Merge "Implement broker pattern for imms (1/3)" into lmp-dev

9 years agoImplement broker pattern for imms (1/3)
Ye Wen [Thu, 24 Jul 2014 19:56:45 +0000 (12:56 -0700)]
Implement broker pattern for imms (1/3)

b/16324360

Change-Id: I41dc9823820eed60406973f5edb5a71deb4b0130

9 years agoMerge "Fix docs build." into lmp-dev
Ying Wang [Tue, 29 Jul 2014 23:24:24 +0000 (23:24 +0000)]
Merge "Fix docs build." into lmp-dev

9 years agoFix docs build.
Ying Wang [Tue, 29 Jul 2014 23:23:15 +0000 (16:23 -0700)]
Fix docs build.

Change-Id: I735f5b5a3fe36a454e384d5060d9273a9aabf3aa

9 years agoEliminate memory leak in TaskPersister
Craig Mautner [Tue, 29 Jul 2014 17:41:40 +0000 (10:41 -0700)]
Eliminate memory leak in TaskPersister

Bitmaps added to TaskPersister were piling up in the queue.

- The mRecentsChanged flag was being modified without holding the
lock. There is no mRecentsChanged flag now. Everything to be
written goes into a queue.
- TaskPersister now runs until the queue is empty.
- Bitmaps being written to the same file were being added to the
end of the queue without replacing the earlier bitmap. Now we
search the queue for matching tasks and replace the bitmaps
if needed.
- Method notify() was renamed to wakeup() so IDE could find usages
quicker.
- Bitmaps that were being requested but were still in the queue
are now being fetched from the queue.

Fixes bug 16512870.

Change-Id: Idca1c712e5d2df8196e93faaf563a54405ee96bf

9 years agoMore DocumentsUI material iteration.
Jeff Sharkey [Mon, 28 Jul 2014 23:38:52 +0000 (16:38 -0700)]
More DocumentsUI material iteration.

Move to using Toolbar for all actions.  Drawer contains its own
Toolbar with separate title, and hamburger is always visible.  Change
drawer items to match spec.  Switching to Toolbar allows us to remove
nasty dialog-on-tablet hacks, yay!  This also means we can finally
get real IME resizing support.

Move to using elevation for all shadows; this removes more nasty
hacks around drawing directory shadows.

Bug: 15836082
Change-Id: Iba70b898f385a7debd8aabfc98ff39d20bca860d

9 years agoMerge "Make scan filter accepts prefix. Add tests." into lmp-dev
Wei Wang [Tue, 29 Jul 2014 23:47:05 +0000 (23:47 +0000)]
Merge "Make scan filter accepts prefix. Add tests." into lmp-dev

9 years agoSet profile owner via an intent
Amith Yamasani [Mon, 28 Jul 2014 21:26:42 +0000 (14:26 -0700)]
Set profile owner via an intent

priv apps can request to become a profile owner after setup has
completed. This will pop up a consent dialog (in Settings).

Also, clean up profile owner concept to be a component name.

Change-Id: I5e8532866e8018f61836c4e84fbbadb6150218ae

9 years agoMake scan filter accepts prefix. Add tests.
Wei Wang [Tue, 29 Jul 2014 04:46:44 +0000 (21:46 -0700)]
Make scan filter accepts prefix. Add tests.

Change-Id: I714dd6d95ad2bc874dce1106b325762b19159119

9 years agoAllow VPNs to add/remove link addresses dynamically.
Sreeram Ramachandran [Sun, 27 Jul 2014 21:18:26 +0000 (14:18 -0700)]
Allow VPNs to add/remove link addresses dynamically.

Bug: 15409819
Change-Id: If91fc6891d7ce04060362c6cde8c57462394c4e8

9 years agoMerge "Don't request network scores before boot completes." into lmp-dev
Jeff Davidson [Tue, 29 Jul 2014 23:34:01 +0000 (23:34 +0000)]
Merge "Don't request network scores before boot completes." into lmp-dev

9 years agoDon't request network scores before boot completes.
Jeff Davidson [Tue, 29 Jul 2014 23:18:04 +0000 (16:18 -0700)]
Don't request network scores before boot completes.

Bug: 16655123
Change-Id: If6696635c59f6494e6232c3a75d283a2cbce2798

9 years agoMerge "Potential fix for apps disappearing in launcher on system server crash" into...
Amith Yamasani [Tue, 29 Jul 2014 23:33:40 +0000 (23:33 +0000)]
Merge "Potential fix for apps disappearing in launcher on system server crash" into lmp-dev

9 years agoCamera2: API review updates
Eino-Ville Talvala [Mon, 28 Jul 2014 20:01:52 +0000 (13:01 -0700)]
Camera2: API review updates

- Rename CameraCharacteristics#SENSOR_INFO_TIMESTAMP_CALIBRATION
  to TIMESTAMP_SOURCE
- Remove StreamConfigurationMap#NO_MIN_FRAME_DURATION

Bug: 16402755
Change-Id: I6c30a1e931c9f064c22092d362bcc61bd88e2f8a

9 years agoPotential fix for apps disappearing in launcher on system server crash
Amith Yamasani [Tue, 29 Jul 2014 23:25:17 +0000 (16:25 -0700)]
Potential fix for apps disappearing in launcher on system server crash

Throw RuntimeException to launcher if there was a RemoteException
from LauncherAppsService. This matches the behavior of previous
calls that were made to PackageManager that could have resulted
in a RemoteException if the system server was dying/dead.

Bug: 15687732
Change-Id: Ifda3fda209141b361a286fc033217acfa0ec196e

9 years agoMerge "Send TV app the intent for the new active source" into lmp-dev
Jinsuk Kim [Tue, 29 Jul 2014 22:45:04 +0000 (22:45 +0000)]
Merge "Send TV app the intent for the new active source" into lmp-dev

9 years agoSend TV app the intent for the new active source
Jinsuk Kim [Mon, 21 Jul 2014 08:14:44 +0000 (17:14 +0900)]
Send TV app the intent for the new active source

When signalled by an external CEC device about to become a new active
source, TIF(TvInputHardwareManager) sends an intent for TV app to tune to
the input mapped to the device. For non-CEC devices or MHL device
the device info comes with port ID only, which should be used to find
the right input.

Change-Id: I71c8454fead037d880ee440b0a8d64dd361ed558

9 years agoMerge "Connection creation and service wiring for WiFi call managers (1/3)" into...
Ihab Awad [Tue, 29 Jul 2014 22:42:43 +0000 (22:42 +0000)]
Merge "Connection creation and service wiring for WiFi call managers (1/3)" into lmp-dev

9 years agoConnection creation and service wiring for WiFi call managers (1/3)
Ihab Awad [Fri, 25 Jul 2014 22:14:01 +0000 (15:14 -0700)]
Connection creation and service wiring for WiFi call managers (1/3)

Bug: 16469413
Change-Id: I019922f76f54d2fa376513a6284d6322959a8235

9 years agoOptimize alpha handling for stack scroller
Jorim Jaggi [Mon, 28 Jul 2014 19:07:32 +0000 (21:07 +0200)]
Optimize alpha handling for stack scroller

Use a layer when an alpha is set. Currently, this breaks shadows
when alpha != 1f, however, b/15860114 will fix this.

Change-Id: I094d5896a5433ba9a0ecc17549ef2944f6b7881e

9 years agoMerge "camera2: legacy: Don't set the @hide frame number metadata" into lmp-dev
Igor Murashkin [Tue, 29 Jul 2014 22:22:14 +0000 (22:22 +0000)]
Merge "camera2: legacy: Don't set the @hide frame number metadata" into lmp-dev

9 years agocamera2: legacy: Don't set the @hide frame number metadata
Igor Murashkin [Mon, 28 Jul 2014 17:50:08 +0000 (10:50 -0700)]
camera2: legacy: Don't set the @hide frame number metadata

Change-Id: Id1c8292444a45a97228d5c95f23f6d1f8171d3b5

9 years agocamera2: Api change (#getFrameNumber -> long; @hide REQUEST_FRAME_COUNT)
Igor Murashkin [Fri, 25 Jul 2014 23:54:20 +0000 (16:54 -0700)]
camera2: Api change (#getFrameNumber -> long; @hide REQUEST_FRAME_COUNT)

Change-Id: I164011c97a57fb9fb9c504ae4c5f394dcb36a4bc

9 years agoMerge "camera2: Api change (#getFrameNumber -> long; @hide REQUEST_FRAME_COUNT)"...
Igor Murashkin [Tue, 29 Jul 2014 22:13:37 +0000 (22:13 +0000)]
Merge "camera2: Api change (#getFrameNumber -> long; @hide REQUEST_FRAME_COUNT)" into lmp-dev

9 years agocamera2: legacy: fix cached results bug and fix focus modes
Igor Murashkin [Fri, 25 Jul 2014 01:19:30 +0000 (18:19 -0700)]
camera2: legacy: fix cached results bug and fix focus modes

- Also add request.frameCounter and request.pipelineDepth results

Change-Id: I104c8243fa525622cb4ab7b5535cbca8588862f3

9 years agocamera2: legacy: Add focus support
Igor Murashkin [Fri, 18 Jul 2014 21:37:19 +0000 (14:37 -0700)]
camera2: legacy: Add focus support

* Characteristics will list control.availableAfModes
* Request/result for control.afMode and control.afState

(Does not yet support control.afRegions)

Change-Id: I828111425fa587114d5159f7fb2b1e53a2c74e61