Commit Graph

50176 Commits

Author SHA1 Message Date
Trevor Johns
a5060ee80d Merge branch 'mnc-mr-docs' into mnc-ub-dev
Large merge to reconnect automerger for docs branch to mainline.

 Conflicts:
	docs/html-intl/intl/es/index.jd
	docs/html-intl/intl/es/preview/download.jd
	docs/html-intl/intl/es/preview/index.jd
	docs/html-intl/intl/ja/index.jd
	docs/html-intl/intl/ja/preview/download.jd
	docs/html-intl/intl/ja/preview/index.jd
	docs/html-intl/intl/ko/index.jd
	docs/html-intl/intl/ko/preview/download.jd
	docs/html-intl/intl/ko/preview/index.jd
	docs/html-intl/intl/pt-br/index.jd
	docs/html-intl/intl/pt-br/preview/download.jd
	docs/html-intl/intl/pt-br/preview/index.jd
	docs/html-intl/intl/ru/index.jd
	docs/html-intl/intl/ru/preview/download.jd
	docs/html-intl/intl/ru/preview/index.jd
	docs/html-intl/intl/zh-cn/index.jd
	docs/html-intl/intl/zh-cn/preview/download.jd
	docs/html-intl/intl/zh-cn/preview/index.jd
	docs/html-intl/intl/zh-tw/index.jd
	docs/html-intl/intl/zh-tw/preview/download.jd
	docs/html-intl/intl/zh-tw/preview/index.jd
	docs/html/guide/topics/manifest/compatible-screens-element.jd
	docs/html/guide/topics/manifest/uses-feature-element.jd
	docs/html/preview/download.jd
	docs/html/preview/features/runtime-permissions.jd
	docs/html/sdk/index.jd
	docs/html/tools/revisions/studio.jd
	docs/html/tools/sdk/eclipse-adt.jd
	docs/html/tools/support-library/features.jd
	telephony/java/android/telephony/TelephonyManager.java

Bug: 28000173
Change-Id: Iacab0481175f1b32e0ac3bab98cde9e994100e94
2016-04-05 20:32:07 -07:00
Kevin Hufnagle
0b68900b05 doc change: Fixed typo in Activity class reference.
Changed word within "Process Lifecycle" section, near bottom of
Activity class overview.

Bug: 24561563
Change-Id: I4c4196a656b6ad3e412ed45382fcefc984fe9892
2016-03-14 15:43:02 -07:00
Eric Schmidt
fc1d455b83 Merge "docs: Fixed broken link." into mnc-docs 2016-03-11 20:46:29 +00:00
Dan Dascalescu
e0d758a5f6 Merge "docs: Fix typo in Time#compare" into mnc-docs 2016-02-23 21:35:18 +00:00
Eric Schmidt
fdfce493dd docs: Fixed broken link.
Bug: 26705584
Change-Id: I5125f518574d3254af39c49a657ebdafe1299dc3
2016-02-22 14:18:26 -08:00
Dan Dascalescu
4cfb92fdab Merge "docs: Fix typo "will handled"" into mnc-docs 2016-02-18 22:19:48 +00:00
Dan Dascalescu
3d25bcb62a docs: Fix typo in Time#compare
bug: https://code.google.com/p/android/issues/detail?id=31733
Change-Id: I31ff3193caf18a4d8bbc843e15fccf8439a6b4b9
2016-02-18 13:30:36 -08:00
Dan Dascalescu
905e3b01d5 docs: Fix typo "will handled"
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: Ibd46ff1fb7256551d579aa8d1c6a92bf20b50137
2016-02-18 13:25:30 -08:00
Dan Dascalescu
9bb24382ff docs: Fix typo "Return the pointer identifier associated with a particular" -> in
bug: https://code.google.com/p/android/issues/detail?id=28381
Change-Id: I39e1f6abf48fc96d8c9333576fef36bb82c24904
2016-02-18 13:23:03 -08:00
Dan Dascalescu
cb91143ef7 Merge "docs: Fix typo "If an activity [is] in the foreground"" into mnc-docs 2016-02-18 21:16:49 +00:00
Dan Dascalescu
eeb25170be docs: Fix typo "If an activity [is] in the foreground"
At http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

bug: https://code.google.com/p/android/issues/detail?id=4066
Change-Id: If712144a4005b6f53832316aa55dc0744fa36c4b
2016-02-18 13:05:31 -08:00
Dan Dascalescu
3563af7117 Merge "docs: Fix typo behavrio -> behavior" into mnc-docs 2016-02-18 20:55:48 +00:00
Dan Dascalescu
884708107c Merge "docs: Fix "Spenned" typo" into mnc-docs 2016-02-16 23:36:50 +00:00
Dan Dascalescu
5159f54a15 Merge "docs: Fix typo mimeType:name -> android:mimeType" into mnc-docs 2016-02-16 23:35:56 +00:00
Dan Dascalescu
4b8bc437ff Merge "docs: Fix typo "ability [to] return"" into mnc-docs 2016-02-05 23:11:47 +00:00
Dan Dascalescu
6ec812ab49 Merge "docs: Fix "what what" typo" into mnc-docs 2016-02-05 23:10:20 +00:00
Dan Dascalescu
2c506fcf9d docs: Fix typo "[singular] attributes specifies"
bug: https://code.google.com/p/android/issues/detail?id=196193
Change-Id: I69fb6dcb6bbb5912ef3f3697d0b658e07ebddfa4
2016-02-04 18:38:19 -08:00
Dan Dascalescu
95ec830b5a docs: Fix typo behavrio -> behavior
bug: https://code.google.com/p/android/issues/detail?id=26491
Change-Id: Idf8597eadb81320f41d420d0e8669524dca66cfd
2016-02-04 17:31:37 -08:00
Dan Dascalescu
bda4c902c2 docs: Fix typo mimeType:name -> android:mimeType
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: I9a22be7728151895b4fdaf7fbbdf2cb266190abe
2016-02-04 17:20:23 -08:00
Dan Dascalescu
3b7e1951a7 docs: Fix typo "ability [to] return"
bug: https://code.google.com/p/android/issues/detail?id=37519
Change-Id: I2367634a228f8aaa5e456ef7ea85a23818378d28
2016-02-04 17:18:30 -08:00
Dan Dascalescu
1896a918de docs: Fix "Spenned" typo
bug: https://code.google.com/p/android/issues/detail?id=54792
Change-Id: Ie748671da52b140e1e709853d6ef9125b49c911c
2016-02-04 17:13:32 -08:00
Dan Dascalescu
0e978f58c0 docs: Fix "what what" typo
bug: https://code.google.com/p/android/issues/detail?id=52264
Change-Id: Iba8dfb9bd18251960fee13b0464d99a92e48eb9c
2016-02-04 17:09:19 -08:00
Eric Schmidt
00f2aaad15 Merge "docs: Fixed text and Kovio links." into mnc-docs 2016-02-04 18:16:55 +00:00
Dan Dascalescu
556ca38a6f Merge "docs: Fix description line truncated by "e.g."" into mnc-docs 2016-02-02 19:49:14 +00:00
Eric Schmidt
4de0eada2f docs: Fixed text and Kovio links.
Bug: 24954318
Change-Id: I5d667978669f35d8e28f7b58e298474a59a92531
2016-01-29 12:37:51 -08:00
Dan Dascalescu
74436b8441 docs: Fix description line truncated by "e.g."
bug: 26695390

Also improved the wrapping of two long paragraphs, without content changes.

Change-Id: I58f33c6d06ead61b68b6a6f0550dc98f108e37a5
2016-01-22 14:51:38 -08:00
Dan Dascalescu
f3b566b0d0 docs: ACTION_PACKAGE_REMOVED installed -> removed; EOL fixes
bugs: 26695226, 26695390

b/26695226: Fix the typo

b/26695390: Work-around the failing heuristic described in b/26695390 by adding
periods to terminate lines when we want the Javadoc parser to
stop parsing the sentence.

Change-Id: Ibf972d50157b693b695f0dd3bda9c7b5976a93de
2016-01-20 17:51:51 -08:00
Dan Dascalescu
a4514e4552 Merge "Fix "java" capitalization in Intent.html" into mnc-docs 2016-01-13 18:17:51 +00:00
Dan Dascalescu
7e88f9d36b Fix "java" capitalization in Intent.html
bug: 26403924
Change-Id: I300c87597de14318a3c77f790d25fea3ad5ef6f6
2016-01-12 16:34:20 -08:00
Dan Dascalescu
bebb65bba3 docs: Fix typo "Electrocargiogram", b/26355880
bug: 26355880
Change-Id: Ibf45cf4db1d5a94e42ac1841991da9570a5f8656
2016-01-12 16:14:59 -08:00
Lorenzo Colitti
cbb2c1d52a Reinstate CHANGE_NETWORK_STATE as a normal permission.
This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.

Specifically:

1. Change the protection level of CHANGE_NETWORK_STATE back from
   "signature|preinstalled|appop|pre23" to "normal". This allows
   apps that declare CHANGE_NETWORK_STATE in their manifest to
   acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
   first check CHANGE_NETWORK_STATE, and then ask Settings
   if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
   deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
   ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
   CHANGE_NETWORK_STATE and WRITE_SETTINGS.

Bug: 21588539
Bug: 23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
2015-12-16 15:33:15 +09:00
Yin-Chia Yeh
5a6930093a Camera: codegen doc update
Bug: 25427163
Change-Id: I9e552a7ad365f2a45e5ebb74234b9dfb8eb1225c
2015-11-30 14:22:57 -08:00
Bryce Lee
cb8749c903 Merge "Add Bluetooth headset API to allow disabling audio route." into cw-e-dev 2015-11-17 16:08:44 +00:00
Bryce Lee
0db53d90a0 Add Bluetooth headset API to allow disabling audio route.
This functionality is required by devices which have multiple profiles
using the SCO channel. For example, a device that is both a HFP AG and HF.
In this case, we must explicitly notify the profiles when they can acquire
the channel as they are not aware of each other. A similar change was
previously added to the Bluetooth Headset Client profile.

Bug: 25485578
Change-Id: Ia60cfdd33c2c3c3f185464b24056f8ccb976056d
2015-11-16 08:55:52 -08:00
Eino-Ville Talvala
1dd24f6345 Camera: Documentation updates
- Clarify hardware.camera feature being only for the back camera
 - Clarify what setting a CaptureRequest field to null does
 - Use preCorrectionActiveArray instead of activeArray in list of
   possible raw output sizes
 - Clarify length of GPS processing field for camera1 API

Bug: 24540625
Bug: 23908116
Bug: 23051627
Bug: 17345901
Change-Id: Iaf11fdf626268cf30f66b3628153ec3ac770c4f4
2015-11-13 21:10:10 +00:00
Eino-Ville Talvala
0e57a4d021 Camera: Documentation updates am: d8407271ff
am: 37e78cf8f1

* commit '37e78cf8f18523cda95926a85ae2b3678ffd7e5e':
  Camera: Documentation updates
2015-11-12 01:18:12 +00:00
Eino-Ville Talvala
37e78cf8f1 Camera: Documentation updates
am: d8407271ff

* commit 'd8407271ffa83d27e9a524f485a0799e422e1fd6':
  Camera: Documentation updates
2015-11-12 01:10:07 +00:00
Eino-Ville Talvala
d8407271ff Camera: Documentation updates
- Clarify hardware.camera feature being only for the back camera
 - Clarify what setting a CaptureRequest field to null does
 - Use preCorrectionActiveArray instead of activeArray in list of
   possible raw output sizes
 - Clarify length of GPS processing field for camera1 API

Bug: 24540625
Bug: 23908116
Bug: 23051627
Bug: 17345901
Change-Id: Iaf11fdf626268cf30f66b3628153ec3ac770c4f4
2015-11-11 23:59:38 +00:00
Daniel Koulomzin
71c012e001 ActivityView gets its own thread pool.
Bug: 24316798

Change-Id: I4278fa792cec8d2710f2f41eed02ba4a14af7052
2015-11-11 18:21:57 -05:00
Riley Andrews
2c740f1dcf Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev
am: c8bb39d98d

* commit 'c8bb39d98d7c2a07f1a5c745f6e89e379e4a25f0':
  Convert ashmem bitmap thresholds to constants.
2015-11-04 20:24:36 +00:00
Riley Andrews
0394a0c399 Convert ashmem bitmap thresholds to constants.
Bug 25256717

Change-Id: I23e2795ef8798d83bf60dcbd6ff2e7093fcaa9b0
Signed-off-by: Riley Andrews <riandrews@google.com>
2015-11-03 23:52:17 -08:00
Ian Pedowitz
95fc53b029 Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev
am: 966d6040c6

* commit '966d6040c6b171c75e9fb0ca942e84f9cf4d0dff':
  Limit persistent ashmem backed fds to a minimum of 128kB.
2015-11-03 22:05:23 +00:00
Ian Pedowitz
966d6040c6 Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev 2015-11-03 21:58:30 +00:00
Dianne Hackborn
9a13cc6992 Merge "Fix issue #25357209: Could not send SMS or MMS messages, had to reboot" into mnc-dr-dev
am: 71e4984505

* commit '71e49845054a3a7dacc51efc4fe658818caec048':
  Fix issue #25357209: Could not send SMS or MMS messages, had to reboot
2015-11-03 18:27:18 +00:00
Riley Andrews
8cee7c1711 Limit persistent ashmem backed fds to a minimum of 128kB.
Bug 25256717

Change-Id: Ieb356006df0a6545b89de44d3d8fd4b46312b3b8
Signed-off-by: Riley Andrews <riandrews@google.com>
2015-11-03 17:46:15 +00:00
Dianne Hackborn
fcc95a6d2c Fix issue #25357209: Could not send SMS or MMS messages, had to reboot
I think what probably happened is that since we only report an app
going in to the "interaction" state as an interaction event to usage
stats, apps that sit around in that state forever will only see one
interaction at the start and never again.  So usage stats could start
thinking they are idle.

Fix this by having the activity manager report an interaction event
for such long running applications at least once a day.

Also, because it is correct and for paranoia by protected us another
way, system uids should never go in to standby.

Change-Id: I8a3805bfca86cbe78560488a649ecd07427da99a
2015-11-02 16:15:35 -08:00
Glenn Kasten
6126c6706f CDD for pro audio feature does not specify acoustics
Change-Id: If24a2ee485a35ad18969abacf55798b64ff939af
(cherry picked from commit 7587edccd0)
2015-11-02 19:54:56 +00:00
Jeff Sharkey
637d05eb5c Merge "Handle "uninstalled" apps when pruning app-ops." into mnc-dr-dev
am: a975732a83

* commit 'a975732a8302893a40cdc444f893bf09b7669173':
  Handle "uninstalled" apps when pruning app-ops.
2015-10-30 21:37:17 +00:00
Anthony Hugh
3a9bf5c8ce Merge "Add intent extra for determining if apps are system apps" into cw-e-dev 2015-10-30 20:04:10 +00:00
Jeff Sharkey
e2ed23e6b2 Handle "uninstalled" apps when pruning app-ops.
During system boot, we prune app-ops belonging to apps that have
been uninstalled.  However, apps installed on adopted storage devices
haven't been scanned at this point, so they appear to be uninstalled.

To avoid pruning app-ops for these apps, we need a getPackageUid()
variant that also considers "uninstalled" apps for which we still
have PackageSetting values.

Bug: 25206071
Change-Id: I1820f674d45c5ddc1c5f10ed7d859e7025005e28
2015-10-29 19:04:15 -07:00