OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge tag 'android-4.3.1_r1' into jb-x86 jb-x86
Chih-Wei Huang [Sat, 19 Oct 2013 18:52:16 +0000 (02:52 +0800)]
Merge tag 'android-4.3.1_r1' into jb-x86

Android 4.3.1 Release 1

10 years agoMerge branch 'android-ia3' into jb-x86
Chih-Wei Huang [Wed, 25 Sep 2013 03:02:23 +0000 (11:02 +0800)]
Merge branch 'android-ia3' into jb-x86

10 years agoMediaFile: support more media types
Chih-Wei Huang [Fri, 13 Sep 2013 08:15:12 +0000 (16:15 +0800)]
MediaFile: support more media types

10 years agoCaptivePortalTracker.java: add Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
Yongqin Liu [Mon, 12 Aug 2013 08:35:00 +0000 (16:35 +0800)]
CaptivePortalTracker.java: add Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT

Add the Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT for
ConnectivityManager.ACTION_CAPTIVE_PORTAL_TEST_COMPLETED) action, so
that we will not have the "FATAL EXCEPTION IN SYSTEM PROCESS:
CaptivePortalTracker" error which will cause many services died

Change-Id: I028c51384ee5bb93db6a0b904a4dfe974bf20fa5
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
10 years agoVolume: Enable "Volume mute" key on HSW
Billy [Fri, 28 Jun 2013 09:00:07 +0000 (17:00 +0800)]
Volume: Enable "Volume mute" key on HSW

Fix:
Android doesn't use master stream by default (config_useMasterVolume=false),
it cause AudioManager doesn't handle VOLUME_MUTE event. Modify AudioManager
to deal with this event, which make "Volume mute" key work.

There are 3 kind of behavior for "Volume mute" key, "Mute master stream",
"Mute activity stream" and "Mute all affected streams". Selecting the
first one as its behavior. The reasons are:

1. Mute activity stream, other streams still work. Once the activity stream
swith out, it is not easy to unmute it for user, and this behavior is different with
other desktop system usage habit, like windows.
2. For "Mute all affected streams", If the streams have different original status, some are
muted, the others are not muted, How can we define the behavior once "Volume mute" key
pressing down, mute the unmuted streams or unmute the muted streams?

Issue: AXIA-2773
Change-Id: I87179ab1ef58ca9973b6f4421039ec492fb417a7
Signed-off-by: Xiaobing Feng <xiaobing.feng@windriver.com>
10 years agoSet PS2 Keyboard controller as not a ketboard type
juntingwang [Fri, 1 Mar 2013 08:02:56 +0000 (16:02 +0800)]
Set PS2 Keyboard controller as not a ketboard type

The Eventhub detects the platforms built-in PS/2 keyboard controller
as a physical keyboard. So the system will not display the software
keyboard by default. Modify it device type in Keyboard-less tablets,
so that ActivityManager will not ignore the PS/2 controller.

Issue: AXIA-1875

Change-Id: Ia5b7592e82aaf1970066bab5e9ca5f46ac83ab1c
Signed-off-by: juntingwang <Junting.Wang@windriver.com>
10 years agoMake "windows" key to act as "home" key
juntingwang [Wed, 24 Apr 2013 06:06:08 +0000 (14:06 +0800)]
Make "windows" key to act as "home" key

Issue: AXIA-1893
Change-Id: I7b2b19f7e34ec8a1867e8e6ce522e65133e5267f
Signed-off-by: juntingwang <Junting.Wang@windriver.com>
10 years agoGLSurfaceView: Be less picky about EGLConfig alpha sizes
Andy Ross [Tue, 15 Jan 2013 23:05:38 +0000 (15:05 -0800)]
GLSurfaceView: Be less picky about EGLConfig alpha sizes

EGLChooseConfig returns a "best match" set of visuals meeting or
exceeding the required r/g/b/a component depths.  But GLSurfaceView
oddly requires that the returned visual be an exact match.  Add to
that that the (rarely used outside of CTS) default request specifies
zero alpha bits and that not all drivers expose a zero-alpha
EGLConfig, and the default configuration will fail needlessly.

It's not incorrect to have alpha bits you didn't request: the only way
to produce divergent behavior is for a fragment shader to write out
explicit alpha values (into the channel it didn't want to begin with!)
with values other than 1.0 and then rely on them being ignored and
treated as 1.0.

For: AXIA-1448
Change-Id: I2f64995d7b9de1ae082aa47822af525390102083
Signed-off-by: Andy Ross <andy.ross@windriver.com>
10 years agoframework: add neon white list mechanism for applications installed with ABI2
Zhenghua Wang [Mon, 31 Dec 2012 03:12:37 +0000 (11:12 +0800)]
framework: add neon white list mechanism for applications installed with ABI2

BZ: 76964

add neon white list mechanism for applications installed with ABI2.

Change-Id: I1f900ae63252f1443086ceb06a0e07a89ca42965
Signed-off-by: llin4 <ling.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/84166
Reviewed-by: Wang, Zhenghua <zhenghua.wang@intel.com>
Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
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 agolibandroid_runtime: determine whether to use OpenGL renderer at runtime
Chih-Wei Huang [Thu, 25 Jul 2013 20:34:26 +0000 (04:34 +0800)]
libandroid_runtime: determine whether to use OpenGL renderer at runtime

10 years agoBatteryService: improve battery status support for x86
Chih-Wei Huang [Tue, 23 Jul 2013 09:10:33 +0000 (17:10 +0800)]
BatteryService: improve battery status support for x86

Only set charge level if data is read correctly.
In some cases the battery path may just disappear a while.
Do not set 0 in such cases to avoid shutdown suddenly.

Update the battery status every 30 seconds.

Add more messages for debugging.

10 years agoBatteryService: fix logic errors
Chih-Wei Huang [Tue, 23 Jul 2013 05:52:11 +0000 (13:52 +0800)]
BatteryService: fix logic errors

(!String8_instance) doesn't mean an empty string. The object is
implicitly casted to const char *. Therefore it just means
(!String8_instance.string()) which is always false.

10 years agocamera: fix NullPointerException
Chih-Wei Huang [Wed, 20 Feb 2013 17:46:17 +0000 (01:46 +0800)]
camera: fix NullPointerException

10 years agoEventHub: load a default .idc if no other .idc found for touchscreen
Chih-Wei Huang [Tue, 17 Jul 2012 08:11:07 +0000 (16:11 +0800)]
EventHub: load a default .idc if no other .idc found for touchscreen

The patch moves loadConfigurationLocked to later stage that may cause issues
if upstream changes. Needs to review it on rebasing.

10 years agoAdded option to disable touchscreen pressure sensitivity from idc files
Edward Peek [Tue, 3 Apr 2012 18:17:00 +0000 (06:17 +1200)]
Added option to disable touchscreen pressure sensitivity from idc files

10 years agoSupport old single-touch touchscreens with BTN_LEFT
DanielK [Tue, 20 Mar 2012 06:28:43 +0000 (14:28 +0800)]
Support old single-touch touchscreens with BTN_LEFT

10 years agoskip non Android VT events
Chih-Wei Huang [Wed, 22 Feb 2012 12:07:17 +0000 (20:07 +0800)]
skip non Android VT events

The patch is modified for ICS from

http://git.alwaysinnovating.com/cgit.cgi/ai.android/tree/preprocess/froyo/patches/noinput.patch

10 years agodisables hardware acceleration if debug.egl.hw=0
Chih-Wei Huang [Thu, 8 Dec 2011 12:16:29 +0000 (20:16 +0800)]
disables hardware acceleration if debug.egl.hw=0

10 years agowifi: get interface name from wlan.interface
Chih-Wei Huang [Thu, 1 Sep 2011 06:41:36 +0000 (14:41 +0800)]
wifi: get interface name from wlan.interface

10 years agoDo not always call setIsConnectedToProvisioningNetwork(false)
Wink Saville [Sat, 21 Sep 2013 16:01:19 +0000 (09:01 -0700)]
Do not always call setIsConnectedToProvisioningNetwork(false)

Previously I was calling setIsConnectedToProvisioningNetwork(false) always,
but all MDST's receive every broadcast. Thus we could over write an MDST's
mNetworkInfo.mIsConnectedToProvisioningNetwork to false, unless the MDST
that was set to true was last, i.e the code was order dependent.

If the provisioning networks value was false instead of true
when handleMobileProvisioningAction was called we wouldn't invoke
mdst.enableMobileProvisioning because network info would be null.

Thus the provisioning network would never transition to CONNECTED and
a default route wouldn't get setup and the browser couldn't access the
website.

Now setIsConnectedToProvisioningNetwork is only set to false when the
apnType matches and we won't indiscriminately change it and are not
order dependent.

Bug: 10853805
Change-Id: I68a4f9bdf5dc18d90f4cdef7a60811f57be67261

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