Commit Graph

34107 Commits

Author SHA1 Message Date
Adam Powell
18149fcf86 am 6847447d: Merge "Action bar refactoring and transitions" into klp-dev
* commit '6847447da0b3e2e30e88838ec85244d1a0ee8927':
  Action bar refactoring and transitions
2013-09-11 13:42:28 -07:00
Adam Powell
6847447da0 Merge "Action bar refactoring and transitions" into klp-dev 2013-09-11 20:38:41 +00:00
Jeff Sharkey
e2d76fa8c6 am cecccecc: Merge changes Ib1274847,I2eb2a1bf into klp-dev
* commit 'ceccceccffbd2668b98e21487f2323f80d2c7b98':
  Fix SDK build.
  Request all tethering interfaces, fix corruption.
2013-09-11 13:19:12 -07:00
Jeff Sharkey
ceccceccff Merge changes Ib1274847,I2eb2a1bf into klp-dev
* changes:
  Fix SDK build.
  Request all tethering interfaces, fix corruption.
2013-09-11 20:16:59 +00:00
Tom O'Neill
0494832fc6 am 706113fa: Merge "Improve some javadoc related to isProviderEnabled() apis" into klp-dev
* commit '706113fa2a82e5b613b8555120025b8472ffcbf3':
  Improve some javadoc related to isProviderEnabled() apis
2013-09-11 12:23:39 -07:00
Tom O'Neill
706113fa2a Merge "Improve some javadoc related to isProviderEnabled() apis" into klp-dev 2013-09-11 19:20:16 +00:00
Alexander Ray
b0049151f7 am 7563d423: Merge "Add consumer IR framework" into klp-dev
* commit '7563d42331ed7df7f026c8921ae990ce2fca9efd':
  Add consumer IR framework
2013-09-11 12:10:06 -07:00
Sandeep Siddhartha
6c5e9fb4c4 am f702286c: Merge "Remove HotwordRecognition APIs" into klp-dev
* commit 'f702286c94f0df9fc147135c19f12ef34e8594c9':
  Remove HotwordRecognition APIs
2013-09-11 12:06:29 -07:00
Alexander Ray
7563d42331 Merge "Add consumer IR framework" into klp-dev 2013-09-11 19:05:38 +00:00
Sandeep Siddhartha
f702286c94 Merge "Remove HotwordRecognition APIs" into klp-dev 2013-09-11 19:01:51 +00:00
Igor Murashkin
47869404cb am 2cad64c0: Merge "Surface: Change OutOfResourcesException to be a runtime exception" into klp-dev
* commit '2cad64c0fbeba07bb546674e19cfb0166d7ec332':
  Surface: Change OutOfResourcesException to be a runtime exception
2013-09-11 11:30:14 -07:00
Igor Murashkin
2cad64c0fb Merge "Surface: Change OutOfResourcesException to be a runtime exception" into klp-dev 2013-09-11 18:28:07 +00:00
Dianne Hackborn
33f92b6fe2 am c1cf491d: Merge "More on issue #10130785: Restore silence and vibrate settings..." into klp-dev
* commit 'c1cf491d160f8feb74b24d4ebb4e39324850cf61':
  More on issue #10130785: Restore silence and vibrate settings...
2013-09-11 11:16:44 -07:00
Dianne Hackborn
c1cf491d16 Merge "More on issue #10130785: Restore silence and vibrate settings..." into klp-dev 2013-09-11 18:13:17 +00:00
Dianne Hackborn
b3ac67a0ec More on issue #10130785: Restore silence and vibrate settings...
...in settings > sound

ContentResolver.uncanonicalize needs to be able to fail.

Change-Id: I347ef60fc3619aae203b87079579597c60be8b90
2013-09-11 11:04:21 -07:00
Tom O'Neill
d5759437ee Improve some javadoc related to isProviderEnabled() apis
- LocationManager.isProviderEnabled() no longer throws SecurityException:
the caller could already circumvent the permission check by calling
Secure.isLocationProviderEnabled()

Change-Id: I5abd04264299671ed35ce4594b5be46d86378767
2013-09-11 11:03:03 -07:00
Sandeep Siddhartha
65a6ba3478 Remove HotwordRecognition APIs
- and its usage from Keyguard

Bug: 10708010
Change-Id: Ic4a695a1d0e9312706a3b4ff01e59e2567b6ad9c
2013-09-11 11:01:13 -07:00
Martijn Coenen
ae8b57a5f3 am b7e5692b: Merge "Add support for loading banners from HCE services." into klp-dev
* commit 'b7e5692b62cf0f3f1b02d8dc1008f3faf12df584':
  Add support for loading banners from HCE services.
2013-09-11 10:54:51 -07:00
Martijn Coenen
b7e5692b62 Merge "Add support for loading banners from HCE services." into klp-dev 2013-09-11 17:52:18 +00:00
Dianne Hackborn
03422d2626 am e9aad4ae: Merge "Fix issue #10688644: Java crash in com.android.phone:" into klp-dev
* commit 'e9aad4ae31caeb00f95d83119c2020f4cb5f345c':
  Fix issue #10688644: Java crash in com.android.phone:
2013-09-11 10:49:10 -07:00
Dianne Hackborn
95d785346b Fix issue #10688644: Java crash in com.android.phone:
java.lang.SecurityException: Operation not allowed

There was a situation I wasn't taking into account -- components
declared by the system has a special ability to run in the processes
of other uids.  This means that if that code loaded into another
process tries to do anything needing an app op verification, it will
fail, because it will say it is calling as the system package name but
it is not actually coming from the system uid.

To fix this, we add a new Context.getOpPackageName() to go along-side
getBasePackageName().  This is a special call for use by all app ops
verification, which will be initialized with either the base package
name, the actual package name, or now the default package name of the
process if we are creating a context for system code being loaded into
a non-system process.

I had to update all of the code doing app ops checks to switch to this
method to get the calling package name.

Also improve the security exception throw to have a more descriptive
error message.

Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
2013-09-11 09:59:47 -07:00
Erik Gilling
51e95df8f2 Add consumer IR framework
Change-Id: I786c00db0cce61ef75e4edc24e90f2cdcba6dbfb
2013-09-11 09:52:47 -07:00
Chet Haase
a22f4e981a am c19d683d: Merge "Build layer immediately when setting it in ViewPropertyAnimator" into klp-dev
* commit 'c19d683d9ea5dafdd8e355dc3fa34b362bc379e9':
  Build layer immediately when setting it in ViewPropertyAnimator
2013-09-11 07:17:05 -07:00
Chet Haase
48cad81230 am a8e17653: Merge "Reversing immediately after starting animator ends it" into klp-dev
* commit 'a8e176534cb086cdf925b0ab0fbd7c2859a1de44':
  Reversing immediately after starting animator ends it
2013-09-11 07:17:02 -07:00
Chet Haase
c19d683d9e Merge "Build layer immediately when setting it in ViewPropertyAnimator" into klp-dev 2013-09-11 14:14:06 +00:00
Chet Haase
a8e176534c Merge "Reversing immediately after starting animator ends it" into klp-dev 2013-09-11 14:13:48 +00:00
Adam Skory
7d17de357a am 86d9c457: Merge "Revert services assist context in KitKat" into klp-dev
* commit '86d9c457de3285f01552d4046a8a260c7a75147f':
  Revert services assist context in KitKat
2013-09-11 04:46:13 -07:00
Adam Skory
86d9c457de Merge "Revert services assist context in KitKat" into klp-dev 2013-09-11 11:27:50 +00:00
Adam Skory
7140a25f01 Revert services assist context in KitKat
Reverts extension to assist context API to query
foreground services for assist context data.

Also hides Intent.ACTION_VOICE_ASSIST because
nobody's actually using it yet.

Bug: 10461702
Change-Id: Idf6836adc659b434e11ebb2b98e8b814c94a7227
2013-09-11 12:04:58 +01:00
Marc Wilson
02ff99c839 am e3af2dd7: Merge "Update documentation for speech APIs." into klp-dev
* commit 'e3af2dd7a7883c5ae60fd6b9f6fb8d434e12d66a':
  Update documentation for speech APIs.
2013-09-11 03:52:45 -07:00
Marc Wilson
e3af2dd7a7 Merge "Update documentation for speech APIs." into klp-dev 2013-09-11 10:50:34 +00:00
Martijn Coenen
58d2065984 Add support for loading banners from HCE services.
Bug: 10262585
Change-Id: I08f06ce92dd9071dc8ad1390ce9a4b877b05827d
2013-09-11 12:31:10 +02:00
Jeff Sharkey
e4984bea95 Request all tethering interfaces, fix corruption.
netd now tracks statistics for tethered interfaces across tethering
sessions, so switch to asking for all tethering stats.  (Currently
we're double-counting all tethering data, ever since it started
tracking across sessions.)

Also catch OOME to handle corrupt stats files, which we then dump to
DropBox and then start over.

Bug: 5868832, 9796109
Change-Id: I2eb2a1bf01b993dd198597d770fe0e022466c6b9
2013-09-10 21:03:30 -07:00
Adam Powell
ad79b90f21 Action bar refactoring and transitions
* Remove the extra occurrence of the Up caret view and reuse the
  standard home view.

* Use new transition APIs to animate changes in action bar content.

Change-Id: I7af3bb580ef4bff7d8dec9e21649b856fe73c77b
2013-09-10 18:09:03 -07:00
Amith Yamasani
485d9afe60 am a0a47c73: Merge "Backup and restore ringtone and notification ringtone" into klp-dev
* commit 'a0a47c737951db52af4943f5737da48d30adc6fe':
  Backup and restore ringtone and notification ringtone
2013-09-10 17:05:45 -07:00
Chet Haase
74d31d106b Build layer immediately when setting it in ViewPropertyAnimator
Previously, withLayer() would simply set the layer type in the runnable
called in onAnimationStart(). Now we also call buildLayer(), to get it
out of the way prior to the view drawing for the first time after the
animation begins.

Issue #9422420 ViewPropertyAnimator.withLayer() should build layer immediately

Change-Id: I99923a234f7ca1ec0b6f1b0bf28b62a71ab7eb4d
2013-09-10 17:05:44 -07:00
Amith Yamasani
a0a47c7379 Merge "Backup and restore ringtone and notification ringtone" into klp-dev 2013-09-11 00:03:50 +00:00
Jeff Sharkey
bd56a17df2 am af4d039f: Merge "More UX work for thumbnails, search, management." into klp-dev
* commit 'af4d039fb3a45d4a74683a69ee48071b8338a13d':
  More UX work for thumbnails, search, management.
2013-09-10 17:02:11 -07:00
Jeff Sharkey
af4d039fb3 Merge "More UX work for thumbnails, search, management." into klp-dev 2013-09-10 23:59:43 +00:00
Jeff Brown
9993f8ff24 am dc6fd0a2: Merge "Propagate input ANR reason to activity manager log." into klp-dev
* commit 'dc6fd0a20a095ac0fb544184d8a4258e80b4a14d':
  Propagate input ANR reason to activity manager log.
2013-09-10 16:55:25 -07:00
Jeff Brown
dc6fd0a20a Merge "Propagate input ANR reason to activity manager log." into klp-dev 2013-09-10 23:52:53 +00:00
Jeff Brown
bd181bb832 Propagate input ANR reason to activity manager log.
Make it a little easier to diagnose input dispatch timeouts by
providing the detailed reason as the ANR annotation in the log.

Bug: 10689184
Change-Id: Ie18fd9ad066b0673d1f57c030e027ad0085f4650
2013-09-10 16:44:24 -07:00
Jeff Sharkey
4ec973925f More UX work for thumbnails, search, management.
Hide non-finished downloads from normal picker UI, but keep them
around in management mode.  Uses a Uri query parameter and a hidden
API on DocumentsProvider.

Scale thumbnails to fit viewport, always show MIME icon while waiting
on thumbnails, and crossfade between them.  Cancel thumbnail tasks
when views are recycled.

Filter directories out of search results for now.  Also leave sort
ordering from backend intact, since it's custom ranking.  Fix
SearchView interaction to dismiss properly and restore across
orientation and drawer state changes.

Hide most actions when drawer is open.  Invalidate RootInfo cache
when locale changes.  Apply sort ordering when showing recent create
directories.  Hide recent summary string when icon is enough for user
to disambiguate.

Bug: 10667184, 10665663
Change-Id: I331d3272a08c497f88dc659d9e112231cb35aa69
2013-09-10 16:40:36 -07:00
Yorke Lee
2f38d460f3 am 4459f498: Merge "Update javadocs for number presentation" into klp-dev
* commit '4459f49869d85a4c88cfa311a9a2af45ecc8d056':
  Update javadocs for number presentation
2013-09-10 16:30:37 -07:00
Yorke Lee
4459f49869 Merge "Update javadocs for number presentation" into klp-dev 2013-09-10 23:25:15 +00:00
Yorke Lee
49e1cf946f Update javadocs for number presentation
Bug: 10461762
Change-Id: Idfd19fb5f522569afa775ce95e0ba975324a0ee2
2013-09-10 15:34:34 -07:00
David Braun
4cd9612c32 am b776122a: Merge "Factor out read/write SMS settings seperate from send/receive." into klp-dev
* commit 'b776122a8aa9fd082fa8aaa216c8a589d709c4c9':
  Factor out read/write SMS settings seperate from send/receive.
2013-09-10 13:35:42 -07:00
David Braun
b776122a8a Merge "Factor out read/write SMS settings seperate from send/receive." into klp-dev 2013-09-10 20:33:28 +00:00
David Braun
18966a8dd8 Factor out read/write SMS settings seperate from send/receive.
Change-Id: I161782b1508be433c910ec13c0b18e728bf7d2ba
2013-09-10 13:14:46 -07:00
Alan Viverette
d54529c435 am 23819e7e: Merge "Make ListView\'s illegal state exception more helpful" into klp-dev
* commit '23819e7e5d3b5e2c5d4b47b1a8133bc950e1eb82':
  Make ListView's illegal state exception more helpful
2013-09-10 13:08:07 -07:00