40070 Commits

Author SHA1 Message Date
Michael Wright
aaddfacf96 am bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev
* commit 'bdb706e48d71af498156efbb10d0f0c1fcef8878':
  Pipe through device resolution information
2013-04-05 15:29:37 -07:00
Michael Wright
bdb706e48d Merge "Pipe through device resolution information" into jb-mr2-dev 2013-04-05 21:43:31 +00:00
Fabrice Di Meglio
1f9516399c am c51628aa: Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev
* commit 'c51628aa6f61822c03e13af50741b076c588d3c7':
  Fix AlertDialog in RTL mode
2013-04-05 14:22:49 -07:00
Fabrice Di Meglio
c51628aa6f Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev 2013-04-05 21:17:50 +00:00
Jeff Brown
4c2a7b23f5 am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
* commit '4a706bc6f1dcf4483b282d5758e22482cf02506f':
  Correctly manage the lifecycle of IME InputChannels.
2013-04-05 14:03:06 -07:00
Jeff Brown
4a706bc6f1 Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev 2013-04-05 20:57:01 +00:00
Daniel Sandler
29211d3a16 am 5feceebb: New NotificationListenerService.
* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
  New NotificationListenerService.
2013-04-05 12:58:43 -07:00
Daniel Sandler
5feceebb89 New NotificationListenerService.
This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
2013-04-05 19:54:44 +00:00
Kristian Monsen
91128afa95 am 4ac0462e: Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev
* commit '4ac0462e7121c89f5cd76136fda7f14874dfd787':
  Adding new Chomium-WebView property key, and deprecating old key.
2013-04-05 10:22:46 -07:00
Kristian Monsen
4ac0462e71 Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev 2013-04-05 17:17:25 +00:00
Ben Gruver
a1607a8c62 am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev
* commit '65f420ec98f451cb17e55c6ace3f249d73b33399':
  Add a config updater component for the intent firewall
2013-04-05 09:39:11 -07:00
Ben Gruver
65f420ec98 Merge "Add a config updater component for the intent firewall" into jb-mr2-dev 2013-04-05 16:35:26 +00:00
Baligh Uddin
5b8f221b15 am f0a79e31: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'f0a79e31d334e79c738e6c7a5e20ff06abfd142d':
  Import translations. DO NOT MERGE
2013-04-05 09:17:47 -07:00
Baligh Uddin
1cbe12157f Import translations. DO NOT MERGE
Change-Id: Ifb0d09822f93bb719c48bc3e0108e0f81c592c66
Auto-generated-cl: translation import
2013-04-05 08:50:47 -07:00
Jeff Brown
1951ce86c2 Correctly manage the lifecycle of IME InputChannels.
InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process.  This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework.  We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
2013-04-04 22:45:12 -07:00
Ben Gruver
633dc9bcef Add a config updater component for the intent firewall
Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
2013-04-04 19:46:22 -07:00
Michael Wright
c6091c64c9 Pipe through device resolution information
Bug: 8424494
Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
2013-04-04 18:10:37 -07:00
Nick Kralevich
1fdaace1b1 am 80fdc962: Merge "Error on conflicting <uses-permission>" into jb-mr2-dev
* commit '80fdc9624e6d53a78031bf99d34e7c01d53ad66e':
  Error on conflicting <uses-permission>
2013-04-04 17:27:44 -07:00
Nick Kralevich
80fdc9624e Merge "Error on conflicting <uses-permission>" into jb-mr2-dev 2013-04-05 00:24:40 +00:00
Nick Kralevich
73f2d3c79e Error on conflicting <uses-permission>
Don't install packages where we have multiple, conflicting
<uses-permission> lines for the same permission.

For example, a package which contains:

<uses-permission android:name="android.permission.INTERNET" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" android:required="true" />

will now fail to install.

In addition, this change slightly refactors the code, and creates a new
parseUsesPermission() method.

Change-Id: I0f4bb8b51dc4a0c5b73458a70f706e19829275d2
2013-04-04 17:12:00 -07:00
Romain Guy
9ff408c17b am faec826b: Merge "Reduce the size of dirty invalidates" into jb-mr2-dev
* commit 'faec826bd6051e41e1299cd14d580a4f50f6fe97':
  Reduce the size of dirty invalidates
2013-04-04 15:53:36 -07:00
Romain Guy
faec826bd6 Merge "Reduce the size of dirty invalidates" into jb-mr2-dev 2013-04-04 22:47:49 +00:00
Romain Guy
e55945e219 Reduce the size of dirty invalidates
Remove remnants from times long gone. We don't need to redraw the
union of the previous frame's dirty region and the new dirty
region.

Change-Id: I9fb96f99a6a72c2233f9ca563cf6432a42b2b65b
2013-04-04 15:29:09 -07:00
Fabrice Di Meglio
378b7b7bc7 am 5a78b1b2: Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" into jb-mr2-dev
* commit '5a78b1b20d1f137f867bd1dba76377a41af1af18':
  Fix for bug #8146846 Phone App should be mirrored for RTL languages
2013-04-04 14:22:35 -07:00
Fabrice Di Meglio
5a78b1b20d Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" into jb-mr2-dev 2013-04-04 21:16:43 +00:00
Nick Kralevich
2c0283f5d1 am b2c3aa8e: Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev
* commit 'b2c3aa8e322a4c08e3aca3a877da3732ec93e042':
  PackageParser: ignore <uses-permission> android:required on older apps
2013-04-04 13:32:58 -07:00
Nick Kralevich
b2c3aa8e32 Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev 2013-04-04 20:27:32 +00:00
Nick Kralevich
38f130e19a PackageParser: ignore <uses-permission> android:required on older apps
Don't honor <uses-permission android:required="false"> on older apps.
Lots of apps in the wild are improperly using this, and we don't
want to break them.

Bug: 8528162
Change-Id: I6e0a10bc9feac58d13ef624239c6b91e9fc34590
2013-04-04 13:19:10 -07:00
Chet Haase
98f69881ce am 77d94957: Merge "Adding small animation features" into jb-mr2-dev
* commit '77d94957d793aba16a1352d25d5555bf59fe74e7':
  Adding small animation features
2013-04-04 11:30:31 -07:00
Chet Haase
77d94957d7 Merge "Adding small animation features" into jb-mr2-dev 2013-04-04 18:24:46 +00:00
Adam Powell
2987c218e3 am 728827ff: Merge "Uphold common ordering expectations around action bar Home/Up dispatch" into jb-mr2-dev
* commit '728827ff472b72ed7a86971ed8e35a01ce5bc8bf':
  Uphold common ordering expectations around action bar Home/Up dispatch
2013-04-04 11:05:31 -07:00
Chet Haase
b989502e5c Adding small animation features
RectEvaluator is useful when animating object bounds.
The other change is a hidden API that allows temporary suspension
of layout, useful for animations which need to animate view bounds
without conflicting with layout passes that might happen in the middle
of the animation.

Change-Id: I3dc08cb6ec455dfa3409e825506b218d3ea63d7a
2013-04-04 11:00:07 -07:00
Adam Powell
728827ff47 Merge "Uphold common ordering expectations around action bar Home/Up dispatch" into jb-mr2-dev 2013-04-04 17:58:27 +00:00
Adam Powell
8c16aa9fa2 Uphold common ordering expectations around action bar Home/Up dispatch
Some apps aren't particularly happy if a stray key event is dispatched
to a newly created window before its menu is prepared, causing the
action bar's Home/Up event to be dispatched. Ignore these clicks on
the Home/Up button before the menu goes through its initial prepare
step.

Note that it is still possible (and valid!) for Home/Up to be
dispatched even if the app chose to return false from
onCreateOptionsMenu or similar.

Bug 7085070

Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb
2013-04-04 10:51:09 -07:00
Victoria Lease
1e2c967b16 am 8712e4cc: Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev
* commit '8712e4cc4a08f9d54013e96cc2420637c2114f08':
  use libphonenumber for Linkify.PHONE_NUMBER
2013-04-04 07:47:35 -07:00
Victoria Lease
8712e4cc4a Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev 2013-04-04 14:40:52 +00:00
Victoria Lease
430fc97e7e use libphonenumber for Linkify.PHONE_NUMBER
This commit replaces a regex pattern match for Linkify.PHONE_NUMBER
with a call to libphonenumber's PhoneNumberUtil.findNumbers().

Bug: 5533245
Change-Id: I0e0563b241fb62e77d7f49e4a8484c6b0685dd8f
2013-04-04 07:38:24 -07:00
Ying Wang
6690203c7f am 0fa30372: Fix doc build.
* commit '0fa30372c7768692f9deef3e33655382e8a683fd':
  Fix doc build.
2013-04-03 23:02:01 -07:00
Ying Wang
0fa30372c7 Fix doc build.
Change-Id: I954a45866d968b0571040ba99cc93b818d02aeb5
2013-04-03 22:57:31 -07:00
Fabrice Di Meglio
787e662c0d Fix for bug #8146846 Phone App should be mirrored for RTL languages
- add RTL version of quickcontact badge overlay

Change-Id: I007d0dae9ceec9c42684e45a735ea6b06aa6f9a0
2013-04-03 21:01:58 -07:00
Matthew Xie
3f84b7b17d am 26cd4d65: Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
* commit '26cd4d658f5c4e99c31107cef78698c818e54577':
  Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
2013-04-03 20:19:51 -07:00
Matthew Xie
26cd4d658f Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev 2013-04-04 03:16:40 +00:00
Matthew Xie
33ec9840c7 Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt
Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt
Add BluetoothGatt#connect() to reconnect back to the server.
Make BluetoothGatt#close() public to clean up/unregister callback
Add BluetoothDevice.getType() to return int of
bug 8529188

Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2
2013-04-03 18:20:13 -07:00
kmccormick
22da6f04b3 am e10b600d: am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit 'e10b600d5da413f9633ed97aefcdbd3f949637a5':
  Doc update: unterminated code tags
2013-04-03 18:10:40 -07:00
kmccormick
e10b600d5d am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit '984f94ee4c4ef0196d9b2c149d0a42f20b72bebf':
  Doc update: unterminated code tags
2013-04-03 18:06:40 -07:00
kmccormick
984f94ee4c am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit 'f29ca256a4340a3d550d2c4a39a2e6a29a3ce850':
  Doc update: unterminated code tags
2013-04-03 18:03:00 -07:00
kmccormick
f29ca256a4 am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit '57b73b4a1d6ea84ae42c407ecb258829ab8dfa2c':
  Doc update: unterminated code tags
2013-04-03 18:00:11 -07:00
kmccormick
b461a13f25 Merge "Doc update: unterminated code tags" into jb-mr1.1-docs 2013-04-04 00:52:26 +00:00
kmccormick
43d5abbf03 Doc update: unterminated code tags
"Bug: 7250069"

Change-Id: I4c3eca8eacad6d0aced9f38788726ba95b914d5d
2013-04-03 17:43:44 -07:00
Jeff Brown
6d21e404ce am 41c07671: Merge "Clear mCurSender when mCurChannel is modified." into jb-mr2-dev
* commit '41c076715da58990dc9b0be749bba28fc75d3b78':
  Clear mCurSender when mCurChannel is modified.
2013-04-03 17:03:40 -07:00