OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 0b596de9: am c6f70adf: am c84021ba: Merge "docs: link to sdk manager" into lmp...
Joe Fernandez [Fri, 16 Jan 2015 19:51:08 +0000 (19:51 +0000)]
am 0b596de9: am c6f70adf: am c84021ba: Merge "docs: link to sdk manager" into lmp-docs

* commit '0b596de9a4cc9b8d0694838f4b699c722d448bac':
  docs: link to sdk manager

9 years agoam c12a3e35: am 85bfcbd3: am 97c4ba98: docs: Added info on noHistory and onActivityRe...
Ricardo Cervera [Fri, 16 Jan 2015 19:51:04 +0000 (19:51 +0000)]
am c12a3e35: am 85bfcbd3: am 97c4ba98: docs: Added info on noHistory and onActivityResult().

* commit 'c12a3e35a4330d5b60ac652597a6875868d96e55':
  docs: Added info on noHistory and onActivityResult().

9 years agoam c6f70adf: am c84021ba: Merge "docs: link to sdk manager" into lmp-docs
Joe Fernandez [Fri, 16 Jan 2015 18:57:42 +0000 (18:57 +0000)]
am c6f70adf: am c84021ba: Merge "docs: link to sdk manager" into lmp-docs

* commit 'c6f70adf2439978954fefe00a9ff24135654ed52':
  docs: link to sdk manager

9 years agoam 85bfcbd3: am 97c4ba98: docs: Added info on noHistory and onActivityResult().
Ricardo Cervera [Fri, 16 Jan 2015 18:57:39 +0000 (18:57 +0000)]
am 85bfcbd3: am 97c4ba98: docs: Added info on noHistory and onActivityResult().

* commit '85bfcbd3e2367768c1d026cbba6fe0fa9a6b2dae':
  docs: Added info on noHistory and onActivityResult().

9 years agoam c84021ba: Merge "docs: link to sdk manager" into lmp-docs
Joe Fernandez [Fri, 16 Jan 2015 18:52:12 +0000 (18:52 +0000)]
am c84021ba: Merge "docs: link to sdk manager" into lmp-docs

* commit 'c84021ba99d9326b016120a1d7aab4ee551bcce9':
  docs: link to sdk manager

9 years agoam 97c4ba98: docs: Added info on noHistory and onActivityResult().
Ricardo Cervera [Fri, 16 Jan 2015 18:52:08 +0000 (18:52 +0000)]
am 97c4ba98: docs: Added info on noHistory and onActivityResult().

* commit '97c4ba9862006e2c9f4cea07f55dc7120d305e5a':
  docs: Added info on noHistory and onActivityResult().

9 years agoMerge "docs: link to sdk manager" into lmp-docs
Joe Fernandez [Fri, 16 Jan 2015 18:47:51 +0000 (18:47 +0000)]
Merge "docs: link to sdk manager" into lmp-docs

9 years agoam 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
Ricardo Cervera [Fri, 16 Jan 2015 18:36:45 +0000 (18:36 +0000)]
am 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev

* commit '2287879039556ad3c8fce58974e2396b4a2dab45':
  docs: Added info on noHistory and onActivityResult(). Bug: 13807256

9 years agoam 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev
Ricardo Cervera [Fri, 16 Jan 2015 18:29:25 +0000 (18:29 +0000)]
am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev

* commit '93f94c2ca5bf23533fc5a9bd70a4795584d20618':
  docs: Added info on noHistory and onActivityResult(). Bug: 13807256

9 years agoam b43a7eef: am 3212c3aa: Merge "docs: studio support library revisions update" into...
Rich Slogar [Fri, 16 Jan 2015 18:03:41 +0000 (18:03 +0000)]
am b43a7eef: am 3212c3aa: Merge "docs: studio support library revisions update" into lmp-docs

* commit 'b43a7eefb75b2a6397d738055389567e1faa21d9':
  docs: studio support library revisions update

9 years agoam 7b7f074f: am d1ff8605: Merge "Doc change: Add new analytics information to Distrib...
Dirk Dougherty [Fri, 16 Jan 2015 18:03:36 +0000 (18:03 +0000)]
am 7b7f074f: am d1ff8605: Merge "Doc change: Add new analytics information to Distribute." into lmp-docs

* commit '7b7f074f282e551439b0b3c40a4ccb44d2981006':
  Doc change: Add new analytics information to Distribute.

9 years agoam 3505303a: am 3b7dbd66: Merge "docs: build link update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 18:03:32 +0000 (18:03 +0000)]
am 3505303a: am 3b7dbd66: Merge "docs: build link update" into lmp-docs

* commit '3505303a3aa113058bca58a1cdf3c84449b6712e':
  docs: build link update

9 years agoam f1feda36: am 485b9566: Merge "docs: Plugin reference update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 18:03:28 +0000 (18:03 +0000)]
am f1feda36: am 485b9566: Merge "docs: Plugin reference update" into lmp-docs

* commit 'f1feda36fbaebf22bf3e06d05ae186ada39a3e1e':
  docs: Plugin reference update

9 years agoam f38122da: am 48fc1d7b: Merge "docs: studio sample procedure update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 18:03:23 +0000 (18:03 +0000)]
am f38122da: am 48fc1d7b: Merge "docs: studio sample procedure update" into lmp-docs

* commit 'f38122dae0a344bc8abe3eaed7322ea3675b05f5':
  docs: studio sample procedure update

9 years agoresolved conflicts for merge of e8f6bd48 to lmp-dev
Ricardo Cervera [Fri, 16 Jan 2015 17:54:30 +0000 (09:54 -0800)]
resolved conflicts for merge of e8f6bd48 to lmp-dev

Change-Id: Idc370182914d5060a721d34c26cd72598f2c6dff

9 years agodocs: Added info on noHistory and onActivityResult().
Ricardo Cervera [Fri, 4 Apr 2014 18:17:06 +0000 (11:17 -0700)]
docs: Added info on noHistory and onActivityResult().

Bug: 13807256

Cherry-pick from Iae4901a311e76401396f89c552e5b27a49c65c83

Change-Id: I4ad7aea1a3c7ea82bc2bbcdf35d2de418ef7b90f

9 years agoam 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug...
Ricardo Cervera [Fri, 16 Jan 2015 17:21:32 +0000 (17:21 +0000)]
am 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256

* commit '98f07d901492335f51258655fbfa032fa3f2d58e':
  docs: Added info on noHistory and onActivityResult(). Bug: 13807256

9 years agoam 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
Ricardo Cervera [Fri, 16 Jan 2015 17:14:44 +0000 (17:14 +0000)]
am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256

* commit '92f6a747085b4b5ed692de4bdb0050c096eae393':
  docs: Added info on noHistory and onActivityResult(). Bug: 13807256

9 years agoMerge "Sync file before using JournaledFile commit." into lmp-mr1-dev
Kenny Guy [Fri, 16 Jan 2015 11:21:17 +0000 (11:21 +0000)]
Merge "Sync file before using JournaledFile commit." into lmp-mr1-dev

9 years agoCEC: Do not send <Active Source> when TV wakes up by one touch play
Jinsuk Kim [Fri, 16 Jan 2015 06:49:16 +0000 (15:49 +0900)]
CEC: Do not send <Active Source> when TV wakes up by one touch play

TV should respect the device that wakes up TV by one touch play
to keep its active source status by not sending <Active Source>.

Bug: 19039773

Change-Id: I0b27e95dcf986df90b25cc2a1891acd82940f13e

9 years agoCEC: Buffer Cec messages while allocating logical address
Jinsuk Kim [Fri, 16 Jan 2015 06:20:17 +0000 (15:20 +0900)]
CEC: Buffer Cec messages while allocating logical address

CEC messages arriving before logical address allocation was being
discarded. Handles them by introducing a message buffer class
to keep them till the address allocation is finished.

Also updated per-device message buffer to use copied version of
messages list for iterating to avoid the possible concurrent
modification exception.

Bug: 18896770
Change-Id: Ifb74fd265510de6dde322e0b3bc5b504fecb4daa

9 years agoam 3212c3aa: Merge "docs: studio support library revisions update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:58:57 +0000 (00:58 +0000)]
am 3212c3aa: Merge "docs: studio support library revisions update" into lmp-docs

* commit '3212c3aa226f8cc7cf54e72772a001906fd4d7c3':
  docs: studio support library revisions update

9 years agoam d1ff8605: Merge "Doc change: Add new analytics information to Distribute." into...
Dirk Dougherty [Fri, 16 Jan 2015 00:58:53 +0000 (00:58 +0000)]
am d1ff8605: Merge "Doc change: Add new analytics information to Distribute." into lmp-docs

* commit 'd1ff86058a06874d6d607dea951b34370e053654':
  Doc change: Add new analytics information to Distribute.

9 years agoam 3b7dbd66: Merge "docs: build link update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:50:15 +0000 (00:50 +0000)]
am 3b7dbd66: Merge "docs: build link update" into lmp-docs

* commit '3b7dbd66d8d8df89bb4700bfdfaf86f264ff7ea4':
  docs: build link update

9 years agoam 485b9566: Merge "docs: Plugin reference update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:50:12 +0000 (00:50 +0000)]
am 485b9566: Merge "docs: Plugin reference update" into lmp-docs

* commit '485b9566a9fc98be8b4dee40ddca43690de1a465':
  docs: Plugin reference update

9 years agoam 48fc1d7b: Merge "docs: studio sample procedure update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:50:08 +0000 (00:50 +0000)]
am 48fc1d7b: Merge "docs: studio sample procedure update" into lmp-docs

* commit '48fc1d7ba7e3e2c0efd71b3b7ed29997d3454857':
  docs: studio sample procedure update

9 years agoMerge "docs: studio support library revisions update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:43:56 +0000 (00:43 +0000)]
Merge "docs: studio support library revisions update" into lmp-docs

9 years agoMerge "Doc change: Add new analytics information to Distribute." into lmp-docs
Dirk Dougherty [Fri, 16 Jan 2015 00:41:55 +0000 (00:41 +0000)]
Merge "Doc change: Add new analytics information to Distribute." into lmp-docs

9 years agoDoc change: Add new analytics information to Distribute.
Dirk Dougherty [Fri, 12 Dec 2014 19:51:13 +0000 (11:51 -0800)]
Doc change: Add new analytics information to Distribute.

Change-Id: I0ce5c457469cc2628dad8a1b7254fc9068babc84

9 years agoMerge "docs: build link update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:27:49 +0000 (00:27 +0000)]
Merge "docs: build link update" into lmp-docs

9 years agoMerge "docs: Plugin reference update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:27:00 +0000 (00:27 +0000)]
Merge "docs: Plugin reference update" into lmp-docs

9 years agoMerge "docs: studio sample procedure update" into lmp-docs
Rich Slogar [Fri, 16 Jan 2015 00:26:38 +0000 (00:26 +0000)]
Merge "docs: studio sample procedure update" into lmp-docs

9 years agodocs: studio support library revisions update
Rich Slogar [Thu, 11 Dec 2014 23:51:18 +0000 (15:51 -0800)]
docs: studio support library revisions update

Change-Id: I9df9ffbcbb99e8b661ee5b67ac0efe28d6d19b4b

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Thu, 15 Jan 2015 23:39:47 +0000 (23:39 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Debug for bug 18201239." into lmp-mr1-dev
Craig Mautner [Thu, 15 Jan 2015 23:18:39 +0000 (23:18 +0000)]
Merge "Debug for bug 18201239." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 15 Jan 2015 23:14:15 +0000 (15:14 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Update generationId on bitmaps when decoded into by BitmapRegionDecoder" into...
Chris Craik [Thu, 15 Jan 2015 23:04:14 +0000 (23:04 +0000)]
Merge "Update generationId on bitmaps when decoded into by BitmapRegionDecoder" into lmp-mr1-dev

9 years agoDebug for bug 18201239.
Craig Mautner [Thu, 15 Jan 2015 22:38:39 +0000 (14:38 -0800)]
Debug for bug 18201239.

Change-Id: I06281bd76b8c1d887324d3efa39b6cb11c9e71ae

9 years agoMerge "Ensure scroll assets are drawn with correct opacity" into lmp-mr1-dev
Alan Viverette [Thu, 15 Jan 2015 22:25:07 +0000 (22:25 +0000)]
Merge "Ensure scroll assets are drawn with correct opacity" into lmp-mr1-dev

9 years agoMerge "AudioManager: make AudioPortEventHandler static" into lmp-mr1-dev
Eric Laurent [Thu, 15 Jan 2015 22:10:52 +0000 (22:10 +0000)]
Merge "AudioManager: make AudioPortEventHandler static" into lmp-mr1-dev

9 years agoEnsure scroll assets are drawn with correct opacity
Alan Viverette [Thu, 15 Jan 2015 21:00:21 +0000 (13:00 -0800)]
Ensure scroll assets are drawn with correct opacity

Bug: 18903443
Change-Id: I5a7e738b1a09c22857683e2540c96a050b82866e

9 years agoMerge "Camera: Clarify JNI exception message" into lmp-mr1-dev
Eino-Ville Talvala [Thu, 15 Jan 2015 20:00:01 +0000 (20:00 +0000)]
Merge "Camera: Clarify JNI exception message" into lmp-mr1-dev

9 years agoam d5a114cd: am d3cc11a1: docs: Remove reference to handheld app for bitmap resource...
Luan Nguyen [Thu, 15 Jan 2015 19:36:35 +0000 (19:36 +0000)]
am d5a114cd: am d3cc11a1: docs: Remove reference to handheld app for bitmap resource locations.

* commit 'd5a114cd0e15bdd263bfd9704bdfeacd28dfe670':
  docs: Remove reference to handheld app for bitmap resource locations.

9 years agoam d3cc11a1: docs: Remove reference to handheld app for bitmap resource locations.
Luan Nguyen [Thu, 15 Jan 2015 19:30:08 +0000 (19:30 +0000)]
am d3cc11a1: docs: Remove reference to handheld app for bitmap resource locations.

* commit 'd3cc11a1647c2aa9d830c1538e6a3b1355c9ca1f':
  docs: Remove reference to handheld app for bitmap resource locations.

9 years agoMerge "Fudge getRightPaddingOffset in TextView to match clipRect." into lmp-mr1-dev
Roozbeh Pournader [Thu, 15 Jan 2015 18:56:07 +0000 (18:56 +0000)]
Merge "Fudge getRightPaddingOffset in TextView to match clipRect." into lmp-mr1-dev

9 years agoSync file before using JournaledFile commit.
Kenny Guy [Thu, 15 Jan 2015 18:14:46 +0000 (18:14 +0000)]
Sync file before using JournaledFile commit.

Ext4 doesn't guarantee that write file.new / close file.new
rename file.new to file will mean data in file.new makes it
to file atomically. The rename may happen with previous contents
of file.new and then later update to new contents
See docs for noauto_da_alloc
So rebooting the device during JournaledFile.commit may
mean we are left with an empty file.

Bug: 18590558
Change-Id: I35322c82871bed30c2c6ebbd1388338f0471f3ba

9 years agoAudioManager: make AudioPortEventHandler static
Eric Laurent [Wed, 14 Jan 2015 21:23:27 +0000 (13:23 -0800)]
AudioManager: make AudioPortEventHandler static

Make AudioPortEventHandler and audio port and patch caches
static members of AudioManager. There is only one callback
per process in AudioSystem for audio port updates
and having those non static would not work when more than
one AudioManager instance exists in one app.

Bug: 18727023.
Change-Id: I4c1041dc6441d168be4efa066e14289cc5f41872

9 years agodocs: Remove reference to handheld app for bitmap resource locations.
Luan Nguyen [Thu, 15 Jan 2015 17:24:09 +0000 (09:24 -0800)]
docs: Remove reference to handheld app for bitmap resource locations.

bug: 17577838
Change-Id: I54cfd7a73d21464077d8644bbe1a2d8896f745e6

9 years agoMerge "Fix javadoc for UserManager.KEY_RESTRICTIONS_PENDING" into lmp-mr1-dev
Nicolas Prevot [Thu, 15 Jan 2015 12:28:12 +0000 (12:28 +0000)]
Merge "Fix javadoc for UserManager.KEY_RESTRICTIONS_PENDING" into lmp-mr1-dev

9 years agoMerge "CEC: Support sendStandby() for MHL device" into lmp-mr1-dev
Jinsuk Kim [Thu, 15 Jan 2015 05:07:02 +0000 (05:07 +0000)]
Merge "CEC: Support sendStandby() for MHL device" into lmp-mr1-dev

9 years agoMerge "Fix issue android-app doc, bump battery stats checkin version" into lmp-mr1-dev
Dianne Hackborn [Thu, 15 Jan 2015 01:38:22 +0000 (01:38 +0000)]
Merge "Fix issue android-app doc, bump battery stats checkin version" into lmp-mr1-dev

9 years agoMerge "Vsyncs are hard" into lmp-mr1-dev
John Reck [Thu, 15 Jan 2015 01:08:56 +0000 (01:08 +0000)]
Merge "Vsyncs are hard" into lmp-mr1-dev

9 years agoMerge "Jump ripples to end when switching to a non-hardware canvas" into lmp-mr1-dev
Alan Viverette [Thu, 15 Jan 2015 01:05:53 +0000 (01:05 +0000)]
Merge "Jump ripples to end when switching to a non-hardware canvas" into lmp-mr1-dev

9 years agoJump ripples to end when switching to a non-hardware canvas
Alan Viverette [Thu, 15 Jan 2015 01:05:21 +0000 (17:05 -0800)]
Jump ripples to end when switching to a non-hardware canvas

Previously we canceled the hardware animations but neglected to reset
the state, which left us drawing in the pressed state.

Bug: 19020524
Change-Id: I439a18126b9093cac40006361be99f8d077b95a9

9 years agoMerge "Make the DatePicker dialog fit on smaller screens in landscape mode" into...
Alan Viverette [Thu, 15 Jan 2015 00:58:38 +0000 (00:58 +0000)]
Merge "Make the DatePicker dialog fit on smaller screens in landscape mode" into lmp-mr1-dev

9 years agoMake the DatePicker dialog fit on smaller screens in landscape mode
Alan Viverette [Thu, 15 Jan 2015 00:58:05 +0000 (16:58 -0800)]
Make the DatePicker dialog fit on smaller screens in landscape mode

Bug: 18933437
Change-Id: Id40351d52a7eab81e15e1f0120a9da961ef21d0a

9 years agoUpdate generationId on bitmaps when decoded into by BitmapRegionDecoder
Chris Craik [Thu, 15 Jan 2015 00:52:20 +0000 (16:52 -0800)]
Update generationId on bitmaps when decoded into by BitmapRegionDecoder

bug:18921087

This fixes issues where bitmaps are cached as textures, and not
reuploaded when reused by BitmapRegionDecoder, showing stale content.

Change-Id: I7626fd6acd36d8e38723689734855ce9154eb8c8

9 years agoFix redundant file backups
Christopher Tate [Fri, 9 Jan 2015 02:42:33 +0000 (18:42 -0800)]
Fix redundant file backups

We'd observed a bug in which an unchanged file was nevertheless
being redundantly transmitted for backup on every backup pass.
The underlying issue turns out to have been the FileBackupHelper
base implementation's logic for diffing the prior-state file
set against the current state, in the case when there had been
deletions of prior files.  In addition, there was also a
parallel bug in which file checksums were not calculated
properly in some cases, leading to at least one additional
redundant backup of the file in question.

Bug 18694053

Change-Id: Ie0dec06486b5fef4624561737019569c85d6b2a0

9 years agoFudge getRightPaddingOffset in TextView to match clipRect.
Roozbeh Pournader [Thu, 15 Jan 2015 00:01:40 +0000 (16:01 -0800)]
Fudge getRightPaddingOffset in TextView to match clipRect.

A previous change (df68999dc7de3893ca80e4c736704dcc9ed94e35) adjusted
the clipRect slightly on the right side, but didn't adjust the
padding offset used in fading.

Bug: 18820846
Change-Id: I68c0918f914742d1e7b91f9ea8d5acbd41938233

9 years agoFix issue android-app doc, bump battery stats checkin version
Dianne Hackborn [Thu, 15 Jan 2015 00:16:13 +0000 (16:16 -0800)]
Fix issue android-app doc, bump battery stats checkin version

Issue #18983662: API Reivew: clarify Intent docs for URI_ANDROID_APP_SCHEME
Issue #19019830: Bump up battery stats checkin version

Change-Id: I0bd8f32b9d8d5978bd01d421ea2232d20def340a

9 years agoCEC: Support sendStandby() for MHL device
Jinsuk Kim [Wed, 14 Jan 2015 22:00:28 +0000 (07:00 +0900)]
CEC: Support sendStandby() for MHL device

Changed so that the API sendStandby() transform the request to
a MHL subcommand if the call is done against a MHL device.

Also hooked up the dump() to print out information on MHL.

Bug: 18451257
Change-Id: I1927855e0e4c45a731f0fd97ba572bfc2a894557

9 years agoMerge "Unhide getDataRoaming, Messenger uses it to decide to download MMS or not...
Stuart Scott [Wed, 14 Jan 2015 21:28:53 +0000 (21:28 +0000)]
Merge "Unhide getDataRoaming, Messenger uses it to decide to download MMS or not." into lmp-mr1-dev

9 years agoMerge "Clean up graphics resources." into lmp-mr1-dev
Michael Wright [Wed, 14 Jan 2015 21:21:39 +0000 (21:21 +0000)]
Merge "Clean up graphics resources." into lmp-mr1-dev

9 years agoMerge "Place window at top when adding by base layer" into lmp-mr1-dev
Craig Mautner [Wed, 14 Jan 2015 20:46:22 +0000 (20:46 +0000)]
Merge "Place window at top when adding by base layer" into lmp-mr1-dev

9 years agoMerge "AAPT: Handle all old unversioned attribute usage" into lmp-mr1-dev
Adam Lesinski [Wed, 14 Jan 2015 20:22:28 +0000 (20:22 +0000)]
Merge "AAPT: Handle all old unversioned attribute usage" into lmp-mr1-dev

9 years agoPlace window at top when adding by base layer
Craig Mautner [Wed, 14 Jan 2015 20:20:35 +0000 (12:20 -0800)]
Place window at top when adding by base layer

When addAppWindowToListLocked defaults to adding based on mBaseLayer
it went from the lowest window to the highest window looking for a
window whose base layer was larger and dropping the new window below
that window.

If the Home activity is the InputMethodTarget then when the home
ActivityStack moves to the back the InputMethod will follow. This
puts the InputMethod, with it's high base layer value below most
activities. If a new activity window is added using the mBaseLayer
rule above it was placed at the bottom of the window list below the
InputMethod window. Being at the bottom it never received focus and
input to the activity timed out causing ANR.

This change starts the mBaseLayer search at the top window and works
its way down looking for the first window whose mBaseLayer is less
than or equal to the new window's mBaseLayer and inserting the new
window above that window. This causes it to be placed at the top of
all activities even if the InputMethod is near the bottom.

Fixes bug 17721767.

Change-Id: I037064de7604b670841e985479eb5857b47af1d7

9 years agoUnhide getDataRoaming, Messenger uses it to decide to download MMS or not.
Stuart Scott [Wed, 14 Jan 2015 18:49:49 +0000 (10:49 -0800)]
Unhide getDataRoaming, Messenger uses it to decide to download MMS or not.

bug:19015551
Change-Id: Ibcad6424695a97bd9ae123010bdf740449d09327

9 years agoAAPT: Handle all old unversioned attribute usage
Adam Lesinski [Tue, 13 Jan 2015 21:42:41 +0000 (13:42 -0800)]
AAPT: Handle all old unversioned attribute usage

All references to attributes defined in pre-LOLLIPOP_MR1 SDK
are moved to version qualified resource entries.

Bug:18221682
Change-Id: Ifd739530ebcf99e6bc7ddb3f10bc5e05f0726e62

9 years agoVsyncs are hard
John Reck [Wed, 14 Jan 2015 18:40:15 +0000 (10:40 -0800)]
Vsyncs are hard

Bug: 18866485
Change-Id: I7d304df0f20a3296956cb6887a72adba9243f117

9 years agoSysUI: Log lockscreen gestures
Christoph Studer [Mon, 22 Dec 2014 20:02:26 +0000 (21:02 +0100)]
SysUI: Log lockscreen gestures

Log the following lockscreen gestures:
 * Swipe up to unlock
 * Swipe down to enter full shade
 * Tap in empty area (causing unlock hint)
 * Swipe to camera
 * Swipe to dialer
 * Tap on lock to lock device
 * Tap on notification, activating it

For swipe gestures, includes length and velocity where available.

Bug: 18767135
Change-Id: Ib2c535e3a9d2b378f5a2a0a00c2be3fd916554ac

9 years agoMerge "Only notify SIM state changes when it has actually changed" into lmp-mr1-dev
Jorim Jaggi [Wed, 14 Jan 2015 15:13:05 +0000 (15:13 +0000)]
Merge "Only notify SIM state changes when it has actually changed" into lmp-mr1-dev

9 years agoMerge "SysUI: Log lockscreen state to eventlog" into lmp-mr1-dev
Christoph Studer [Wed, 14 Jan 2015 15:10:52 +0000 (15:10 +0000)]
Merge "SysUI: Log lockscreen state to eventlog" into lmp-mr1-dev

9 years agoMerge "Make documentation for cross-profile intent filters clearer." into lmp-mr1-dev
Nicolas Prevot [Wed, 14 Jan 2015 13:33:11 +0000 (13:33 +0000)]
Merge "Make documentation for cross-profile intent filters clearer." into lmp-mr1-dev

9 years agoMerge "Don't blindly teardown unvalidated networks when releasing NetworkRequests...
Paul Jensen [Wed, 14 Jan 2015 12:38:57 +0000 (12:38 +0000)]
Merge "Don't blindly teardown unvalidated networks when releasing NetworkRequests." into lmp-mr1-dev

9 years agoMake documentation for cross-profile intent filters clearer.
Nicolas Prevot [Mon, 12 Jan 2015 12:32:56 +0000 (12:32 +0000)]
Make documentation for cross-profile intent filters clearer.

Explain why FLAG_MANAGED_CAN_ACCESS_PARENT and FLAG_PARENT_CAN_ACCESS_MANAGED
have these names.
Also do not mention the disambiguation list since there is not always a
disambiguation list shown when resolving cross-profile intent filters.

BUG:18962528

Change-Id: Ibbb9505dcab7cf17d87435eff2cef3e745e95209

9 years agoMerge "Switch the connectivity check to its own hostname." into lmp-mr1-dev
Lorenzo Colitti [Wed, 14 Jan 2015 10:28:23 +0000 (10:28 +0000)]
Merge "Switch the connectivity check to its own hostname." into lmp-mr1-dev

9 years agoMerge "StateMachine.dump produces no output sometimes." into lmp-mr1-dev
Wink Saville [Wed, 14 Jan 2015 00:52:06 +0000 (00:52 +0000)]
Merge "StateMachine.dump produces no output sometimes." into lmp-mr1-dev

9 years agoMerge "Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per...
Junda Liu [Wed, 14 Jan 2015 00:06:18 +0000 (00:06 +0000)]
Merge "Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council." into lmp-mr1-dev

9 years agoSwitch the connectivity check to its own hostname.
Lorenzo Colitti [Tue, 13 Jan 2015 15:16:03 +0000 (00:16 +0900)]
Switch the connectivity check to its own hostname.

Bug: 18467482
Bug: 18869302
Bug: 18924197
Change-Id: I1de478e9c8a165faf6f1bf81e042d1de9e03c3d5

9 years agoMerge "Fix unexpected language changes on SIM card insertion." into lmp-mr1-dev
Justin Harrison [Tue, 13 Jan 2015 23:01:38 +0000 (23:01 +0000)]
Merge "Fix unexpected language changes on SIM card insertion." into lmp-mr1-dev

9 years agoMerge "AudioService: handle stream mute by stream alias" into lmp-mr1-dev
Eric Laurent [Tue, 13 Jan 2015 23:00:38 +0000 (23:00 +0000)]
Merge "AudioService: handle stream mute by stream alias" into lmp-mr1-dev

9 years agoMerge "Update javadoc and hide getNameSource and getDataRoaming." into lmp-mr1-dev
Stuart Scott [Tue, 13 Jan 2015 22:43:13 +0000 (22:43 +0000)]
Merge "Update javadoc and hide getNameSource and getDataRoaming." into lmp-mr1-dev

9 years agoStateMachine.dump produces no output sometimes.
Wink Saville [Mon, 12 Jan 2015 19:34:20 +0000 (11:34 -0800)]
StateMachine.dump produces no output sometimes.

If the content to dump is large no output is produced by dump. Change
back to using a loop and flush.

Bug: 18965342
Change-Id: Ibc33da8bfffd5f998a78df0e2d70ed8e8a0aa137

9 years agoMerge "Run isKeyguardSecure under system privileges" into lmp-mr1-dev
Fyodor Kupolov [Tue, 13 Jan 2015 22:19:23 +0000 (22:19 +0000)]
Merge "Run isKeyguardSecure under system privileges" into lmp-mr1-dev

9 years agoRename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.
Junda Liu [Tue, 13 Jan 2015 21:50:25 +0000 (13:50 -0800)]
Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.

Bug: b/18983535
Change-Id: I937b7ce38615e07f653d3ee02d734edfcfea3897

9 years agoMerge "Complete booting when frontmost activity is idle" into lmp-mr1-dev
Craig Mautner [Tue, 13 Jan 2015 21:28:34 +0000 (21:28 +0000)]
Merge "Complete booting when frontmost activity is idle" into lmp-mr1-dev

9 years agoMerge "Add debug for ANR" into lmp-mr1-dev
Craig Mautner [Tue, 13 Jan 2015 21:27:20 +0000 (21:27 +0000)]
Merge "Add debug for ANR" into lmp-mr1-dev

9 years agoAdd debug for ANR
Craig Mautner [Tue, 13 Jan 2015 21:09:22 +0000 (13:09 -0800)]
Add debug for ANR

Help for bug 17721767.

Change-Id: If863f3e6536be8af2c189dcc37d503c4d6b663b4

9 years agoOnly notify SIM state changes when it has actually changed
Jorim Jaggi [Tue, 13 Jan 2015 20:33:45 +0000 (21:33 +0100)]
Only notify SIM state changes when it has actually changed

onSubscriptionInfoChanged gets called quite frequently whenever
something about the connectivity changes, which could lead that the
whole state of the Keyguard was reset. This change actually checks
whether the state has really changed and thus only resets Keyguard
when necessary.

Bug: 18821582
Change-Id: Ia70804d0337b11914c7d57aa4cdc47d585786f1d

9 years agoMerge "Fix for call timer resetting when starting IMS conference call. 1/4" into...
Tyler Gunn [Tue, 13 Jan 2015 20:42:36 +0000 (20:42 +0000)]
Merge "Fix for call timer resetting when starting IMS conference call. 1/4" into lmp-mr1-dev

9 years agoUpdate javadoc and hide getNameSource and getDataRoaming.
Stuart Scott [Mon, 12 Jan 2015 23:13:21 +0000 (15:13 -0800)]
Update javadoc and hide getNameSource and getDataRoaming.

Note SubscriptionInfo was not public in 21 and 22 hasn't been released yet.

bug:18983672
Change-Id: I9e8684eea2462fb655846d0719158d54007fabc5

9 years agoAudioService: handle stream mute by stream alias
Eric Laurent [Tue, 13 Jan 2015 20:19:53 +0000 (12:19 -0800)]
AudioService: handle stream mute by stream alias

Handle stream mute/unmute requests at the stream
alias level (like is done volume changes) to be consistent.
E.g a request to mute/unmute a stream will affect all streams
sharing the same alias for volume management.

Bug: 18844550.
Change-Id: Ie2e463c58df0371589150f0ebb9b36c38b14e1be

9 years agoComplete booting when frontmost activity is idle
Craig Mautner [Tue, 13 Jan 2015 17:37:08 +0000 (09:37 -0800)]
Complete booting when frontmost activity is idle

The boot process is intended to complete when the frontmost activity
becomes idle. This change fixes a corner case where the system was
booting and the Home activity became idle when it was not at the
front causing the system to never complete booting.

Before ag/603303 a secondary stack was created for the TaskPersister
at the beginning of activity manager systemReady(). Following that
change the secondary stack was created for the first time when a task
was restored from system ui recents when getTaskThumbnail() was
called. At the time it was created it was also moved to the front of
the stack order.

If that stack creation happens to occur after the Home activity is
started but before the Home activity becomes idle then the new stack
will obscure the Home activity and the boot process does not
complete.

1. This change adds a test for an idle activity coming to the front
when a stack is moving to the front and we haven't completed booting
yet. If this situation is detected the boot sequence is then
completed.

2. This change fixes the stack ordering so that creating a new task
when restoring recents does not automatically move the stack to the
front.

Fixes bug 18949470.

Change-Id: I243f0bb4396b518a0a8835c0c7bdccb2581a3520

9 years agoRun isKeyguardSecure under system privileges
Fyodor Kupolov [Tue, 13 Jan 2015 19:06:04 +0000 (11:06 -0800)]
Run isKeyguardSecure under system privileges

In certain cases, isKeyguardSecure calls UserManager.getProfileParent, which
requires MANAGE_USERS permission.
Now the check is done under system privileges.

Bug:18765066
Change-Id: I6b23aedee06403d36523af5fee9c7db9659284b3

9 years agoMerge "Rename reg/unreg OnSubscriptionsChangedListener." into lmp-mr1-dev
Wink Saville [Tue, 13 Jan 2015 19:02:06 +0000 (19:02 +0000)]
Merge "Rename reg/unreg OnSubscriptionsChangedListener." into lmp-mr1-dev

9 years agoMerge "Update javadoc for DEFAULT_FEATURES deprecation." into lmp-mr1-dev
Bryce Lee [Tue, 13 Jan 2015 18:59:34 +0000 (18:59 +0000)]
Merge "Update javadoc for DEFAULT_FEATURES deprecation." into lmp-mr1-dev

9 years agoMerge "Add API for nested pre-processing of a11y events; fix ResolverDrawerLayout...
Adam Powell [Tue, 13 Jan 2015 18:57:32 +0000 (18:57 +0000)]
Merge "Add API for nested pre-processing of a11y events; fix ResolverDrawerLayout" into lmp-mr1-dev

9 years agoFix javadoc for UserManager.KEY_RESTRICTIONS_PENDING
Nicolas Prevot [Tue, 13 Jan 2015 14:23:53 +0000 (14:23 +0000)]
Fix javadoc for UserManager.KEY_RESTRICTIONS_PENDING

BUG:18983720

Change-Id: I3af3354f746cd2981cdb8ba2ed6cc380665249ee

9 years agoMerge "DO NOT MERGE. Ensure screen pinning UI appears immediately after setting chang...
Winson Chung [Tue, 13 Jan 2015 18:16:21 +0000 (18:16 +0000)]
Merge "DO NOT MERGE. Ensure screen pinning UI appears immediately after setting changes." into lmp-mr1-dev

9 years agoMerge "Clarify docs for user restrictions" into lmp-mr1-dev
Nicolas Prévot [Tue, 13 Jan 2015 17:35:12 +0000 (17:35 +0000)]
Merge "Clarify docs for user restrictions" into lmp-mr1-dev