12665 Commits

Author SHA1 Message Date
Nick Kralevich
03ce76081c EntropyMixer: add ro.build.fingerprint to the mix
Change-Id: I001d337f61fef9667dd3289461bbafe574652232
2013-02-01 15:21:50 -08:00
Dianne Hackborn
f265ea9d83 App ops: vibration, neighboring cells, dialing, etc.
Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).

Add operation for retrieving neighboring cell information.

Add a new op for calling a phone number.  This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.

Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
2013-02-01 15:14:29 -08:00
Svetoslav Ganov
b88dd64f38 am 88a23f2f: Merge ""Fixing backwards cmpatibility for enabling explore by touch"""
# Via Android (Google) Code Review (1) and Svetoslav Ganov (1)
* commit '88a23f2f70222459f057ec8a6bbe8eccc8a7b549':
  "Fixing backwards cmpatibility for enabling explore by touch""
2013-02-01 12:31:20 -08:00
Svetoslav Ganov
447d94684e "Fixing backwards cmpatibility for enabling explore by touch""
This reverts commit d1ed3cea37e4156eab14b7dc8207a520c9eab700

Change-Id: I622ef034526f8f006a5a233e72487b062020e4f6
2013-02-01 12:24:42 -08:00
Mike Cleron
08fffce842 am 0214f205: Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch""
# Via Android (Google) Code Review
* commit '0214f205f619ebc23b5069880afdb09259b0ced7':
  Revert "Fixing backwards cmpatibility for enabling explore by touch"
2013-02-01 11:00:37 -08:00
Mike Cleron
0214f205f6 Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch"" 2013-02-01 18:57:23 +00:00
Daniel Sandler
69b7493b22 am 9b4a2858: Merge "Migrate package notification restrictions to AppOps."
# Via Android (Google) Code Review (1) and Daniel Sandler (1)
* commit '9b4a2858bdd206d67d77c80b383bfd776dc88e71':
  Migrate package notification restrictions to AppOps.
2013-02-01 10:48:58 -08:00
Mike Cleron
d1ed3cea37 Revert "Fixing backwards cmpatibility for enabling explore by touch"
This reverts commit 0a9c7c144671f70f5f1af222050bd3ec6b11fe41

Change-Id: I8da530a6d0a57163522d5a63326e787a8d22ecbf
2013-02-01 18:36:41 +00:00
Daniel Sandler
4a900acdef Migrate package notification restrictions to AppOps.
Change-Id: I23064ce3014d2446d009bbdff92b301280e8b989
2013-02-01 13:26:17 -05:00
Svetoslav
1ec0ccafa1 am 97273d50: Merge "Fixing backwards cmpatibility for enabling explore by touch"
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '97273d50ce5b5689a1c787ebfed2ba3927de085a':
  Fixing backwards cmpatibility for enabling explore by touch
2013-02-01 00:55:43 -08:00
Svetoslav
97273d50ce Merge "Fixing backwards cmpatibility for enabling explore by touch" 2013-02-01 08:53:24 +00:00
Svetoslav
0a9c7c1446 Fixing backwards cmpatibility for enabling explore by touch
Change-Id: I8cbc4f03223d289547e3f3f6d1f528ad5b4f6f72
2013-02-01 00:47:29 -08:00
Geremy Condra
c6e97f554a am d4b1d9cf: Merge changes I4859c8db,I7643024d
# Via Android (Google) Code Review (1) and Geremy Condra (1)
* commit 'd4b1d9cf9cee4bd4f234e30069996dc7e449f0e7':
  Add the TZInfo updater and relevant intent.
  Fix ConfigUpdater for binary files.
2013-01-31 22:58:55 -08:00
Geremy Condra
d4b1d9cf9c Merge changes I4859c8db,I7643024d
* changes:
  Add the TZInfo updater and relevant intent.
  Fix ConfigUpdater for binary files.
2013-01-31 19:24:42 +00:00
Svetoslav
5a2f6bee86 am f48a2d30: Merge "Add accessibility actions for text editing."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'f48a2d30c5d5f7c167310ff9ca1cd2310121be7c':
  Add accessibility actions for text editing.
2013-01-30 23:55:44 -08:00
Svetoslav
f48a2d30c5 Merge "Add accessibility actions for text editing." 2013-01-31 07:53:43 +00:00
Svetoslav
7c51284d80 Add accessibility actions for text editing.
Currently text editing is pretty hard (certain operations even
impossible) for a blind person. To address the issue this change
adds APIs that enable an accessibility service to perform basic
text editing operations such as copy, paste, cut, set selection,
extend selection while moving at a given granularity.

The new APIs enable an accessibility service to expose a gesture
driven efficient text editing facility.

bug:8098384

Change-Id: I82b200138a3fdf4c0c316b774fc08a096ced29d0
2013-01-30 23:47:17 -08:00
Svetoslav
62d595216b am ec695824: Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'ec695824af7ab263eaae613b87f2c0b24f176f91':
  Remove "enhance web scripts" from settings and make it requested by plug-ins.
2013-01-30 21:40:20 -08:00
Svetoslav
ec695824af Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins." 2013-01-31 03:16:59 +00:00
Geremy Condra
78a4c718e3 Add the TZInfo updater and relevant intent.
Also add a hook for ConfigUpdateInstallReciever subclasses to
change the delivery of data- in this case, from raw text to
b64 encoded binary.

Change-Id: I4859c8db1cc97c2427310a108b2fef03975df2b4
2013-01-30 17:11:44 -08:00
Wink Saville
32ee0fb2e3 am 75d880df: Merge "Revert "Clean up published network condition reporting.""
# Via Android (Google) Code Review
* commit '75d880dfb0bb1342bce0b0337c7ae752d75ff1b6':
  Revert "Clean up published network condition reporting."
2013-01-30 16:35:21 -08:00
Wink Saville
75d880dfb0 Merge "Revert "Clean up published network condition reporting."" 2013-01-31 00:32:36 +00:00
Todd Poynor
b10c0f97e9 am afae9d24: Merge "BatteryService: Treat USB charging ports and charging accessories as AC"
# Via Android (Google) Code Review (1) and Todd Poynor (1)
* commit 'afae9d248ade0cb0b719f680804acfb9d20ca36b':
  BatteryService: Treat USB charging ports and charging accessories as AC
2013-01-30 16:30:44 -08:00
Todd Poynor
79e1df27b3 am b86d026a: Merge "BatteryService: Allow power supplies to switch type between AC and USB"
# Via Android (Google) Code Review (1) and Todd Poynor (1)
* commit 'b86d026a7f4108caefa080cf9e0c0b4b5e275a84':
  BatteryService: Allow power supplies to switch type between AC and USB
2013-01-30 16:30:41 -08:00
Wink Saville
5b7573e835 Revert "Clean up published network condition reporting."
In some cases causes grey ICON's.

This reverts commit 82413d0b2acad73b9a008e0c53392a54f9555cf8

Change-Id: I09f893d03651c3fb9fcb88ee9e5ac7ce6cb6e273
2013-01-31 00:30:13 +00:00
Todd Poynor
afae9d248a Merge "BatteryService: Treat USB charging ports and charging accessories as AC" 2013-01-30 23:20:18 +00:00
Todd Poynor
b86d026a7f Merge "BatteryService: Allow power supplies to switch type between AC and USB" 2013-01-30 23:19:40 +00:00
Todd Poynor
78d8fe4bd6 BatteryService: Treat USB charging ports and charging accessories as AC
Change-Id: If98330b09a1fc44992bb96195804d434a4e20470
2013-01-30 14:24:12 -08:00
Geremy Condra
ad462d2d16 Fix ConfigUpdater for binary files.
Change-Id: I7643024d5d59dcb6c867ad80d32e24e8da83ba0d
2013-01-30 11:26:49 -08:00
Todd Poynor
701bfb1034 BatteryService: Allow power supplies to switch type between AC and USB
Accomodate power_supply drivers that switch between MAINS and USB type
according to the current power source.  Re-read the type attribute when the
power supply is online.

Switch to String8 type for strings stored locally.

Change-Id: Iacce49bf3ad85f35a7295a54df43aff7f94f3100
2013-01-30 11:24:56 -08:00
Satoshi Kataoka
fc14e1c7a2 am da01da17: Merge "Do not turn on imes unexpectedly with unit tests"
# Via Android (Google) Code Review (1) and Satoshi Kataoka (1)
* commit 'da01da176d4798d293c90d6280ddc59c780baaa3':
  Do not turn on imes unexpectedly with unit tests
2013-01-29 18:45:36 -08:00
Satoshi Kataoka
da01da176d Merge "Do not turn on imes unexpectedly with unit tests" 2013-01-30 02:41:47 +00:00
Dianne Hackborn
625f4a0be0 am d4d93640: Maybe fix build.
# Via Dianne Hackborn
* commit 'd4d9364019ed071509213b9ce772f4a5904d2847':
  Maybe fix build.
2013-01-29 16:17:17 -08:00
Dianne Hackborn
d4d9364019 Maybe fix build.
Change-Id: Ibad8edb15e7cc332d6c29958a386d32a96f4e755
2013-01-29 16:12:48 -08:00
Dianne Hackborn
9b771678ea am 7f54ffd0: Merge "Improve configuration of default preferred apps."
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit '7f54ffd0296ce6008b5ea949796e60248a85e2d8':
  Improve configuration of default preferred apps.
2013-01-29 15:56:13 -08:00
Dianne Hackborn
7f54ffd029 Merge "Improve configuration of default preferred apps." 2013-01-29 23:43:20 +00:00
Dianne Hackborn
8a2ed1d7c0 Improve configuration of default preferred apps.
The file that defines default preferred apps is now more
robust.  It is no longer a raw dump of the package
manager settings, but instead a more general list of a
target activity and filter.  When reading it, the remaining
information (match value, set of potential matches) is
determined dynamically.

Change-Id: I0edc6e0d2ed3dd2a6e2238992f18f7fc1f51d8d4
2013-01-29 15:18:29 -08:00
Svetoslav
3822896e22 Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).

To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.

Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.

It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.

bug:8089372

Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 13:56:22 -08:00
Svetoslav
bb71b4d159 am 91488eed: Merge changes Ie674e8b2,I0b9448c8
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '91488eed1745ea0426a73306f133e02d62580f1a':
  AccessibilityNodeINfo cache not cleared when accessibility is disabled.
  Display magnifier does not release its surface on destroy.
2013-01-28 19:23:24 -08:00
Svetoslav Ganov
984019868a am d0fd5464: Merge "Adding UI test automation APIs."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'd0fd54648ca6249f56cf469c57181b5a7bbb71d0':
  Adding UI test automation APIs.
2013-01-28 19:23:22 -08:00
Svetoslav
91488eed17 Merge changes Ie674e8b2,I0b9448c8
* changes:
  AccessibilityNodeINfo cache not cleared when accessibility is disabled.
  Display magnifier does not release its surface on destroy.
2013-01-29 03:21:12 +00:00
Svetoslav Ganov
d0fd54648c Merge "Adding UI test automation APIs." 2013-01-29 03:16:40 +00:00
Benoit Goby
cd7a17c645 UsbDebuggingManager: Add interface to clear secure adb keys
This is called from Settings that has a button to clear secure
adb public keys installed on the device.

Change-Id: I63ef499c049766ef13ea6cb0594ed6719f35e5f3
2013-01-28 19:15:30 -08:00
Benoit Goby
e032706da0 am 4daf9b1b: Merge "UsbDeviceManager: Don\'t start UsbDebuggingManager when data is encrypted"
# Via Android (Google) Code Review (1) and Benoit Goby (1)
* commit '4daf9b1ba5d898ac874197543dbd949360edcc45':
  UsbDeviceManager: Don't start UsbDebuggingManager when data is encrypted
2013-01-28 18:36:53 -08:00
Benoit Goby
4daf9b1ba5 Merge "UsbDeviceManager: Don't start UsbDebuggingManager when data is encrypted" 2013-01-29 02:33:44 +00:00
Jeff Brown
8dd68d794c am 5988335a: Merge "Optimize Looper JNI code."
# Via Android (Google) Code Review (1) and Jeff Brown (1)
* commit '5988335aacdbea5b60b597fa2c52583bc655e30f':
  Optimize Looper JNI code.
2013-01-28 18:18:12 -08:00
Jeff Brown
5988335aac Merge "Optimize Looper JNI code." 2013-01-29 02:14:21 +00:00
Jeff Brown
864693461b Optimize Looper JNI code.
Use static native methods.

Release the native looper objects as soon as the Looper quits
instead of waiting until the GC finalizer to take care of it.

Change-Id: I02783e48782a8f972ec2138862f700ade33d8e78
2013-01-28 14:25:53 -08:00
Dianne Hackborn
f77c053c7d am 93f770b5: Merge "Fix bug where we could get stuck repeatedly launching an activity."
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit '93f770b59fa1bd0f2a5c18fcfaffd2a1fc54f585':
  Fix bug where we could get stuck repeatedly launching an activity.
2013-01-28 12:39:08 -08:00
Dianne Hackborn
93f770b59f Merge "Fix bug where we could get stuck repeatedly launching an activity." 2013-01-28 20:36:59 +00:00