OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Stop emitting javadoc for @removed attributes." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 13:21:09 +0000 (13:21 +0000)]
Merge "Stop emitting javadoc for @removed attributes." into nyc-dev

8 years agoLoadedApk: Avoid unnecessary work when mIncludeCode == false.
Narayan Kamath [Wed, 11 May 2016 19:31:09 +0000 (20:31 +0100)]
LoadedApk: Avoid unnecessary work when mIncludeCode == false.

We don't need to set up JIT profiles and register usage etc when
the package context we're trying to construct doesn't request code.

This will correct accounting for packages which are only used for
resources.

bug: 28519185
Change-Id: I849675efa76c8100ae937de478b52254babe384c

8 years agoMerge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev
Abodunrinwa Toki [Mon, 16 May 2016 09:37:54 +0000 (09:37 +0000)]
Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev

8 years agoMerge "Address API review comments." into nyc-dev
Martijn Coenen [Mon, 16 May 2016 09:18:35 +0000 (09:18 +0000)]
Merge "Address API review comments." into nyc-dev

8 years agodocs: Revert Wear Preview coming soon page and redirects am: a6443a4814
Joe Fernandez [Mon, 16 May 2016 05:22:25 +0000 (05:22 +0000)]
docs: Revert Wear Preview coming soon page and redirects am: a6443a4814
am: 0599768d37

* commit '0599768d37f65b1982a7146f4b4a6c261a83fb69':
  docs: Revert Wear Preview coming soon page and redirects

Change-Id: Ia4a02ad1a06338db1b1dcd567a5d5edee3d17f10

8 years agodocs: Revert Wear Preview coming soon page and redirects
Joe Fernandez [Mon, 16 May 2016 05:19:32 +0000 (05:19 +0000)]
docs: Revert Wear Preview coming soon page and redirects
am: a6443a4814

* commit 'a6443a48143b456947a2cf7af389d6a78cdf4f4a':
  docs: Revert Wear Preview coming soon page and redirects

Change-Id: I5e024a9412b2b0fdd73d3e4b9803626e3ecab7b1

8 years agoMerge "CEC: Defer CEC actions until logical address is available" into nyc-dev
Donghyun Cho [Mon, 16 May 2016 04:48:28 +0000 (04:48 +0000)]
Merge "CEC: Defer CEC actions until logical address is available" into nyc-dev

8 years agodocs: Revert Wear Preview coming soon page and redirects
Joe Fernandez [Mon, 16 May 2016 04:25:45 +0000 (21:25 -0700)]
docs: Revert Wear Preview coming soon page and redirects

Change-Id: I69e9291ab20e462db620c841153a76b03d7057fc

8 years agodocs: Add "coming soon" page for Wear team am: 01afbd1481 am: 793c2171c9
Joe Fernandez [Mon, 16 May 2016 04:03:53 +0000 (04:03 +0000)]
docs: Add "coming soon" page for Wear team am: 01afbd1481 am: 793c2171c9
am: 25919d41da

* commit '25919d41da794e7d453742f2ddafc7cee12e6ee1':
  docs: Add "coming soon" page for Wear team

Change-Id: Ibe7d1c1c36460315bac1b2bc5ddc7fd5e456b6fd

8 years agodocs: Add "coming soon" page for Wear team am: 01afbd1481
Joe Fernandez [Mon, 16 May 2016 04:00:26 +0000 (04:00 +0000)]
docs: Add "coming soon" page for Wear team am: 01afbd1481
am: 793c2171c9

* commit '793c2171c905d8c006a7edf220c1f75439e6db51':
  docs: Add "coming soon" page for Wear team

Change-Id: I50f8b71e916f59e8c61a28aa7fa37f9a4de7d174

8 years agodocs: Add "coming soon" page for Wear team
Joe Fernandez [Mon, 16 May 2016 03:57:39 +0000 (03:57 +0000)]
docs: Add "coming soon" page for Wear team
am: 01afbd1481

* commit '01afbd14814072c39b1f10668dc345512417e945':
  docs: Add "coming soon" page for Wear team

Change-Id: I3f5b90b4cdcee2d2c16f0b91d1c98cd889d76771

8 years agodocs: Add "coming soon" page for Wear team
Joe Fernandez [Mon, 16 May 2016 03:38:52 +0000 (20:38 -0700)]
docs: Add "coming soon" page for Wear team

Change-Id: Ia5eb31fb2683c1b37188c288cf9784db22f86697

8 years agodocs: fix resource card listings for DoDS in Wear Preview am: e6c2b75650
Joe Fernandez [Sun, 15 May 2016 22:27:07 +0000 (22:27 +0000)]
docs: fix resource card listings for DoDS in Wear Preview am: e6c2b75650
am: 4acf490c8a

* commit '4acf490c8aa80f1c55a0d2dfdd69fbbcf59f23de':
  docs: fix resource card listings for DoDS in Wear Preview

Change-Id: Ie865c0f17d25063983a88314c3a41a3c148638db

8 years agodocs: fix resource card listings for DoDS in Wear Preview
Joe Fernandez [Sun, 15 May 2016 22:24:18 +0000 (22:24 +0000)]
docs: fix resource card listings for DoDS in Wear Preview
am: e6c2b75650

* commit 'e6c2b75650749d79dca4e50cb9214ee75d8472b8':
  docs: fix resource card listings for DoDS in Wear Preview

Change-Id: Iaf271f90ad931c042dc0b81a55f5651af644012f

8 years agodocs: fix resource card listings for DoDS in Wear Preview
Joe Fernandez [Sun, 15 May 2016 22:11:08 +0000 (15:11 -0700)]
docs: fix resource card listings for DoDS in Wear Preview

b/28769830

Change-Id: I69eb12de0779f7a63e35d50e0f8fa767475ef1e6

8 years agoMerge "fix typo in book path for devsite builds." into mnc-mr-docs am: 44b31fa0c4...
Dirk Dougherty [Sun, 15 May 2016 19:48:54 +0000 (19:48 +0000)]
Merge "fix typo in book path for devsite builds." into mnc-mr-docs am: 44b31fa0c4 am: 2394b301fc
am: 21f1a6d8e1

* commit '21f1a6d8e106d6a0fc5ccda15f93f4319b3142e1':
  fix typo in book path for devsite builds.

Change-Id: I659cb1e894b0d8156817de3264a922c5f81579d3

8 years agoMerge "fix typo in book path for devsite builds." into mnc-mr-docs am: 44b31fa0c4
Dirk Dougherty [Sun, 15 May 2016 19:45:45 +0000 (19:45 +0000)]
Merge "fix typo in book path for devsite builds." into mnc-mr-docs am: 44b31fa0c4
am: 2394b301fc

* commit '2394b301fc792bd5911cbfab585061b32a8cd7f3':
  fix typo in book path for devsite builds.

Change-Id: I83499e76960f7d507345f2374ba4adab94c4fa02

8 years agoMerge "fix typo in book path for devsite builds." into mnc-mr-docs
Dirk Dougherty [Sun, 15 May 2016 19:43:01 +0000 (19:43 +0000)]
Merge "fix typo in book path for devsite builds." into mnc-mr-docs
am: 44b31fa0c4

* commit '44b31fa0c42e0d52f0cecbc1f75a0e62279ff5c1':
  fix typo in book path for devsite builds.

Change-Id: I30c2abc4be350c6c78c0372a54459b21fb1fd132

8 years agoMerge "fix typo in book path for devsite builds." into mnc-mr-docs
Dirk Dougherty [Sun, 15 May 2016 19:38:51 +0000 (19:38 +0000)]
Merge "fix typo in book path for devsite builds." into mnc-mr-docs

8 years agoUpdate links for all files under sdk/ that moved to studio/ am: 89d11705a1 am: d10e0132a1
smain@google.com [Sun, 15 May 2016 03:11:46 +0000 (03:11 +0000)]
Update links for all files under sdk/ that moved to studio/ am: 89d11705a1 am: d10e0132a1
am: 6c568e6322

* commit '6c568e632242e99eb255f721edcbec0223f9934d':
  Update links for all files under sdk/ that moved to studio/

Change-Id: I2acd1acd6fef98c527ef4dfc0d016bb5cfa296cc

8 years agoUpdate links for all files under sdk/ that moved to studio/ am: 89d11705a1
smain@google.com [Sun, 15 May 2016 03:09:06 +0000 (03:09 +0000)]
Update links for all files under sdk/ that moved to studio/ am: 89d11705a1
am: d10e0132a1

* commit 'd10e0132a124f5a24bec436600e04b8f97720e7e':
  Update links for all files under sdk/ that moved to studio/

Change-Id: If4a364fecbbb012f5b6beb739d879b003f90e6d9

8 years agoUpdate links for all files under sdk/ that moved to studio/
smain@google.com [Sun, 15 May 2016 03:06:29 +0000 (03:06 +0000)]
Update links for all files under sdk/ that moved to studio/
am: 89d11705a1

* commit '89d11705a19f73d32a7e604477dd4358dc04d051':
  Update links for all files under sdk/ that moved to studio/

Change-Id: Id47c082a96ffffdfb439aaab80ccb0a645557dec

8 years agoUpdate links for all files under sdk/ that moved to studio/
smain@google.com [Sun, 15 May 2016 02:20:00 +0000 (19:20 -0700)]
Update links for all files under sdk/ that moved to studio/

Change-Id: I624621dfd7df0f441d0b559e5a12029e5e299964

8 years agoUI Widgets documentation for Wear 2.0 preview. am: 0fce5d1328
sreevanis [Sat, 14 May 2016 22:00:19 +0000 (22:00 +0000)]
UI Widgets documentation for Wear 2.0 preview. am: 0fce5d1328
am: cf3fa15b3e

* commit 'cf3fa15b3ea686daeedffb76712f2ec43651a354':
  UI Widgets documentation for Wear 2.0 preview.

Change-Id: Ide6bbe3b5aee7358f35739b9d9c03dd58c32213e

8 years agoUI Widgets documentation for Wear 2.0 preview.
sreevanis [Sat, 14 May 2016 21:57:40 +0000 (21:57 +0000)]
UI Widgets documentation for Wear 2.0 preview.
am: 0fce5d1328

* commit '0fce5d13289606087785682b80b7ea6fb9e74293':
  UI Widgets documentation for Wear 2.0 preview.

Change-Id: I1ac2e002139cd6850b941893a9c1f7f2bc710e10

8 years agoUI Widgets documentation for Wear 2.0 preview.
sreevanis [Wed, 11 May 2016 17:16:59 +0000 (10:16 -0700)]
UI Widgets documentation for Wear 2.0 preview.

Bug:28473253
Change-Id: I983249b301ae2585e2e78f09c532e4a7e7b32df7

8 years agoMerge "network: Adds the functionality to parse uid in netlink messages." into nyc-dev
Ruchi Kandoi [Sat, 14 May 2016 01:32:53 +0000 (01:32 +0000)]
Merge "network: Adds the functionality to parse uid in netlink messages." into nyc-dev

8 years agoMerge "Fix regression from "PIP: Fix NPE when onboarding is shown"" into nyc-dev
TreeHugger Robot [Sat, 14 May 2016 01:09:25 +0000 (01:09 +0000)]
Merge "Fix regression from "PIP: Fix NPE when onboarding is shown"" into nyc-dev

8 years agobring back the android command line tool page. as per: https://critique.corp.google...
smain@google.com [Sat, 14 May 2016 00:51:50 +0000 (00:51 +0000)]
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732 am: 7d1717b0a9 am: 648b0ee2ec
am: fb52c63d81

* commit 'fb52c63d81c966e4ba83314d86b2897391c14151':
  bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732

Change-Id: Ib0102cb3e64d9e5829465724812e229ccc3b376c

8 years agobring back the android command line tool page. as per: https://critique.corp.google...
smain@google.com [Sat, 14 May 2016 00:49:08 +0000 (00:49 +0000)]
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732 am: 7d1717b0a9
am: 648b0ee2ec

* commit '648b0ee2ec58ed298a7746797285d3d0f0f9f74e':
  bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732

Change-Id: I605ed40346fef422806828c6d18ce42e21afc038

8 years agobring back the android command line tool page. as per: https://critique.corp.google...
smain@google.com [Sat, 14 May 2016 00:46:27 +0000 (00:46 +0000)]
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732
am: 7d1717b0a9

* commit '7d1717b0a90d4ee5f7abcd89f5345a5a613d72e1':
  bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732

Change-Id: I72151cd87714898faec80bb8f299c06b02ed6605

8 years agoMerge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs am: 823cfe0fd3
Andrew Solovay [Sat, 14 May 2016 00:44:04 +0000 (00:44 +0000)]
Merge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs am: 823cfe0fd3
am: caa1a1c6f9

* commit 'caa1a1c6f90449774894650b365f912f136fe442':
  docs: Quick Tile update to DP3 release notes

Change-Id: Ia86339118d70ee5c145afcacb0f25b5683cf5346

8 years agoMerge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs
Andrew Solovay [Sat, 14 May 2016 00:41:28 +0000 (00:41 +0000)]
Merge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs
am: 823cfe0fd3

* commit '823cfe0fd35c9875d58a1ec0bc1b1ad13b416ba1':
  docs: Quick Tile update to DP3 release notes

Change-Id: I929a37f76ca4beef34a4401e5a90839f33fb8502

8 years agobring back the android command line tool page.
smain@google.com [Sat, 14 May 2016 00:38:15 +0000 (17:38 -0700)]
bring back the android command line tool page.
as per: https://critique.corp.google.com/#review/122312732

Change-Id: I15c902c1dd3b712185abdd6c80f6d7ab7df84246

8 years agoMerge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs
Andrew Solovay [Sat, 14 May 2016 00:36:22 +0000 (00:36 +0000)]
Merge "docs: Quick Tile update to DP3 release notes" into mnc-io-docs

8 years agoremove tools-moved.html redirect, go to studio home instead am: 7848eef2e6 am: b8fe6e8b20
smain@google.com [Sat, 14 May 2016 00:28:03 +0000 (00:28 +0000)]
remove tools-moved.html redirect, go to studio home instead am: 7848eef2e6 am: b8fe6e8b20
am: 9e11298335

* commit '9e11298335c84f29f8fb8213c8d61721d1cec18c':
  remove tools-moved.html redirect, go to studio home instead

Change-Id: I666b10252b966a5b803b7aab888919186e78f4cb

8 years agoremove tools-moved.html redirect, go to studio home instead am: 7848eef2e6
smain@google.com [Sat, 14 May 2016 00:24:36 +0000 (00:24 +0000)]
remove tools-moved.html redirect, go to studio home instead am: 7848eef2e6
am: b8fe6e8b20

* commit 'b8fe6e8b209b0fe39f661c10979557376dae23ec':
  remove tools-moved.html redirect, go to studio home instead

Change-Id: I5092050fcbec6c55487e441b3e7113d411fcbeb8

8 years agoMerge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs am: 3eff38f...
smain@google.com [Sat, 14 May 2016 00:21:59 +0000 (00:21 +0000)]
Merge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs am: 3eff38fdba am: 3a8d2c8fd2
am: 6e8711c89c

* commit '6e8711c89c5aef027f0f2d7d9fb3d1a0a31c042c':
  Revisions to develop landing page for studio 2.1

Change-Id: I310b93a7621de4745d069fe22ba7acb81aedb48e

8 years agoremove tools-moved.html redirect, go to studio home instead
smain@google.com [Sat, 14 May 2016 00:21:50 +0000 (00:21 +0000)]
remove tools-moved.html redirect, go to studio home instead
am: 7848eef2e6

* commit '7848eef2e62df56e73f992c174ca2c6195664ea4':
  remove tools-moved.html redirect, go to studio home instead

Change-Id: If5d9f19cdf0058047a6336edbed83e45323ffa79

8 years agoMerge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs am: 3eff38fdba
Scott Main [Sat, 14 May 2016 00:19:17 +0000 (00:19 +0000)]
Merge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs am: 3eff38fdba
am: 3a8d2c8fd2

* commit '3a8d2c8fd20b65ec6700f662d815299943661f48':
  Revisions to develop landing page for studio 2.1

Change-Id: Ib9689bc1b71e79c447425bceb0cf944ad5630362

8 years agoMerge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs
smain@google.com [Sat, 14 May 2016 00:16:43 +0000 (00:16 +0000)]
Merge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs
am: 3eff38fdba

* commit '3eff38fdba7dc1e0f02aa80997ee2e3895524ee1':
  Revisions to develop landing page for studio 2.1

Change-Id: Ied3d0ed51ce5bca165c91acc788683fb39ac5d53

8 years agoremove tools-moved.html redirect, go to studio home instead
smain@google.com [Sat, 14 May 2016 00:13:20 +0000 (17:13 -0700)]
remove tools-moved.html redirect, go to studio home instead

Change-Id: If14e889b475782ceee65a2beba49fe26d7a54a6c

8 years agoMerge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs
Scott Main [Sat, 14 May 2016 00:11:48 +0000 (00:11 +0000)]
Merge "Revisions to develop landing page for studio 2.1" into mnc-mr-docs

8 years agoRevisions to develop landing page for studio 2.1
smain@google.com [Sat, 14 May 2016 00:10:32 +0000 (17:10 -0700)]
Revisions to develop landing page for studio 2.1

Change-Id: I8fe5e0dc1f9627306a2516f795ed5933d5bb671a

8 years agoMerge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs...
Sreevani Sreejith [Fri, 13 May 2016 23:54:00 +0000 (23:54 +0000)]
Merge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs am: f4bf6f7675
am: a87dfa0de6

* commit 'a87dfa0de6cdad7e42b8d21fd1112df2f04b36df':
  Added Support and Release Notes Nav link and IMF Nav link.

Change-Id: I3a5965b18d7a6771593a4d8a4c863d1f38e445c0

8 years agoMerge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs
sreevanis [Fri, 13 May 2016 23:51:24 +0000 (23:51 +0000)]
Merge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs
am: f4bf6f7675

* commit 'f4bf6f7675bc04f3f9e4cb05408b5c63ae8d3c49':
  Added Support and Release Notes Nav link and IMF Nav link.

Change-Id: I58ed03df80f0db496cbb45b5a7a630b9ba878454

8 years agoMerge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs
Sreevani Sreejith [Fri, 13 May 2016 23:47:47 +0000 (23:47 +0000)]
Merge "Added Support and Release Notes Nav link and IMF Nav link." into mnc-io-docs

8 years agoAdded Support and Release Notes Nav link and IMF Nav link.
sreevanis [Fri, 13 May 2016 23:21:52 +0000 (16:21 -0700)]
Added Support and Release Notes Nav link and IMF Nav link.

Bug:28768632
Change-Id: I553001c8876ae498472dd64e0948876ba5ca7d2c

8 years agoFix regression from "PIP: Fix NPE when onboarding is shown"
Jae Seo [Fri, 13 May 2016 18:16:16 +0000 (18:16 +0000)]
Fix regression from "PIP: Fix NPE when onboarding is shown"

Removed the second "continue" to allow isFirstValidTask to be set to
false.
This is a follow-up fix from commit 91c5066c0036b5322f53c35fcc48bbad75ef4305.

Bug: 28754669
Change-Id: Ic852afaa78fc79bcd85b04e888975cd3bfc72094

8 years agoMerge "Fix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy....
Dianne Hackborn [Fri, 13 May 2016 23:22:11 +0000 (23:22 +0000)]
Merge "Fix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy..." into nyc-dev

8 years agoMerge "Set final crop on wallpaper instead of intersect clip with stack bounds" into...
Chong Zhang [Fri, 13 May 2016 23:21:03 +0000 (23:21 +0000)]
Merge "Set final crop on wallpaper instead of intersect clip with stack bounds" into nyc-dev

8 years agoMerge "Also freeze configuration when freezing bounds" into nyc-dev
Jorim Jaggi [Fri, 13 May 2016 23:16:12 +0000 (23:16 +0000)]
Merge "Also freeze configuration when freezing bounds" into nyc-dev

8 years agoMerge "Wear 2.0 preview input method documentaation." into mnc-io-docs am: 9c105c50a9
Sreevani Sreejith [Fri, 13 May 2016 23:14:59 +0000 (23:14 +0000)]
Merge "Wear 2.0 preview  input method documentaation." into mnc-io-docs am: 9c105c50a9
am: a9486c041f

* commit 'a9486c041f177f11d5f61dc7fb92a10447c836a3':
  Wear 2.0 preview  input method documentaation.

Change-Id: Ideb177a06ba57134e535dcd67a8c01ca9bb8216d

8 years agoMerge "Wear 2.0 preview input method documentaation." into mnc-io-docs
sreevanis [Fri, 13 May 2016 23:12:28 +0000 (23:12 +0000)]
Merge "Wear 2.0 preview  input method documentaation." into mnc-io-docs
am: 9c105c50a9

* commit '9c105c50a9a7c3a020103287a4d207291b8ab711':
  Wear 2.0 preview  input method documentaation.

Change-Id: I2913fb11624046751bc9097cf9c216d02edae971

8 years agoMerge "Fix Skia filter behavior test" into nyc-dev
Chris Craik [Fri, 13 May 2016 23:12:17 +0000 (23:12 +0000)]
Merge "Fix Skia filter behavior test" into nyc-dev

8 years agoMerge "Wear 2.0 preview input method documentaation." into mnc-io-docs
Sreevani Sreejith [Fri, 13 May 2016 23:04:50 +0000 (23:04 +0000)]
Merge "Wear 2.0 preview  input method documentaation." into mnc-io-docs

8 years agoAlso freeze configuration when freezing bounds
Jorim Jaggi [Tue, 10 May 2016 02:57:25 +0000 (19:57 -0700)]
Also freeze configuration when freezing bounds

We also need to freeze the override configuration so we don't report
the new configuration too early, which leads to bugs.

Bug: 27915587
Change-Id: Idffadbb02ab0311796caa760ae1f467fd2d17768

8 years agoWear 2.0 preview input method documentaation.
sreevanis [Wed, 11 May 2016 18:30:58 +0000 (11:30 -0700)]
Wear 2.0 preview  input method documentaation.

Bug:28472831
Change-Id: Ic2143ec8087d084609e3c6e8c125c37e1a5849da

8 years agoSet final crop on wallpaper instead of intersect clip with stack bounds
Chong Zhang [Fri, 13 May 2016 22:38:02 +0000 (15:38 -0700)]
Set final crop on wallpaper instead of intersect clip with stack bounds

Wallpaper's clip rect is offset by its window offsets, it can't be
intersect directly with stack bounds.

bug: 28763785
Change-Id: Id87d668c9e59832498c9c62730617d0a5a9207c2

8 years agonetwork: Adds the functionality to parse uid in netlink messages.
Ruchi Kandoi [Fri, 13 May 2016 22:10:39 +0000 (15:10 -0700)]
network: Adds the functionality to parse uid in netlink messages.

Netlink notifications about the state of the modem contains uid too.
This patch adds the functionality to add that. It also fixes the bug to
parse the timestamp in the message even in cases where the length is
greater than expected.

Bug: 28527904
Change-Id: I4643bff3eb5b1ffa2dc0b78f1c6947d60487e0d8
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agoMerge "Make settings cahches generation mechanism robust." into nyc-dev
Svetoslav Ganov [Fri, 13 May 2016 22:22:31 +0000 (22:22 +0000)]
Merge "Make settings cahches generation mechanism robust." into nyc-dev

8 years agoMake settings cahches generation mechanism robust.
Svetoslav Ganov [Wed, 11 May 2016 01:55:47 +0000 (18:55 -0700)]
Make settings cahches generation mechanism robust.

Settings is using a MemoryIntArray to communicate the settings table
version enabling apps to have up-to-date local caches. However, ashmem
allows an arbitrary process with a handle to the fd (even in read only
mode) to unpin the memory which can then be garbage collected. Here we
make this mechanism fault tolerant against bad apps unpinning the ashmem
region. First, we no longer unpin the ashmem on the client side and if
the ashmem region is purged and cannot be pinned we recreate it and
hook up again with the local app caches. The change also adds a test
that clients can only read while owner can read/write.

bug:28764789

Change-Id: I1ef79b4b21e976124b268c9126a55d614157059b

8 years agodocs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3 am...
Andrew Solovay [Fri, 13 May 2016 22:08:17 +0000 (22:08 +0000)]
docs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3 am: c88130c572
am: d29c26073e

* commit 'd29c26073e97e4c6e7825641cf6e76720df395e3':
  docs: Updates to multi-window and related docs.

Change-Id: Ic4be60debb41d074d717bfb0989125299428831a

8 years agodocs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3
Andrew Solovay [Fri, 13 May 2016 22:03:15 +0000 (22:03 +0000)]
docs: Updates to multi-window and related docs. am: 4d93a21980 am: 8263d6c0a3
am: c88130c572

* commit 'c88130c5724227b3ba7ef0b5ef4476fedabca650':
  docs: Updates to multi-window and related docs.

Change-Id: I308c988e3a93737a478f9f2445b512e86f218643

8 years agodocs: Updates to multi-window and related docs. am: 4d93a21980
Andrew Solovay [Fri, 13 May 2016 22:00:39 +0000 (22:00 +0000)]
docs: Updates to multi-window and related docs. am: 4d93a21980
am: 8263d6c0a3

* commit '8263d6c0a35a5467764ed12d6586ab176fdc15ff':
  docs: Updates to multi-window and related docs.

Change-Id: Ia571cf3a38f1cd621bba6bc35d9b2b836361d7b5

8 years agodocs: Updates to multi-window and related docs.
Andrew Solovay [Fri, 13 May 2016 21:57:51 +0000 (21:57 +0000)]
docs: Updates to multi-window and related docs.
am: 4d93a21980

* commit '4d93a21980f7e82bd346ad9c3a18c0c932d09253':
  docs: Updates to multi-window and related docs.

Change-Id: Ie12e3c25417943582aa1db1bf476e53a41838745

8 years agoMerge "Add Fragment#onAttachFragment for parent fragments" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 21:53:41 +0000 (21:53 +0000)]
Merge "Add Fragment#onAttachFragment for parent fragments" into nyc-dev

8 years agodocs: Quick Tile update to DP3 release notes
Andrew Solovay [Fri, 13 May 2016 21:37:33 +0000 (14:37 -0700)]
docs: Quick Tile update to DP3 release notes

Continuing work from CL http://ag/1010439 , addressing comments on
that CL that were left after it was submitted.

See first comment for doc stage location.

bug: 28588696
Change-Id: I9d92008ed30582657d97f162958b8efd5c317999

8 years agoFix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy...
Dianne Hackborn [Fri, 13 May 2016 21:50:23 +0000 (14:50 -0700)]
Fix issue #28728838 java.lang.ClassCastException: android.os.BinderProxy...

...cannot be cast to LocalBinder after a crash

Turns out, if you called removeProcessLocked() with an old ProcessRecord,
we could get in to a bad state -- if we had a new process with that same
name already running, we would kind-of blow it away as a process name,
but not as much else.  So the next time we wanted to run a new thing
in the process, we would start a new second process and the two could
get mixed together.

Change-Id: I05e0463bd55f57f5e07f0b804ed9fd8c4f98a5a5

8 years agoMerge "docs: Bridger feature page for Wear preview" into mnc-io-docs am: 1334929863
Bert McMeen [Fri, 13 May 2016 21:43:01 +0000 (21:43 +0000)]
Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs am: 1334929863
am: 2288757582

* commit '2288757582bd8b572f009aee68a0fe1599507060':
  docs: Bridger feature page for Wear preview

Change-Id: Ica0f66a85c0b5c9d3db6eee71338b7a7956cb827

8 years agoMerge "docs: Bridger feature page for Wear preview" into mnc-io-docs
Bert McMeen [Fri, 13 May 2016 21:40:22 +0000 (21:40 +0000)]
Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs
am: 1334929863

* commit '133492986389a63e34cb9066e515864eadeeb485':
  docs: Bridger feature page for Wear preview

Change-Id: If629e5ff1d0a90661fc69287f9e669625f8ce5a2

8 years agoMerge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into...
Bert McMeen [Fri, 13 May 2016 21:35:03 +0000 (21:35 +0000)]
Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs am: e8d7012fba
am: 97158b85ec

* commit '97158b85ec07c22b0aca39ffaf0c8172751c0a65':
  docs: Wear preview docs: Get Started, Download/Test, Program Overview

Change-Id: I549ab462afb03184118a00aa3bcfdb45284b4288

8 years agodocs: Complications guide for Wear Preview am: c0780f1d52
Bert McMeen [Fri, 13 May 2016 21:34:58 +0000 (21:34 +0000)]
docs: Complications guide for Wear Preview am: c0780f1d52
am: 194fbc0da4

* commit '194fbc0da4272b1c957c1e69d363f2c566a30716':
  docs: Complications guide for Wear Preview

Change-Id: Ie3850f9647ec2fa2d0e43560e27ac1947a486375

8 years agoMerge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into...
Bert McMeen [Fri, 13 May 2016 21:32:10 +0000 (21:32 +0000)]
Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs
am: e8d7012fba

* commit 'e8d7012fbafb64e71fe2d94b4ef1cb466f63bfc9':
  docs: Wear preview docs: Get Started, Download/Test, Program Overview

Change-Id: Icc722c4d00fc6862e28fc246cd376e90901c0092

8 years agodocs: Complications guide for Wear Preview
Bert McMeen [Fri, 13 May 2016 21:32:07 +0000 (21:32 +0000)]
docs: Complications guide for Wear Preview
am: c0780f1d52

* commit 'c0780f1d52c8e4d78e750fb0f16eec8280ddf5f4':
  docs: Complications guide for Wear Preview

Change-Id: I71999d68698c336c354cc11d042775685b77da8d

8 years agoMerge "docs: Bridger feature page for Wear preview" into mnc-io-docs
Bert McMeen [Fri, 13 May 2016 21:30:18 +0000 (21:30 +0000)]
Merge "docs: Bridger feature page for Wear preview" into mnc-io-docs

8 years agoMerge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into...
Bert McMeen [Fri, 13 May 2016 21:29:26 +0000 (21:29 +0000)]
Merge "docs: Wear preview docs: Get Started, Download/Test, Program Overview" into mnc-io-docs

8 years agoMerge "Fix transition for forced resizable exit" into nyc-dev
Jorim Jaggi [Fri, 13 May 2016 21:22:01 +0000 (21:22 +0000)]
Merge "Fix transition for forced resizable exit" into nyc-dev

8 years agoMerge "Remove task based on object rather than position" into nyc-dev
Sid Soundararajan [Fri, 13 May 2016 21:19:23 +0000 (21:19 +0000)]
Merge "Remove task based on object rather than position" into nyc-dev

8 years agoFix transition for forced resizable exit
Jorim Jaggi [Fri, 13 May 2016 21:11:42 +0000 (14:11 -0700)]
Fix transition for forced resizable exit

Since the transition is picked from layout params from the activity
below, we need to manually override it.

Bug: 28750938
Change-Id: I7351c7d8bd14a393cba51d6afb1e644204217440

8 years agoDon't allow any app to specify rotation unless in home task
Jorim Jaggi [Thu, 12 May 2016 21:47:27 +0000 (14:47 -0700)]
Don't allow any app to specify rotation unless in home task

The previous logic was racy/buggy in a sense so that the non-home app
could still force the orientation when the divider was still minimized.
The logic is cleaned up so only the home task can force the orientation
in multi-window.

Change-Id: I9eccf86d9fa442375d6eca400cb6ac0815c9fa10
Fixes: 28675152

8 years agoMerge "Update stack bounds for fullscreen if rotated after updateDisplayInfo" into...
Chong Zhang [Fri, 13 May 2016 20:48:31 +0000 (20:48 +0000)]
Merge "Update stack bounds for fullscreen if rotated after updateDisplayInfo" into nyc-dev

8 years agoMerge "Fixed some issues with fullscreen dimming" into nyc-dev
TreeHugger Robot [Fri, 13 May 2016 20:42:20 +0000 (20:42 +0000)]
Merge "Fixed some issues with fullscreen dimming" into nyc-dev

8 years agoAdd Fragment#onAttachFragment for parent fragments
Adam Powell [Fri, 13 May 2016 18:04:39 +0000 (11:04 -0700)]
Add Fragment#onAttachFragment for parent fragments

Framework edition

Add a matching onAttachFragment method to Fragment to match the
fragment host version.

Bug 28760393

Change-Id: I5f50b3446449cae7110da6b4e468ee80f413e1e5

8 years agodocs: Updates to multi-window and related docs.
Andrew Solovay [Fri, 13 May 2016 20:33:55 +0000 (13:33 -0700)]
docs: Updates to multi-window and related docs.

Clarified behavior when activity is resized or put in fullscreen
mode, per b/28580007 . Also (per email from o-o) removed misleading
statement about when onStop() might or might not be called.

Both changes can go live now (multiwindow update applies to DP1 & 2,
and onStop() clarification applies to all versions of API), so I'll
submit as soon as this is approved.

See first comment for doc stage location.

bug: 28580007
Change-Id: Ib008f24e5796ec7810b67c91e512e679680d4afd

8 years agodocs: Complications guide for Wear Preview
Bert McMeen [Wed, 11 May 2016 20:55:09 +0000 (13:55 -0700)]
docs: Complications guide for Wear Preview

Bug: 28425614
Change-Id: Ic1d5ce1a962b39a395c447c1f4d3bfadd6114246

8 years agoProperly handle registration timeout in BLE.
Wei Wang [Tue, 10 Nov 2015 03:45:53 +0000 (19:45 -0800)]
Properly handle registration timeout in BLE.

Bug:25384098
Change-Id: I7877f6368c4982fcd91e68810c4da0ab7b5fc6b7

8 years agoEnsure that ViewGroup.getChildVisibleRect(...) is recursive.
Abodunrinwa Toki [Fri, 13 May 2016 18:26:03 +0000 (19:26 +0100)]
Ensure that ViewGroup.getChildVisibleRect(...) is recursive.

This change fixes the issue where
getChildVisibleRect(View, Rect, Point, boolean) call isn't recursive.
The method was introduced in I49550ed4082bcbdcfe4643b962b50f3308092525

Bug: 28514727
Change-Id: Ib6b0fb67ca6c700b44f645319c23b1213a2742d4

8 years agoMerge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30 am...
Dirk Dougherty [Fri, 13 May 2016 18:16:15 +0000 (18:16 +0000)]
Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30 am: 6d3ca9aaa9
am: 0e4b51ebc6

* commit '0e4b51ebc6b86a535a9f7757e8b64f70a10aaa30':
  Correct the DP2 status beta -> alpha.

Change-Id: I9fded988b946d669f9560716563771f8e6b82351

8 years agoMerge "docs: change preview landing page top ribbon color" into mnc-io-docs am: a138a...
Joe Fernandez [Fri, 13 May 2016 18:13:46 +0000 (18:13 +0000)]
Merge "docs: change preview landing page top ribbon color" into mnc-io-docs am: a138ad92b2
am: 3357a67905

* commit '3357a67905453d64846079e560bbe893c4c733b6':
  docs: change preview landing page top ribbon color

Change-Id: I7eede6be5a8960e7f2360656c66b136f519fb1bb

8 years agoMerge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30
Dirk Dougherty [Fri, 13 May 2016 18:13:40 +0000 (18:13 +0000)]
Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs am: 3a263cec30
am: 6d3ca9aaa9

* commit '6d3ca9aaa91328d3664a217fee8a49c9ee46858e':
  Correct the DP2 status beta -> alpha.

Change-Id: Iecc460e2b5399bff284f8d2479d475325fc8a1df

8 years agoMerge "docs: change preview landing page top ribbon color" into mnc-io-docs
Joe Fernandez [Fri, 13 May 2016 18:11:15 +0000 (18:11 +0000)]
Merge "docs: change preview landing page top ribbon color" into mnc-io-docs
am: a138ad92b2

* commit 'a138ad92b299bf32a59ee5f4ba5a9e34e6998cb4':
  docs: change preview landing page top ribbon color

Change-Id: Ib7d5c3fc9a133ceb0a97f801218481a94fb15a47

8 years agoMerge "Correct the DP2 status beta -> alpha." into mnc-mr-docs
Dirk Dougherty [Fri, 13 May 2016 18:11:11 +0000 (18:11 +0000)]
Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs
am: 3a263cec30

* commit '3a263cec302b3d1883e3cc48b068c05240506d31':
  Correct the DP2 status beta -> alpha.

Change-Id: I925a0c044e1b7b6186f348c4c8e216b8f53a13f4

8 years agoUpdate stack bounds for fullscreen if rotated after updateDisplayInfo
Chong Zhang [Fri, 13 May 2016 18:04:38 +0000 (11:04 -0700)]
Update stack bounds for fullscreen if rotated after updateDisplayInfo

Rotation could change again after updateDisplayInfo is called. We
need to set stack bounds even for fullscreen stacks in this case.
Otherwise the bounds will be incorrect until it's rotated again.

bug: 28611814
Change-Id: I31289524a9ceacaaaa66924e9bf6cbe88fd83f99

8 years agoMerge "docs: change preview landing page top ribbon color" into mnc-io-docs
Joe Fernandez [Fri, 13 May 2016 18:06:41 +0000 (18:06 +0000)]
Merge "docs: change preview landing page top ribbon color" into mnc-io-docs

8 years agoMerge "Correct the DP2 status beta -> alpha." into mnc-mr-docs
Dirk Dougherty [Fri, 13 May 2016 18:03:23 +0000 (18:03 +0000)]
Merge "Correct the DP2 status beta -> alpha." into mnc-mr-docs

8 years agoCorrect the DP2 status beta -> alpha.
Dirk Dougherty [Fri, 13 May 2016 17:57:56 +0000 (10:57 -0700)]
Correct the DP2 status beta -> alpha.

Bug: 28175714
Change-Id: I050c9a41961528c1d65cd9b9737d93c82d16aef2

8 years agoMerge "Clean up sdk/sdk_vars.cs file b/28744510" into mnc-mr-docs am: 379e28db22...
Amanda Kassay [Fri, 13 May 2016 17:59:59 +0000 (17:59 +0000)]
Merge "Clean up sdk/sdk_vars.cs file b/28744510" into mnc-mr-docs am: 379e28db22 am: 494a4c967c
am: 899981c244

* commit '899981c2442807cf637b5a9280a71cfe22e45880':
  Clean up sdk/sdk_vars.cs file b/28744510

Change-Id: I3d21f2b99ead958ed064ea4d81dbea95513ce5a6

8 years agodocs: change preview landing page top ribbon color
Joe Fernandez [Fri, 13 May 2016 17:59:02 +0000 (10:59 -0700)]
docs: change preview landing page top ribbon color

Change-Id: Iaa406a83de47df49eab54d1265629edc4dd57479

8 years agoMerge "Clean up sdk/sdk_vars.cs file b/28744510" into mnc-mr-docs am: 379e28db22
Amanda Kassay [Fri, 13 May 2016 17:57:28 +0000 (17:57 +0000)]
Merge "Clean up sdk/sdk_vars.cs file b/28744510" into mnc-mr-docs am: 379e28db22
am: 494a4c967c

* commit '494a4c967cc4bb648da3b79d777b1c089445b41f':
  Clean up sdk/sdk_vars.cs file b/28744510

Change-Id: Id6ba8a4083bc7753f5d0e6387ac0a18778cf1a27