Commit Graph

31150 Commits

Author SHA1 Message Date
Daniel Sandler
18f1067385 am 1a47d562: am dc0299fb: Merge "Allow whitelisted non-system packages to listen for notifications." into jb-mr2-dev
* commit '1a47d5627e06e197c1d4ed026f0a84cea3510019':
  Allow whitelisted non-system packages to listen for notifications.
2013-03-21 22:06:38 +00:00
Daniel Sandler
dc0299fb23 Merge "Allow whitelisted non-system packages to listen for notifications." into jb-mr2-dev 2013-03-21 22:01:59 +00:00
Wink Saville
fe1e298af4 am f6923908: am ad5b0eb7: Merge "Notify user when wi-fi is toggled about scans" into jb-mr2-dev
* commit 'f69239083e613ed8b4a6dc674ef33fc186cdb5d6':
  Notify user when wi-fi is toggled about scans
2013-03-21 21:52:53 +00:00
Irfan Sheriff
7b7beb7952 Notify user when wi-fi is toggled about scans
We let the user know when he turns off Wi-Fi that scans will continue to
be available.

User has the option to turn off the dialog and not receive this in the future.

Bug: 8141918
Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
2013-03-21 12:27:20 -07:00
Michael Jurka
a383eba1cc am 953a9466: am 6812efd2: Merge "Make hasOverlappingRendering() method more accurate" into jb-mr2-dev
* commit '953a94662114933ee81ad197e6a70ffc3f45a289':
  Make hasOverlappingRendering() method more accurate
2013-03-21 17:09:33 +00:00
Michael Jurka
6812efd24e Merge "Make hasOverlappingRendering() method more accurate" into jb-mr2-dev 2013-03-21 17:04:54 +00:00
Svetoslav Ganov
8d48696fac am a7affb49: am bce0fa81: Merge "Don\'t recycle accessibility event after sending." into jb-mr2-dev
* commit 'a7affb49ecb21a82e8128ca9f903df50bc3e3b79':
  Don't recycle accessibility event after sending.
2013-03-21 16:56:27 +00:00
Svetoslav Ganov
bce0fa8133 Merge "Don't recycle accessibility event after sending." into jb-mr2-dev 2013-03-21 16:49:10 +00:00
Michael Jurka
0931a8516a Make hasOverlappingRendering() method more accurate
Bug: 8439502

Change-Id: I80075eddf6abc7999b70e665e692d88b81d5f087
2013-03-21 16:12:35 +01:00
Daniel Sandler
4b749ef5f2 Allow whitelisted non-system packages to listen for notifications.
The allowed packages are listed in
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS. (Don't let
the plural fool you: only one listener will be supported in
the UI.)

Change-Id: Ia69f2ba05d8e555fd4d40b0cc89c62ed14af3cac
2013-03-21 01:41:20 -07:00
Amith Yamasani
4ed21d76e2 am 1641f86b: am 1eab5f26: Fix javadoc breakage
* commit '1641f86bb0771c761d09bfd31562c001bdd40c0b':
  Fix javadoc breakage
2013-03-21 07:40:39 +00:00
Amith Yamasani
e32011e8c0 resolved conflicts for merge of 99755cd3 to master
Change-Id: I752c387c013c3deaad836df9b0c2294e7149a32a
2013-03-21 00:29:02 -07:00
Amith Yamasani
1eab5f2693 Fix javadoc breakage
Change-Id: I72df82a8855322145c870bd8db64da81533be4cc
2013-03-20 23:54:07 -07:00
Amith Yamasani
df2e92a535 Application restrictions API
Adds the ability for apps to export some restrictions. The restrictions
are presented in Settings based on the restriction type. The user's
selections are stored by UserManagerService and provided to the
target user's application as a list of RestrictionEntry objects which
contain the key, value(s).

Also introduce a manifest entry for system apps to request that the
app be automatically installed in all users, so that they cannot be
deselected by the owner user.

Shared account filtering for non-whitelisted apps.

Change-Id: I15b741e3c0f3448883cb364c130783f1f6ea7ce6
2013-03-20 22:29:59 -07:00
Chet Haase
44a0c8d787 am e00d5bfa: am 75dfe46e: Merge "Add auto-cancel ability to ObjectAnimator" into jb-mr2-dev
* commit 'e00d5bfaccb8674709f23d369c9d2632d824b852':
  Add auto-cancel ability to ObjectAnimator
2013-03-21 00:07:38 +00:00
Chet Haase
75dfe46e36 Merge "Add auto-cancel ability to ObjectAnimator" into jb-mr2-dev 2013-03-21 00:02:03 +00:00
Chet Haase
22fc72c8a8 am bcba9442: am 10c4d99f: Merge "Manage drawable invalidation automatically for Overlays" into jb-mr2-dev
* commit 'bcba9442d4066c9e34ee7a9f050b2858465e052a':
  Manage drawable invalidation automatically for Overlays
2013-03-20 23:34:02 +00:00
Chet Haase
10c4d99f04 Merge "Manage drawable invalidation automatically for Overlays" into jb-mr2-dev 2013-03-20 23:30:53 +00:00
Alan Viverette
8586af3050 Don't recycle accessibility event after sending.
Bug: 8434656
Change-Id: Ic2ad41804280d58a3c58968a9cb7dd85b97fab86
2013-03-20 16:27:33 -07:00
Chet Haase
633326e29f Manage drawable invalidation automatically for Overlays
Drawables added to a view's Overlay will now cause the Overlay to
be invalidated via the normal drawable-invalidation mechanism. That is,
changes to any of the drawables in the overlay should cause invalidation of
the proper area of the overlay and thus the hostView, causing the appropriate
area to be redrawn.

Also, fixed a bug in drawable invalidation so that bounds changes will now
correctly invalidate both the old and new bounds areas.

Issue #8350510 Add APIs needed for future animation capabilities

Change-Id: Icae5fa0e420232ee17dc39be10084345bae8dbd8
2013-03-20 16:23:33 -07:00
Kenny Root
3f928f6dab am 69f0e68c: am dfdacaf2: am bda3e26f: am 42457027: Merge changes I65f7a915,I32098dc0
* commit '69f0e68c18f02dc1cd20fa428f0cbac00b6c84e2':
  KeyStore: add "migrate" command
  KeyStore: add API to uid versions
2013-03-20 23:14:53 +00:00
Kenny Root
dfdacaf2c5 am bda3e26f: am 42457027: Merge changes I65f7a915,I32098dc0
* commit 'bda3e26f6f8ed0653e28b0375ba0a7f54f698e86':
  KeyStore: add "migrate" command
  KeyStore: add API to uid versions
2013-03-20 16:08:08 -07:00
Kenny Root
bda3e26f6f am 42457027: Merge changes I65f7a915,I32098dc0
* commit '424570273bc225edaf7425385812b173adeb8695':
  KeyStore: add "migrate" command
  KeyStore: add API to uid versions
2013-03-20 16:05:59 -07:00
Fabrice Di Meglio
3807312e9b am 0bcec06b: am 19eceaad: Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev
* commit '0bcec06b24e7bc67ab4922f6bb18e6bc7737ba69':
  Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies
2013-03-20 22:32:45 +00:00
Fabrice Di Meglio
19eceaadd7 Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev 2013-03-20 22:27:37 +00:00
Fabrice Di Meglio
665f02c667 Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies
- remove the ICU related methods and update the methods using the "reserved" argument
- update to CTS in another CL too

Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
2013-03-20 14:56:05 -07:00
Kenny Root
bd79419ef8 KeyStore: add "migrate" command
To support the WiFi service, we need to support migration from the
system UID to the wifi UID. This adds a command to achieve the
migration.

Bug: 8122243
Change-Id: I65f7a91504c1d2a2aac22b9c3051adffd28d66c1
2013-03-20 11:57:46 -07:00
Kenny Root
78ad849163 KeyStore: add API to uid versions
In previous commits, we added the ability to specify which UID we want to
target on certain operations. This commit adds the ability to reach those
binder calls from the KeyStore class.

Also fix a problem where saw() was not reading all the values returned via
the Binder call. This changes the semantics to return a null instead of
failing silently when it's not possible to search.

Change-Id: I32098dc0eb42e09ace89f6b7455766842a72e9f4
2013-03-20 16:50:06 +00:00
Chet Haase
be19e030a1 Add auto-cancel ability to ObjectAnimator
Add a method that enables a new auto-cancel option to
ObjectAnimator. When set, any ObjectAnimator (when started) will
cause any running ObjectAnimator instance (with that flag set)
that has the same target and properties to cancel() itself prior
to starting the new one.

Issue #7426129 Add auto-cancel to animators

Change-Id: I586659c365289cdb9afb6c416bdbaf5630477149
2013-03-20 09:06:20 -07:00
Mathias Agopian
3351b988a3 am c7edf2b0: am 0a4962ad: Merge "make Surface.java internal state thread-safe" into jb-mr2-dev
* commit 'c7edf2b033b5119f9a78e48fe07e88e02de84bdc':
  make Surface.java internal state thread-safe
2013-03-20 00:54:40 +00:00
Mathias Agopian
0a4962ad11 Merge "make Surface.java internal state thread-safe" into jb-mr2-dev 2013-03-20 00:23:32 +00:00
Craig Mautner
9b93c2c9cc Merge "Clear mWindowAdded when window was not added." 2013-03-20 00:03:34 +00:00
Craig Mautner
dd8c10b855 Merge "Clear mWindowAdded when window was not added. DO NOT MERGE" into jb-mr2-dev 2013-03-20 00:00:17 +00:00
Craig Mautner
f403b1fe50 Clear mWindowAdded when window was not added. DO NOT MERGE
If ViewRootImpl throws BadTokenException when adding a window, clear
the indication that a window has been added. That way when the
window is destroyed it doesn't try to clean it up.

Fixes bug 8409506.

Change-Id: I270740762f21ed4ec7f235344a3adaeaa033c483
2013-03-19 16:58:00 -07:00
Craig Mautner
765ecefd2a Clear mWindowAdded when window was not added.
If ViewRootImpl throws BadTokenException when adding a window, clear
the indication that a window has been added. That way when the
window is destroyed it doesn't try to clean it up.

Fixes bug 8409506.

Change-Id: I270740762f21ed4ec7f235344a3adaeaa033c483
2013-03-19 16:54:35 -07:00
Fabrice Di Meglio
a7724c4588 am cfd610ff: am 5054803a: Merge "Add missing ViewDebug infos for View.getTextDirection()" into jb-mr2-dev
* commit 'cfd610ffd9c301740aabd73a980136a8f2f7f481':
  Add missing ViewDebug infos for View.getTextDirection()
2013-03-19 20:51:44 +00:00
Fabrice Di Meglio
5054803a02 Merge "Add missing ViewDebug infos for View.getTextDirection()" into jb-mr2-dev 2013-03-19 20:45:52 +00:00
Elliott Hughes
a25731f87d am 96112802: am 80828f46: am c1562075: am ebebb80b: Merge "Remove dead code from DateUtils."
* commit '96112802bc1f37e2f5c75c53b919231a61866bd2':
  Remove dead code from DateUtils.
2013-03-19 19:31:10 +00:00
Elliott Hughes
80828f465a am c1562075: am ebebb80b: Merge "Remove dead code from DateUtils."
* commit 'c1562075b0be58fa9dd09c2f2e9fa45601088574':
  Remove dead code from DateUtils.
2013-03-19 12:27:10 -07:00
Elliott Hughes
c1562075b0 am ebebb80b: Merge "Remove dead code from DateUtils."
* commit 'ebebb80b4a629756128b5a4fcf483133f01dbfd7':
  Remove dead code from DateUtils.
2013-03-19 12:24:50 -07:00
Fabrice Di Meglio
83f15e657c Add missing ViewDebug infos for View.getTextDirection()
- as getTextDirection() values were not showing in hierarchyviewer

Change-Id: I4ae74963a3c3b350ba996d098e5714b6538d9553
2013-03-19 11:45:56 -07:00
Elliott Hughes
9a6fa1d637 Remove dead code from DateUtils.
This stuff is @hide, @deprecated, unused, and was never in any API level.

Change-Id: I87d132d77d7296a2de8527e05c2def362cab1c37
2013-03-19 11:36:12 -07:00
Fabrice Di Meglio
0d84e72566 am 430058f2: am 2d18e52b: Merge "Fix bug #8335710 TextView can\'t clear CompoundDrawables" into jb-mr2-dev
* commit '430058f2699041e86d7c0e50cad1fa6989d08cab':
  Fix bug #8335710 TextView can't clear CompoundDrawables
2013-03-19 17:43:45 +00:00
Fabrice Di Meglio
2d18e52b00 Merge "Fix bug #8335710 TextView can't clear CompoundDrawables" into jb-mr2-dev 2013-03-19 17:39:11 +00:00
Elliott Hughes
d81830d67e am 110a98b6: am f7c01e5a: am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."
* commit '110a98b67285ec213720c542e6fb4711d9fd3114':
  Clean up (some of) our many clocks to use H instead of k.
2013-03-19 16:35:46 +00:00
Elliott Hughes
182af50b2c am 561a0ef4: am c3e513e5: am c5c6d416: am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for compatibility."
* commit '561a0ef4bf4153960d5796cd74d6cc9c8405843d':
  Deliberately break DateFormat.format's formatting of 'k' for compatibility.
2013-03-19 16:35:37 +00:00
Elliott Hughes
f7c01e5a8a am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k."
* commit 'eda35cb7c5781a32b038f1ef76b8e50f26f9bfaf':
  Clean up (some of) our many clocks to use H instead of k.
2013-03-19 09:31:04 -07:00
Elliott Hughes
c3e513e51c am c5c6d416: am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for compatibility."
* commit 'c5c6d4167b66c79652c5208a2dfe091a8c735e6d':
  Deliberately break DateFormat.format's formatting of 'k' for compatibility.
2013-03-19 09:30:51 -07:00
Chet Haase
92eb0073bf am 58afb2f0: am f4071065: Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev
* commit '58afb2f0501b22d020ac1fc1a116baec21765e3c':
  Fix bug with transientState for listviews without stable IDs
2013-03-19 13:12:40 +00:00
Chet Haase
f4071065b8 Merge "Fix bug with transientState for listviews without stable IDs" into jb-mr2-dev 2013-03-19 13:06:56 +00:00