OSDN Git Service

android-x86/frameworks-base.git
11 years agoImprove RestrictionEntry API
Amith Yamasani [Thu, 28 Mar 2013 21:33:16 +0000 (14:33 -0700)]
Improve RestrictionEntry API

More getters and setters, better naming.
New extra defined for returning a custom intent that handles showing the
   restrictions UI.

Change-Id: I2ee0cdb4edd99e71a9004ff5e929dbe243b45557

11 years agoam d4b8baf3: am 02c86306: Merge "Add ability to install credentials as other UID"
Kenny Root [Thu, 28 Mar 2013 21:29:24 +0000 (14:29 -0700)]
am d4b8baf3: am 02c86306: Merge "Add ability to install credentials as other UID"

* commit 'd4b8baf3ed81582bf1b53b263893b2524641868e':
  Add ability to install credentials as other UID

11 years agoam 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"
Elliott Hughes [Thu, 28 Mar 2013 21:29:21 +0000 (14:29 -0700)]
am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"

* commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30':
  Correct executable bit for source files [Take 2]

11 years agoam f21a34bf: am 2ff853da: Merge "Add data validation on seinfo labels."
Geremy Condra [Thu, 28 Mar 2013 21:29:17 +0000 (14:29 -0700)]
am f21a34bf: am 2ff853da: Merge "Add data validation on seinfo labels."

* commit 'f21a34bf1b188cd662f6a08f5c709f4f641b1494':
  Add data validation on seinfo labels.

11 years agoam 02c86306: Merge "Add ability to install credentials as other UID"
Kenny Root [Thu, 28 Mar 2013 21:27:13 +0000 (14:27 -0700)]
am 02c86306: Merge "Add ability to install credentials as other UID"

* commit '02c86306d2569d18a49da3d9228dacb25b1f8973':
  Add ability to install credentials as other UID

11 years agoam a19647d3: Merge "Correct executable bit for source files [Take 2]"
Elliott Hughes [Thu, 28 Mar 2013 21:27:09 +0000 (14:27 -0700)]
am a19647d3: Merge "Correct executable bit for source files [Take 2]"

* commit 'a19647d3d81d3bdd15ad3bc8a2ece8e7bd1095fe':
  Correct executable bit for source files [Take 2]

11 years agoam 2ff853da: Merge "Add data validation on seinfo labels."
Geremy Condra [Thu, 28 Mar 2013 21:27:06 +0000 (14:27 -0700)]
am 2ff853da: Merge "Add data validation on seinfo labels."

* commit '2ff853daa89ca47491c3f7b096872a432d4a19e7':
  Add data validation on seinfo labels.

11 years agoMerge "Add ability to install credentials as other UID"
Kenny Root [Thu, 28 Mar 2013 20:56:58 +0000 (20:56 +0000)]
Merge "Add ability to install credentials as other UID"

11 years agoMerge "Fix doc build." into jb-mr2-dev
Ying Wang [Thu, 28 Mar 2013 20:52:43 +0000 (20:52 +0000)]
Merge "Fix doc build." into jb-mr2-dev

11 years agoFix doc build.
Ying Wang [Thu, 28 Mar 2013 20:50:40 +0000 (13:50 -0700)]
Fix doc build.

Change-Id: I479df06f2aed33bf29bb8d90be2339a80248beaa

11 years agoMerge "Correct executable bit for source files [Take 2]"
Elliott Hughes [Thu, 28 Mar 2013 20:50:34 +0000 (20:50 +0000)]
Merge "Correct executable bit for source files [Take 2]"

11 years agoMerge "Fix issues related to saveLayer/restore deferral" into jb-mr2-dev
Chris Craik [Thu, 28 Mar 2013 20:46:47 +0000 (20:46 +0000)]
Merge "Fix issues related to saveLayer/restore deferral" into jb-mr2-dev

11 years agoMerge "Restricted account visibility" into jb-mr2-dev
Amith Yamasani [Thu, 28 Mar 2013 20:31:44 +0000 (20:31 +0000)]
Merge "Restricted account visibility" into jb-mr2-dev

11 years agoMerge "Add data validation on seinfo labels."
Geremy Condra [Thu, 28 Mar 2013 20:30:36 +0000 (20:30 +0000)]
Merge "Add data validation on seinfo labels."

11 years agoMerge "Crank up the mOomMinFreeHigh values by 50%." into jb-mr2-dev
Ben Cheng [Thu, 28 Mar 2013 19:59:54 +0000 (19:59 +0000)]
Merge "Crank up the mOomMinFreeHigh values by 50%." into jb-mr2-dev

11 years agoMerge "Add flag to method's javadoc." into jb-mr2-dev
Craig Mautner [Thu, 28 Mar 2013 19:41:19 +0000 (19:41 +0000)]
Merge "Add flag to method's javadoc." into jb-mr2-dev

11 years agoMerge "Add user restrictions for bluetooth, sideloading, usb file transfer" into...
Maggie Benthall [Thu, 28 Mar 2013 19:15:46 +0000 (19:15 +0000)]
Merge "Add user restrictions for bluetooth, sideloading, usb file transfer" into jb-mr2-dev

11 years agoAdd flag to method's javadoc.
Craig Mautner [Thu, 28 Mar 2013 18:58:25 +0000 (11:58 -0700)]
Add flag to method's javadoc.

MOVE_TASK_NO_USER_ACTION was feeling neglected.

Change-Id: I1b8281878e99755ad9960904ba71b83ba3f05620

11 years agoMerge "Allow system server to bind to USB devices." into jb-mr2-dev
Jeff Brown [Thu, 28 Mar 2013 18:53:59 +0000 (18:53 +0000)]
Merge "Allow system server to bind to USB devices." into jb-mr2-dev

11 years agoMerge "Support specifying buffer start offset for USB requests." into jb-mr2-dev
Jeff Brown [Thu, 28 Mar 2013 18:53:33 +0000 (18:53 +0000)]
Merge "Support specifying buffer start offset for USB requests." into jb-mr2-dev

11 years agoMerge "Don't crash when making a layer larger than supported dimensions Bug #8437401...
Romain Guy [Thu, 28 Mar 2013 18:50:53 +0000 (18:50 +0000)]
Merge "Don't crash when making a layer larger than supported dimensions Bug #8437401" into jb-mr2-dev

11 years agoFix issues related to saveLayer/restore deferral
Chris Craik [Thu, 28 Mar 2013 18:25:24 +0000 (11:25 -0700)]
Fix issues related to saveLayer/restore deferral

bug:8464795

Changes drawModifiers and alpha to be restored for all operations,
since saveLayer/restore use these values, not just draw operations

Also forces a renderer state restoration before a deferred restore op
is played back, in case it is associated with a saveLayer that
doesn't have the save_clip flag set

Change-Id: I9da5d44fefbfffdee164c98f4f139843dacf85df

11 years agoDon't crash when making a layer larger than supported dimensions
Romain Guy [Thu, 28 Mar 2013 18:32:33 +0000 (11:32 -0700)]
Don't crash when making a layer larger than supported dimensions
Bug #8437401

A misplaced ref count decrement was causing a crash when attempting to
resize a layer to dimensions larger than the max texture size supported
by the GPU.

This change fixes the crash and clarifies the warnings to make it more
obvious what's happening.

Change-Id: I632dc1b90aaa2605969e10523491a81c4922d3dc

11 years agoAdd ability to install credentials as other UID
Kenny Root [Thu, 28 Mar 2013 16:25:51 +0000 (09:25 -0700)]
Add ability to install credentials as other UID

We need the ability to install from the system UID to wifi UID
to explicitly bind WiFi credentials to the WiFi profile. This adds the
ability for Wifi Settings to invoke installation of a PKCS12 file for
the wifi UID.

Bug: 8183258
Change-Id: I652b7e6fa93deda6d6d310be33f224e5a356c787

11 years agoMerge "Add support for setMiracastMode" into jb-mr2-dev
Irfan Sheriff [Thu, 28 Mar 2013 17:29:14 +0000 (17:29 +0000)]
Merge "Add support for setMiracastMode" into jb-mr2-dev

11 years agoAdd support for setMiracastMode
Irfan Sheriff [Thu, 28 Mar 2013 17:15:44 +0000 (10:15 -0700)]
Add support for setMiracastMode

Usage is setMiracastMode(WifiP2pManager.MIRACAST_SOURCE) or
setMiracastMode(WifiP2pManager.MIRACAST_SINK) as an example.
Only available for internal use and can be called as long as
driver is active. P2p connection is not needed for it to be
called

Bug: 8493089
Change-Id: I1f87eaf3311212aae980077de26c05651a8cc811

11 years agoMerge "Add BT - DataTracker connection" into jb-mr2-dev
Robert Greenwalt [Thu, 28 Mar 2013 16:45:33 +0000 (16:45 +0000)]
Merge "Add BT - DataTracker connection" into jb-mr2-dev

11 years agoAdd data validation on seinfo labels.
Robert Craig [Thu, 28 Mar 2013 10:22:12 +0000 (06:22 -0400)]
Add data validation on seinfo labels.

Ensure that policy contains a clean seinfo
string. Where clean means no whitespace characters.

Change-Id: I814411cbc8d16eaed99a1389f5487529e36e617b
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
11 years agoMerge "Cleanup some debug in LinkCapabilities and Properties." into jb-mr2-dev
Wink Saville [Thu, 28 Mar 2013 16:09:26 +0000 (16:09 +0000)]
Merge "Cleanup some debug in LinkCapabilities and Properties." into jb-mr2-dev

11 years agoAllow system server to bind to USB devices.
Jeff Brown [Thu, 28 Mar 2013 10:15:40 +0000 (03:15 -0700)]
Allow system server to bind to USB devices.

Change-Id: I31f9ed1ff3fcda53f62f08ae198d18d0df3321b7

11 years agoSupport specifying buffer start offset for USB requests.
Jeff Brown [Thu, 28 Mar 2013 10:13:09 +0000 (03:13 -0700)]
Support specifying buffer start offset for USB requests.

Deprecated existing API which only supported passing buffer
and length in favor of a new one that also supports passing
the start.

Being able to pass a start index is very important because
the kernel imposes size limits on how much data can be transferred
at a time so we often need to transmit large buffers in chunks.

Change-Id: I3484b5e68f1ece61d4645ea04be8ee6a3b79169d

11 years agoam 9773b6e9: am f508cb7b: am 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update...
kmccormick [Thu, 28 Mar 2013 02:26:53 +0000 (19:26 -0700)]
am 9773b6e9: am f508cb7b: am 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs

* commit '9773b6e9aeb27dc0164c57e8b38673834a9474bb':
  Doc update: typo

11 years agoam fcc42da4: am 7aec7790: am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update...
kmccormick [Thu, 28 Mar 2013 02:26:50 +0000 (19:26 -0700)]
am fcc42da4: am 7aec7790: am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit 'fcc42da4d9e3dc6dfd98b374a03eda051a869a74':
  Doc update: use parse, not new

11 years agoam f508cb7b: am 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update: typo" into...
kmccormick [Thu, 28 Mar 2013 02:24:43 +0000 (19:24 -0700)]
am f508cb7b: am 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs

* commit 'f508cb7bdb6a994e241711f91763ac8951311e2b':
  Doc update: typo

11 years agoresolved conflicts for merge of 603f987f to jb-mr2-dev
kmccormick [Thu, 28 Mar 2013 02:23:51 +0000 (19:23 -0700)]
resolved conflicts for merge of 603f987f to jb-mr2-dev

Change-Id: I4a130dad9d4669799f5d477f67e0f9a6a04381ca

11 years agoam 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 02:22:18 +0000 (19:22 -0700)]
am 571c01b4: am a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs

* commit '571c01b494be76af9291b87c09f43a0fb30b3edb':
  Doc update: typo

11 years agoam a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 02:20:34 +0000 (19:20 -0700)]
am a8115d06: am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs

* commit 'a8115d06afa29146edcab5f1edca83d2c7a89f2d':
  Doc update: typo

11 years agoam f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 02:18:43 +0000 (19:18 -0700)]
am f65b5d08: Merge "Doc update: typo" into jb-mr1.1-docs

* commit 'f65b5d085bc62382eba530179a24a1cf1a7d353d':
  Doc update: typo

11 years agoMerge "Doc update: typo" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:48:42 +0000 (01:48 +0000)]
Merge "Doc update: typo" into jb-mr1.1-docs

11 years agoam 7aec7790: am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse...
kmccormick [Thu, 28 Mar 2013 02:03:12 +0000 (19:03 -0700)]
am 7aec7790: am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit '7aec77901b92423b835a87be88fbbf3bc5ff0c91':
  Doc update: use parse, not new

11 years agoam 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into...
kmccormick [Thu, 28 Mar 2013 02:00:48 +0000 (19:00 -0700)]
am 061d4a95: am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit '061d4a95cf924fcf113d11b2d4d001f696a65e1f':
  Doc update: use parse, not new

11 years agoam 418172bf: am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_...
kmccormick [Thu, 28 Mar 2013 01:59:42 +0000 (18:59 -0700)]
am 418172bf: am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

* commit '418172bf8823016785526b433801d44a4630f276':
  Doc change: Fix typo DONT_DELTE

11 years agoam 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:59:10 +0000 (18:59 -0700)]
am 3af7b848: am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit '3af7b848143bef17230674bbed79ca77d3527e8e':
  Doc update: use parse, not new

11 years agoam d55e676a: am 7db86662: am 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update...
kmccormick [Thu, 28 Mar 2013 01:58:05 +0000 (18:58 -0700)]
am d55e676a: am 7db86662: am 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs

* commit 'd55e676a592442f034cfbd3a45e05ba2cbe8ff11':
  Doc Update: bug fix.

11 years agoam 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into...
kmccormick [Thu, 28 Mar 2013 01:57:27 +0000 (18:57 -0700)]
am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

* commit '19840a8d40139a12469ef92c3541f2a433d5ae85':
  Doc change: Fix typo DONT_DELTE

11 years agoam 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:57:24 +0000 (18:57 -0700)]
am 821d4943: Merge "Doc update: use parse, not new" into jb-mr1.1-docs

* commit '821d4943702e49844629ae9b522383a21210a64f':
  Doc update: use parse, not new

11 years agoRestricted account visibility
Amith Yamasani [Thu, 28 Mar 2013 01:56:08 +0000 (18:56 -0700)]
Restricted account visibility

When accounts are shared to a restricted/limited user, apps can
opt-in to viewing accounts of a certain type. Other shared accounts
are not visible to the app.

App would specify the account type in the manifest <application> tag
with the attribute restrictedAccountType="foo.bar", where "foo.bar"
is the account type as defined by the authenticator.

Change-Id: I7586da04d6d6d32aae15adc6b1366f325bb07384

11 years agoam 7db86662: am 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix."...
kmccormick [Thu, 28 Mar 2013 01:56:08 +0000 (18:56 -0700)]
am 7db86662: am 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs

* commit '7db866620491b3fa09dbcf2abe097bf33a73b034':
  Doc Update: bug fix.

11 years agoam 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:55:51 +0000 (18:55 -0700)]
am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

* commit '65c66c74f4db7d16ccff1a67f416f74c716b3773':
  Doc change: Fix typo DONT_DELTE

11 years agoam 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1...
kmccormick [Thu, 28 Mar 2013 01:54:07 +0000 (18:54 -0700)]
am 63dc67bd: am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs

* commit '63dc67bd6b026d3590af980b5dfddd4e68fd7831':
  Doc Update: bug fix.

11 years agoam 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:54:02 +0000 (18:54 -0700)]
am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

* commit '6e6e861a58da7bc39e1fbad9ed8730c712e45123':
  Doc change: Fix typo DONT_DELTE

11 years agoMerge "Doc update: use parse, not new" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:53:02 +0000 (01:53 +0000)]
Merge "Doc update: use parse, not new" into jb-mr1.1-docs

11 years agoam b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:52:24 +0000 (18:52 -0700)]
am b1c453f2: am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs

* commit 'b1c453f2897a9bf7dcfe71a84512877c5c6f0536':
  Doc Update: bug fix.

11 years agoam 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:50:36 +0000 (18:50 -0700)]
am 353e7a2f: Merge "Doc Update: bug fix." into jb-mr1.1-docs

* commit '353e7a2f2efa3a6d8d9538dca8f0d5d360c2a1e9':
  Doc Update: bug fix.

11 years agoMerge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:49:36 +0000 (01:49 +0000)]
Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

11 years agoMerge "Doc Update: bug fix." into jb-mr1.1-docs
kmccormick [Thu, 28 Mar 2013 01:47:58 +0000 (01:47 +0000)]
Merge "Doc Update: bug fix." into jb-mr1.1-docs

11 years agoDoc update: use parse, not new
kmccormick [Thu, 28 Mar 2013 01:25:38 +0000 (18:25 -0700)]
Doc update: use parse, not new

"Bug: 8014259"

Change-Id: Ia7408b49303003fe87033056365cafc5b4790813

11 years agoDoc change: Fix typo DONT_DELTE
kmccormick [Thu, 28 Mar 2013 00:39:17 +0000 (17:39 -0700)]
Doc change: Fix typo DONT_DELTE

"Bug: 8273156"

Change-Id: I6ba2e780d1a8c2b7d1771e93125a10b228227020

11 years agoam 4224a4ca: am 3864aa39: Merge "Add interrupter library to simulate EINTR"
Kenny Root [Thu, 28 Mar 2013 00:45:21 +0000 (17:45 -0700)]
am 4224a4ca: am 3864aa39: Merge "Add interrupter library to simulate EINTR"

* commit '4224a4ca85a4e7ba3f4e543ee52c643405464164':
  Add interrupter library to simulate EINTR

11 years agoam 3864aa39: Merge "Add interrupter library to simulate EINTR"
Kenny Root [Thu, 28 Mar 2013 00:42:36 +0000 (17:42 -0700)]
am 3864aa39: Merge "Add interrupter library to simulate EINTR"

* commit '3864aa3944254184ddcd61002cb9f1d7cb1d4c67':
  Add interrupter library to simulate EINTR

11 years agoCrank up the mOomMinFreeHigh values by 50%.
Ben Cheng [Thu, 28 Mar 2013 00:36:13 +0000 (17:36 -0700)]
Crank up the mOomMinFreeHigh values by 50%.

Devices with 1GB of RAM can benefit from more aggressive OOM killer.

BUG: 7972252
Change-Id: Id2b80c14a3cff195c17ef0d14c80b92394649d98

11 years agoDoc update: typo
kmccormick [Thu, 28 Mar 2013 00:25:22 +0000 (17:25 -0700)]
Doc update: typo

"Bug: 8324430"

Change-Id: I45027ede97157552722049fdf49a7659f293237a

11 years agoMerge "Fix build." into jb-mr2-dev
Dianne Hackborn [Thu, 28 Mar 2013 00:20:27 +0000 (00:20 +0000)]
Merge "Fix build." into jb-mr2-dev

11 years agoFix build.
Dianne Hackborn [Thu, 28 Mar 2013 00:19:35 +0000 (17:19 -0700)]
Fix build.

Change-Id: I38a25dc63107fc907a520169e1b58f00e51dbb9d

11 years agoDoc Update: bug fix.
kmccormick [Thu, 28 Mar 2013 00:18:26 +0000 (17:18 -0700)]
Doc Update: bug fix.

"Bug: 7541616"

Change-Id: I7b84eaa13a8f695585211035647fa88614bb1372

11 years agoMerge "Add interrupter library to simulate EINTR"
Kenny Root [Thu, 28 Mar 2013 00:16:30 +0000 (00:16 +0000)]
Merge "Add interrupter library to simulate EINTR"

11 years agoMerge "Reenable optional permissions parsing and expose APIs" into jb-mr2-dev
Nick Kralevich [Thu, 28 Mar 2013 00:13:45 +0000 (00:13 +0000)]
Merge "Reenable optional permissions parsing and expose APIs" into jb-mr2-dev

11 years agoMerge "Add buildPermissionRequestIntent to PackageManager" into jb-mr2-dev
Nick Kralevich [Thu, 28 Mar 2013 00:11:25 +0000 (00:11 +0000)]
Merge "Add buildPermissionRequestIntent to PackageManager" into jb-mr2-dev

11 years agoReenable optional permissions parsing and expose APIs
Nick Kralevich [Tue, 26 Mar 2013 23:59:37 +0000 (16:59 -0700)]
Reenable optional permissions parsing and expose APIs

Modify the package parsing code to understand optional permissions
(android:required="false"). This is essentially a rollback of
e824120016248bcfe3962883fe9f3b0481dd1c3d with some minor changes.

Expose the requestPermission API to third party apps. This allows
an app to request an Intent which, when passed to
startActivityForResult, will prompt the user to approve permissions
for an app.

In the event we decide to not launch with this feature, this change
can be rolled back.

Change-Id: Ie3626deae9b16e510323f94a2c80377f7c84b26f

11 years agoAdd buildPermissionRequestIntent to PackageManager
Nick Kralevich [Wed, 27 Mar 2013 22:20:08 +0000 (15:20 -0700)]
Add buildPermissionRequestIntent to PackageManager

Add the buildPermissionRequestIntent API to PackageManager. This allows
an app to request an Intent which, when passed to
startActivityForResult, will prompt the user to approve permissions
for an app.

Currently, the API is @hide.  It will be unhidden in a future change.

Change-Id: I4ec677002afa799a6eb5c2657c28452c91012436

11 years agoMerge "Keep track of who has disabled applications." into jb-mr2-dev
Dianne Hackborn [Wed, 27 Mar 2013 23:32:35 +0000 (23:32 +0000)]
Merge "Keep track of who has disabled applications." into jb-mr2-dev

11 years agoCleanup some debug in LinkCapabilities and Properties.
Wink Saville [Wed, 27 Mar 2013 23:21:43 +0000 (16:21 -0700)]
Cleanup some debug in LinkCapabilities and Properties.

Change-Id: I5fe0124d0943f5e538e451645f32533a74c75a47

11 years agoAdd BT - DataTracker connection
Robert Greenwalt [Wed, 22 Aug 2012 02:27:00 +0000 (19:27 -0700)]
Add BT - DataTracker connection

Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c

11 years agoMerge "Fix bug #8487785 Notification shade has text overlapping the icon" into jb...
Fabrice Di Meglio [Wed, 27 Mar 2013 22:15:59 +0000 (22:15 +0000)]
Merge "Fix bug #8487785 Notification shade has text overlapping the icon" into jb-mr2-dev

11 years agoAdd user restrictions for bluetooth, sideloading, usb file transfer
Maggie Benthall [Thu, 14 Mar 2013 22:02:12 +0000 (18:02 -0400)]
Add user restrictions for bluetooth, sideloading, usb file transfer

Created constants for these in UserManager and current.txt. Also created
an accessor for individual user restrictions that takes the restriction key
(removing individual methods for particular restrictions).

Change-Id: Ibb5517cbcdffadd3925f52cbe67d7d525813faa9

11 years agoMerge "Notify user only when device provisioned" into jb-mr2-dev
Irfan Sheriff [Wed, 27 Mar 2013 22:12:20 +0000 (22:12 +0000)]
Merge "Notify user only when device provisioned" into jb-mr2-dev

11 years agoFix bug #8487785 Notification shade has text overlapping the icon
Fabrice Di Meglio [Wed, 27 Mar 2013 19:41:22 +0000 (12:41 -0700)]
Fix bug #8487785 Notification shade has text overlapping the icon

- follow up to the fix for bug #8480245 ViewGroup layout margins can be wrong in RTL mode
- deal with "RTL compatibility mode": if left/right margins are not defined and if we
haev some start/end ones then use the start/end ones.

Change-Id: I98fe3276de2bd14f60a1c423a47569a68046f7be

11 years agoMerge "Fix an action bar menu order of operations bug" into jb-mr2-dev
Adam Powell [Wed, 27 Mar 2013 22:07:17 +0000 (22:07 +0000)]
Merge "Fix an action bar menu order of operations bug" into jb-mr2-dev

11 years agoMerge "Make isHostRoute match only host routes" into jb-mr2-dev
Lorenzo Colitti [Wed, 27 Mar 2013 21:58:06 +0000 (21:58 +0000)]
Merge "Make isHostRoute match only host routes" into jb-mr2-dev

11 years agoMerge "Disable some noisy error logs." into jb-mr2-dev
Jeff Brown [Wed, 27 Mar 2013 21:57:33 +0000 (21:57 +0000)]
Merge "Disable some noisy error logs." into jb-mr2-dev

11 years agoMerge "Sync APIs use seconds instead of ms." into jb-mr2-dev
Jeff Sharkey [Wed, 27 Mar 2013 21:48:42 +0000 (21:48 +0000)]
Merge "Sync APIs use seconds instead of ms." into jb-mr2-dev

11 years agoSync APIs use seconds instead of ms.
Jeff Sharkey [Wed, 27 Mar 2013 21:46:55 +0000 (14:46 -0700)]
Sync APIs use seconds instead of ms.

Bug: 7668972
Change-Id: I7b253fe17d9539695adc474a69546645586b5f1a

11 years agoNotify user only when device provisioned
Irfan Sheriff [Wed, 27 Mar 2013 20:27:39 +0000 (13:27 -0700)]
Notify user only when device provisioned

Make sure the notification about scan mode being availabe is only shown
when device is already provisioned

Bug: 8482739
Change-Id: If8a76ffcc0401b846e39b02a55ea69743303c93d

11 years agoMerge "Revert "Remove all public mention of RS graphics from docs."" into jb-mr2-dev
Tim Murray [Wed, 27 Mar 2013 21:32:31 +0000 (21:32 +0000)]
Merge "Revert "Remove all public mention of RS graphics from docs."" into jb-mr2-dev

11 years agoRevert "Remove all public mention of RS graphics from docs."
Tim Murray [Wed, 27 Mar 2013 21:31:28 +0000 (21:31 +0000)]
Revert "Remove all public mention of RS graphics from docs."

This reverts commit d72f932b8cbf461ebb79c249ce92b9b811122190

Change-Id: I056b13d0b2beb508e4215bc0d289cf3e76a3a986

11 years agoMerge "Remove all public mention of RS graphics from docs." into jb-mr2-dev
Tim Murray [Wed, 27 Mar 2013 21:01:37 +0000 (21:01 +0000)]
Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev

11 years agoMerge "Set ignore flag during deferred savelayer" into jb-mr2-dev
Chris Craik [Wed, 27 Mar 2013 19:47:59 +0000 (19:47 +0000)]
Merge "Set ignore flag during deferred savelayer" into jb-mr2-dev

11 years agoDisable some noisy error logs.
Jeff Brown [Wed, 27 Mar 2013 19:34:30 +0000 (12:34 -0700)]
Disable some noisy error logs.

Disabled some error logs that occur when an input channel is
closed remotely by its peer.  These can happen during normal
course of operations because the act of removing windows or
finishing IME sessions is asynchronous so both peers may react
to the change independently at different times.

The coordination with the input dispatcher is designed to
avoid logging these errors.  However it's not possible to achieve
the same coordination with the IME so we might as well silence
the errors since they don't tell us anything useful.

If something truly bad happens then one of two things will occur:

1. The system will realize that the process crashed because
   of a DeadObjectException or other error, so it will take
   measures to clean up.

2. If the error was spurious and non-fatal (how?) then at worst
   an ANR may occur because the consumer stopped reading from
   the input channel.  However this has never been observed
   and I doubt it's even possible.

Change-Id: I11a05d6d75e63e91be003971a544069b3a0d77f4

11 years agoFix an action bar menu order of operations bug
Adam Powell [Wed, 27 Mar 2013 19:22:27 +0000 (12:22 -0700)]
Fix an action bar menu order of operations bug

As options menu invalidations in PhoneWindow are deferred, it was
possible for a call to open the overflow menu (which involves an extra
chance to prepare the menu) to happen before the pending menu
invalidation was handled. Process any pending menu invalidations
before attempting to show the overflow menu in response to one of
these events.

Bug 7209308

Change-Id: Id50f7f6ad5d3a631745207fa0bad8c356690e16c

11 years agoMerge "Expose data_usage_stat table in ContactsContract" into jb-mr2-dev
Yorke Lee [Wed, 27 Mar 2013 19:14:09 +0000 (19:14 +0000)]
Merge "Expose data_usage_stat table in ContactsContract" into jb-mr2-dev

11 years agoExpose data_usage_stat table in ContactsContract
Yorke Lee [Tue, 12 Mar 2013 19:48:06 +0000 (12:48 -0700)]
Expose data_usage_stat table in ContactsContract

Bug: 8124079
Change-Id: Ie60e489f08be270b9f3a4866c488a5e0598ceb26

11 years agoKeep track of who has disabled applications.
Dianne Hackborn [Tue, 26 Mar 2013 23:15:41 +0000 (16:15 -0700)]
Keep track of who has disabled applications.

Change-Id: I2640d3dc2200b589e2beb42a43cc93efd090f06e

11 years agoam bfd15fa0: am 6b96e2f0: Merge "Two REMOVE_PROVIDER messages caused by race condition."
Dianne Hackborn [Wed, 27 Mar 2013 18:37:08 +0000 (11:37 -0700)]
am bfd15fa0: am 6b96e2f0: Merge "Two REMOVE_PROVIDER messages caused by race condition."

* commit 'bfd15fa00557ea78567a30fe260dea62c37bd5a0':
  Two REMOVE_PROVIDER messages caused by race condition.

11 years agoSet ignore flag during deferred savelayer
Chris Craik [Wed, 27 Mar 2013 01:55:15 +0000 (18:55 -0700)]
Set ignore flag during deferred savelayer

bug:8471552

Additionally, add ignore check for draw functor

In deferred mode, if we don't set ignore, a 0 alpha displayList won't
be quickRejected, and not only would its contents be needlessly
deferred, but upon playback any functors would be drawn, ignoring the
state of the snapshot.

Change-Id: Ib1edb3252080f674254086edee6f965f0efcce78

11 years agoMerge "AudioEffect types in SDK" into jb-mr2-dev
Jean-Michel Trivi [Wed, 27 Mar 2013 17:35:44 +0000 (17:35 +0000)]
Merge "AudioEffect types in SDK" into jb-mr2-dev

11 years agoMerge "Allow leading slash in path argument for addURI() method." into jb-mr2-dev
Chiao Cheng [Wed, 27 Mar 2013 17:18:29 +0000 (17:18 +0000)]
Merge "Allow leading slash in path argument for addURI() method." into jb-mr2-dev

11 years agoAudioEffect types in SDK
Jean-Michel Trivi [Tue, 26 Mar 2013 22:37:28 +0000 (15:37 -0700)]
AudioEffect types in SDK

Not all effect types are defined by OpenSL ES. Add the full UUID
 effect identifier in the superclass of all audio effects.

bug 8113082

Change-Id: I8dfc6cdcfd2a145e792fb3669e6132e6f19d1c16

11 years agoMerge "Add new apis to CP2" into jb-mr2-dev
Yorke Lee [Wed, 27 Mar 2013 16:43:40 +0000 (16:43 +0000)]
Merge "Add new apis to CP2" into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Wed, 27 Mar 2013 16:38:07 +0000 (16:38 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb...
Nick Kralevich [Wed, 27 Mar 2013 16:20:26 +0000 (16:20 +0000)]
Merge "AppSecurityPermissions: Add isGranted to isDisplayablePermission" into jb-mr2-dev