OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Remove WebViewClassic specific test code" into klp-dev
Jonathan Dixon [Fri, 30 Aug 2013 19:15:41 +0000 (19:15 +0000)]
Merge "Remove WebViewClassic specific test code" into klp-dev

10 years agoMerge "Fixed b/10512887." into klp-dev
Zhentao Sun [Fri, 30 Aug 2013 19:11:28 +0000 (19:11 +0000)]
Merge "Fixed b/10512887." into klp-dev

10 years agoMerge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev
Fabrice Di Meglio [Fri, 30 Aug 2013 18:00:19 +0000 (18:00 +0000)]
Merge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev

10 years agoMerge "DO NOT MERGE Printing API changes for supporting better page layout" into...
Selim Gurun [Fri, 30 Aug 2013 17:09:22 +0000 (17:09 +0000)]
Merge "DO NOT MERGE Printing API changes for supporting better page layout" into klp-dev

10 years agoAdd a few SystemUI xxhdpi stragglers.
John Spurlock [Fri, 30 Aug 2013 15:29:50 +0000 (11:29 -0400)]
Add a few SystemUI xxhdpi stragglers.

Bug: 10316062
Change-Id: I1307d7188e8326407c562a1f65f100e6a3dca5ed

10 years agoDO NOT MERGE Printing API changes for supporting better page layout
Selim Gurun [Thu, 29 Aug 2013 19:01:27 +0000 (12:01 -0700)]
DO NOT MERGE Printing API changes for supporting better page layout

Bug: 10507857
Change-Id: I3120ebfd11716259b9a83312b95a6a3f98a23d89

10 years agoImprove signal assets against tranparent bkgrnd.
John Spurlock [Fri, 30 Aug 2013 11:08:57 +0000 (07:08 -0400)]
Improve signal assets against tranparent bkgrnd.

And update ringer icons, restoring their previous optical bounds.

Bug:10546772
Change-Id: If05a1cd674453b496d25dddfe185783abec93f5e

10 years agoMerge "Fix for 10530176 - CookieSyncManager must be created by WebView c'tor" into...
Ben Murdoch [Fri, 30 Aug 2013 09:03:58 +0000 (09:03 +0000)]
Merge "Fix for 10530176 - CookieSyncManager must be created by WebView c'tor" into klp-dev

10 years agoMerge "Add debug and remove SocketTimeoutException." into klp-dev
Wink Saville [Fri, 30 Aug 2013 03:30:51 +0000 (03:30 +0000)]
Merge "Add debug and remove SocketTimeoutException." into klp-dev

10 years agoMerge "Disable hotword detection on low-memory devices" into klp-dev
Jim Miller [Fri, 30 Aug 2013 02:12:26 +0000 (02:12 +0000)]
Merge "Disable hotword detection on low-memory devices" into klp-dev

10 years agoDisable hotword detection on low-memory devices
Jim Miller [Fri, 30 Aug 2013 01:58:21 +0000 (18:58 -0700)]
Disable hotword detection on low-memory devices

Change-Id: If21f852af36a8f6dea17f3a87b22f39db3d1d6e8

10 years agoFix bug #10549094 KLP API Review: android.util.LayoutDirection
Fabrice Di Meglio [Fri, 30 Aug 2013 01:05:02 +0000 (18:05 -0700)]
Fix bug #10549094 KLP API Review: android.util.LayoutDirection

- use constant class instead of an interface
- make it final

Change-Id: I1bde76eb84cd92427e4e1fc2483cdecec429ae99

10 years agoRemove unused status bar help and obsolete resources.
John Spurlock [Fri, 30 Aug 2013 00:47:03 +0000 (20:47 -0400)]
Remove unused status bar help and obsolete resources.

Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93

10 years agoMerge "Turn off debugging in SyncManager" into klp-dev
Matthew Williams [Fri, 30 Aug 2013 00:24:11 +0000 (00:24 +0000)]
Merge "Turn off debugging in SyncManager" into klp-dev

10 years agoMerge "Cleanup API typo" into klp-dev
Jason Sams [Fri, 30 Aug 2013 00:03:35 +0000 (00:03 +0000)]
Merge "Cleanup API typo" into klp-dev

10 years agoCleanup API typo
Jason Sams [Fri, 30 Aug 2013 00:00:37 +0000 (17:00 -0700)]
Cleanup API typo

bug 10548782

Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0

10 years agoFixed b/10512887.
Zhentao Sun [Thu, 29 Aug 2013 21:43:35 +0000 (14:43 -0700)]
Fixed b/10512887.

This is an issue caused by multi-threading. If geofence provider service
is connected and disconnected immediately, the ServiceWatcher can return a
null service handle to the private thread used by GeofenceProxy, and
this can cause NPE and system crash.
This CL also fixed a hidden race conditions bug where mGeofenceHardware
is not synchronized between two threads.

Change-Id: I824642cd638fbb1e6799a5a1220b047ebc2556a1

10 years agoAdd debug and remove SocketTimeoutException.
Wink Saville [Thu, 29 Aug 2013 23:42:44 +0000 (16:42 -0700)]
Add debug and remove SocketTimeoutException.

Bad merge from jb-mr2 to klp, the SocketTimeoutException
in isCaptivePortal should not be present. Also add debug
for bug 9972012. The SocketTimeoutException is a possible
cause of 9972012 but the logs from post #24 it was not
caused by a timeout, so this is not a fix.

Bug: 9972012
Change-Id: I290518832f8258d4682821815834f5621245b643

10 years agoMerge "Don't show roaming icon for specific operators" into klp-dev
Robert Greenwalt [Thu, 29 Aug 2013 23:17:49 +0000 (23:17 +0000)]
Merge "Don't show roaming icon for specific operators" into klp-dev

10 years agoMerge "Print spooler security and some new print service facing APIs." into klp-dev
Svetoslav Ganov [Thu, 29 Aug 2013 22:59:08 +0000 (22:59 +0000)]
Merge "Print spooler security and some new print service facing APIs." into klp-dev

10 years agoPrint spooler security and some new print service facing APIs.
Svetoslav Ganov [Wed, 28 Aug 2013 21:37:54 +0000 (14:37 -0700)]
Print spooler security and some new print service facing APIs.

1. Updated the security mode of the print spooler. Now the spooler
   is not signed with the system key, it is not a privileged app so if
   it gets compromised (PDF rendering is a potential attack vector)
   it cannot access dangerous permissions. Also only the system
   can bind to the spooler.

2. Added APIs for asking a print service to start and stop tracking
   a given printer. This is need for the case when the user selects
   the printer and the print service should do a best effort to keep
   the system updated for the current state of the printer.

3. Added APIs for putting a print job in a blocked state. A print
   service would report the print job as blocked if for some reason
   the printer cannot proceed, e.g. 99 pages are printed but there
   is no paper for the last one. The user has to add more paper
   and the print service can resume the job.

4. Changed the read/write APIs to use ParcelFileDescriptor instead
   of FileDescriptor since the latter does not have a clean API for
   detaching the wrapped Linux file descriptor when one wants to
   push it to native.

5. Added API for getting the size of the printed document so the
   print service can avoid handling big filed over cellular network
   or ask the user if needed.

6. Now the print services that are preinstalled on the system image
   are automatically enabled.

Change-Id: Ia06c311d3d21cabb9e1368f13928e11cd0030918

10 years agoMerge "GridLayout changes for API council" into klp-dev
Adam Powell [Thu, 29 Aug 2013 22:38:24 +0000 (22:38 +0000)]
Merge "GridLayout changes for API council" into klp-dev

10 years agoTurn off debugging in SyncManager
Matthew Williams [Thu, 29 Aug 2013 20:41:15 +0000 (13:41 -0700)]
Turn off debugging in SyncManager

Bug: 10549076
Change-Id: I63ad8af5fbe8736eb7ca8307a4beef5310a1c10c

10 years agoam ee9d38ff: am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android...
quddusc [Thu, 29 Aug 2013 22:16:01 +0000 (15:16 -0700)]
am ee9d38ff: am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit 'ee9d38ff24358774d194108128e99f09d08ddf8e':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "Merge commit '270226b0' into manualmerge" into klp-dev
Wink Saville [Thu, 29 Aug 2013 22:10:51 +0000 (22:10 +0000)]
Merge "Merge commit '270226b0' into manualmerge" into klp-dev

10 years agoGridLayout changes for API council
Adam Powell [Thu, 29 Aug 2013 21:56:51 +0000 (14:56 -0700)]
GridLayout changes for API council

* Hide set/getPrinter methods. A change/addition like this should
  happen for all views if it happens, not just for one specific view.

* Follow Android style guidelines for fields.

Bug 10549037

Change-Id: I1823d7bbbd8bcc678c5be2358ca23a8dc6dbfd15
(cherry picked from commit 916159461bf17e13c245a709935a0d1133e0ed91)

10 years agoMerge commit '270226b0' into manualmerge
Wink Saville [Thu, 29 Aug 2013 21:57:08 +0000 (14:57 -0700)]
Merge commit '270226b0' into manualmerge

* commit '270226b0':
  Add support for handling mobile provisioning networks.

Conflicts:
core/java/android/net/CaptivePortalTracker.java
core/java/android/net/ConnectivityManager.java
core/java/android/net/IConnectivityManager.aidl
core/java/android/net/MobileDataStateTracker.java
core/res/AndroidManifest.xml
services/java/com/android/server/ConnectivityService.java

Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5

10 years agoMerge "Improve Intent disambig dialog behavior" into klp-dev
Amith Yamasani [Thu, 29 Aug 2013 21:45:04 +0000 (21:45 +0000)]
Merge "Improve Intent disambig dialog behavior" into klp-dev

10 years agoMerge "Unhide USAGE_IO_INPUT functions" into klp-dev
Jason Sams [Thu, 29 Aug 2013 21:24:28 +0000 (21:24 +0000)]
Merge "Unhide USAGE_IO_INPUT functions" into klp-dev

10 years agoMerge "Reset activity's "return to home" flag on relaunch" into klp-dev
Craig Mautner [Thu, 29 Aug 2013 21:14:30 +0000 (21:14 +0000)]
Merge "Reset activity's "return to home" flag on relaunch" into klp-dev

10 years agoMerge "Add an API for querying HCE service selection mode." into klp-dev
Martijn Coenen [Thu, 29 Aug 2013 21:01:16 +0000 (21:01 +0000)]
Merge "Add an API for querying HCE service selection mode." into klp-dev

10 years agoUnhide USAGE_IO_INPUT functions
Jason Sams [Thu, 29 Aug 2013 20:30:59 +0000 (13:30 -0700)]
Unhide USAGE_IO_INPUT functions

Change-Id: I9c1a7e5d65adee133b99b9a94729ab0b3d5a097f

10 years agoAdd an API for querying HCE service selection mode.
Martijn Coenen [Thu, 29 Aug 2013 02:23:41 +0000 (19:23 -0700)]
Add an API for querying HCE service selection mode.

This allows applications to differentiate between
the case where another app is the default, or the
case where the selection mode is "Ask every time".

Also, parse new requireDeviceUnlock attribute in
ApduServiceInfo.

Bug: 10262585
Change-Id: Icac508fe00054132574731532c05a1138edb24f5

10 years agoMerge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev
Martijn Coenen [Thu, 29 Aug 2013 19:56:00 +0000 (19:56 +0000)]
Merge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev

10 years agoReset activity's "return to home" flag on relaunch
Craig Mautner [Thu, 29 Aug 2013 19:24:56 +0000 (12:24 -0700)]
Reset activity's "return to home" flag on relaunch

When relaunching an activity re-evaluate the flag that determines
whether to return to the next activity on the stack or to the home
activity upon return.

Fixes bug 10545580.

Change-Id: I5868ce1b494afffcc5afc22abe3b65aa339827bb

10 years agoDon't show roaming icon for specific operators
Sungmin Choi [Fri, 19 Jul 2013 04:36:29 +0000 (13:36 +0900)]
Don't show roaming icon for specific operators

bug:9896815
bug:10100304
bug:10097969
bug:10101601

Conflicts:
core/res/res/values/config.xml

Change-Id: I6165f42b2a3d7f4bbd16c97f7a2b8760a688e2d4

10 years agoMerge "media: ImageReader throws OutOfResourcesException when out of buffers" into...
Igor Murashkin [Thu, 29 Aug 2013 18:59:10 +0000 (18:59 +0000)]
Merge "media: ImageReader throws OutOfResourcesException when out of buffers" into klp-dev

10 years agoam 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for...
quddusc [Thu, 29 Aug 2013 18:57:52 +0000 (11:57 -0700)]
am 40765a4a: am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit '40765a4a5300914e8c7ce7ed6397cec7ab8d78a1':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "uicc : add config_stkNoAlphaUsrCnf to config.xml" into klp-dev
Vineeta Srivastava [Thu, 29 Aug 2013 18:41:27 +0000 (18:41 +0000)]
Merge "uicc : add config_stkNoAlphaUsrCnf to config.xml" into klp-dev

10 years agouicc : add config_stkNoAlphaUsrCnf to config.xml
duho.ro [Wed, 10 Jul 2013 03:01:06 +0000 (12:01 +0900)]
uicc : add config_stkNoAlphaUsrCnf to config.xml

Per 3GPP specification 102.223,
if the alpha identifier is not provided by the UICC,
the terminal MAY give information to the user.
set to false if we need to show user confirmation
when alpha identifier is not provided by the UICC.

Change-Id: Iece01f3775baf2c6438776f899ed53b1f1fb942f

Conflicts:
core/res/res/values/config.xml

10 years agoam 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing...
quddusc [Thu, 29 Aug 2013 18:12:44 +0000 (11:12 -0700)]
am 2ef3952d: cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

* commit '2ef3952d8e62b71baca176b3e17315a37facd34a':
  cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

10 years agoMerge "More SystemUI asset updates." into klp-dev
John Spurlock [Thu, 29 Aug 2013 18:03:58 +0000 (18:03 +0000)]
Merge "More SystemUI asset updates." into klp-dev

10 years agoMore SystemUI asset updates.
John Spurlock [Thu, 29 Aug 2013 17:56:31 +0000 (13:56 -0400)]
More SystemUI asset updates.

White close handles, a few missed xx items.

Bug:10502089
Change-Id: I788f3698249e72c3df3d039c68b438998db1b978

10 years agoMerge "UserManagerService upgrades users on first restart." into klp-dev
Geoffrey Borggaard [Thu, 29 Aug 2013 17:54:37 +0000 (17:54 +0000)]
Merge "UserManagerService upgrades users on first restart." into klp-dev

10 years agocherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id...
quddusc [Fri, 21 Jun 2013 23:49:46 +0000 (16:49 -0700)]
cherrypick from jb-mr2-docs docs: Android training for Activity testing. Change-Id: I7167732c849d5a4a36c808cc852ddfcdc8e60bd7

Change-Id: Idce540108d048d76fc2c4bc37ecf2118b82588c5

10 years agoMerge "Add ACTION_SHOW_ALARMS to Clock API" into klp-dev
Isaac Katzenelson [Thu, 29 Aug 2013 17:52:31 +0000 (17:52 +0000)]
Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-dev

10 years agoAdd ACTION_SHOW_ALARMS to Clock API
Sam Blitzstein [Wed, 28 Aug 2013 22:44:03 +0000 (15:44 -0700)]
Add ACTION_SHOW_ALARMS to Clock API

Add in an action to jump to the alarms page of a clock app.
Helpful for quick settings, for example.

Bug: 10506871
Change-Id: Ia18708c7962543911864dfaefa17d5356eed1b45

10 years agoam 8cb2f42e: am 948282b0: Add support for handling mobile provisioning networks.
Wink Saville [Thu, 29 Aug 2013 17:26:06 +0000 (10:26 -0700)]
am 8cb2f42e: am 948282b0: Add support for handling mobile provisioning networks.

* commit '8cb2f42eea2ef3b249528aa7913fc7a6dfc6b741':
  Add support for handling mobile provisioning networks.

10 years agoam 948282b0: Add support for handling mobile provisioning networks.
Wink Saville [Thu, 29 Aug 2013 17:22:55 +0000 (10:22 -0700)]
am 948282b0: Add support for handling mobile provisioning networks.

* commit '948282b0e6cf5310f09db97a4ae939db7c1cef72':
  Add support for handling mobile provisioning networks.

10 years agoMerge "Replace stream wrap-function w/ more specific ones" into klp-dev
Leon Scroggins III [Thu, 29 Aug 2013 17:12:00 +0000 (17:12 +0000)]
Merge "Replace stream wrap-function w/ more specific ones" into klp-dev

10 years agoUserManagerService upgrades users on first restart.
Geoffrey Borggaard [Thu, 29 Aug 2013 02:11:10 +0000 (22:11 -0400)]
UserManagerService upgrades users on first restart.

This causes all restriction pins to be reset.

Bug: 10535070
Change-Id: Ia2abf904505514d7e555b420c2b032a0094e0643

10 years agoAdd support for handling mobile provisioning networks.
Wink Saville [Thu, 29 Aug 2013 15:55:16 +0000 (08:55 -0700)]
Add support for handling mobile provisioning networks.

When a sim is new or it has expired it needs to be provisioned
with the carrier. Basically provisioning is associating a sim with
a user account. When a sim isn't provisioned then operators will
restrict access to the network and only allow certain addresses
or services to be used.

This set of changes allows two types of provisioning networks to be
recognized. The first is a network that causes all DNS lookups to be
redirected to a different address than was intended. This is exemplified
by how T-Mobile works.

The second technique uses a special apn for provisioning. An example is
AT&T where lwaactivate is the provisioning apn and broadband is the
normal apn. We first try broadband and if we are unable to connect we
try lwaactivate. When we see the activate we identify it as special and
the ApnContext.isProvisioningApn will return true.

In the future our plan is to create a new network type that can be added
to the apn list, but for now it identified by name.

Here is a list of significant changes:

 - CaptivePortalTracker now only test WiFi networks instead of all networks
 - checkMobileProvisioning checks for provisioning networks and doesn't
   try to ping.
 - IConnectivityManager.aidl changes:
   * getProvisioningOrActiveNetworkInfo was added to and used by Manage
     mobile plan in WirelessSettings so even when there is no active
     network it will still allow provisioning. Otherwise it would report
     no internet connection.
   * setSignInErrorNotificationVisible is used by both
     CaptiviePortalTracker and checkMobileProvisioning so they use the
     same code for the notifications.
   * checkMobileProvisioning was simplified to have only a timeout as
     returning the result is now harder as we abort simultaneous call
     otherwise we'd could get into loops because we now check every time
     we connect to mobile.
 - Enhanced MDST to handle the provisioning network.
 - Added CONNECTED_TO_PROVISIONING_NETWORK to NetworkInfo to make a new
   state so we don't announce to the world we're connected.
 - TelephonyIntents.ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
   is sent by the low level data connection code to notify Connectivity
   Service that a provisioning apn has connected. This allows CS to
   handle the connection differently than a normal connection.

Bug: 10328264
Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5

10 years agoAdd frameworks support for sample profiling from traceview gui.
Jeff Hao [Thu, 22 Aug 2013 22:53:12 +0000 (15:53 -0700)]
Add frameworks support for sample profiling from traceview gui.

(cherry picked from commit ca307d3138ff1e5d0bcf190eb24f3b8dbcabfaa9)

Change-Id: I3553bafe24ac8deb4fa3f9a4d78939c3848b3850

10 years agoMerge "Stronger DocumentsProvider contract." into klp-dev
Jeff Sharkey [Thu, 29 Aug 2013 04:27:02 +0000 (04:27 +0000)]
Merge "Stronger DocumentsProvider contract." into klp-dev

10 years agoStronger DocumentsProvider contract.
Jeff Sharkey [Wed, 28 Aug 2013 01:26:48 +0000 (18:26 -0700)]
Stronger DocumentsProvider contract.

Using a contract class requires that a provider implement it exactly
with little help. This change introduces a DocumentsProvider abstract
class that provides a client-side implementation of the contract that
greatly reduces developer burden, and improves correctness.

This also moves to first-class DocumentRoot objects, and moves calls
with complex side effects to be ContentProvider.call() invocations,
offering more granular permission control over Uri operations that
shouldn't be available through Uri grants.

This new design also relaxes the requirement that root information be
burned into every Uri.  Migrate ExternalDocumentsProvider and
DocumentsUI to adopt new API.

Bug: 10497206
Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743

10 years agoFix for 10530176 - CookieSyncManager must be created by WebView c'tor
Jonathan Dixon [Thu, 29 Aug 2013 03:29:39 +0000 (20:29 -0700)]
Fix for 10530176 - CookieSyncManager must be created by WebView c'tor

WebViewClassic created the CookieSyncManager instane as a side effect of
starting up its internal WebCoreThread. As this forms part of th API
contract (app doesn't need to call CookieSyncManager.createInstance if
it already made a WebView instance) promote this logic up to the API
layer.

Change-Id: I0e92d97be987dfef90162ad379c79b066aae34e0

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 29 Aug 2013 03:06:07 +0000 (03:06 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 29 Aug 2013 03:04:13 +0000 (03:04 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 29 Aug 2013 03:04:00 +0000 (03:04 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 29 Aug 2013 01:35:58 +0000 (18:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I665172800a06d780b92a5db2ab549980c87e8524
Auto-generated-cl: translation import

10 years agoMerge "Fix documentation regarding defStyle in View constructor" into klp-dev
Alan Viverette [Thu, 29 Aug 2013 01:15:48 +0000 (01:15 +0000)]
Merge "Fix documentation regarding defStyle in View constructor" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 29 Aug 2013 01:05:47 +0000 (18:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic6b1048f4afaa520fea602ec4367de5e192186bd
Auto-generated-cl: translation import

10 years agoMerge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-dev
John Spurlock [Thu, 29 Aug 2013 01:00:03 +0000 (01:00 +0000)]
Merge "Rename hideybars constant to SYSTEM_UI_FLAG_IMMERSIVE." into klp-dev

10 years agoMerge "More elaborate logs to debug missing APs" into klp-dev
Robert Greenwalt [Thu, 29 Aug 2013 00:51:35 +0000 (00:51 +0000)]
Merge "More elaborate logs to debug missing APs" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 29 Aug 2013 00:36:17 +0000 (17:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: I22efa95394f7b572df2b43138fee45bd7eaf4229
Auto-generated-cl: translation import

10 years agoFix documentation regarding defStyle in View constructor
Alan Viverette [Wed, 28 Aug 2013 23:57:42 +0000 (16:57 -0700)]
Fix documentation regarding defStyle in View constructor

BUG: 8912583
Change-Id: Ib8b1f8baa4ee98aae0e66edc547ab014b2401415

10 years agoMerge "Start using the Hotword recognition APIs" into klp-dev
Sandeep Siddhartha [Wed, 28 Aug 2013 23:55:57 +0000 (23:55 +0000)]
Merge "Start using the Hotword recognition APIs" into klp-dev

10 years agoMerge "Better transition interruption and TextChange fixes" into klp-dev
Chet Haase [Wed, 28 Aug 2013 23:55:10 +0000 (23:55 +0000)]
Merge "Better transition interruption and TextChange fixes" into klp-dev

10 years agoBetter transition interruption and TextChange fixes
Chet Haase [Tue, 27 Aug 2013 23:06:26 +0000 (16:06 -0700)]
Better transition interruption and TextChange fixes

Previously, the TextChange transition didn't handle interruption/
cancellation at all, which made it problematic to use in any real
situation where a transition might get interrupted mid-animation.
Also, the way that it side-effected the text of TextView objects caused
errors in the UI when the transition was interrupted, because it would
not clean up after itself properly as new transitions queried the
current state of the UI.

Also, the prior cancellation logic for all transitions was not quite
correct; we were pausing transitions but resuming the animations, making it
tricky to write transitions that would restore state correctly.

Change-Id: I5a9f3c915e9834ec59ce1e1c3c96a88d11e4aa1b

10 years agoMerge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." into klp-dev
Isaac Katzenelson [Wed, 28 Aug 2013 23:49:41 +0000 (23:49 +0000)]
Merge "Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly." into klp-dev

10 years agoStart using the Hotword recognition APIs
Sandeep Siddhartha [Tue, 27 Aug 2013 03:58:53 +0000 (20:58 -0700)]
Start using the Hotword recognition APIs

- Gets rid of all assumptions about the hotword service
- Fixes bug where the hotword detection would keep running accidentally
  even when the screen got turned off

Change-Id: Ie86c1a4f4343bdf7e61f7c21114fd3b287bd5401

10 years agoMerge "Tweak the HotwordRecognizer API" into klp-dev
Sandeep Siddhartha [Wed, 28 Aug 2013 23:38:53 +0000 (23:38 +0000)]
Merge "Tweak the HotwordRecognizer API" into klp-dev

10 years agoTweak the HotwordRecognizer API
Sandeep Siddhartha [Tue, 27 Aug 2013 20:09:41 +0000 (13:09 -0700)]
Tweak the HotwordRecognizer API

- Make it more intuitive by enforcing callers to set a listener while
  starting recognition
- Fix TODO to resolve the ComponentName if none is provided
- Unbind from the Hotword service if stopRecognition is called
- Get rid of the callback in onStopHotwordRecognition

Change-Id: I8edad0ef0f3671283aeb51eaed1d3b8dab01baa0

10 years agoMerge "Fix case when user touches the very edge of a view" into klp-dev
Mindy Pereira [Wed, 28 Aug 2013 23:08:53 +0000 (23:08 +0000)]
Merge "Fix case when user touches the very edge of a view" into klp-dev

10 years agoFix case when user touches the very edge of a view
Mindy Pereira [Wed, 28 Aug 2013 22:00:14 +0000 (15:00 -0700)]
Fix case when user touches the very edge of a view

This now counts touches at the exact top edge of the view as valid

Change-Id: I9e81a7001632c38d567dde40954e079e7145fa36

10 years agoMore elaborate logs to debug missing APs
Vinit Deshapnde [Wed, 28 Aug 2013 20:13:40 +0000 (13:13 -0700)]
More elaborate logs to debug missing APs

Bug: 10375978

Change-Id: Ic9bb8f3a7a0684143e4e77f8da0d2c833293c94a

10 years agoMerge "Fix bug #10515013 CalendarView is always forcing first day of the week to...
Fabrice Di Meglio [Wed, 28 Aug 2013 19:53:56 +0000 (19:53 +0000)]
Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev

10 years agoMerge "Ensure IME windows always appear north of the nav bar." into klp-dev
John Spurlock [Wed, 28 Aug 2013 19:32:05 +0000 (19:32 +0000)]
Merge "Ensure IME windows always appear north of the nav bar." into klp-dev

10 years agoam d4702f3c: am 6d3fbd00: am 8236443b: Doc change: update spam policy image.
Dirk Dougherty [Wed, 28 Aug 2013 18:46:48 +0000 (11:46 -0700)]
am d4702f3c: am 6d3fbd00: am 8236443b: Doc change: update spam policy image.

* commit 'd4702f3c67473045d92eb4c3ea001d671f2f5f56':
  Doc change: update spam policy image.

10 years agoam 6d3fbd00: am 8236443b: Doc change: update spam policy image.
Dirk Dougherty [Wed, 28 Aug 2013 18:44:42 +0000 (11:44 -0700)]
am 6d3fbd00: am 8236443b: Doc change: update spam policy image.

* commit '6d3fbd0073cdb9cd21acfb56b58a29634bd182ad':
  Doc change: update spam policy image.

10 years agoam 8236443b: Doc change: update spam policy image.
Dirk Dougherty [Wed, 28 Aug 2013 18:42:05 +0000 (11:42 -0700)]
am 8236443b: Doc change: update spam policy image.

* commit '8236443bdac2ba7c7630ddcc4ce9a18a03fe31a1':
  Doc change: update spam policy image.

10 years agoRemove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.
Sam Blitzstein [Wed, 28 Aug 2013 18:42:05 +0000 (11:42 -0700)]
Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.

As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead,
apps that pick up these intents should automatically delete alarms
and timers, unless the user is taken into the app to explicicitly
specify the time/length.

Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c

10 years agoDoc change: update spam policy image.
Dirk Dougherty [Wed, 28 Aug 2013 17:43:36 +0000 (10:43 -0700)]
Doc change: update spam policy image.

Change-Id: Ib19ea838f0f72725cedf2cea8aff505ccc477a45

10 years agoEnsure IME windows always appear north of the nav bar.
John Spurlock [Wed, 28 Aug 2013 18:17:09 +0000 (14:17 -0400)]
Ensure IME windows always appear north of the nav bar.

Even if the bars are transparent / invisible.

Refactor the PSB bar mode override logic to take the IME hint into
account.  Bars are overriden to opaque when hint is showing.

Initialize bar state to showing, fix bug that would mark state
as hidden pre-show (on shell restart).

Bug:10505132
Bug:9499956
Change-Id: I21e830e90c7e9812b4192ca65c3c0cd7a6b72798

10 years agoAdd requireDeviceUnlock attribute for NFC HCE.
Martijn Coenen [Wed, 28 Aug 2013 18:18:58 +0000 (11:18 -0700)]
Add requireDeviceUnlock attribute for NFC HCE.

Also added AID description, and renamed PackageManager
feature. The old name has to stay at least for a bit,
because we are already deploying apps in our builds that
use the constant.

Bug: 10461409
Bug: 10461753
Change-Id: I7a5bb023bb567dd8b0a17e8e54e9559d7fcf64f5

10 years agoMerge "Set alpha channel correctly when recomputing gradient" into klp-dev
Alan Viverette [Wed, 28 Aug 2013 18:03:11 +0000 (18:03 +0000)]
Merge "Set alpha channel correctly when recomputing gradient" into klp-dev

10 years agoMerge "Implement new accessibility APIs in lists, text view" into klp-dev
Alan Viverette [Wed, 28 Aug 2013 17:44:44 +0000 (17:44 +0000)]
Merge "Implement new accessibility APIs in lists, text view" into klp-dev

10 years agoMerge "Protecting against NPE with null country detector." into klp-dev
Santos Cordon [Wed, 28 Aug 2013 17:43:18 +0000 (17:43 +0000)]
Merge "Protecting against NPE with null country detector." into klp-dev

10 years agoImplement new accessibility APIs in lists, text view
Alan Viverette [Wed, 28 Aug 2013 17:43:07 +0000 (10:43 -0700)]
Implement new accessibility APIs in lists, text view

Sets contentInvalid for TextViews with errors, sets collection
and item properties in AbsListView, GridView, and ListView.

BUG: 10391326
Change-Id: I91191c8ce1e10a1112f74215e30b26349396344b

10 years agoMerge "Add public API for obtaining drag-to-open listener" into klp-dev
Alan Viverette [Wed, 28 Aug 2013 17:25:06 +0000 (17:25 +0000)]
Merge "Add public API for obtaining drag-to-open listener" into klp-dev

10 years agoSet alpha channel correctly when recomputing gradient
Alan Viverette [Wed, 28 Aug 2013 17:24:12 +0000 (10:24 -0700)]
Set alpha channel correctly when recomputing gradient

The alpha channel is applied by modulateAlpha(). Setting it to
mAlpha in ensureValidRect() locked the maximum alpha channel to
whatever value was set before layout. Setting it to BLACK
ensures it can be modulated later.

BUG: 10514848
Change-Id: If7a824410a66f1e9b648e20ee627bdf99a42ae78

10 years agoMerge "Use explicit intent for MediaScannerConnection" into klp-dev
Marco Nelissen [Wed, 28 Aug 2013 17:19:47 +0000 (17:19 +0000)]
Merge "Use explicit intent for MediaScannerConnection" into klp-dev

10 years agoMerge "Don't clear Global Proxy on boot." into klp-dev
Jason Monk [Wed, 28 Aug 2013 14:41:15 +0000 (14:41 +0000)]
Merge "Don't clear Global Proxy on boot." into klp-dev

10 years agoMerge "SystemUI asset update post ux asset merge." into klp-dev
John Spurlock [Wed, 28 Aug 2013 13:26:01 +0000 (13:26 +0000)]
Merge "SystemUI asset update post ux asset merge." into klp-dev

10 years agoSystemUI asset update post ux asset merge.
John Spurlock [Wed, 28 Aug 2013 12:56:20 +0000 (08:56 -0400)]
SystemUI asset update post ux asset merge.

Bug:10502089
Change-Id: I88b0b4a17018766bccb99426f8f270214c883427

10 years agoMerge "Remove period from "No service."" into klp-dev
Daniel Sandler [Wed, 28 Aug 2013 13:01:20 +0000 (13:01 +0000)]
Merge "Remove period from "No service."" into klp-dev

10 years agoRemove period from "No service."
Daniel Sandler [Thu, 13 Jun 2013 19:58:26 +0000 (15:58 -0400)]
Remove period from "No service."

Bug: 10460869
Change-Id: I57b030518c9cfec367da21e39af7a001a565daa4

10 years agoMerge "ImageReader: Fix null listener case" into klp-dev
Zhijun He [Wed, 28 Aug 2013 02:22:36 +0000 (02:22 +0000)]
Merge "ImageReader: Fix null listener case" into klp-dev

10 years agoMerge "Remove unreferenced assets from SystemUI." into klp-dev
John Spurlock [Wed, 28 Aug 2013 01:26:13 +0000 (01:26 +0000)]
Merge "Remove unreferenced assets from SystemUI." into klp-dev

10 years agoImprove Intent disambig dialog behavior
Amith Yamasani [Thu, 22 Aug 2013 18:16:27 +0000 (11:16 -0700)]
Improve Intent disambig dialog behavior

Keep track of last chosen activity for a particular intent, similar
to how it is tracked for "Always" choices.
Pre-select the last chosen activity if previously the user picked
"Just once".
Downgrade "Always" to "Last chosen" if there's a new kid on the block,
instead of removing it entirely.
Add methods to set and get last chosen entry.

UI - switch from Grid to List.

Bug: 9958096

Change-Id: Ied57147739a3ade1d36c3a7ec1e8ce77e5c5bb16