Commit Graph

245370 Commits

Author SHA1 Message Date
Andrew Solovay
af9dc9292b docs: Removed note that GET_ACCOUNTS was deprecated
am: cc80393d94

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

Change-Id: Icc2579926a473f72236837fb94a68fbf16494478
2016-05-16 21:08:05 +00:00
Andrew Solovay
9acd851ee6 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
2016-05-16 14:06:19 -07:00
Felipe Leme
c9c7be58a5 Documented return value of getRestrictBackgroundStatus().
Change-Id: I2c15a6d5e23cbc3c9b59c975196c1c04c1294471
Fixes: 28775490
2016-05-16 13:57:19 -07:00
Dianne Hackborn
2ebd57ff94 Fix issue #28794831: meminfo considers cached processes to be services
Uh how did this ever actually work??

Change-Id: I9823f88847ccda6984bc95227fac90b994c22462
2016-05-16 13:55:24 -07:00
Dirk Dougherty
9ae42db319 Update default image for n preview docs. Update tools resources.
Change-Id: I25dcaa9ad0a0b44e84aff49a08481b643b03ea28
2016-05-16 13:55:23 -07:00
Chris Craik
3741328947 Fix hw layer overdraw/update visualization
Fixes: 28748255

Change-Id: I83b531cdf5e4407fd17edd72d96e6189924926fa
2016-05-16 13:54:02 -07:00
Hans Boehm
0d65743fea 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 ad3cc3c63c)
2016-05-16 13:45:21 -07:00
Billy Lamberta
e1277eb819 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
2016-05-16 13:36:55 -07:00
Felipe Leme
99d5d3d775 Added a onRestrictBackgroundBlacklistChanged() callback.
When an UID is added / removed to the Data Saver blacklist, it's
necessary to notify internal components such as the Settings UI (which
was erroneously listening to UID rules changes instead).

BUG: 28743623
BUG: 28791717

Change-Id: I11c85e141dfe074ad390fd324309d2412bfbbd45
2016-05-16 13:30:57 -07:00
Fyodor Kupolov
b45d9833aa Delay grantDefaultPermissions until user's first start
Bug: 28765487
Change-Id: I6a7b0a9fc85964def1e991aafe967977080dfdab
2016-05-16 13:25:34 -07:00
Julia Reynolds
04132ed420 Adjust spacing.
Bug: 27597108
Change-Id: I75db314162cf0293422bdea6ef5e931a3ee7f813
2016-05-16 16:19:02 -04:00
Fyodor Kupolov
a7b826b08a Merge "Added scheduleWritePackageListLocked" into nyc-dev 2016-05-16 20:05:10 +00:00
Vladislav Kaznacheev
c244970220 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
2016-05-16 12:57:15 -07:00
Phil Weaver
e6269c3f1d Hide UiAutomation#destroy as test api.
Bug: 28771617
Change-Id: Ib113883d3d12fc6a9e8c038e2c4eb1731b026b38
2016-05-16 12:55:08 -07:00
Svetoslav Ganov
967fcfa593 Merge "Use the correct handler when persisting the settings state." into nyc-dev 2016-05-16 19:46:31 +00:00
Selim Cinek
37a4027131 Merge "Fixed the remove animations for notification children" into nyc-dev 2016-05-16 19:44:34 +00:00
Svetoslav Ganov
9205749cfe Use the correct handler when persisting the settings state.
bug:28784358

Change-Id: Iba9d569bae67c7ba0c3ab0a486ae14efa84a7acf
2016-05-16 12:36:48 -07:00
Alan Viverette
5bcf7650b4 Merge "Update docs for ColorStateList to include alpha" into nyc-dev 2016-05-16 19:30:38 +00:00
Alan Viverette
895241170b Merge "Use standalone capitalization for month labels" into nyc-dev 2016-05-16 19:30:35 +00:00
Andrew Solovay
cc80393d94 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
2016-05-16 12:22:37 -07:00
Jaewan Kim
9df42a37c3 Workaround that Recents is shown again after an activity is PIPed
Bug: 28333917
Change-Id: Ib85db2ffdb588476b7bc7cd764af95d759f518b5
2016-05-17 04:04:26 +09:00
Sanket Padawe
232667bdda Update doc of ACTION_SET_RADIO_CAPABILITY_DONE intent.
Bug: 24450765
Change-Id: I42c9f9b2b1c34d774c28d8431bc7c21bbf5909fd
2016-05-16 19:02:39 +00:00
Julia Reynolds
252a6b125b Merge "Throw exception on rule creation failure." into nyc-dev 2016-05-16 18:22:17 +00:00
Bert McMeen
a483d10070 Docs: Iterating on Wear docs - Bridger API
Bug: 28561056
Change-Id: Ia3787e9ed0d467331a1e495a534a130dd1859a5b
2016-05-16 11:18:08 -07:00
Ashley Smith
6c917901cf Merge "Fixing a NPE in DevicePolicyManagerService" into nyc-dev 2016-05-16 17:40:24 +00:00
Alan Viverette
c3e5a82691 Use standalone capitalization for month labels
Bug: 28020439
Change-Id: I85169a78142a43ff2348e0b561a7aa995544a65e
2016-05-16 13:35:56 -04:00
Clara Bayarri
ab591ba4b6 Remove "if it succeeds" wording from requestShowKeyboardShortcuts
Bug: 28775576
Change-Id: Ib7bc2d78cc074c14384f5a86437c684462f1fb54
2016-05-16 17:48:16 +01:00
Phil Weaver
1d4e18340e Content description for FloatingToobar overflow.
Was missing a content description. The same button is used for
both opening and closing the toolbar, so it needs to be updated
dynamically.

Bug: 28750935
Change-Id: I7f75701ae6af45e5621c36b81003b658479e8b31
2016-05-16 09:41:14 -07:00
Alan Viverette
582dcac856 Update docs for ColorStateList to include alpha
Bug: 28760030
Change-Id: I309364002220b9896f5ddf29dabde79636a722e9
2016-05-16 12:37:55 -04:00
Ricky Wai
b0cdf3845f Do not tie managed profile synchronously in onUnlockUser()
Bug: 28736098
Change-Id: I2c687c11b9991d0771cfe721e80ac1541c477f2e
2016-05-16 17:29:17 +01:00
Shubang Lu
b0d38b6d47 Merge "TIF: Update TvInputInfo when the input is reinstalled." into nyc-dev 2016-05-16 16:25:08 +00:00
Ashley Smith
820ae5a475 Fixing a NPE in DevicePolicyManagerService
Bug: 28786940
Change-Id: I73de8dea9221765ed0751039f3d472cf78d341af
2016-05-16 15:55:14 +00:00
Yohei Yukawa
cef3337cb5 Merge "Make IMS#clearInsetOfPreviousIme() reliable." into nyc-dev 2016-05-16 15:22:21 +00:00
TreeHugger Robot
a1e4cbe211 Merge "Remove onUhandledInputEvent API." into nyc-dev 2016-05-16 15:18:20 +00:00
Clara Bayarri
d34396443e Merge "Rename requestKeyboardShortcutsHelper" into nyc-dev 2016-05-16 15:01:27 +00:00
Android Build Merger (Role)
8698ad8411 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 2016-05-16 14:59:27 +00:00
smain@google.com
6d8e37f622 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
2016-05-16 14:59:02 +00:00
Alan Viverette
bacbcba682 Merge "Give the AM/PM buttons slightly more content area" into nyc-dev 2016-05-16 14:56:38 +00:00
Scott Main
ccc6e09298 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
2016-05-16 14:55:47 +00:00
smain@google.com
0c5c9747a7 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
2016-05-16 14:52:44 +00:00
Scott Main
b7f5631156 Merge "Delete outdated sitemap file. Updated version now in Piper: https://critique.corp.google.com/#review/122362396" into mnc-mr-docs 2016-05-16 14:47:59 +00:00
Julia Reynolds
87c4277360 Throw exception on rule creation failure.
Bug: 28775583
Change-Id: I98cf90afd86e307846970f1ede7f072eb8b70c7f
2016-05-16 09:52:17 -04:00
TreeHugger Robot
c4033e7c66 Merge "Stop emitting javadoc for @removed attributes." into nyc-dev 2016-05-16 13:21:10 +00:00
Clara Bayarri
ac6f034f2a Rename requestKeyboardShortcutsHelper
Per API council feedback

Bug: 28775576
Change-Id: I1c4f98d7ec0d848f0c387aaedf8a0ed80628c64e
2016-05-16 14:15:14 +01:00
Narayan Kamath
1475701100 PackageManager: Clear foreign-dex markers when the app is uninstalled.
Also:
- Adds a missing call to clearProfiles to a callSite that was clearing other app data .
- Fixes a bug where the wrong package was being passed to clearAppProfilesLIF. We should
  use the "old" (pre-upgrade) package and not the "new" (post-upgrade) package.

bug: 28510916
Change-Id: Ia926acda2c72d39bad51143e3f923643d9c3a0af
2016-05-16 12:42:28 +01:00
Narayan Kamath
8995b00ce8 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
2016-05-16 10:39:08 +00:00
Abodunrinwa Toki
376f9f4bd6 Merge "Ensure that ViewGroup.getChildVisibleRect(...) is recursive." into nyc-dev 2016-05-16 09:37:56 +00:00
Martijn Coenen
9a32929def Merge "Address API review comments." into nyc-dev 2016-05-16 09:18:36 +00:00
Joe Fernandez
994c4b0b77 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
2016-05-16 05:22:25 +00:00
Joe Fernandez
0599768d37 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
2016-05-16 05:19:32 +00:00