OSDN Git Service

android-x86/frameworks-base.git
10 years agoAdd power off button to quick settings dropdown box
Daniel Leung [Thu, 13 Dec 2012 21:28:11 +0000 (13:28 -0800)]
Add power off button to quick settings dropdown box

Add an option to power off the device in the quick settings
drop-down dialog. It is necessary for devices which the power
button does not function as Android expected. For example,
the hardware only sends button down event but no button up
event, or there is not long press event emitted what-so-ever.
Clicking on this button asks user for confirmation, and fires
the shutdown intent.

Issue: AXIA-1271
Change-Id: I12c3af70d39d45a2974f8fca03eb332e68017e15
Original-Change-Id: Iba14b10d12e788f9df6038e20aa98384838531e0
Original-Change-Id: Ic973ebf43b79b436a9e872613b8572a7c77ce0c3
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Signed-off-by: Anton Cherkashyn <antonx.t.cherkashyn@intel.com>
10 years agoframework: houdini hook and native activity hook rebase on MR1
llin4 [Tue, 4 Dec 2012 02:04:20 +0000 (10:04 +0800)]
framework: houdini hook and native activity hook rebase on MR1

BZ: 71657

houdini hook and native activity hook rebase on MR1

Change-Id: Iffa9793530cb30f7dd0cc8d083235f7713f65905
Signed-off-by: llin4 <ling.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/77611
Reviewed-by: Yao, Yong <yong.yao@intel.com>
Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
10 years agoImageWallpaper: don't throw-up when EGL init fails
Matt Gumbel [Mon, 5 Nov 2012 19:21:19 +0000 (11:21 -0800)]
ImageWallpaper: don't throw-up when EGL init fails

Just fall back to non-GL path instead.

Change-Id: Icabee5b7cadd49942e9c920a7ff49a54fc8bea9f
For: AXIA-991
Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
10 years agoPrevent EventHub from adding input device twice
Daniel Leung [Thu, 13 Sep 2012 20:43:41 +0000 (13:43 -0700)]
Prevent EventHub from adding input device twice

When Android first starts up, it scans /dev/input for input devices.
In some rare instances, the EventHub gets another notification that
some device nodes are created. It then proceeds to add the same
input device again. This causes the system to get two events per
touch or key stroke.

This adds a check to prevent adding the same device if the operation
is triggerd by inotify.

Issue: AXIA-858
Change-Id: I68b02594f1c7f14067611735db0b3763378ec7ea
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
10 years agoClear any stale errors before allocating layer
Paul Drews [Thu, 19 Jul 2012 21:12:22 +0000 (14:12 -0700)]
Clear any stale errors before allocating layer

Symptom:  On first boot, the "Make yourself at home" dialog
was not drawn, but was actually present.  This prevented
swiping the home screen until you happened to click on the
invisible "OK" button or take some other action that caused
the screen to get redrawn.

Cause:  GL errors remain within GL until they are cleared by
retrieving them.  The createLayer function was affected by a
stale error leftover from some previous code sequence.  When
it retrieved GL error status to check for success/fail of an
operation it got one of these "stale" errors and erroneously
concluded that the operation had failed.

This change clears any stale errors before embarking the
operation sequence that it wants to check for success/fail.

Issue: AXIA-425
Change-Id: I30b7fe1fbc354d3fea5e1d8cefa1be363fc68f8c
Signed-off-by: Paul Drews <paul.drews@intel.com>
10 years agoFixes Camera Panorama mode save panorama issue
yi.xie [Fri, 9 Mar 2012 10:06:27 +0000 (12:06 +0200)]
Fixes Camera Panorama mode save panorama issue

Sometimes, Panorama mode of the Camera app was not able to save
the picture taken.
Issue was caused by a memory leak. Captured panorama is converted to
compressed JPEG. After compress, memory used in the process was not
freed. Compressor must free memory explicitly.

Change-Id: I892fe99826f40cbddad44a00ba74616f17066b49
Original-Change-Id: I1b2d00bf54866b9ff55843cdeed93cd92d4f89d6
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
10 years agoDo not change NetworkInfo.DetailedState.
Wink Saville [Thu, 5 Sep 2013 19:02:25 +0000 (12:02 -0700)]
Do not change NetworkInfo.DetailedState.

I'd changed DetailedState to force ConnectivityService to treat
provisioning apn's specially. In particular so that they wouldn't
be identified they were fully connected until the provisioning
actually started. The problem is that DetailedState is a public enum
that has a CTS test and just changing the CTS to allow for the new
state (CONNECTED_TO_PROVISIONING_NETWORK) was inappropriate.

Instead I've added a new mIsConnectedToProvisioningNetwork variable
and used the DetailedState.SUSPENDED as the intermediate state.

Bug: 10620248
Change-Id: Id4a842398cad67455541ce629959351c27d83639

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 agoDO NOT MERGE: MDST is not ready until connected to DcTracker.
Wink Saville [Sat, 17 Aug 2013 00:17:28 +0000 (17:17 -0700)]
DO NOT MERGE: MDST is not ready until connected to DcTracker.

When the system becomes loaded the PhoneApp can be delayed
significantly and a call to setEnableFailFastMobileData may not
occur because the channel between the MobileDataStateTracker (MDST)
and DcTracker (DCT) is not connected.

Solution: Add a isReady to MDST and isMobileDataStateTrackerReady to
ConnectivityService and call it from isMobileOk.

Bug: 10351868
Change-Id: I92f9d58121b88186b636cd71c2fd2ef9a28f7cf6

10 years agoIn isMobileOk don't execute finally if mobile data is not supported.
Wink Saville [Tue, 13 Aug 2013 19:41:06 +0000 (12:41 -0700)]
In isMobileOk don't execute finally if mobile data is not supported.

Move the early return outside the try {} finally so we don't call
setEnableFailFastMobileData(DctContants.DISABLED). Otherwise
referencing counting is wrong and an exception is thrown in DcTrackerBase.

Bug: 10304904
Change-Id: I5ba5121e473bada9f3daa8d6f3d3577cec8212fc

10 years agoUse hostname verifier directly instead of instance DO NOT MERGE
Kenny Root [Wed, 24 Jul 2013 03:36:03 +0000 (20:36 -0700)]
Use hostname verifier directly instead of instance DO NOT MERGE

Instead of local instance of the default HostnameVerifier, use it
directly from HttpsURLConnection. This avoids class preloading creating
an instance of it before it's necessary.

(cherry picked from commit 928ee1e48fa89302d02fdf8a8a2c7315d7195e7c)

Bug: 9984058
Change-Id: I79d8a934bfc390e4cd503fd592e21bc4e5446a7d

10 years agoIf in a mobile captive portal is detected enable fail fast.
Wink Saville [Wed, 7 Aug 2013 23:22:47 +0000 (16:22 -0700)]
If in a mobile captive portal is detected enable fail fast.

When captive portal checking completes pass back the result.
This is used to enable/disable failing fast for mobile. When
failing fast is enabled we don't check for data stalls and thus
won't be continually trying to do recovery operations, such as
restarting the radio.

Bug: 9462512
Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e

10 years agoHave CaptivePortalTracker use gservices updateable provisioning urls.
Wink Saville [Sun, 21 Jul 2013 03:31:59 +0000 (20:31 -0700)]
Have CaptivePortalTracker use gservices updateable provisioning urls.

After detecting there is a captive portal the url used in the
notification for mobile networks should be updateable via gservices.
These urls will be the same as used by CheckMp and is needed for
carriers that have specific provisioning urls such as AT&T and Verizon.

Bug: 9622647
Change-Id: Idcf4dabc72ece1dbbe1d5e5a21e550dd06fe16c7

10 years agoIn CaptiviePortalTracker a socket timeout is probably a captive portal.
Wink Saville [Fri, 2 Aug 2013 18:25:23 +0000 (11:25 -0700)]
In CaptiviePortalTracker a socket timeout is probably a captive portal.

On a AT&T warm SIM a socket is not possible so a timeout occurs.
In CheckMp a timing out on a socket is declared as a "warm" sim,
make CaptivePortalTracker the same.

Bug: 10038362
Change-Id: Icb9fb0a1b67704dc9adf6a6348a3781fb9582a89

10 years agoCheck that hipri has started.
Wink Saville [Wed, 7 Aug 2013 18:02:57 +0000 (11:02 -0700)]
Check that hipri has started.

I needed to test the result of startUsingNetworkFeature, otherwise
on mobile networks that are slow to come up, we won't detect
warm SIMs after booting.

Bug: 9962943
Change-Id: Ib638a4e43867ecaa85d6abff65643b77a63526b6

10 years agoAdd new app ops method to reset all op modes.
Dianne Hackborn [Sat, 3 Aug 2013 01:10:10 +0000 (18:10 -0700)]
Add new app ops method to reset all op modes.

Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0

10 years agoMerge "Revert "Add version identifier to app ops."" into jb-mr2-dev
Dave Burke [Fri, 2 Aug 2013 20:36:28 +0000 (20:36 +0000)]
Merge "Revert "Add version identifier to app ops."" into jb-mr2-dev

10 years agoRevert "Add version identifier to app ops."
Dave Burke [Fri, 2 Aug 2013 20:25:02 +0000 (20:25 +0000)]
Revert "Add version identifier to app ops."

This reverts commit 483a6bbfc118409b9c46b226cf0aa6afdc4d9159.

Change-Id: I91d6b8b8d1789089bf9764e734f7fe59d03151a2

10 years agoMerge "Add version identifier to app ops." into jb-mr2-dev
Sascha Prueter [Thu, 1 Aug 2013 20:50:01 +0000 (20:50 +0000)]
Merge "Add version identifier to app ops." into jb-mr2-dev

10 years agoAdd version identifier to app ops.
Dianne Hackborn [Thu, 1 Aug 2013 18:09:27 +0000 (11:09 -0700)]
Add version identifier to app ops.

All old versions drop their modes except for the notification op
(which is the only one there is currently a user-visible control for).

Change-Id: I9e09cebe63e9ea81f2adc01aef7d1a5a59f57a56

10 years agoAllow the user to block notifications for foreground services.
Daniel Sandler [Thu, 1 Aug 2013 00:21:07 +0000 (20:21 -0400)]
Allow the user to block notifications for foreground services.

Stepping carefully around the fix in change Idc788527, we
perform security (and AppOps, and therefore user block)
checks against the uid passed to enqueueNotificationInternal
rather than the Binder caller.

Bug: 9502541
Change-Id: I91745db92823381df75721c1b8f11013a7fa4ecc

10 years ago(DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
Dianne Hackborn [Tue, 30 Jul 2013 01:11:02 +0000 (18:11 -0700)]
(DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...

...when clipboard listener attached

We need to clear the calling identity before dispatching change
notifications.  Also make this more robust, so that in the face
of any failure we will clean up the broadcast state.

Integrated from master.

Change-Id: I05e1f76ffd486439535631fe4062dabe94bd2ccf

10 years agoMerge "Doc change: fix reference to getBestDateTimePattern()." into jb-mr2-dev
Dirk Dougherty [Wed, 24 Jul 2013 18:18:14 +0000 (18:18 +0000)]
Merge "Doc change: fix reference to getBestDateTimePattern()." into jb-mr2-dev

10 years agoDoc change: fix reference to getBestDateTimePattern().
Dirk Dougherty [Wed, 24 Jul 2013 18:16:28 +0000 (11:16 -0700)]
Doc change: fix reference to getBestDateTimePattern().

Change-Id: Iad96f4079390e3589d21402fc8e01d6446f001b3

10 years agoDoc change: remove devices listed for vp8 hw encoder in highlights.
Dirk Dougherty [Wed, 24 Jul 2013 17:50:47 +0000 (10:50 -0700)]
Doc change: remove devices listed for vp8 hw encoder in highlights.

Change-Id: I8058981fc90270abcdecd415c593a3211afe4acb

10 years agoMerge "Doc change: update carousel on develop home." into jb-mr2-dev
Dirk Dougherty [Wed, 24 Jul 2013 06:47:27 +0000 (06:47 +0000)]
Merge "Doc change: update carousel on develop home." into jb-mr2-dev

10 years agoDoc change: update carousel on develop home.
Dirk Dougherty [Wed, 24 Jul 2013 06:07:07 +0000 (23:07 -0700)]
Doc change: update carousel on develop home.

Change-Id: Iada49cfb6ad2f13967d8e7bd72ac08d9977feb5c

10 years agoMerge "Doc change: Platform highlights for Android 4.3." into jb-mr2-dev
Dirk Dougherty [Wed, 24 Jul 2013 04:48:53 +0000 (04:48 +0000)]
Merge "Doc change: Platform highlights for Android 4.3." into jb-mr2-dev

10 years agoDoc change: Platform highlights for Android 4.3.
Dirk Dougherty [Sun, 7 Jul 2013 21:10:16 +0000 (14:10 -0700)]
Doc change: Platform highlights for Android 4.3.

Change-Id: If178b8268d4d703d06266cb3adc0c124e596378c

10 years agoMerge "update usb driver doc with download link; delete revision notes" into jb-mr2-dev
Scott Main [Wed, 24 Jul 2013 01:16:59 +0000 (01:16 +0000)]
Merge "update usb driver doc with download link; delete revision notes" into jb-mr2-dev

10 years agoMerge "docs: OpenGL ES 3.0 dev guide update" into jb-mr2-dev
Joe Fernandez [Tue, 23 Jul 2013 22:52:14 +0000 (22:52 +0000)]
Merge "docs: OpenGL ES 3.0 dev guide update" into jb-mr2-dev

10 years agodocs: OpenGL ES 3.0 dev guide update
Joe Fernandez [Tue, 9 Jul 2013 19:20:36 +0000 (12:20 -0700)]
docs: OpenGL ES 3.0 dev guide update

Change-Id: I46b9aee4c6b31e1ac6148f79b8607292b04f69c6

10 years agofix javadoc error
Scott Main [Tue, 23 Jul 2013 20:52:05 +0000 (13:52 -0700)]
fix javadoc error

Change-Id: Ieae3e73cda9541e774626fbd73100cdadc1513ad

10 years agoupdate usb driver doc with download link;
Scott Main [Tue, 23 Jul 2013 20:41:38 +0000 (13:41 -0700)]
update usb driver doc with download link;
delete revision notes

Change-Id: I325137a026ea99cb2cd5d5f4689a9c1ee5942a92

10 years agoMerge "update action bar guide for support lib ABC" into jb-mr2-dev
Scott Main [Tue, 23 Jul 2013 20:21:12 +0000 (20:21 +0000)]
Merge "update action bar guide for support lib ABC" into jb-mr2-dev

10 years agoDoc change: Add Colopl video to carousel and spotlight.
Dirk Dougherty [Thu, 18 Jul 2013 01:00:35 +0000 (18:00 -0700)]
Doc change: Add Colopl video to carousel and spotlight.
cherrypick/merge of I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93

Change-Id: I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93

10 years agoupdate action bar guide for support lib ABC
Scott Main [Wed, 19 Jun 2013 04:16:25 +0000 (21:16 -0700)]
update action bar guide for support lib ABC

Change-Id: Ie4594b3a0e0a686ed37d858788c7c747a1ee09e0

10 years agoMerge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev
Joe Fernandez [Mon, 22 Jul 2013 20:57:20 +0000 (20:57 +0000)]
Merge "docs: Android 4.3 Platform Release Notes" into jb-mr2-dev

10 years agodocs: Android 4.3 Platform Release Notes
Joe Fernandez [Fri, 14 Jun 2013 18:53:33 +0000 (11:53 -0700)]
docs: Android 4.3 Platform Release Notes

In addition to platform notes, modified the SDK Manager update
warning to advise downloading of SDK Tools 22 or higher. This
dependency is based on the updating of the SDK repository
schema. The last update was repository-8 with the SDK 22.0.0
release, according to raphael@.

Change-Id: Icaaf39a6d49eccdc926aa4c4249db8a0b1d095a7

10 years agoMerge "docs: NDK r9 Release Notes" into jb-mr2-dev
Joe Fernandez [Mon, 22 Jul 2013 16:13:20 +0000 (16:13 +0000)]
Merge "docs: NDK r9 Release Notes" into jb-mr2-dev

10 years agodocs: NDK r9 Release Notes
Joe Fernandez [Thu, 13 Jun 2013 21:36:37 +0000 (14:36 -0700)]
docs: NDK r9 Release Notes

Change-Id: I43cae1e306a8313ab2d003dbb762977f75bf8208

10 years agoam 658374d5: am 2685febd: am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes...
Joe Fernandez [Fri, 19 Jul 2013 20:05:12 +0000 (13:05 -0700)]
am 658374d5: am 2685febd: am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev

* commit '658374d56577a4f8864ba3c7ed8f2e425d13d997':
  docs: Android SDK 22.0.4 Release Notes

10 years agoam 2685febd: am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb...
Joe Fernandez [Fri, 19 Jul 2013 20:02:24 +0000 (13:02 -0700)]
am 2685febd: am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev

* commit '2685febd0d51bac4da755756b5348eb95c57ef73':
  docs: Android SDK 22.0.4 Release Notes

10 years agoam 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev
Joe Fernandez [Fri, 19 Jul 2013 19:59:11 +0000 (12:59 -0700)]
am 6f75a73c: Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev

* commit '6f75a73c04ebd5f0ae10e6e89618f492d842ed96':
  docs: Android SDK 22.0.4 Release Notes

10 years agoMerge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev
Joe Fernandez [Fri, 19 Jul 2013 19:55:47 +0000 (19:55 +0000)]
Merge "docs: Android SDK 22.0.4 Release Notes" into jb-mr1.1-ub-dev

10 years agodocs: Android SDK 22.0.4 Release Notes
Joe Fernandez [Mon, 15 Jul 2013 19:35:05 +0000 (12:35 -0700)]
docs: Android SDK 22.0.4 Release Notes

Change-Id: Ia140f81dce8352860149cf709e1ed0be46c052a0

10 years agoMerge "Make CS.isTetheringSupported dynamic" into jb-mr2-dev
Robert Greenwalt [Fri, 19 Jul 2013 17:10:38 +0000 (17:10 +0000)]
Merge "Make CS.isTetheringSupported dynamic" into jb-mr2-dev

10 years agoremove significant motion
Scott Main [Thu, 18 Jul 2013 23:10:37 +0000 (16:10 -0700)]
remove significant motion

Change-Id: I764d7253d9eb4aa9f7e94f5628a29f648fd9811b

10 years agoMerge "more details about account access in restricted profiles" into jb-mr2-dev
Scott Main [Thu, 18 Jul 2013 22:46:11 +0000 (22:46 +0000)]
Merge "more details about account access in restricted profiles" into jb-mr2-dev

10 years agoam 991487c6: am 9a1f106d: am 34a1fa43: Merge "fix typo in code sample" into jb-mr1...
Scott Main [Thu, 18 Jul 2013 22:22:16 +0000 (15:22 -0700)]
am 991487c6: am 9a1f106d: am 34a1fa43: Merge "fix typo in code sample" into jb-mr1.1-ub-dev

* commit '991487c635ea0cd9ccfaae8e030325c2e8be7a3f':
  fix typo in code sample

10 years agoam 9a1f106d: am 34a1fa43: Merge "fix typo in code sample" into jb-mr1.1-ub-dev
Scott Main [Thu, 18 Jul 2013 22:19:39 +0000 (15:19 -0700)]
am 9a1f106d: am 34a1fa43: Merge "fix typo in code sample" into jb-mr1.1-ub-dev

* commit '9a1f106d9ef33a3ea22d7b34d736586d4fae0447':
  fix typo in code sample

10 years agoam 34a1fa43: Merge "fix typo in code sample" into jb-mr1.1-ub-dev
Scott Main [Thu, 18 Jul 2013 22:16:46 +0000 (15:16 -0700)]
am 34a1fa43: Merge "fix typo in code sample" into jb-mr1.1-ub-dev

* commit '34a1fa43899dc2b0b2f249262b69c922949ab626':
  fix typo in code sample

10 years agoMerge "fix typo in code sample" into jb-mr1.1-ub-dev
Scott Main [Thu, 18 Jul 2013 22:13:55 +0000 (22:13 +0000)]
Merge "fix typo in code sample" into jb-mr1.1-ub-dev

10 years agomore details about account access in restricted profiles
Scott Main [Thu, 18 Jul 2013 22:09:03 +0000 (15:09 -0700)]
more details about account access in restricted profiles

Change-Id: I2710c3e8736748ca3080ee88f076255a6639b1e3

10 years agoMake CS.isTetheringSupported dynamic
Robert Greenwalt [Thu, 18 Jul 2013 21:24:42 +0000 (14:24 -0700)]
Make CS.isTetheringSupported dynamic

It used to be set at boot, but that was too quick to pick up carrier
specific resources.  With this change even if you switch sims subequent
checks get the new values.

bug:9865616
Change-Id: I8c270c6b02fc6bdd3c3d76ceea58172df25e058d

10 years agofix typo in code sample
Scott Main [Thu, 18 Jul 2013 17:18:57 +0000 (10:18 -0700)]
fix typo in code sample

Change-Id: Ic2e36d321f8bc3c414f8cef82319ea376eaa296e

10 years agoresolved conflics for merge of 54201120 to jb-mr2-dev
Dirk Dougherty [Thu, 18 Jul 2013 01:44:03 +0000 (18:44 -0700)]
resolved conflics for merge of 54201120 to jb-mr2-dev

Change-Id: If1675be05e403c33b320608333cb28ce2d9b68aa

10 years agoam 7eae1ef0: am c7e4be8a: Doc change: Add Colopl video to carousel and spotlight.
Dirk Dougherty [Thu, 18 Jul 2013 01:19:38 +0000 (18:19 -0700)]
am 7eae1ef0: am c7e4be8a: Doc change: Add Colopl video to carousel and spotlight.

* commit '7eae1ef0d972911d8225de6aeebf33b806ec7037':
  Doc change: Add Colopl video to carousel and spotlight.

10 years agoam c7e4be8a: Doc change: Add Colopl video to carousel and spotlight.
Dirk Dougherty [Thu, 18 Jul 2013 01:16:36 +0000 (18:16 -0700)]
am c7e4be8a: Doc change: Add Colopl video to carousel and spotlight.

* commit 'c7e4be8abdc1ce11cb0197de0e393cf39fb38c9e':
  Doc change: Add Colopl video to carousel and spotlight.

10 years agoDoc change: Add Colopl video to carousel and spotlight.
Dirk Dougherty [Thu, 18 Jul 2013 01:00:35 +0000 (18:00 -0700)]
Doc change: Add Colopl video to carousel and spotlight.

Change-Id: I70b1633ea9f6c48f76f88d08b7e9fc287f7dde93

10 years agoMerge "Add gservices updater for carrier provisioning url" into jb-mr2-dev
Robert Greenwalt [Wed, 17 Jul 2013 23:46:25 +0000 (23:46 +0000)]
Merge "Add gservices updater for carrier provisioning url" into jb-mr2-dev

10 years agoCleaner Tejat notification in Audio Package 11
Jean-Michel Trivi [Wed, 17 Jul 2013 22:38:57 +0000 (15:38 -0700)]
Cleaner Tejat notification in Audio Package 11

Add a reworked version of "Tejat", at 48kHz.
 The original asset is "/data/sounds//notifications/wav/Deneb.wav".
Use this new version in Audio Package 11 under its original name.

Bug 9900161

Change-Id: I4d7c73715db4e52f5c89aeca726f8b314e0895d5

10 years agoAdd gservices updater for carrier provisioning url
Robert Greenwalt [Tue, 16 Jul 2013 19:06:09 +0000 (12:06 -0700)]
Add gservices updater for carrier provisioning url

bug:9623159
Change-Id: I36697ed341353b7a3dbec5afe20241102e76f6f1

10 years agoMerge "When a SIM is changed check mobile provisioning." into jb-mr2-dev
Wink Saville [Wed, 17 Jul 2013 18:43:30 +0000 (18:43 +0000)]
Merge "When a SIM is changed check mobile provisioning." into jb-mr2-dev

10 years agoMerge "Add orientation to configuration for layoutlib." into jb-mr2-dev
Deepanshu Gupta [Wed, 17 Jul 2013 18:38:42 +0000 (18:38 +0000)]
Merge "Add orientation to configuration for layoutlib." into jb-mr2-dev

10 years agoMerge "Add Flo to device art generator." into jb-mr2-dev
Roman Nurik [Wed, 17 Jul 2013 16:17:14 +0000 (16:17 +0000)]
Merge "Add Flo to device art generator." into jb-mr2-dev

10 years agoWhen a SIM is changed check mobile provisioning.
Wink Saville [Wed, 17 Jul 2013 00:16:37 +0000 (17:16 -0700)]
When a SIM is changed check mobile provisioning.

A simple mechanism for doing this is to take advantage of the fact
that we require the device to reboot after a sim has been changed.
Thus when connectivity service is started we wait to get a connection
then call checkMobileProvisioning once. We also add a check that
the DEVICE_PROVISIONED is true, i.e. SetupWizard has been run.

Bug: 9784024
Change-Id: I5c1936744f6fc55a447ae44cd36eec3849d27e21

10 years agoFix missing lock in power manager.
Jeff Brown [Tue, 16 Jul 2013 22:18:19 +0000 (15:18 -0700)]
Fix missing lock in power manager.

The display wake lock and other internal state could become
out of sync if we happened to execute the power manager's update
function concurrently due to the missing lock.

This bug can be trigged due to display state changes or proximity
sensor updated.  Although it would be extremely rare, we have
some evidence of this happening on at least a few devices resulting
in rapid power drain with the screen off or a crash.

Bug: 9880044
Change-Id: I3c674ce429621a50cbb36c3a01883d5f388205b2
(cherry picked from commit d91e417b06388694db213257b4df6b4dd78e0d49)

10 years agoAdd Flo to device art generator.
Roman Nurik [Tue, 16 Jul 2013 21:32:12 +0000 (14:32 -0700)]
Add Flo to device art generator.

Change-Id: I69e5d3ff3685c250d3c44bc616aec515ebc4835e

10 years agoRemove iterators (DO NOT MERGE)
Craig Mautner [Tue, 16 Jul 2013 19:30:28 +0000 (12:30 -0700)]
Remove iterators (DO NOT MERGE)

Remove DisplayContentsIterator and AllWindowsIterator. These were cute
but they take up valuable resources. Iterate over ArrayList members
in their place.

Change-Id: Ie0c537608532cfb36f34d976cc6eacd21bad98cd

10 years agoAdd orientation to configuration for layoutlib.
Deepanshu Gupta [Fri, 12 Jul 2013 22:24:51 +0000 (15:24 -0700)]
Add orientation to configuration for layoutlib.

Update the configuration with the device orientation before rendering.

Change-Id: Icd40901204fd13f90b18353e53a15e25e5b2176c

10 years agoam ca4b112e: am 546ac85a: am ad17523d: add warning for Windows users and fix typos
Scott Main [Fri, 12 Jul 2013 21:20:11 +0000 (14:20 -0700)]
am ca4b112e: am 546ac85a: am ad17523d: add warning for Windows users and fix typos

* commit 'ca4b112eb243b1350aba000c4f021574be25bd96':
  add warning for Windows users and fix typos

10 years agoam 546ac85a: am ad17523d: add warning for Windows users and fix typos
Scott Main [Fri, 12 Jul 2013 21:17:30 +0000 (14:17 -0700)]
am 546ac85a: am ad17523d: add warning for Windows users and fix typos

* commit '546ac85a834cf033cf1f3ce82624f1f4a63d099f':
  add warning for Windows users and fix typos

10 years agoam ad17523d: add warning for Windows users and fix typos
Scott Main [Fri, 12 Jul 2013 21:15:15 +0000 (14:15 -0700)]
am ad17523d: add warning for Windows users and fix typos

* commit 'ad17523da976c2d6b7b70fd3aa9ad290e4731224':
  add warning for Windows users and fix typos

10 years agoadd warning for Windows users and fix typos
Scott Main [Fri, 12 Jul 2013 18:28:01 +0000 (11:28 -0700)]
add warning for Windows users and fix typos

Change-Id: I694baa83cde2b97cf0159a75358fa129bd656da3

10 years agoMerge "VZW wants the phoneNumber to be 10 zero's if there isn't one." into jb-mr2-dev
Wink Saville [Fri, 12 Jul 2013 18:59:03 +0000 (18:59 +0000)]
Merge "VZW wants the phoneNumber to be 10 zero's if there isn't one." into jb-mr2-dev

10 years agoMerge "Pass along the user id to AttributeCache requests" into jb-mr2-dev
Amith Yamasani [Fri, 12 Jul 2013 18:17:09 +0000 (18:17 +0000)]
Merge "Pass along the user id to AttributeCache requests" into jb-mr2-dev

10 years agoam e920ab1a: am a618e938: am c660c608: Merge "add Toshiba usb driver link delete...
Scott Main [Fri, 12 Jul 2013 01:09:53 +0000 (18:09 -0700)]
am e920ab1a: am a618e938: am c660c608: Merge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017" into jb-mr1.1-ub-dev

* commit 'e920ab1a82327976e0a25842d7d57dc7a92ba604':
  add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017

10 years agoam a618e938: am c660c608: Merge "add Toshiba usb driver link delete Fujitsu-Toshiba...
Scott Main [Fri, 12 Jul 2013 01:08:01 +0000 (18:08 -0700)]
am a618e938: am c660c608: Merge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017" into jb-mr1.1-ub-dev

* commit 'a618e93891603f825fd2c0ec1a67c96c29863dcd':
  add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017

10 years agoam c660c608: Merge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017...
Scott Main [Fri, 12 Jul 2013 01:05:44 +0000 (18:05 -0700)]
am c660c608: Merge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017" into jb-mr1.1-ub-dev

* commit 'c660c608e75791d5b4b286f34a9ec335f9e95ba6':
  add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017

10 years agoMerge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017" into jb-mr1...
Scott Main [Fri, 12 Jul 2013 01:03:22 +0000 (01:03 +0000)]
Merge "add Toshiba usb driver link delete Fujitsu-Toshiba bug: 9755017" into jb-mr1.1-ub-dev

10 years agoam c1addd47: am c7da42d7: am f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change...
Dirk Dougherty [Fri, 12 Jul 2013 01:03:17 +0000 (18:03 -0700)]
am c1addd47: am c7da42d7: am f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

* commit 'c1addd4750be5b1721a8668a110e74fa59e476c6':
  Doc change: Update gcore reference docs.

10 years agoam c7da42d7: am f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore...
Dirk Dougherty [Fri, 12 Jul 2013 01:01:26 +0000 (18:01 -0700)]
am c7da42d7: am f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

* commit 'c7da42d76470c4e9fb541058e942e31163275b83':
  Doc change: Update gcore reference docs.

10 years agoam f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference...
Dirk Dougherty [Fri, 12 Jul 2013 00:59:22 +0000 (17:59 -0700)]
am f7832a35: am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

* commit 'f7832a35f3961e1b6665b5428899cdad598f0544':
  Doc change: Update gcore reference docs.

10 years agoam d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb...
Dirk Dougherty [Fri, 12 Jul 2013 00:56:35 +0000 (17:56 -0700)]
am d6bbda24: am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

* commit 'd6bbda24150eddc59865133377f6b41c8a1ed3b5':
  Doc change: Update gcore reference docs.

10 years agoam bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs
Dirk Dougherty [Fri, 12 Jul 2013 00:54:00 +0000 (17:54 -0700)]
am bc5f9b66: Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

* commit 'bc5f9b66744b76c676543902d31d324f2dd02d09':
  Doc change: Update gcore reference docs.

10 years agoMerge "Doc change: Update gcore reference docs." into jb-mr1.1-docs
Dirk Dougherty [Fri, 12 Jul 2013 00:50:59 +0000 (00:50 +0000)]
Merge "Doc change: Update gcore reference docs." into jb-mr1.1-docs

10 years agoam 3c13e528: am 536fa1bb: am 84ad0894: fix markup error in download button and fix...
Scott Main [Fri, 12 Jul 2013 00:41:48 +0000 (17:41 -0700)]
am 3c13e528: am 536fa1bb: am 84ad0894: fix markup error in download button and fix transition to install/update guide

* commit '3c13e5284e83390301bf3306e5d77f7014483ea0':
  fix markup error in download button and fix transition to install/update guide

10 years agoam 536fa1bb: am 84ad0894: fix markup error in download button and fix transition...
Scott Main [Fri, 12 Jul 2013 00:38:31 +0000 (17:38 -0700)]
am 536fa1bb: am 84ad0894: fix markup error in download button and fix transition to install/update guide

* commit '536fa1bbe10b793e7c5d585c974693349fb8a4f5':
  fix markup error in download button and fix transition to install/update guide

10 years agoam 84ad0894: fix markup error in download button and fix transition to install/update...
Scott Main [Fri, 12 Jul 2013 00:36:53 +0000 (17:36 -0700)]
am 84ad0894: fix markup error in download button and fix transition to install/update guide

* commit '84ad0894be13b374b9b75e204dabea6a1579e131':
  fix markup error in download button and fix transition to install/update guide

10 years agofix markup error in download button and fix transition to install/update guide
Scott Main [Fri, 12 Jul 2013 00:26:13 +0000 (17:26 -0700)]
fix markup error in download button and fix transition to install/update guide

Change-Id: I54b6ed06247ff7456089058549e373a19d9e5016

10 years agoMerge "Block Wifi P2p discovery while doing dhcp." into jb-mr2-dev
Robert Greenwalt [Fri, 12 Jul 2013 00:04:45 +0000 (00:04 +0000)]
Merge "Block Wifi P2p discovery while doing dhcp." into jb-mr2-dev

10 years agoam 603c3d8a: am 3e82a9c9: am 276f0ce4: update Android Studio for v0.2.0. add release...
Scott Main [Thu, 11 Jul 2013 23:44:58 +0000 (16:44 -0700)]
am 603c3d8a: am 3e82a9c9: am 276f0ce4: update Android Studio for v0.2.0. add release notes and troubleshooting topics

* commit '603c3d8a9ac2b81be0ea09690ba324e2ed744ccd':
  update Android Studio for v0.2.0. add release notes and troubleshooting topics

10 years agoam 3e82a9c9: am 276f0ce4: update Android Studio for v0.2.0. add release notes and...
Scott Main [Thu, 11 Jul 2013 23:42:47 +0000 (16:42 -0700)]
am 3e82a9c9: am 276f0ce4: update Android Studio for v0.2.0. add release notes and troubleshooting topics

* commit '3e82a9c9a5339dca5f4a91c6e5822906cd632ae2':
  update Android Studio for v0.2.0. add release notes and troubleshooting topics

10 years agoam 276f0ce4: update Android Studio for v0.2.0. add release notes and troubleshooting...
Scott Main [Thu, 11 Jul 2013 23:40:11 +0000 (16:40 -0700)]
am 276f0ce4: update Android Studio for v0.2.0. add release notes and troubleshooting topics

* commit '276f0ce4df7f58786da08c34f548456129144aed':
  update Android Studio for v0.2.0. add release notes and troubleshooting topics

10 years agoupdate Android Studio for v0.2.0.
Scott Main [Thu, 11 Jul 2013 22:31:10 +0000 (15:31 -0700)]
update Android Studio for v0.2.0.
add release notes and troubleshooting topics

Change-Id: Ic924d61f9ab9208ed3275edb8837d8593d752ae9

10 years agoadd Toshiba usb driver link
Scott Main [Tue, 9 Jul 2013 17:43:45 +0000 (10:43 -0700)]
add Toshiba usb driver link
delete Fujitsu-Toshiba
bug: 9755017

Change-Id: If1417c7e697a2bea9fbdd3086ffeaf1528627364

10 years agoRecover from corrupt network stats.
Jeff Sharkey [Thu, 11 Jul 2013 18:18:53 +0000 (11:18 -0700)]
Recover from corrupt network stats.

When encountering corrupt stats, throw as IOException to allow
recovery at a higher level.

Bug: 9794832
Change-Id: I38d000b3bd8a4c99389c40a87ee0699efb6e9049

10 years agoBlock Wifi P2p discovery while doing dhcp.
Robert Greenwalt [Fri, 28 Jun 2013 22:55:28 +0000 (15:55 -0700)]
Block Wifi P2p discovery while doing dhcp.

bug:9531609
bug:9302399
Change-Id: Ie4b7c3a75245a0e7cc09fa89ddb1187d349779a1

10 years agoVZW wants the phoneNumber to be 10 zero's if there isn't one.
Wink Saville [Thu, 11 Jul 2013 06:00:07 +0000 (23:00 -0700)]
VZW wants the phoneNumber to be 10 zero's if there isn't one.

Bug: 9784059
Change-Id: I41bba908855648d2560440655d8a75a7cb2e0859