Kenny Root
d292f790be
Merge "Reconcile differences between zip implementations" into klp-dev
2013-09-11 19:47:13 +00:00
destradaa
839904eed8
Fix exceptions in the Flp Hal layer:
...
- JNI exception accessing a geofence method with wrong signature
- FlpHardwareProvider exception when the monitoring status contains no location information
Bug: 10691492
Change-Id: I1959712912af712dc9dc344f20afd1112da46efc
2013-09-11 12:42:51 -07:00
Eino-Ville Talvala
4af73c2153
Camera2: Listener rework and other API updates
...
- Add Handlers to each callback-accepting function
- Expand CameraDevice ErrorListener to CameraDeviceListener
- Add idle callback
- Split out disconnect error to its own callback
- Add CameraDevice#getId
- Rename CameraManager's listener to AvailabilityListener
- Rename CameraManager register/unregister*Listener to
add/remove*Listener
- Rename getDeviceIdList to getCameraIdList
Bug: 10549567
Bug: 10549462
Change-Id: Idd2ae8ad8eb126f35a15d765306ada7c1cf74eea
2013-09-11 12:41:27 -07: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
Santos Cordon
07d545e08d
am e0b7e4cf: Merge "Add permissions for the InCallUI Split." into klp-dev
...
* commit 'e0b7e4cf455b21316661b158edee12ac5467995c':
Add permissions for the InCallUI Split.
2013-09-11 12:10:13 -07: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
Santos Cordon
e0b7e4cf45
Merge "Add permissions for the InCallUI Split." into klp-dev
2013-09-11 19:08:34 +00: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
Baligh Uddin
243a2c4293
Import translations. DO NOT MERGE
...
Change-Id: I92fdf6e34e65d70e813b5f3f5139659fb0eab2ce
Auto-generated-cl: translation import
2013-09-11 11:46:30 -07:00
Kenny Root
0d6c2d7b9d
Reconcile differences between zip implementations
...
Reconcile the difference between ZipFileRO and java.util.ZipFile to have
the same behavior.
Bug: 10424836
Change-Id: I6bde1bad7e20065ee650945fd43a913c05ce5ac7
2013-09-11 11:44:40 -07: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
Victoria Lease
5d345dbe31
am 444ae3a2: Merge "include Padauk in fallback chain" into klp-dev
...
* commit '444ae3a2e66b4404fa715ab46403da09079dd572':
include Padauk in fallback chain
2013-09-11 11:30:11 -07:00
Amith Yamasani
dd9157ce31
am b926d484: Merge "Handle the case where the restore environment doesn\'t have the ringtone" into klp-dev
...
* commit 'b926d484a76eda4152ba46d3ef517517226ca699':
Handle the case where the restore environment doesn't have the ringtone
2013-09-11 11:30:08 -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
Victoria Lease
444ae3a2e6
Merge "include Padauk in fallback chain" into klp-dev
2013-09-11 18:27:59 +00:00
Amith Yamasani
b926d484a7
Merge "Handle the case where the restore environment doesn't have the ringtone" into klp-dev
2013-09-11 18:27:53 +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
Kenny Root
4a0be803a9
am b5f694f6: Merge "Revert "Reconcile differences between zip implementations"" into klp-dev
...
* commit 'b5f694f683cb85b308f3733a3507a98fbff0532c':
Revert "Reconcile differences between zip implementations"
2013-09-11 11:16:40 -07:00
Baligh Uddin
caaf6979f3
Import translations. DO NOT MERGE
...
Change-Id: I00a9521d0ac1e2463268295d1ea09f2894b1618c
Auto-generated-cl: translation import
2013-09-11 11:15:47 -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
Kenny Root
b5f694f683
Merge "Revert "Reconcile differences between zip implementations"" into klp-dev
2013-09-11 18:11:34 +00:00
Amith Yamasani
2e804444d6
Handle the case where the restore environment doesn't have the ringtone
...
Bug: 10130785
uncanonicalize() can return a null now, so abort restoring the ringtone
in that case.
Change-Id: I28765818c8d3e1fb3f271afdfe66ebc955cfcefe
2013-09-11 11:11:19 -07:00
Kenny Root
0c4b3646b0
Revert "Reconcile differences between zip implementations"
...
This reverts commit 9ffddc7eb50653cf60ce6b27a0e1945eed5b5ce1.
Change-Id: Ifeba63511211bfc2b375f2205e319e91403b7d06
2013-09-11 18:10:09 +00:00
Jonathan Dixon
42513ca1a6
am caee47f0: Merge "Preparation for deleting WebViewClassic" into klp-dev
...
* commit 'caee47f096403068f02c41a91f8dad1aa5d13169':
Preparation for deleting WebViewClassic
2013-09-11 11:05:42 -07: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
Jonathan Dixon
caee47f096
Merge "Preparation for deleting WebViewClassic" into klp-dev
2013-09-11 17:59:42 +00: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
Adam Skory
abc7f5438c
am 427e92a2: Merge "Fix bad references in preloaded-classes" into klp-dev
...
* commit '427e92a2652c3962df42fc63bc009986c4e15839':
Fix bad references in preloaded-classes
2013-09-11 10:49:06 -07:00
Dianne Hackborn
e9aad4ae31
Merge "Fix issue #10688644 : Java crash in com.android.phone:" into klp-dev
2013-09-11 17:46:13 +00:00
Adam Skory
427e92a265
Merge "Fix bad references in preloaded-classes" into klp-dev
2013-09-11 17:44:15 +00:00
Chris Craik
a180fd6d67
am 68fbe16b: Merge "Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref" into klp-dev
...
* commit '68fbe16ba0072326c1c6b09817f46ccdc5ee15b9':
Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref
2013-09-11 10:42:09 -07:00
Kenny Root
feaa3be34f
am 139ae547: Merge "Reconcile differences between zip implementations" into klp-dev
...
* commit '139ae5477f2df8aef40f0689371b055a438a72af':
Reconcile differences between zip implementations
2013-09-11 10:42:04 -07:00
Chris Craik
68fbe16ba0
Merge "Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref" into klp-dev
2013-09-11 17:40:39 +00:00
Yuhao Zheng
05e7e34500
am 518c0afa: Merge "Fix for the toggle airplane mode hidden API" into klp-dev
...
* commit '518c0afaea02f9a680f6912bde2d73b0357236ca':
Fix for the toggle airplane mode hidden API
2013-09-11 10:38:36 -07:00
Kenny Root
139ae5477f
Merge "Reconcile differences between zip implementations" into klp-dev
2013-09-11 17:38:26 +00:00
Adam Skory
aae67e11bc
Fix bad references in preloaded-classes
...
http://ag/352924 renamed INdefPushCallback
to IAppCallback. Update preloaded-classes
to reflect this.
This is a cherry-pick of Id552e94e3a01cdd61593480f3c0aedb32d185f80
Change-Id: I0901f14fb41f94e3c7572c09e090ec5903a878d1
2013-09-11 18:35:33 +01:00
Yuhao Zheng
518c0afaea
Merge "Fix for the toggle airplane mode hidden API" into klp-dev
2013-09-11 17:35:09 +00:00
Baligh Uddin
7f5ebcd4f9
Import translations. DO NOT MERGE
...
Change-Id: Ib84e443010cb0673afbce92137370d11b393c17c
Auto-generated-cl: translation import
2013-09-11 10:28:35 -07:00
quddusc
91df3f3f0f
am ecf612a1: am eacfc308: am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs
...
* commit 'ecf612a15c6201d7a4c55f0fcceb077f3e9ad84e':
docs: Fixed deprecated value. Bug: 10641906
2013-09-11 10:19:49 -07:00
quddusc
ecf612a15c
am eacfc308: am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs
...
* commit 'eacfc308344b34d27b7cd2ab8cc0fbdefbcc8167':
docs: Fixed deprecated value. Bug: 10641906
2013-09-11 10:17:41 -07:00
quddusc
eacfc30834
am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs
...
* commit 'a0b259a917f9c7cf73b4e8ceab104cdab4383c24':
docs: Fixed deprecated value. Bug: 10641906
2013-09-11 10:15:12 -07:00
quddusc
a0b259a917
am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs
...
* commit '161e423ead0e2272ebb0b73957abf0c916ad57ff':
docs: Fixed deprecated value. Bug: 10641906
2013-09-11 10:09:45 -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