106019 Commits

Author SHA1 Message Date
Jim Miller
3853e0c3ff Merge "Add keyguard background scrim and protection around keyguard APIs" 2013-04-26 21:43:56 +00:00
Svetoslav
fd782549be am d66496bc: am fdbd23c6: Merge "Deliver key events to the system if no accessibility service handles them." into jb-mr2-dev
* commit 'd66496bcaacd454e3c3a2d47910653989d48fcda':
  Deliver key events to the system if no accessibility service handles them.
2013-04-26 14:42:19 -07:00
Zhentao Sun
f8f085c51b Fixed race conditions in GeofenceHardwareImpl.
Fixed b/8725226
1. Check if a geofence is registered before calling removeGeofence,
pauseGeofence and resumeGeofence
2. Moved add/remove operation of mGeofences from handler thread to
binder thread to fix potential race conditions by REMOVE_GEOFENCE.

Change-Id: I1c68a49ac4a08324c13702ba9013d2adf031aed9
2013-04-26 14:41:53 -07:00
Svetoslav
d66496bcaa am fdbd23c6: Merge "Deliver key events to the system if no accessibility service handles them." into jb-mr2-dev
* commit 'fdbd23c64f03ee39759208252a965fec81ad860a':
  Deliver key events to the system if no accessibility service handles them.
2013-04-26 14:40:28 -07:00
Svetoslav
fdbd23c64f Merge "Deliver key events to the system if no accessibility service handles them." into jb-mr2-dev 2013-04-26 21:37:05 +00:00
Jim Miller
c0b676dcc2 Add keyguard background scrim and protection around keyguard APIs
With this change, the system process will put up a scrim in the
event keyguard crashes to protect underlying content.

It also adds permission checks to prevent unathorized access
through the binder APIs.

Cleaned up KeyguardTestActivity to build separately.

Removed unused resources.

Change-Id: I9e370c6bfb7dca68eae9eae304c815fb84a753d2
2013-04-26 14:34:21 -07:00
Svetoslav
ca523d6e95 Deliver key events to the system if no accessibility service handles them.
We have APIs that allow an accessibility service to filter key events. The
service has to declare the capability to toggle event filtering in its
manifest and then it can set a flag to toggle the feature at runtime. The
problem was that even if no accessibility service was handling key events
these events were not fed back to the input system.

This change adds a new feature flag in the accessibility input filter that
is set only if at least one service can and wants to filter key events. If
the feature flag is set then the filter will deliver events to services and
,if they are not handled, to the system. This change also cleaned the logic
for updating the input filter.

bug:8713422

Change-Id: I4bc0c1348676569d1b76e9024708d1ed43ceb26a
2013-04-26 13:58:09 -07:00
gcondra@google.com
69fd7bd660 am bb393d68: am 0b063188: Merge "Set persistent property for SELinux enforcement on update." into jb-mr2-dev
* commit 'bb393d68e4dbb5334c3b3984ef2020e0cfc7e790':
  Set persistent property for SELinux enforcement on update.
2013-04-26 13:39:39 -07:00
Kenny Root
9787b80ea8 Update preloaded classes
Bug: 5213043
Change-Id: I272500ce7f6ea6bfbc624c9705f8c8b8ef1aa0ad
2013-04-26 13:38:07 -07:00
gcondra@google.com
bb393d68e4 am 0b063188: Merge "Set persistent property for SELinux enforcement on update." into jb-mr2-dev
* commit '0b063188054e8d1843f19325063349529494e29d':
  Set persistent property for SELinux enforcement on update.
2013-04-26 13:37:51 -07:00
repo sync
0b06318805 Merge "Set persistent property for SELinux enforcement on update." into jb-mr2-dev 2013-04-26 20:31:37 +00:00
Andreas Huber
ac74c517fc Merge "Fix wfd crash after disconnect due to null pointer exception in" 2013-04-26 20:04:07 +00:00
Matthew Xie
1dd01eb36b Donot start Bluetooth Manager Service when bluetooth hardware feature is missing
bug 8374762

Change-Id: Iea06bd05e19eeddf3398ac446f3d6b80fce51283
2013-04-26 12:41:45 -07:00
Elliott Hughes
305615e5b8 am 032d8e38: am 0bb497b8: Merge "Use the newer ZoneInfoDB API."
* commit '032d8e3890335e96b16bfa3fbd7706fbb0f2d2c0':
  Use the newer ZoneInfoDB API.
2013-04-26 12:39:34 -07:00
Mike J. Chen
67a1218477 Fix a crash case
There's a runtime check for a bad argument, but it is
after the usage of the bad argument.  Move the usage
after the check.

Bug 8687716

Change-Id: Iddfa457951bac69b436a430cda21b5d7a563107b
Signed-off-by: Mike J. Chen <mjchen@google.com>
2013-04-26 12:39:04 -07:00
Elliott Hughes
032d8e3890 am 0bb497b8: Merge "Use the newer ZoneInfoDB API."
* commit '0bb497b8d1bac2206df89a878ecb7e356d21fe99':
  Use the newer ZoneInfoDB API.
2013-04-26 12:38:04 -07:00
Jeff Brown
5ae02e92e4 am eb6403e9: resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aosp
* commit 'eb6403e95d601b62be7b4610599e72fd329f2666':
  Generate SDK docs for v7 support library packages.
2013-04-26 12:06:15 -07:00
Jeff Brown
eb6403e95d resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aosp
Change-Id: I42e15a186561222edd0d97047fcd207208a87282
2013-04-26 12:04:07 -07:00
Andreas Huber
b551c6d959 Fix wfd crash after disconnect due to null pointer exception in
WindowManagerService.java

Change-Id: I661f9c73d481da88661793ad529c0807cf74a5e7
2013-04-26 11:54:53 -07:00
Elliott Hughes
0bb497b8d1 Merge "Use the newer ZoneInfoDB API." 2013-04-26 18:41:47 +00:00
Jeff Brown
bfdd256632 Merge "Generate SDK docs for v7 support library packages." into jb-mr2-dev 2013-04-26 18:31:12 +00:00
Elliott Hughes
48289433d8 Use the newer ZoneInfoDB API.
Change-Id: I846c720ae6c262afb4fd7f8a749008c837e76cc4
2013-04-26 11:30:54 -07:00
John Spurlock
73bad0ec97 Hideybar gesture clears flags if SYSTEM_UI_FLAG_FULLSCREEN
If an app uses the system-clearable SYSTEM_UI_FLAG_FULLSCREEN to hide
the status bar, swiping from the top of the screen should clear the
clearable flags, revealing the system ui, and allowing apps to respond
to the change.

This differs from the behavior the gesture triggers when an app hides
the status bar using the non-clearable WM.LP.FLAG_FULLSCREEN.
In this case, we temporarily overlay the transparent auto-hiding bar.

Bug: 8682504
Change-Id: Ie5dc885fd13c8d980c136f6babcea181565ef2a2
2013-04-26 14:26:09 -04:00
Wink Saville
65e46420ea am 962b038d: am cdeb9cc1: Merge "Enhance TelephonyManger javadocs." into jb-mr2-dev
* commit '962b038d011d06ef8803afaead33ad10ff0133ca':
  Enhance TelephonyManger javadocs.
2013-04-26 11:25:04 -07:00
Wink Saville
962b038d01 am cdeb9cc1: Merge "Enhance TelephonyManger javadocs." into jb-mr2-dev
* commit 'cdeb9cc1decaf23e5ec515b8841d33ecaedb57fd':
  Enhance TelephonyManger javadocs.
2013-04-26 11:23:02 -07:00
Wink Saville
cdeb9cc1de Merge "Enhance TelephonyManger javadocs." into jb-mr2-dev 2013-04-26 18:20:41 +00:00
Jeff Sharkey
2b4d22cda3 Disable various sampling event logs.
They're unused at the moment.

Change-Id: Ib629b405e7b6666d38fcd0ebaa16490bfb0e95f0
2013-04-26 10:52:00 -07:00
Baligh Uddin
0eb47f0142 am 3433b6ff: am 5391a2fc: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '3433b6ff3481d2364e8d727e70bb6fdbd3f139c0':
  Import translations. DO NOT MERGE
2013-04-26 10:39:05 -07:00
Baligh Uddin
3433b6ff34 am 5391a2fc: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '5391a2fcb0d1232723ad37d6872bb5800414052f':
  Import translations. DO NOT MERGE
2013-04-26 10:37:22 -07:00
Baligh Uddin
4f94fd2f9e Merge "Import translations. DO NOT MERGE" 2013-04-26 17:35:52 +00:00
Baligh Uddin
c1458f7963 Merge "Import translations. DO NOT MERGE" 2013-04-26 17:35:00 +00:00
Baligh Uddin
5391a2fcb0 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-26 17:32:25 +00:00
Victoria Lease
7e56c7b8e3 am aae1b516: am b0e0e54d: Merge "Can not mark the same content of browser page after copy"
* commit 'aae1b5163c319eae31fca509f13ce0a4ea422840':
  Can not mark the same content of browser page after copy
2013-04-26 10:28:56 -07:00
Victoria Lease
aae1b5163c am b0e0e54d: Merge "Can not mark the same content of browser page after copy"
* commit 'b0e0e54d9dbef720ac653ed87d8ed6b46e1abdbe':
  Can not mark the same content of browser page after copy
2013-04-26 10:27:02 -07:00
Victoria Lease
b0e0e54d9d Merge "Can not mark the same content of browser page after copy" 2013-04-26 17:17:39 +00:00
Irfan Sheriff
e4acc0a5b1 am bafd663f: am 4d9431ab: Merge "Fix network reload when config is restored" into jb-mr2-dev
* commit 'bafd663fcdd36042e2340efed835d3fb6d76e3dd':
  Fix network reload when config is restored
2013-04-26 09:58:57 -07:00
Irfan Sheriff
bafd663fcd am 4d9431ab: Merge "Fix network reload when config is restored" into jb-mr2-dev
* commit '4d9431ab35c0a8bff8d1e05aa0148aea5ccdbc2f':
  Fix network reload when config is restored
2013-04-26 09:56:56 -07:00
Irfan Sheriff
4d9431ab35 Merge "Fix network reload when config is restored" into jb-mr2-dev 2013-04-26 16:52:51 +00:00
Svetoslav Ganov
0bd6a395d8 am d3859994: am 951ce6c9: Merge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev
* commit 'd3859994624af39e0f75fd70fe623403f38c408d':
  Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597.
2013-04-26 09:40:11 -07:00
Svetoslav Ganov
d385999462 am 951ce6c9: Merge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev
* commit '951ce6c966311d36328a89784d4c2e6836e9ae87':
  Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597.
2013-04-26 09:38:18 -07:00
Svetoslav Ganov
951ce6c966 Merge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev 2013-04-26 16:35:49 +00:00
Baligh Uddin
7497dee4be Import translations. DO NOT MERGE
Change-Id: Ia8b07132b35a3e227344420446a09d1c587dab38
Auto-generated-cl: translation import
2013-04-26 09:13:04 -07:00
Baligh Uddin
389eb34965 Import translations. DO NOT MERGE
Change-Id: I04ae5b6e5cd229d6e91721f099bda2f483bdaee0
Auto-generated-cl: translation import
2013-04-26 09:01:51 -07:00
Baligh Uddin
de40bb4570 Import translations. DO NOT MERGE
Change-Id: I59b1ac894eb47376cc516df18dea34bcc546060d
Auto-generated-cl: translation import
2013-04-26 08:53:21 -07:00
Bjorn Bringert
fb903a45d7 Allow compiling aapt for the device
Changes:

- The static device version of libandroidfw now includes
  the extra functions needed by aapt. I could only find
  a few host tools that use the static library, so this is
  hopefully not a problem.

- The pseudolocalization code is moved into aapt.
  It was previously in libhost, but only used by aapt.

Change-Id: Ib393ebb7dcebee8abbb628cbe5255ea1679674ac
2013-04-26 15:07:09 +01:00
Jeff Brown
caf7b0a155 Generate SDK docs for v7 support library packages.
This change required fixing some bugs in how AAPT handles
qualified symbols such as "android:layout_height"
when generating JavaDoc links.  The links were being
generated using the package name of the generated R file
rather than the package name of the referenced symbol.
These broken links caused the JavaDoc build to fail.

Bug: 8175766
Change-Id: I52fbef27825a25abca960cb44b59c2132267e9d6
2013-04-26 00:20:42 -07:00
Irfan Sheriff
cca308e3e8 Fix network reload when config is restored
With scan mode opted in, supplicant connection is not shut
down even when wifi is turned off. This is a problem since
networks need to be reloaded when wifi is turned off and turned on
and this currently happens only on a supplicant connection.

Fix to handle this for scan mode state.

Bug: 8714796
Change-Id: I7d66c39fb51018fb52e783341222cea993993893
2013-04-25 23:27:19 -07:00
Scott Main
3fc184cf6e am 01e48e7d: am 22f6a60e: Merge "add docs for new attributes, including account restriction for restricted profiles" into jb-mr2-dev
* commit '01e48e7d1541920ece358257e4c2481936497835':
  add docs for new attributes, including account restriction for restricted profiles
2013-04-25 21:27:06 -07:00
Chris Craik
80246dbdb5 am 57fc8122: am addc906f: Merge "Force clipping on layers that fail to be allocated" into jb-mr2-dev
* commit '57fc8122eabc08b19a41f308d409795d094856d8':
  Force clipping on layers that fail to be allocated
2013-04-25 21:27:04 -07:00
Scott Main
93b7e769eb am 22e9225a: am 5e5aeb46: Merge "fix javadoc build also add some docs to the service" into jb-mr2-dev
* commit '22e9225ab13347e3653449af0306bc87fa7965f2':
  fix javadoc build also add some docs to the service
2013-04-25 21:27:02 -07:00