OSDN Git Service

android-x86/frameworks-base.git
8 years agoFix a11y crash when window layer isn't unique.
Phil Weaver [Thu, 19 May 2016 17:32:52 +0000 (10:32 -0700)]
Fix a11y crash when window layer isn't unique.

TalkBack is seeing crashes that I can only explain by our assumption
that window layer is unique in all cases. TalkBack reports that it
happens during animation, so I assume that the layer may repeat
transiently.

Reducing our dependence on this assumption by traversing the list of
windows sorted by layer without assuming that the list has the same
length as the list of unsorted windows.

Also documenting the undefined behavior of SparseArray when indexing
beyond its bounds. The undefined behavior itself is intentional for
performance reasons.

Bug: 28679528
Bug: 28815817
Change-Id: I0c9f90b0b458b4cde465f603ba204fe6691e5c2c

8 years agoMerge "Make persistent apps become top correctly." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 23:13:24 +0000 (23:13 +0000)]
Merge "Make persistent apps become top correctly." into nyc-dev

8 years agoMerge "Clear more native pointers in finalizers" into nyc-dev
Hans Boehm [Mon, 16 May 2016 22:45:02 +0000 (22:45 +0000)]
Merge "Clear more native pointers in finalizers" into nyc-dev

8 years agoMerge "Ensure app op restrictions reset when the app that set them dies." into nyc-dev
Svetoslav Ganov [Mon, 16 May 2016 22:42:48 +0000 (22:42 +0000)]
Merge "Ensure app op restrictions reset when the app that set them dies." into nyc-dev

8 years agoMerge "Update default image for n preview docs. Update tools resources." into mnc...
Dirk Dougherty [Mon, 16 May 2016 22:41:55 +0000 (22:41 +0000)]
Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs am: 0a957d5aa2 am: b33f36497d
am: a4101e6693

* commit 'a4101e66933fd5acb882bfc0311f3f4b5cbd5b11':
  Update default image for n preview docs. Update tools resources.

Change-Id: I859659905ab0bdd7e16a2406542c0cac69e1f4d7

8 years agoMerge "Avoid weird line wrapping by removing columns and forcing line breaks between...
smain@google.com [Mon, 16 May 2016 22:41:44 +0000 (22:41 +0000)]
Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs am: a0acf474e9 am: 592b36a326
am: 0b019a3d02

* commit '0b019a3d028990a9832188d3ef2c9540e5d37f40':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: Ifba667194d2e2f04a9824945d5100cdea01a9c77

8 years agoMerge "Workaround that Recents is shown again after an activity is PIPed" into nyc-dev
Jaewan Kim [Mon, 16 May 2016 22:38:22 +0000 (22:38 +0000)]
Merge "Workaround that Recents is shown again after an activity is PIPed" into nyc-dev

8 years agoMerge "Update default image for n preview docs. Update tools resources." into mnc...
Dirk Dougherty [Mon, 16 May 2016 22:35:33 +0000 (22:35 +0000)]
Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs am: 0a957d5aa2
am: b33f36497d

* commit 'b33f36497dbc7265ee16323ee6c0281690ca3221':
  Update default image for n preview docs. Update tools resources.

Change-Id: I1ed7ac4ecf30538252d4b277b1baf93ec61e4835

8 years agoMerge "Avoid weird line wrapping by removing columns and forcing line breaks between...
Scott Main [Mon, 16 May 2016 22:35:30 +0000 (22:35 +0000)]
Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs am: a0acf474e9
am: 592b36a326

* commit '592b36a326216cd2442c47da9608ca2afd7e4d16':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: I54b1282f6ef2d92251a4624c8f439499831af1a6

8 years agoEnsure app op restrictions reset when the app that set them dies.
Svetoslav Ganov [Sat, 14 May 2016 00:08:16 +0000 (17:08 -0700)]
Ensure app op restrictions reset when the app that set them dies.

We were not keeping track when an app that set an app op restriction
dies to clean up after that. As a result we may end up with stale
restrictions that will be there until the device reoots - not cool.
This change adds remote binder death tracking and simplifies the
code as adding the formed would have made more complex.

bug:28770536

Change-Id: I7dcaafba2354843a0cdf0206ab1f96625edc5120

8 years agoMerge "Update default image for n preview docs. Update tools resources." into mnc...
Dirk Dougherty [Mon, 16 May 2016 22:31:30 +0000 (22:31 +0000)]
Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs
am: 0a957d5aa2

* commit '0a957d5aa28920f8854070676955f941e3ae6726':
  Update default image for n preview docs. Update tools resources.

Change-Id: I3fa206d3bfc74d20cb74e19f0d084d62fb47c0e2

8 years agoMerge "Avoid weird line wrapping by removing columns and forcing line breaks between...
smain@google.com [Mon, 16 May 2016 22:31:22 +0000 (22:31 +0000)]
Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs
am: a0acf474e9

* commit 'a0acf474e9db6e1a444d7e48b520b48ded8fcdce':
  Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: I337e5167eb9191f674c6cc397d61925c334c3b72

8 years agoMerge "Update default image for n preview docs. Update tools resources." into mnc...
Dirk Dougherty [Mon, 16 May 2016 22:27:47 +0000 (22:27 +0000)]
Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs

8 years agoMerge "Fix transition delay tracking when starting activity from recents" into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 22:27:38 +0000 (22:27 +0000)]
Merge "Fix transition delay tracking when starting activity from recents" into nyc-dev

8 years agoMerge "Fix issue #28794831: meminfo considers cached processes to be services" into...
Dianne Hackborn [Mon, 16 May 2016 22:26:12 +0000 (22:26 +0000)]
Merge "Fix issue #28794831: meminfo considers cached processes to be services" into nyc-dev

8 years agoMerge "Avoid weird line wrapping by removing columns and forcing line breaks between...
Scott Main [Mon, 16 May 2016 22:25:49 +0000 (22:25 +0000)]
Merge "Avoid weird line wrapping by removing columns and forcing line breaks between the links" into mnc-mr-docs

8 years agoAvoid weird line wrapping by removing columns and forcing line breaks between the...
smain@google.com [Mon, 16 May 2016 22:22:17 +0000 (15:22 -0700)]
Avoid weird line wrapping by removing columns and forcing line breaks between the links

Change-Id: I797b46d75643ce2491d47c95599164022ce451a7

8 years agoMerge "docs: work minisite" into mnc-io-docs am: 8f740bea13
Billy Lamberta [Mon, 16 May 2016 22:19:41 +0000 (22:19 +0000)]
Merge "docs: work minisite" into mnc-io-docs am: 8f740bea13
am: 51ceb1bad1

* commit '51ceb1bad18c39a5281fc2cbd6d9c234c2e7f14a':
  docs: work minisite

Change-Id: Ieac1a9a571bfe6ef94663623f5715d1b205dd242

8 years agoMerge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 22:17:41 +0000 (22:17 +0000)]
Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev

8 years agoMerge "docs: work minisite" into mnc-io-docs
Billy Lamberta [Mon, 16 May 2016 22:12:37 +0000 (22:12 +0000)]
Merge "docs: work minisite" into mnc-io-docs
am: 8f740bea13

* commit '8f740bea131ca0234fee9dce273f23c6f21ddf2f':
  docs: work minisite

Change-Id: Id0a4c1be427a131f1766f3452bca1b2f90365981

8 years agoMerge "docs: work minisite" into mnc-io-docs
Billy Lamberta [Mon, 16 May 2016 22:05:58 +0000 (22:05 +0000)]
Merge "docs: work minisite" into mnc-io-docs

8 years agoMerge "Adjust PrintRecommendationService for Konica Minolta." into nyc-dev
Philip P. Moltmann [Mon, 16 May 2016 22:02:46 +0000 (22:02 +0000)]
Merge "Adjust PrintRecommendationService for Konica Minolta." into nyc-dev

8 years agoMerge "Delay grantDefaultPermissions until user's first start" into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 22:01:14 +0000 (22:01 +0000)]
Merge "Delay grantDefaultPermissions until user's first start" into nyc-dev

8 years agoMake persistent apps become top correctly.
Tim Murray [Mon, 16 May 2016 21:53:29 +0000 (14:53 -0700)]
Make persistent apps become top correctly.

Sometimes, a persistent app should be the top app (recents). Make sure
such an app can use the top-app cpuset.

bug 28317812
bug 28794389

Change-Id: I756cec3fbab8cc552a6d90c007aa2e07f6b78dbc

8 years agoMerge "Clear state when ProgressMessageCtrl. is canceled" into nyc-dev
Philip P. Moltmann [Mon, 16 May 2016 21:43:12 +0000 (21:43 +0000)]
Merge "Clear state when ProgressMessageCtrl. is canceled" into nyc-dev

8 years agoDon't throw away wallpaper bitmap just because we are hidden.
Jorim Jaggi [Sat, 14 May 2016 00:45:41 +0000 (17:45 -0700)]
Don't throw away wallpaper bitmap just because we are hidden.

TRIM_MEMORY_UI_HIDDEN > TRIM_MEMORY_RUNNING constants, so we only
need to throw away the wallpaper if we are actually running low on
memory.

Bug: 28769940
Change-Id: I8aa27d081bbcc2eff553e9420b2b9b0920f3781f

8 years agoMerge "Adjust spacing." into nyc-dev
Julia Reynolds [Mon, 16 May 2016 21:34:14 +0000 (21:34 +0000)]
Merge "Adjust spacing." into nyc-dev

8 years agodocs: Minor permissions phrasing tweak am: 9acd851ee6 am: 072b6fb839
Andrew Solovay [Mon, 16 May 2016 21:26:07 +0000 (21:26 +0000)]
docs: Minor permissions phrasing tweak am: 9acd851ee6 am: 072b6fb839
am: 8804495bff

* commit '8804495bffbbffa0abe8cd148ba1ea3c58e20be0':
  docs: Minor permissions phrasing tweak

Change-Id: I348ecb4cbe9301eccd78c6e2f87b1eb016627d5d

8 years agoMerge "docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc92...
Android Build Merger (Role) [Mon, 16 May 2016 21:23:21 +0000 (21:23 +0000)]
Merge "docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc9292b am: be2b224d80" into nyc-dev

8 years agodocs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc9292b
Andrew Solovay [Mon, 16 May 2016 21:22:55 +0000 (21:22 +0000)]
docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94 am: af9dc9292b
am: be2b224d80

* commit 'be2b224d80554906aa03c57f6096fa51afb48fdf':
  docs: Removed note that GET_ACCOUNTS was deprecated

Change-Id: Ic6ffde061f37bd74e45a3f60de8a5bb6aa241c58

8 years agoMerge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 21:21:57 +0000 (21:21 +0000)]
Merge "Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc." into nyc-dev

8 years agoFix transition delay tracking when starting activity from recents
Jorim Jaggi [Mon, 16 May 2016 19:13:13 +0000 (12:13 -0700)]
Fix transition delay tracking when starting activity from recents

- Move logic to determine app switch etc. into ActivityMetricsLogger.
- Make sure the notify the tracker in startActivityFromRecentsInner

Bug: 27295491
Change-Id: Ic68058c88917e3f37183dded2f13cb35055323ee

8 years agodocs: Minor permissions phrasing tweak am: 9acd851ee6
Andrew Solovay [Mon, 16 May 2016 21:16:06 +0000 (21:16 +0000)]
docs: Minor permissions phrasing tweak am: 9acd851ee6
am: 072b6fb839

* commit '072b6fb83928120de268a1e59ebabb7f2a5c724a':
  docs: Minor permissions phrasing tweak

Change-Id: I90d66b9c745bb6f313a074c9d4b4c94a8319dbc3

8 years agodocs: Minor permissions phrasing tweak
Andrew Solovay [Mon, 16 May 2016 21:13:13 +0000 (21:13 +0000)]
docs: Minor permissions phrasing tweak
am: 9acd851ee6

* commit '9acd851ee6071fa82a725a69d75c59bf4068a83a':
  docs: Minor permissions phrasing tweak

Change-Id: I823cc460ffbf71fce9013967046076f937af3168

8 years agoMerge "Update doc of ACTION_SET_RADIO_CAPABILITY_DONE intent." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 21:13:04 +0000 (21:13 +0000)]
Merge "Update doc of ACTION_SET_RADIO_CAPABILITY_DONE intent." into nyc-dev

8 years agodocs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94
Andrew Solovay [Mon, 16 May 2016 21:11:04 +0000 (21:11 +0000)]
docs: Removed note that GET_ACCOUNTS was deprecated am: cc80393d94
am: af9dc9292b

* commit 'af9dc9292b552e189c43596658b0f09b052493af':
  docs: Removed note that GET_ACCOUNTS was deprecated

Change-Id: Id5866a8ce27407924508703292a223a4f0399cb3

8 years agodocs: Removed note that GET_ACCOUNTS was deprecated
Andrew Solovay [Mon, 16 May 2016 21:08:05 +0000 (21:08 +0000)]
docs: Removed note that GET_ACCOUNTS was deprecated
am: cc80393d94

* commit 'cc80393d94e53bc92f70e2d306ad87a92ff83794':
  docs: Removed note that GET_ACCOUNTS was deprecated

Change-Id: Icc2579926a473f72236837fb94a68fbf16494478

8 years agodocs: Minor permissions phrasing tweak
Andrew Solovay [Mon, 16 May 2016 19:22:37 +0000 (12:22 -0700)]
docs: Minor permissions phrasing tweak

Meant to make this change in a preceding CL but accidentally
submitted before uploading the last patch set.

bug: 28727522
Change-Id: Iecf2e00031d98efbb2a8e2bf0e9386ac8707b48b

8 years agoDocumented return value of getRestrictBackgroundStatus().
Felipe Leme [Mon, 16 May 2016 20:57:19 +0000 (13:57 -0700)]
Documented return value of getRestrictBackgroundStatus().

Change-Id: I2c15a6d5e23cbc3c9b59c975196c1c04c1294471
Fixes: 28775490

8 years agoFix issue #28794831: meminfo considers cached processes to be services
Dianne Hackborn [Mon, 16 May 2016 20:55:24 +0000 (13:55 -0700)]
Fix issue #28794831: meminfo considers cached processes to be services

Uh how did this ever actually work??

Change-Id: I9823f88847ccda6984bc95227fac90b994c22462

8 years agoUpdate default image for n preview docs. Update tools resources.
Dirk Dougherty [Mon, 16 May 2016 01:52:24 +0000 (18:52 -0700)]
Update default image for n preview docs. Update tools resources.

Change-Id: I25dcaa9ad0a0b44e84aff49a08481b643b03ea28

8 years agoClear more native pointers in finalizers
Hans Boehm [Tue, 10 May 2016 20:01:22 +0000 (13:01 -0700)]
Clear more native pointers in finalizers

This hopefully handles the remaining finalizers in frameworks/base
that didn't guard against calls from other finalizers after being
finalized.

The goal here is to reduce the possible corruption causes we have
to think about by a few.

If any of theses are either very frequently used, or use large
Java (as opposed to native) objects, we should probably convert them
to NativeAllocationRegistry instead. But that's more work.

Bug: 18178237
Change-Id: I79bc0e8fa20af8f340418a6226022e0294d77f02
(cherry picked from commit ad3cc3c63c6d0f637d2ece3935b5b01b19473299)

8 years agodocs: work minisite
Billy Lamberta [Tue, 3 May 2016 23:23:59 +0000 (16:23 -0700)]
docs: work minisite

Adds minisite at docs/html/work. Adds landing page and
Android for Work specific guides. Moves docs from
training/enterprise and add redirects. Update resource
card info and add new images. Update sitemap, _book, and
add sidebar navigation menu.

bug: 27744376
Change-Id: Ib09f7fc6352dfde7a60fc674b06488c651b196e2

8 years agoDelay grantDefaultPermissions until user's first start
Fyodor Kupolov [Mon, 16 May 2016 20:25:34 +0000 (13:25 -0700)]
Delay grantDefaultPermissions until user's first start

Bug: 28765487
Change-Id: I6a7b0a9fc85964def1e991aafe967977080dfdab

8 years agoAdjust spacing.
Julia Reynolds [Mon, 16 May 2016 20:03:39 +0000 (16:03 -0400)]
Adjust spacing.

Bug: 27597108
Change-Id: I75db314162cf0293422bdea6ef5e931a3ee7f813

8 years agoMerge "Added scheduleWritePackageListLocked" into nyc-dev
Fyodor Kupolov [Mon, 16 May 2016 20:05:09 +0000 (20:05 +0000)]
Merge "Added scheduleWritePackageListLocked" into nyc-dev

8 years agoFix inconsistencies in DragEvent.getX/getY behavior and JavaDoc.
Vladislav Kaznacheev [Mon, 16 May 2016 19:57:15 +0000 (12:57 -0700)]
Fix inconsistencies in DragEvent.getX/getY behavior and JavaDoc.

Make getX/getY return view-relative position as specified in the class
JavaDoc.

Fix obvious errors in JavaDoc for getX/getY

Bug: 28793547
Change-Id: Ic2ac646189711e7466594d4fc8326408fc0348e1

8 years agoMerge "Use the correct handler when persisting the settings state." into nyc-dev
Svetoslav Ganov [Mon, 16 May 2016 19:46:30 +0000 (19:46 +0000)]
Merge "Use the correct handler when persisting the settings state." into nyc-dev

8 years agoMerge "Fixed the remove animations for notification children" into nyc-dev
Selim Cinek [Mon, 16 May 2016 19:44:33 +0000 (19:44 +0000)]
Merge "Fixed the remove animations for notification children" into nyc-dev

8 years agoUse the correct handler when persisting the settings state.
Svetoslav Ganov [Mon, 16 May 2016 19:36:43 +0000 (12:36 -0700)]
Use the correct handler when persisting the settings state.

bug:28784358

Change-Id: Iba9d569bae67c7ba0c3ab0a486ae14efa84a7acf

8 years agoMerge "Update docs for ColorStateList to include alpha" into nyc-dev
Alan Viverette [Mon, 16 May 2016 19:30:37 +0000 (19:30 +0000)]
Merge "Update docs for ColorStateList to include alpha" into nyc-dev

8 years agoMerge "Use standalone capitalization for month labels" into nyc-dev
Alan Viverette [Mon, 16 May 2016 19:30:34 +0000 (19:30 +0000)]
Merge "Use standalone capitalization for month labels" into nyc-dev

8 years agodocs: Removed note that GET_ACCOUNTS was deprecated
Andrew Solovay [Mon, 16 May 2016 19:22:37 +0000 (12:22 -0700)]
docs: Removed note that GET_ACCOUNTS was deprecated

We've decided not to deprecate GET_ACCOUNTS yet, but per emails,
we don't want to announce that it now *isn't* deprecated (because we
don't want to encourage people to use this permission); instead,
we're just going to not mention it at all.

Also cleaned up the following section on file permissions while I had
it open.

See first comment for doc stage location.

bug: 28727522
Change-Id: I27d21d186bdbf9ce905f3fb6a29027343a6daaf5

8 years agoWorkaround that Recents is shown again after an activity is PIPed
Jaewan Kim [Mon, 16 May 2016 19:01:24 +0000 (04:01 +0900)]
Workaround that Recents is shown again after an activity is PIPed

Bug: 28333917
Change-Id: Ib85db2ffdb588476b7bc7cd764af95d759f518b5

8 years agoUpdate doc of ACTION_SET_RADIO_CAPABILITY_DONE intent.
Sanket Padawe [Mon, 16 May 2016 19:01:57 +0000 (12:01 -0700)]
Update doc of ACTION_SET_RADIO_CAPABILITY_DONE intent.

Bug: 24450765
Change-Id: I42c9f9b2b1c34d774c28d8431bc7c21bbf5909fd

8 years agoMerge "Throw exception on rule creation failure." into nyc-dev
Julia Reynolds [Mon, 16 May 2016 18:22:15 +0000 (18:22 +0000)]
Merge "Throw exception on rule creation failure." into nyc-dev

8 years agoMerge "Fixing a NPE in DevicePolicyManagerService" into nyc-dev
Ashley Smith [Mon, 16 May 2016 17:40:22 +0000 (17:40 +0000)]
Merge "Fixing a NPE in DevicePolicyManagerService" into nyc-dev

8 years agoUse standalone capitalization for month labels
Alan Viverette [Mon, 16 May 2016 17:35:56 +0000 (13:35 -0400)]
Use standalone capitalization for month labels

Bug: 28020439
Change-Id: I85169a78142a43ff2348e0b561a7aa995544a65e

8 years agoUpdate docs for ColorStateList to include alpha
Alan Viverette [Mon, 16 May 2016 16:37:55 +0000 (12:37 -0400)]
Update docs for ColorStateList to include alpha

Bug: 28760030
Change-Id: I309364002220b9896f5ddf29dabde79636a722e9

8 years agoMerge "TIF: Update TvInputInfo when the input is reinstalled." into nyc-dev
Shubang Lu [Mon, 16 May 2016 16:25:07 +0000 (16:25 +0000)]
Merge "TIF: Update TvInputInfo when the input is reinstalled." into nyc-dev

8 years agoFixing a NPE in DevicePolicyManagerService
Ashley Smith [Thu, 12 May 2016 14:34:33 +0000 (10:34 -0400)]
Fixing a NPE in DevicePolicyManagerService

Bug: 28786940
Change-Id: I73de8dea9221765ed0751039f3d472cf78d341af

8 years agoMerge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev
Yohei Yukawa [Mon, 16 May 2016 15:22:20 +0000 (15:22 +0000)]
Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev

8 years agoMerge "Remove onUhandledInputEvent API." into nyc-dev
TreeHugger Robot [Mon, 16 May 2016 15:18:18 +0000 (15:18 +0000)]
Merge "Remove onUhandledInputEvent API." into nyc-dev

8 years agoMerge "Rename requestKeyboardShortcutsHelper" into nyc-dev
Clara Bayarri [Mon, 16 May 2016 15:01:26 +0000 (15:01 +0000)]
Merge "Rename requestKeyboardShortcutsHelper" into nyc-dev

8 years agoMerge "Merge "Delete outdated sitemap file. Updated version now in Piper: https:...
Android Build Merger (Role) [Mon, 16 May 2016 14:59:26 +0000 (14:59 +0000)]
Merge "Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs am: b7f5631156 am: 0c5c9747a7 am: ccc6e09298" into nyc-dev

8 years agoMerge "Delete outdated sitemap file. Updated version now in Piper: https://critique...
smain@google.com [Mon, 16 May 2016 14:59:02 +0000 (14:59 +0000)]
Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs am: b7f5631156 am: 0c5c9747a7
am: ccc6e09298

* commit 'ccc6e092989c07cd1939da33abc4e63234c6c671':
  Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396

Change-Id: I18fe568063a1516e6cb1f367b209b07b84e8729d

8 years agoMerge "Give the AM/PM buttons slightly more content area" into nyc-dev
Alan Viverette [Mon, 16 May 2016 14:56:37 +0000 (14:56 +0000)]
Merge "Give the AM/PM buttons slightly more content area" into nyc-dev

8 years agoMerge "Delete outdated sitemap file. Updated version now in Piper: https://critique...
Scott Main [Mon, 16 May 2016 14:55:47 +0000 (14:55 +0000)]
Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs am: b7f5631156
am: 0c5c9747a7

* commit '0c5c9747a71bbb33ebf20ecc1f599a60a58238af':
  Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396

Change-Id: I408d30923a3ef12375275f5d60dc9d55bf5e6548

8 years agoMerge "Delete outdated sitemap file. Updated version now in Piper: https://critique...
smain@google.com [Mon, 16 May 2016 14:52:44 +0000 (14:52 +0000)]
Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs
am: b7f5631156

* commit 'b7f5631156158c83d1eaa2e323267435edb66bf3':
  Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396

Change-Id: I5314afc6a3a42f43bb2f0a1484712b170773db63

8 years agoMerge "Delete outdated sitemap file. Updated version now in Piper: https://critique...
Scott Main [Mon, 16 May 2016 14:47:58 +0000 (14:47 +0000)]
Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs

8 years agoThrow exception on rule creation failure.
Julia Reynolds [Mon, 16 May 2016 13:52:17 +0000 (09:52 -0400)]
Throw exception on rule creation failure.

Bug: 28775583
Change-Id: I98cf90afd86e307846970f1ede7f072eb8b70c7f

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 agoRename requestKeyboardShortcutsHelper
Clara Bayarri [Mon, 16 May 2016 13:15:14 +0000 (14:15 +0100)]
Rename requestKeyboardShortcutsHelper

Per API council feedback

Bug: 28775576
Change-Id: I1c4f98d7ec0d848f0c387aaedf8a0ed80628c64e

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 agoMake IMS#clearInsetOfPreviousIme() reliable.
Yohei Yukawa [Mon, 16 May 2016 03:05:56 +0000 (20:05 -0700)]
Make IMS#clearInsetOfPreviousIme() reliable.

This is a follow-up to my previous CL [1] for Bug 15922840 so that we
can clear the following variables in a more reliable way.
 - PhoneWindowManager#mLastInputMethodWindow
 - PhoneWindowManager#mLastInputMethodTargetWindow

The idea behind CL [2] is that when InputMethodManagerService (IMMS) is
switching from an IME to another IME, IMMS can send a signal to
WindowManagerService (WMS) to remember the current IME's inset so that
the system can continue using it to reduce jank until the new inset is
specified by the next IME.  As summarized in Bug 28781358, however, if
the next IME does not show the window after the IME switch, WMS (or
PhoneWindowManager to be precise) keeps using the previous IME's inset
unexpectedly until the new IME shows its window.  All we have seen in
Bug 15922840 and Bug 26663589 fall into this category.

The idea of this CL is just adding a hidden API to InputMethodManager so
that InputMethodService#clearInsetOfPreviousIme() can surely terminate
the IME transition state managed in PhoneWindowManager, rather than
relying on a hack of calling SoftInputWindow#show() and
SoftInputWindow#hide(), which actually does not work for Bug 26663589.

 [1]: Ib04967f39b2529251e4835c42e9f99dba2cf43f2
      2977eb7b6ce82309a1bb1ba4ab698f503cb0388a
 [2]: I5723f627ce323b0d12bd7b93f5b35fc4d342b50c
      792faa2c16d319e874a1d633f964a78266d5f3f2

Note that addressing all the corner cases in [2] still requires lots of
non-trivial change.  Hence this CL focuses only on Bug 26663589 (and
the case we handled in Bug 15922840).

Bug: 26663589
Change-Id: Ib567daa009c1139858dccadcfc6a04465ebecf36

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 agoDelete outdated sitemap file.
smain@google.com [Sun, 15 May 2016 09:13:25 +0000 (02:13 -0700)]
Delete outdated sitemap file.
Updated version now in Piper: https://critique.corp.google.com/#review/122362396

Change-Id: If6f8d34532e1b695fbfaf49173df8cb7648ee267

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