OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 6357cd09: am 496cfbf7: Doc change: Add IAB v2 deprecation notice.
Dirk Dougherty [Thu, 18 Sep 2014 03:31:23 +0000 (03:31 +0000)]
am 6357cd09: am 496cfbf7: Doc change: Add IAB v2 deprecation notice.

* commit '6357cd095abf105f2c62a4cba459e50f49cfd5c7':
  Doc change: Add IAB v2 deprecation notice.

9 years agoSome accessibility events wrongly filtered out (regression).
Svetoslav [Thu, 18 Sep 2014 00:17:50 +0000 (17:17 -0700)]
Some accessibility events wrongly filtered out (regression).

We added new APIs to allow accessibility services to query all
windows a user can touch. Sometimes the window state change
event arrives before the window manager sent over the new window
state which leads to a case that the app gets the event and
asks for the window and the window is not there. To address this
if we do not have the window, we hold on to the event and
fire it as soon as the window arrives. This logic is correct
except we were wrongly expecting that the window should have
input focus.

bug:17464645

Change-Id: I1ef50ebddeb4416a6c0776b096bb16aee703700c

9 years agoMerge "Protect from null Intent" into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 01:36:08 +0000 (01:36 +0000)]
Merge "Protect from null Intent" into lmp-dev

9 years agoMerge "Fix UserManager#isUserAGoat" into lmp-dev
Adam Powell [Thu, 18 Sep 2014 01:27:39 +0000 (01:27 +0000)]
Merge "Fix UserManager#isUserAGoat" into lmp-dev

9 years agoFix UserManager#isUserAGoat
Adam Powell [Thu, 18 Sep 2014 00:58:33 +0000 (17:58 -0700)]
Fix UserManager#isUserAGoat

Correctly detect if the user is a goat.

Change-Id: I78577dd7ec8c3685434ee03560010a6ea4db127f

9 years agoMerge "Allow carrier specific requirement on GPS features to be specified through...
Tsuwei Chen [Thu, 18 Sep 2014 01:00:49 +0000 (01:00 +0000)]
Merge "Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key. Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement on GPS features can be specified properly without messing up with the real capability. This will satisfy VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence." into lmp-dev

9 years agoam 496cfbf7: Doc change: Add IAB v2 deprecation notice.
Dirk Dougherty [Thu, 18 Sep 2014 01:00:09 +0000 (01:00 +0000)]
am 496cfbf7: Doc change: Add IAB v2 deprecation notice.

* commit '496cfbf7a83e4c0f66ece27f36c2dc3d31994ff1':
  Doc change: Add IAB v2 deprecation notice.

9 years agoProtect from null Intent
Craig Mautner [Thu, 18 Sep 2014 00:23:44 +0000 (17:23 -0700)]
Protect from null Intent

No bad intentions.

Fixes bug 17482657.

Change-Id: I0234787eb5e39cbdb548fb219341635cddd8b5d9

9 years agoMerge "Use unified Tethering Permission Check" into lmp-dev
Robert Greenwalt [Thu, 18 Sep 2014 00:02:15 +0000 (00:02 +0000)]
Merge "Use unified Tethering Permission Check" into lmp-dev

9 years agoMerge "Special case EGL_BAD_SURFACE" into lmp-dev
John Reck [Wed, 17 Sep 2014 23:30:43 +0000 (23:30 +0000)]
Merge "Special case EGL_BAD_SURFACE" into lmp-dev

9 years agoUse unified Tethering Permission Check
Robert Greenwalt [Wed, 17 Sep 2014 00:54:19 +0000 (17:54 -0700)]
Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks.  This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b

9 years agoSpecial case EGL_BAD_SURFACE
John Reck [Wed, 17 Sep 2014 23:06:36 +0000 (16:06 -0700)]
Special case EGL_BAD_SURFACE

 Bug: 17516789

Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6

9 years agoMerge "Fix issue #17536024: The am start's wait option doesn't..." into lmp-dev
Dianne Hackborn [Wed, 17 Sep 2014 23:07:16 +0000 (23:07 +0000)]
Merge "Fix issue #17536024: The am start's wait option doesn't..." into lmp-dev

9 years agoAllow carrier specific requirement on GPS features to be specified through a dedicate...
Tsuwei Chen [Wed, 17 Sep 2014 19:28:49 +0000 (12:28 -0700)]
Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key.
Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate
the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement
on GPS features can be specified properly without messing up with the real capability. This will satisfy
VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence.

Bug: 17423585
Bug: 17288144

Change-Id: I71173722d4b12bfc17562f7b5444d22b01ff4590

9 years agoPage content sometimes missing in preview when scrolling.
Svetoslav [Wed, 17 Sep 2014 22:45:16 +0000 (15:45 -0700)]
Page content sometimes missing in preview when scrolling.

Removed the restriction for the page content providers to
be singletons as the RecyclerView may hold on views with
providers and ask us to bind other views for the same page.
Note that the views that RecyclerView is holding will be
soon rebound or recycled just they are not at the time we
bind other views for the same position. We were guarding
against this but caused some pages not appearing sometimes
on scrolling. Also now keeping the media size and magins
of recycled page view (will be updated if needed on
rebinding) or avoid changes of the background to null as
setting it to not null later causes an undesired layout pass.

bug:17537922

Change-Id: If029f6c413e15d4f5c1ba1ac5e4d52ad2cad5904

9 years agoDoc change: Add IAB v2 deprecation notice.
Dirk Dougherty [Wed, 17 Sep 2014 22:20:38 +0000 (15:20 -0700)]
Doc change: Add IAB v2 deprecation notice.

Change-Id: Ide22c4aa8c56fdd83cb6ce2989eb8c449c55c7c1

Conflicts:
docs/html/google/play/billing/index.jd

9 years agoMerge "fix configure 5GHz RSSI thresholds, Bug:17514073" into lmp-dev
vandwalle [Wed, 17 Sep 2014 22:17:48 +0000 (22:17 +0000)]
Merge "fix configure 5GHz RSSI thresholds, Bug:17514073" into lmp-dev

9 years agoMerge "Work on issue #17506095: Add ability to lock IME for specified apps" into...
Dianne Hackborn [Wed, 17 Sep 2014 22:09:31 +0000 (22:09 +0000)]
Merge "Work on issue #17506095: Add ability to lock IME for specified apps" into lmp-dev

9 years agofix configure 5GHz RSSI thresholds, Bug:17514073
vandwalle [Wed, 17 Sep 2014 21:55:10 +0000 (14:55 -0700)]
fix configure 5GHz RSSI thresholds, Bug:17514073

Change-Id: I5cdecabdfc7a085d4b277096d05cc215f7db4104

9 years agoMerge "Remove Rhodi keylayout" into lmp-dev
Michael Wright [Wed, 17 Sep 2014 21:44:56 +0000 (21:44 +0000)]
Merge "Remove Rhodi keylayout" into lmp-dev

9 years agoMerge "Change default fbo cache size to 0" into lmp-dev
John Reck [Wed, 17 Sep 2014 21:35:01 +0000 (21:35 +0000)]
Merge "Change default fbo cache size to 0" into lmp-dev

9 years agoMerge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection...
David Christie [Wed, 17 Sep 2014 21:20:26 +0000 (21:20 +0000)]
Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515" into lmp-dev

9 years agoChange default fbo cache size to 0
John Reck [Wed, 17 Sep 2014 21:09:26 +0000 (14:09 -0700)]
Change default fbo cache size to 0

 Bug: 17479800

 FBO cache is very expensive and no longer necessary, disable
 it by just setting size to 0.

Change-Id: I664616f262c8339919e1d20baaafa5de2b628d7e

9 years agoMerge "Handle action mode changes properly for actionbar tabs" into lmp-dev
Yigit Boyar [Wed, 17 Sep 2014 21:00:40 +0000 (21:00 +0000)]
Merge "Handle action mode changes properly for actionbar tabs" into lmp-dev

9 years agoWork on issue #17506095: Add ability to lock IME for specified apps
Dianne Hackborn [Wed, 17 Sep 2014 20:20:38 +0000 (13:20 -0700)]
Work on issue #17506095: Add ability to lock IME for specified apps

Add a new configuration to speciify apps that partcipate in the
feature.

Change-Id: I8f5139b5ea09e758bff4472b2294df8becc74614

9 years agoMerge "Fix issues with multiple languages and multi-users" into lmp-dev
Sandeep Siddhartha [Wed, 17 Sep 2014 20:06:42 +0000 (20:06 +0000)]
Merge "Fix issues with multiple languages and multi-users" into lmp-dev

9 years agoFix issue #17536024: The am start's wait option doesn't...
Dianne Hackborn [Wed, 17 Sep 2014 19:47:35 +0000 (12:47 -0700)]
Fix issue #17536024: The am start's wait option doesn't...

...give time in some cases

This switch to multiple stacks broke the check to determine if it
should actually wait for a new activity to be shown.  The new check
now also requires that the top activity be resumed, which means
we may get some false positives where we decide to wait and shouldn't,
but that is better than consistently not deciding to wait in some
cases when we should.  (And we will always finish waiting then next
time something becomes visible).

Also add another time, which is how long it took from the startActivity
call to return with the result.  And fix when we decide to report that
we are done so that, in the case where we are bringing an existing
activity to the foreground, we don't wait until its animation is complete.

Change-Id: Id38ca0070f04e7bf8c73e131fb055808553a0e2f

9 years agoMerge "Revert body font size to 14sp, fix ActionBar menu text color" into lmp-dev
Alan Viverette [Wed, 17 Sep 2014 19:20:32 +0000 (19:20 +0000)]
Merge "Revert body font size to 14sp, fix ActionBar menu text color" into lmp-dev

9 years agoRevert body font size to 14sp, fix ActionBar menu text color
Alan Viverette [Wed, 17 Sep 2014 19:19:56 +0000 (12:19 -0700)]
Revert body font size to 14sp, fix ActionBar menu text color

BUG: 17549070
BUG: 17538527
Change-Id: Id4d412ae3c035c6f76ae10569658a0d97e36a0e8

9 years agoMerge "Fix badge asset alpha issue" into lmp-dev
ztenghui [Wed, 17 Sep 2014 19:17:24 +0000 (19:17 +0000)]
Merge "Fix badge asset alpha issue" into lmp-dev

9 years agoMerge "NetworkStats always needs arrays." into lmp-dev
Jeff Sharkey [Wed, 17 Sep 2014 19:01:10 +0000 (19:01 +0000)]
Merge "NetworkStats always needs arrays." into lmp-dev

9 years agoMerge "Page content sometimes disappears when scrolling a long doc in print preview...
Svetoslav [Wed, 17 Sep 2014 18:52:18 +0000 (18:52 +0000)]
Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev

9 years agoFix badge asset alpha issue
ztenghui [Wed, 17 Sep 2014 18:23:09 +0000 (11:23 -0700)]
Fix badge asset alpha issue

b/17544362

Change-Id: Ibf22918ccfebe082a25f28f0d4c1991e700a1fd2

9 years agoPage content sometimes disappears when scrolling a long doc in print preview.
Svetoslav [Tue, 16 Sep 2014 21:41:17 +0000 (14:41 -0700)]
Page content sometimes disappears when scrolling a long doc in print preview.

The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.

Also fixed a NPE if the preview list is flinged and then the user presses
back.

bug:17537922

Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2

9 years agoMerge "Eliminate misleading warning." into lmp-dev
Craig Mautner [Wed, 17 Sep 2014 18:02:43 +0000 (18:02 +0000)]
Merge "Eliminate misleading warning." into lmp-dev

9 years agoMerge "Add optimizations to keep TaskPersister queue small." into lmp-dev
Craig Mautner [Wed, 17 Sep 2014 18:01:45 +0000 (18:01 +0000)]
Merge "Add optimizations to keep TaskPersister queue small." into lmp-dev

9 years agoMerge "Include code when converting unknown causes to string" into lmp-dev
Sailesh Nepal [Wed, 17 Sep 2014 17:33:10 +0000 (17:33 +0000)]
Merge "Include code when converting unknown causes to string" into lmp-dev

9 years agoam 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 17:10:01 +0000 (17:10 +0000)]
am 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch

* commit '4243ec2a84e9e42237e8e5bfd5cfb675f765d84f':
  docs: edu changes for launch

9 years agoam 67267dcf: am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscripti...
Andrew Solovay [Wed, 17 Sep 2014 17:09:46 +0000 (17:09 +0000)]
am 67267dcf: am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit '67267dcf909e080ea3adf902c8a9df115bd1b279':
  Docs: Updated to include new Subscriptions functionality.

9 years agoMerge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
Chris Craik [Wed, 17 Sep 2014 17:01:34 +0000 (17:01 +0000)]
Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev

9 years agoHandle premultiplication correctly for ColorMatrixColorFilters
Chris Craik [Wed, 17 Sep 2014 00:32:13 +0000 (17:32 -0700)]
Handle premultiplication correctly for ColorMatrixColorFilters

bug:17405627

Previously, the input content to the color matrix computation was left
premultiplied. Since the color matrix could reduce the alpha channel,
the alpha was re-multiplied, but this was incomplete, and incorrect.

Instead, apply the color matrix in unpremultiplied space.

Change-Id: I87b8e03d2e228e6ded81f7bbfea952605d7a095c

9 years agoEliminate misleading warning.
Craig Mautner [Wed, 17 Sep 2014 16:34:30 +0000 (09:34 -0700)]
Eliminate misleading warning.

Remove token from deferred list of tokens to be removed once token
is removed. Leaving it in the list leads to logging messages like
"WindowManager: removeAppFromTaskLocked: token=AppWindowToken{...
} not found" when an attempt to remove it a second time fails.

Discovered in logs from b/17512377.

Change-Id: Ic83d81841b9b74ae5c4c433d1086d3bbda8e1d64

9 years agoNetworkStats always needs arrays.
Jeff Sharkey [Wed, 17 Sep 2014 16:26:28 +0000 (09:26 -0700)]
NetworkStats always needs arrays.

Internal logic relies on Arrays.copyOf(), so always give ourselves
valid arrays, using shared empty objects to save overhead.

Bug: 17502649
Change-Id: I5dbb00545bdfe45bbd48144ab505ea08cc92cbcd

9 years agoMerge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev
Esteban Talavera [Wed, 17 Sep 2014 15:37:26 +0000 (15:37 +0000)]
Merge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev

9 years agoam 9efd9f60: am fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 15:33:16 +0000 (15:33 +0000)]
am 9efd9f60: am fc95c477: docs: edu changes for launch

* commit '9efd9f607006b3e02cda714901884e1ce22475d3':
  docs: edu changes for launch

9 years agoam fc95c477: docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 15:19:15 +0000 (15:19 +0000)]
am fc95c477: docs: edu changes for launch

* commit 'fc95c477835f86d99cf8c7ce5c1dd098fa42e69c':
  docs: edu changes for launch

9 years agodocs: edu changes for launch
Robert Ly [Fri, 12 Sep 2014 17:19:40 +0000 (10:19 -0700)]
docs: edu changes for launch

Change-Id: Ia9047138bd9972e572b5dd93310339b630a2810d

9 years agoMerge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev
Christoph Studer [Wed, 17 Sep 2014 14:17:31 +0000 (14:17 +0000)]
Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev

9 years agoMerge "Reorder user icon colors so that the first default is teal" into lmp-dev
Alexandra Gherghina [Wed, 17 Sep 2014 11:49:28 +0000 (11:49 +0000)]
Merge "Reorder user icon colors so that the first default is teal" into lmp-dev

9 years agoSysUI: Add no-wallpaper recents theme for low GFX devices
Christoph Studer [Tue, 16 Sep 2014 18:23:13 +0000 (20:23 +0200)]
SysUI: Add no-wallpaper recents theme for low GFX devices

Also add a config flag to control the theme to apply to RecentsActivity.

Bug: 17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07

9 years agoAdd optimizations to keep TaskPersister queue small.
Craig Mautner [Wed, 17 Sep 2014 06:57:21 +0000 (23:57 -0700)]
Add optimizations to keep TaskPersister queue small.

CTS tests cause the TaskPersister queue to fill faster than it can
drain. Since it contains screenshots this can consume massive
memory. Monkey may also cause the queue to back up.

Several optimizations are added to drain the queue when it gets
large:
- High water mark to recognize when queue gets too deep. Queue is
completely drained at this point so that obsolete files can be
removed from storage.
- Use Thread.yield() to give the TaskPersister write thread some cpu
cycles.
- Remove images from write queue when TaskRecord is removed from
recents.

May fix bug 17177273.
May fix bug 17381033.

Change-Id: If21c03c8f380e5f6816cf4701a40fcfe34ace3f1

9 years agoam 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functiona...
Andrew Solovay [Wed, 17 Sep 2014 06:12:12 +0000 (06:12 +0000)]
am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit '6c6664c95d7935398909e798e0aad451a2a83b1b':
  Docs: Updated to include new Subscriptions functionality.

9 years agoam a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into...
Andrew Solovay [Wed, 17 Sep 2014 06:01:09 +0000 (06:01 +0000)]
am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

* commit 'a209406faa1f2b0f1dd7b6e3c5a468729f1c562f':
  Docs: Updated to include new Subscriptions functionality.

9 years agoInclude code when converting unknown causes to string
Sailesh Nepal [Wed, 17 Sep 2014 02:30:32 +0000 (19:30 -0700)]
Include code when converting unknown causes to string

Bug: 17535687
Bug: 17241433
Change-Id: I12f0c3b4334dfcb5ac0cd2439ecab9dc77546680

9 years agoAdd playDtmfTone, stopDtmfTone and setAudioState to RemoteConference
Yorke Lee [Tue, 16 Sep 2014 17:43:06 +0000 (10:43 -0700)]
Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference

Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e

9 years agoMerge "Add missing methods to Conference object" into lmp-dev
Yorke Lee [Wed, 17 Sep 2014 03:29:11 +0000 (03:29 +0000)]
Merge "Add missing methods to Conference object" into lmp-dev

9 years agoMerge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
Nancy Chen [Wed, 17 Sep 2014 03:23:03 +0000 (03:23 +0000)]
Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev

9 years agoMerge "Docs: Updated to include new Subscriptions functionality." into klp-modular...
Andrew Solovay [Wed, 17 Sep 2014 02:21:09 +0000 (02:21 +0000)]
Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs

9 years agoMerge "Fix disconnect log printf in ConnectionService." into lmp-dev
Andrew Lee [Wed, 17 Sep 2014 01:52:53 +0000 (01:52 +0000)]
Merge "Fix disconnect log printf in ConnectionService." into lmp-dev

9 years agoMerge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev
Jungshik Jang [Wed, 17 Sep 2014 01:29:53 +0000 (01:29 +0000)]
Merge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev

9 years agoAdjust volume bar visibility in HDMI-CEC system audio mode
Jungshik Jang [Tue, 16 Sep 2014 02:04:54 +0000 (11:04 +0900)]
Adjust volume bar visibility in HDMI-CEC system audio mode

When HDMI-CEC system audio mode is activated.
1. Hide volume bar when volume button is pressed in TV
2. Show volume bar when TV receives volume notification from
   Audio Receiver.

Otherwise, (system audio mode off) follows normal TV's behavior.

Bug: 17347499

Change-Id: I1f5bc14285d60d8626a8fbbef9e1959cae7d193b

9 years agoMerge "Remove MHL related code." into lmp-dev
Yuncheol Heo [Wed, 17 Sep 2014 01:28:25 +0000 (01:28 +0000)]
Merge "Remove MHL related code." into lmp-dev

9 years agoHandle action mode changes properly for actionbar tabs
Yigit Boyar [Wed, 17 Sep 2014 01:28:03 +0000 (18:28 -0700)]
Handle action mode changes properly for actionbar tabs

Bug: 17513613
Change-Id: I4ebcadc618558153b72bf577232adc3e616adb6b

9 years agoMerge "Fix a small printf format bug." into lmp-dev
mike dooley [Wed, 17 Sep 2014 01:25:13 +0000 (01:25 +0000)]
Merge "Fix a small printf format bug." into lmp-dev

9 years agoFix disconnect log printf in ConnectionService.
Andrew Lee [Wed, 17 Sep 2014 01:14:59 +0000 (18:14 -0700)]
Fix disconnect log printf in ConnectionService.

Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01

9 years agoRemove MHL related code.
Yuncheol Heo [Wed, 17 Sep 2014 01:15:40 +0000 (10:15 +0900)]
Remove MHL related code.

Bug: 17479050
Change-Id: Id4a76ccf7325c78817d1b3c3460e5dc40e23831b

9 years agoFix a small printf format bug.
mike dooley [Wed, 17 Sep 2014 00:33:40 +0000 (17:33 -0700)]
Fix a small printf format bug.

Bug: 17534940
Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1

9 years agoMerge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into...
Dianne Hackborn [Wed, 17 Sep 2014 00:14:43 +0000 (00:14 +0000)]
Merge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into lmp-dev

9 years agoMerge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time...
Dianne Hackborn [Wed, 17 Sep 2014 00:13:37 +0000 (00:13 +0000)]
Merge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time" into lmp-dev

9 years agoMerge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev
Robert Greenwalt [Wed, 17 Sep 2014 00:06:02 +0000 (00:06 +0000)]
Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev

9 years agoAdd NetworkAgent event for ExplicitlySelected
Robert Greenwalt [Sun, 7 Sep 2014 23:50:01 +0000 (16:50 -0700)]
Add NetworkAgent event for ExplicitlySelected

Lets Wifi tell us when the user selected this AP vs auto-connected.

bug:17396168
Change-Id: I6e067ab62ed49040629aa31fe07ff880d3d542f0

9 years agoRemove Rhodi keylayout
Michael Wright [Tue, 16 Sep 2014 23:48:58 +0000 (16:48 -0700)]
Remove Rhodi keylayout

Looks like Broadcom re-used the Rhodi PID since we never shipped.
Remove the keylayout so we don't accidentally use it for other
devices.

Bug: 17504946
Change-Id: Ia11ad40f8ba7d49f82e7f68d881cf7c9bfafcb37

9 years agoMerge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev
Adrian Roos [Tue, 16 Sep 2014 23:42:38 +0000 (23:42 +0000)]
Merge "Fix broken dispatch of onApplyWindowInsets" into lmp-dev

9 years agoMerge "Pass different dy into dispatchNestedSCroll" into lmp-dev
Brian Attwell [Tue, 16 Sep 2014 23:33:23 +0000 (23:33 +0000)]
Merge "Pass different dy into dispatchNestedSCroll" into lmp-dev

9 years agoMerge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:25:07 +0000 (23:25 +0000)]
Merge "Preserve NPE behavior of removed TextView.getTextColors() API" into lmp-dev

9 years agoMerge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:23:22 +0000 (23:23 +0000)]
Merge "Fix TimePicker.setCurrentHour() when argument is 0" into lmp-dev

9 years agoFix issue #16662560: SingleTop activity is getting instantiated multiple time
Dianne Hackborn [Tue, 16 Sep 2014 18:11:23 +0000 (11:11 -0700)]
Fix issue #16662560: SingleTop activity is getting instantiated multiple time

Introduce a concept of a "root affinity" to a task -- this is the
affinity of the initial activity in the task.  Use this instead of
the current affinity in findTaskLocked(), where we look for an
existing task to use for a NEW_TASK intent.

This changes the semantics of the new "relinquish task identity" mode
so that it doesn't relinquish the root affinity of the task.  This
means when we are in the old style application-based recents matching
of findTaskLocked(), we will never count these tasks as the same as
the application's tasks only because they have relinquished their
identity to that application.  This is probably okay, it is basically
putting a different line between new document-centric recents and
old application-centric recents when they are mixed together.

Change-Id: I73a22ead9bd08e98bf67ad035a017f828c6a6715

9 years agoMerge "Ensure we always have valid colors in CaptionStyle" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 23:20:27 +0000 (23:20 +0000)]
Merge "Ensure we always have valid colors in CaptionStyle" into lmp-dev

9 years agoMerge "Update the progress bar to square instead of round lineCap" into lmp-dev
ztenghui [Tue, 16 Sep 2014 23:18:36 +0000 (23:18 +0000)]
Merge "Update the progress bar to square instead of round lineCap" into lmp-dev

9 years agoMerge "Report Network status to NetworkAgent." into lmp-dev
Robert Greenwalt [Tue, 16 Sep 2014 22:59:31 +0000 (22:59 +0000)]
Merge "Report Network status to NetworkAgent." into lmp-dev

9 years agoMerge "Restore changes that were needed." into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:53:33 +0000 (22:53 +0000)]
Merge "Restore changes that were needed." into lmp-dev

9 years agoEnsure we always have valid colors in CaptionStyle
Alan Viverette [Tue, 16 Sep 2014 22:53:33 +0000 (15:53 -0700)]
Ensure we always have valid colors in CaptionStyle

BUG: 17521623
Change-Id: I861aa189970fc14dd3e4426e5487a14f373d3a2e

9 years agoMerge "Increase clock and calendar haptic feedback durations" into lmp-dev
Alan Viverette [Tue, 16 Sep 2014 22:50:44 +0000 (22:50 +0000)]
Merge "Increase clock and calendar haptic feedback durations" into lmp-dev

9 years agoRestore changes that were needed.
Craig Mautner [Tue, 16 Sep 2014 22:38:47 +0000 (15:38 -0700)]
Restore changes that were needed.

Reverting the changes in ag/548487 also reverted alanv's changes
in ag/547793. This restores alanv's changes.

Fixes build.

Change-Id: Ifa2aa928a3ad29fe49e52dbec4e4833538dfe7e9

9 years agoPass different dy into dispatchNestedSCroll
Brian Attwell [Tue, 16 Sep 2014 21:46:20 +0000 (14:46 -0700)]
Pass different dy into dispatchNestedSCroll

Bug: 16462679
Bug: 17529919
Change-Id: I328457a27507253cc7bfeab0e2daa4d4563aab17

9 years agoUpdate the progress bar to square instead of round lineCap
ztenghui [Tue, 16 Sep 2014 22:37:03 +0000 (15:37 -0700)]
Update the progress bar to square instead of round lineCap

b/17206751

Change-Id: I4125a1e677d2888ad1c3580dc44d5983e623cda7

9 years agoPreserve NPE behavior of removed TextView.getTextColors() API
Alan Viverette [Tue, 16 Sep 2014 22:41:27 +0000 (15:41 -0700)]
Preserve NPE behavior of removed TextView.getTextColors() API

BUG: 17511449
Change-Id: Iea7e9aed69c21b230e3c474d4c1378a8663cfcb1

9 years agoMerge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 22:16:29 +0000 (22:16 +0000)]
Merge "Revert "Fix various bugs in DatePickerCalendarDelegate"" into lmp-dev

9 years agoRevert "Fix various bugs in DatePickerCalendarDelegate"
Craig Mautner [Tue, 16 Sep 2014 22:12:47 +0000 (22:12 +0000)]
Revert "Fix various bugs in DatePickerCalendarDelegate"

alanv@ fixed this yesterday.

This reverts commit 82537efa4c5f4aad12b9aa249fb27eda21647f39.

Change-Id: If2b91ee36f8b24f695200ac1a87a306246ee5e44

9 years agoIncrease clock and calendar haptic feedback durations
Alan Viverette [Tue, 16 Sep 2014 22:08:10 +0000 (15:08 -0700)]
Increase clock and calendar haptic feedback durations

Some devices don't handle sub-15ms vibration durations very well.

BUG: 17511995
Change-Id: I2212ed9f37f3446e6f4ac5985906294121d39a9d

9 years agoMerge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev
John Spurlock [Tue, 16 Sep 2014 21:54:01 +0000 (21:54 +0000)]
Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev

9 years agoMerge "Add new DisconnectCause class to telecomm." into lmp-dev
Andrew Lee [Tue, 16 Sep 2014 21:43:16 +0000 (21:43 +0000)]
Merge "Add new DisconnectCause class to telecomm." into lmp-dev

9 years agoMerge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev
Craig Mautner [Tue, 16 Sep 2014 21:30:28 +0000 (21:30 +0000)]
Merge "Fix various bugs in DatePickerCalendarDelegate" into lmp-dev

9 years agoFix broken dispatch of onApplyWindowInsets
Adrian Roos [Tue, 16 Sep 2014 16:37:38 +0000 (18:37 +0200)]
Fix broken dispatch of onApplyWindowInsets

Fixes an issue where window insets were not further dispatched
if all happen to be zero. To prevent further dispatch, the
insets must now be consumed explicitly.

Bug: 17522145
Change-Id: Ia8f6c10c8369b58db7a7cf49f8bcc2cab8e304f1

9 years agoZen: Fix recent regression in mode selection after reboot.
John Spurlock [Tue, 16 Sep 2014 21:02:23 +0000 (17:02 -0400)]
Zen: Fix recent regression in mode selection after reboot.

Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6

9 years agoFix various bugs in DatePickerCalendarDelegate
Craig Mautner [Tue, 16 Sep 2014 20:57:59 +0000 (13:57 -0700)]
Fix various bugs in DatePickerCalendarDelegate

These bugs were exposed by cts DatePickerTest.

Fixes one item in 17459129.

Change-Id: Ifab52c6e6e760b75633aa4fe8ccf2d724f587e09

9 years agoMerge "Print preview disappearing on screen off/on." into lmp-dev
Svetoslav [Tue, 16 Sep 2014 20:48:15 +0000 (20:48 +0000)]
Merge "Print preview disappearing on screen off/on." into lmp-dev

9 years agoMerge "Use Op package name when creating toasts" into lmp-dev
Amit Mahajan [Tue, 16 Sep 2014 20:47:23 +0000 (20:47 +0000)]
Merge "Use Op package name when creating toasts" into lmp-dev

9 years agoMerge "Always force list divider in DocumentsUI." into lmp-dev
Jeff Sharkey [Tue, 16 Sep 2014 19:44:14 +0000 (19:44 +0000)]
Merge "Always force list divider in DocumentsUI." into lmp-dev

9 years agoAdd new DisconnectCause class to telecomm.
Andrew Lee [Fri, 12 Sep 2014 00:33:16 +0000 (17:33 -0700)]
Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17