198175 Commits

Author SHA1 Message Date
Joe Fernandez
0baf95bfdb docs: SDK Tools Release notes for v24.3.4
- Support for API 23
- Emulator fixes (multi-core, GPU emulation support and fixes)

Change-Id: Id5a89906e14a4393ddd8d201a8b1e45d1ec60cc3
2015-08-16 20:23:47 -07:00
Joe Fernandez
472b6b4480 docs: Platform release notes for Android 6.0 (API 23) revision 1
doc update to coincide with the release of M Preview 3

Change-Id: Ib33939f24d4499b3d1e4deb37807fa9e9a1f8d0c
2015-08-16 19:59:45 -07:00
Joe Fernandez
6a3016d2a7 Merge "docs: Build Tools 23.0.0 release notes" into mnc-dev 2015-08-17 01:52:05 +00:00
Joe Fernandez
bd4ed32ffa docs: Preview 3 - Support page updates
- Add Key changes
- Add Known issues

Change-Id: I080b191a6609a4216e7521afa951b53f33609b90
2015-08-16 17:55:53 -07:00
Dirk Dougherty
42c22d04d9 Merge "Doc change: Edits for final SDK and dev preview 3. Add selector to manage landing page image." into mnc-dev 2015-08-16 22:26:03 +00:00
Dirk Dougherty
49eeebb0a7 Doc change: Edits for final SDK and dev preview 3. Add selector to manage landing page image.
Change-Id: I9afddbea9ae27bad236a0aff8cc373cb1baea5a4
2015-08-16 15:08:32 -07:00
Joe Fernandez
bf8f17f8dc docs: Update Preview downloads page for Developer Preview 3
- System image downloads for Preview 3
- Preview 3 documentation download

Change-Id: I6a0daee44a1e8bd3421b0918daf72aff97b86e4c
2015-08-16 14:59:49 -07:00
Joe Fernandez
5c7817bc2f Merge "Update the RenderScript runtime documentation for MNC." into mnc-dev 2015-08-16 20:25:45 +00:00
Jean-Luc Brouillet
8bf69a4867 Update the RenderScript runtime documentation for MNC.
Update the documentation to include the features introduced in MNC.

b/23190418

Change-Id: I2c6dc11029a9bc0c2ca9bb8b712d4fd4660c3b29
2015-08-14 18:18:15 -07:00
Eino-Ville Talvala
1017f9862f Merge "Camera2: Add camera type to getNumberOfCameras." into mnc-dev 2015-08-15 00:46:15 +00:00
Quddus Chong
6fa531e015 Merge "docs: Updated gms_lists.js for GMS v7.8 (Reblochon) Javadoc discovery." into mnc-dev 2015-08-14 23:06:22 +00:00
Quddus Chong
44d911ffe2 docs: Updated gms_lists.js for GMS v7.8 (Reblochon) Javadoc discovery.
Change-Id: Ib9a36ce62b137316ae2b8bc626a0b0377f593a21
2015-08-14 15:59:07 -07:00
Joe Fernandez
fbf170cb10 Merge "docs: API diff report 22 to 23" into mnc-dev 2015-08-14 22:57:17 +00:00
Andrew Solovay
886e382dd8 Merge "docs: Added Javadoc links for new M Preview permissions methods" into mnc-dev 2015-08-14 22:52:22 +00:00
David Friedman
5bd5c25ee5 Merge "Docs: Migration, rewrite of Doze/App Standby doc from M Preview behavior page Bug: 22947123" into mnc-dev 2015-08-14 22:49:39 +00:00
David Friedman
a13f77e8d1 Docs: Migration, rewrite of Doze/App Standby doc from M Preview behavior page
Bug: 22947123

Change-Id: I49b72e160c40ea269a98a80356d61de49c306d96
2015-08-14 15:37:30 -07:00
Andrew Solovay
fd7db54241 docs: Added Javadoc links for new M Preview permissions methods
See first comment for doc stage location.

Change-Id: I6bf4c51e493d592a92d11028c2eeaac6afbc0954
2015-08-14 15:34:40 -07:00
Joe Fernandez
ad55a8e39e docs: API diff report 22 to 23
Change-Id: I7f8c5fb11e48520b91c90a8d26878b7413d3fb5b
2015-08-14 15:24:43 -07:00
Dianne Hackborn
06f552cf9a Merge "Add debugging for issue #23190084: [APPComm][Dev Test] {Unable to share photo..." into mnc-dev 2015-08-14 22:17:50 +00:00
Eino-Ville Talvala
5717612ba9 Camera2: Add camera type to getNumberOfCameras.
Do not list strange cameras in old API; ensure new API gets all
cameras.

Bug: 23194168
Change-Id: Ia1fdffac245525674c913fefb1ec06e9094fe8d3
2015-08-14 14:52:57 -07:00
Andrew Solovay
eee09f495f Merge "cherrypick from mnc-preview-docs docs: Preview 3 permissions docs. Original Change-Id: I4eaf45d98846e2bf9456f5896da4ec3079f4ba18" into mnc-dev 2015-08-14 21:44:37 +00:00
Dianne Hackborn
ae49872100 Add debugging for issue #23190084: [APPComm][Dev Test] {Unable to share photo...
...from Camera360 to Hangouts }

In the short URI toString, include a small summary of the ClipData (instead
of just saying it has a clip data).  This makes it a lot easier to understand
what is happening when you look at the log of activity starts.

Also separate out the activity manager dump of URI permission grants from
its dump of providers, so it is easy to just look at that state.

Change-Id: I68093d9f279944e1aa9a29347075f237f4f55ed3
2015-08-14 14:08:43 -07:00
Adam Lesinski
0cd143adae Merge "AAPT: Fix regression in resource versioning" into mnc-dev 2015-08-14 20:46:49 +00:00
Quddus Chong
b8fb239ac5 Merge "docs: Updated API Overview and Behavior Changes docs for M Preview 3." into mnc-dev 2015-08-14 20:44:54 +00:00
Andrew Solovay
a2eebe858a cherrypick from mnc-preview-docs docs: Preview 3 permissions docs.
Original Change-Id: I4eaf45d98846e2bf9456f5896da4ec3079f4ba18

Added section describing the new support library methods. Also
updating lists of normal and dangerous permissions based on current
AndroidManifest in mnc-dev, as well as any other changes brought to my
attention.

See first comment for doc stage location.

Change-Id: I4eaf45d98846e2bf9456f5896da4ec3079f4ba18
2015-08-14 13:44:14 -07:00
Adam Lesinski
beb9e33bfb AAPT: Fix regression in resource versioning
With a set of resources with the following configurations:

()
(land)

the regression caused any resources that needed to be versioned in configuration () to be lost.

Bug:23038206
Change-Id: I2f1b0313fb780ac241e7aaa487cb37dfb79c36aa
2015-08-14 13:41:46 -07:00
Daniel Sandler
9f238a9455 Merge "Introducing M Land." into mnc-dev 2015-08-14 19:59:48 +00:00
Daniel Sandler
8ad3e81701 Merge ""I tried to think of the most harmless thing."" into mnc-dev 2015-08-14 19:59:35 +00:00
Dan Sandler
8df3cfe6b8 Introducing M Land.
The "M" is for Multiplayer.

Bug: 21984798
Change-Id: Id752b8efe54ff0ac38854a129188027137d64dd5
2015-08-14 15:51:13 -04:00
Adam Lesinski
504600bb09 Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev 2015-08-14 19:38:34 +00:00
Dan Sandler
deafeedc81 "I tried to think of the most harmless thing."
Bug: 21984798
Change-Id: I33ffabb72c831ff814363601a82ac9a388cb1e99
2015-08-14 15:25:55 -04:00
Julia Reynolds
7df411d0cc Merge "Clear calling identity before getting the current user." into mnc-dev 2015-08-14 19:17:31 +00:00
Jean-Michel Trivi
16fa58cb13 Merge "Fix to check the incoming userid argument for RingtonePlayer" into mnc-dev 2015-08-14 18:19:17 +00:00
Quddus Chong
9b8e179d5e docs: Updated API Overview and Behavior Changes docs for M Preview 3.
Change-Id: Ibff73ca9321ba1b117c361402d8045d9558c5c2f
2015-08-14 10:22:09 -07:00
Joe Fernandez
3eb636b614 docs: Build Tools 23.0.0 release notes
Release notes to coincide with the M Preview 3 and API 23 release

Change-Id: I4550500f1dccc367b80463665d394a73ea102db3
2015-08-14 10:18:13 -07:00
Chris Tate
7e7d79ef2f Merge "Make "Ask every time" actually work that way" into mnc-dev 2015-08-14 17:11:30 +00:00
Dianne Hackborn
81f3a85aa2 Merge "Fix issue #22940169: "pm grant" can no longer grant permissions..." into mnc-dev 2015-08-14 17:06:20 +00:00
Svetoslav Ganov
b045331fcb Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev 2015-08-14 15:06:16 +00:00
Adam Lesinski
621e06a64d Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
System UIDs are also run as shared GIDs, so this should not throw
an exception.

Bug:23189342
Change-Id: Ia180db012c25615cde1720ae0d41d1378f7bfb1a
2015-08-13 22:06:31 -07:00
Christopher Tate
56f0ff3c48 Make "Ask every time" actually work that way
..in link-opening behavior.  If a candidate is marked as "ask
every time," then the user is guaranteed to get a disambiguation
prompt including that candidate even when some other candidate
app is in the "always prefer this over a browser" state.

Bug 23147746

Change-Id: I904d8697a992b3f16f32b1c1b49c2bf9424c7137
2015-08-13 18:56:05 -07:00
Dianne Hackborn
9f5b0a2735 Fix issue #22940169: "pm grant" can no longer grant permissions...
...with protection flag PROTECTION_FLAG_DEVELOPMENT

Bring back the old grant/revoke code for development permissions.

Also some more dumpsys output to help debugging.

And new dumpsys command for checking a permission.

Change-Id: I6e27e62a9ca5ec1ecc0f102714a448ea02f0f41c
2015-08-13 18:25:20 -07:00
Jeff Sharkey
cfcf6af915 Merge "Method to show DialogFragment allowing state loss." into mnc-dev 2015-08-14 01:18:18 +00:00
Joe Fernandez
37dd5240ad Merge "Doc change: Update preview pages for dp3." into mnc-dev 2015-08-14 01:10:56 +00:00
Sungmin Choi
4a05bbcd38 Fix to check the incoming userid argument for RingtonePlayer
In PowerNotificationWarnings, where it dispatches notifications
with UserHandle.ALL:
    mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, n, UserHandle.ALL);
The fix is to have RingtonePlayer check the incoming userId argument to playAsync(),
and change USER_ALL to USER_OWNER.

BUG=22516181
BUG=22992637
Change-Id: Ia3f8aaa2bee7fb15c24542e2331b2bc5a877e715
2015-08-13 17:07:11 -07:00
Jeff Sharkey
063f850060 Method to show DialogFragment allowing state loss.
Same as show(), but allowing state loss.

Bug: 22867250
Change-Id: Ib779d8a3febc70ad47a9c1a9099d858707bad733
2015-08-13 16:57:29 -07:00
Jorim Jaggi
81eeef5893 Merge "Update time when turning on screen, in addition to waking up" into mnc-dev 2015-08-13 23:51:11 +00:00
Jorim Jaggi
9373911d41 Update time when turning on screen, in addition to waking up
When in ambient display mode, we didn't get a callback to
onStartedWakingUp, thus the time was never refreshed. Since
broadcasts are disabled in this low-power state, we need to refresh
the clock manually before turning on the screen, because we can't
rely on the broadcasts to be delivered.

Bug: 23171638
Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e
2015-08-13 15:56:41 -07:00
Joe Fernandez
f755772957 Merge "docs: Update uses-sdk-element page with API 23 (M) listing" into mnc-dev 2015-08-13 18:49:40 +00:00
Joe Fernandez
901f807143 docs: Update uses-sdk-element page with API 23 (M) listing
Change-Id: If579411c66f3cfc02b270a04b266fe7562b48e14
2015-08-13 11:45:23 -07:00
Joe Fernandez
8d149d7ff2 Merge "docs: Update developer docs make file to include API 23" into mnc-dev 2015-08-13 18:27:11 +00:00