OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Remove suggested key names as its confusing." into lmp-dev
Kenny Guy [Fri, 19 Sep 2014 09:44:21 +0000 (09:44 +0000)]
Merge "Remove suggested key names as its confusing." into lmp-dev

9 years agoMerge "Speculative fix of IMMS crash" into lmp-dev
Yohei Yukawa [Fri, 19 Sep 2014 05:19:03 +0000 (05:19 +0000)]
Merge "Speculative fix of IMMS crash" into lmp-dev

9 years agoSpeculative fix of IMMS crash
Yohei Yukawa [Fri, 19 Sep 2014 04:22:15 +0000 (13:22 +0900)]
Speculative fix of IMMS crash

This CL is a follow up CL for I6571d464a46453934f0a8f5e790.

Do not propagate Resources.NotFoundException to the caller
of InputMethodInfo.isDefault().

BUG: 17553712
BUG: 17549437
BUG: 17517332

Change-Id: Ie95880c1f68f49eb63518e69b7dfa20af3ce8737

9 years agoMerge "Fix LayoutInflater copy constructor logic." into lmp-dev
Dan Sandler [Fri, 19 Sep 2014 03:32:30 +0000 (03:32 +0000)]
Merge "Fix LayoutInflater copy constructor logic." into lmp-dev

9 years agoFix LayoutInflater copy constructor logic.
Dan Sandler [Fri, 19 Sep 2014 02:11:18 +0000 (22:11 -0400)]
Fix LayoutInflater copy constructor logic.

Avoids an NPE in mFilterMap.

Bug: 17548265
Change-Id: I6556373862f706dbcf5549eaec61c3e10a47b482

9 years agoMerge "Fix issue #17564607: Apps in the managed profile can send any intent..." into...
Dianne Hackborn [Fri, 19 Sep 2014 02:01:57 +0000 (02:01 +0000)]
Merge "Fix issue #17564607: Apps in the managed profile can send any intent..." into lmp-dev

9 years agoFix issue #17564607: Apps in the managed profile can send any intent...
Dianne Hackborn [Fri, 19 Sep 2014 01:38:30 +0000 (18:38 -0700)]
Fix issue #17564607: Apps in the managed profile can send any intent...

...to the primary user, even if it was not whitelisted to be forwarded.

The path where getActivityInfo is called for the ResolverActivity
would not correctly apply the requested user ID to the result, so
it wouldn't run under the correct user.

Change-Id: I1da47c54bbed26091832a28236d0b06762c92437

9 years agoMerge "USB string descriptors are not UTF8, so it is not safe to treat them as such...
Mike Lockwood [Fri, 19 Sep 2014 02:00:25 +0000 (02:00 +0000)]
Merge "USB string descriptors are not UTF8, so it is not safe to treat them as such." into lmp-dev

9 years agoMerge "Always apply window insets to action modes" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 01:16:21 +0000 (01:16 +0000)]
Merge "Always apply window insets to action modes" into lmp-dev

9 years agoMerge "Fix voice mail number to modify when insert H3G Denmark sim card." into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 01:07:22 +0000 (01:07 +0000)]
Merge "Fix voice mail number to modify when insert H3G Denmark sim card." into lmp-dev

9 years agoMerge "Fix scroll position calculation when clipToPadding is false" into lmp-dev
Yigit Boyar [Fri, 19 Sep 2014 00:59:52 +0000 (00:59 +0000)]
Merge "Fix scroll position calculation when clipToPadding is false" into lmp-dev

9 years agoFix voice mail number to modify when insert H3G Denmark sim card.
giseok.seo [Wed, 7 May 2014 03:04:49 +0000 (12:04 +0900)]
Fix voice mail number to modify when insert H3G Denmark sim card.

1.H3G Denmark SIM Card is set to "not available" in UST(Usim service Table) to
  EF_MBDN file of SIM CARD.
  so do not edit voicemail number.

2.AOSP default voicemail number is empty.
  so if inserted H3G Denmark SIM card, User cann't edit voicemail number and
  do not use voicemail service.

Bug: 14093735
Change-Id: I2469ef8e8bda376adcdc9549bf4227bc4c0ddb2e

9 years agoMerge "Try and bind search widget before initial calculations of transition rects...
Winson Chung [Thu, 18 Sep 2014 23:50:35 +0000 (23:50 +0000)]
Merge "Try and bind search widget before initial calculations of transition rects. (Bug 17456094)" into lmp-dev

9 years agoMerge "Handling broader set of exceptions when startingActivity from Recents. (Bug...
Winson Chung [Thu, 18 Sep 2014 23:50:31 +0000 (23:50 +0000)]
Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)" into lmp-dev

9 years agoFix scroll position calculation when clipToPadding is false
Yigit Boyar [Thu, 18 Sep 2014 23:01:28 +0000 (16:01 -0700)]
Fix scroll position calculation when clipToPadding is false

Bug: 17568582
Change-Id: I904450d62c93105db5c61a071c7816278bb441be

9 years agoMerge "Don't count finishing activities as effective activities." into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 23:08:24 +0000 (23:08 +0000)]
Merge "Don't count finishing activities as effective activities." into lmp-dev

9 years agoMerge "Fix broken logic in isValidTarget" into lmp-dev
George Mount [Thu, 18 Sep 2014 22:51:22 +0000 (22:51 +0000)]
Merge "Fix broken logic in isValidTarget" into lmp-dev

9 years agoAlways apply window insets to action modes
Alan Viverette [Thu, 18 Sep 2014 22:46:42 +0000 (15:46 -0700)]
Always apply window insets to action modes

BUG: 17567245
Change-Id: I3c37d228e3a9d3060a4fd1a86abf2ffbf91802e8

9 years agoMerge "Listening for widget changes while Recents is in the background. (Bug 17153663...
Winson Chung [Thu, 18 Sep 2014 22:45:23 +0000 (22:45 +0000)]
Merge "Listening for widget changes while Recents is in the background. (Bug 17153663)" into lmp-dev

9 years agoDon't count finishing activities as effective activities.
Craig Mautner [Thu, 18 Sep 2014 22:38:33 +0000 (15:38 -0700)]
Don't count finishing activities as effective activities.

They were being counted as effectiveRoot even though they were
finishing.

Fixes bug 17550936.

Change-Id: Iaf7201e6150095e55f88344e4b257e4ae8f19a2b

9 years agoMerge "Fix the underlined spinner asset to match text field" into lmp-dev
Alan Viverette [Thu, 18 Sep 2014 22:26:02 +0000 (22:26 +0000)]
Merge "Fix the underlined spinner asset to match text field" into lmp-dev

9 years agoMerge "Additional check to determine insets for recents animation" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 21:29:58 +0000 (21:29 +0000)]
Merge "Additional check to determine insets for recents animation" into lmp-dev

9 years agoMerge "Disable QS user switcher when not supported" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 21:28:09 +0000 (21:28 +0000)]
Merge "Disable QS user switcher when not supported" into lmp-dev

9 years agoMerge "Remove activity icon bitmaps from system process." into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 21:25:22 +0000 (21:25 +0000)]
Merge "Remove activity icon bitmaps from system process." into lmp-dev

9 years agoRemove activity icon bitmaps from system process.
Craig Mautner [Thu, 18 Sep 2014 21:16:26 +0000 (14:16 -0700)]
Remove activity icon bitmaps from system process.

When a TaskDescription is sent up to the system process, the Bitmap
contained in the mIcon member is immediately flushed to disk and the
name of the file replaces it in the TaskDescription. Thereby saving
mucho RAM for better uses.

Fixes bug 17527308.

Change-Id: Ifac63ea5d12ed091d1eb03e178b8b847a827f940

9 years agoMerge "Add leanback support to AppCompatiblityTest" into lmp-dev
wsmlby [Thu, 18 Sep 2014 21:11:15 +0000 (21:11 +0000)]
Merge "Add leanback support to AppCompatiblityTest" into lmp-dev

9 years agoAdd leanback support to AppCompatiblityTest
wsmlby [Thu, 18 Sep 2014 20:33:18 +0000 (13:33 -0700)]
Add leanback support to AppCompatiblityTest

Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04

9 years agoMerge "Log alarm delivery only when localLOGV" into lmp-dev
Christopher Tate [Thu, 18 Sep 2014 20:56:24 +0000 (20:56 +0000)]
Merge "Log alarm delivery only when localLOGV" into lmp-dev

9 years agoMerge "Fix parsing of old-style intent URIs" into lmp-dev
Alan Viverette [Thu, 18 Sep 2014 20:54:43 +0000 (20:54 +0000)]
Merge "Fix parsing of old-style intent URIs" into lmp-dev

9 years agoLog alarm delivery only when localLOGV
Christopher Tate [Thu, 18 Sep 2014 20:47:57 +0000 (13:47 -0700)]
Log alarm delivery only when localLOGV

Logspam is spam.

Change-Id: I3bb63f3026fc6222eb8e1496b3a5db4cdf3c7f57

9 years agoMerge "Print UI stuck when backing out of documents UI." into lmp-dev
Svetoslav [Thu, 18 Sep 2014 20:34:22 +0000 (20:34 +0000)]
Merge "Print UI stuck when backing out of documents UI." into lmp-dev

9 years agoPrint UI stuck when backing out of documents UI.
Svetoslav [Thu, 18 Sep 2014 01:38:27 +0000 (18:38 -0700)]
Print UI stuck when backing out of documents UI.

When user chooses to save to PDF we open the document chooser UI.
Now if the user now backs to the print UI without choosing a file,
the print UI has all options disabled and the back button does
not work - the user is stuck. This is because we were not
transitioning the print UI in the correct state.

bug:17557454

Change-Id: I385129e106ed41564b89137ca54d409127ba8ff0

9 years agoMerge "Use action bar theme for action modes, fix ViewStub inflation theme" into...
Alan Viverette [Thu, 18 Sep 2014 20:25:21 +0000 (20:25 +0000)]
Merge "Use action bar theme for action modes, fix ViewStub inflation theme" into lmp-dev

9 years agoMerge "Adds support for Theme dumping via DDM." into lmp-dev
Jon Miranda [Thu, 18 Sep 2014 20:14:04 +0000 (20:14 +0000)]
Merge "Adds support for Theme dumping via DDM." into lmp-dev

9 years agoMerge "Revert "Make starting window hw-accelerated"" into lmp-dev
John Reck [Thu, 18 Sep 2014 20:01:14 +0000 (20:01 +0000)]
Merge "Revert "Make starting window hw-accelerated"" into lmp-dev

9 years agoMerge "Create an Application object for the system process." into lmp-dev
Jeff Brown [Thu, 18 Sep 2014 19:53:36 +0000 (19:53 +0000)]
Merge "Create an Application object for the system process." into lmp-dev

9 years agoMerge "Add new error result code for mms config loading failure (1/2)" into lmp-dev
Ye Wen [Thu, 18 Sep 2014 19:53:23 +0000 (19:53 +0000)]
Merge "Add new error result code for mms config loading failure (1/2)" into lmp-dev

9 years agoFix parsing of old-style intent URIs
Alan Viverette [Thu, 18 Sep 2014 19:53:16 +0000 (12:53 -0700)]
Fix parsing of old-style intent URIs

Improves bounds checking to restrict category matches to within the
category(...) item. Fixes CTS failure in IntentTest.testGetIntentOld().

BUG: 17557490
Change-Id: I1859fe18eaa881b771bab373d705d8fbeb6406c4

9 years agoFix the underlined spinner asset to match text field
Alan Viverette [Thu, 18 Sep 2014 19:45:53 +0000 (12:45 -0700)]
Fix the underlined spinner asset to match text field

Removes the spinner_textfield asset and replaces it with layered
spinner and textfield assets.

BUG: 17557459
Change-Id: I5dc98727c84ec22bc73328f2f94a380d920f1b7d

9 years agoRevert "Make starting window hw-accelerated"
John Reck [Thu, 18 Sep 2014 19:27:48 +0000 (19:27 +0000)]
Revert "Make starting window hw-accelerated"

Bug: 17516789

This change corresponds to a sudden influx of bad surface crashes.
Reverting to see if stability returns as this was an optimization
CL

This reverts commit 29ff1bc57ac2c995c56f15ed6e56e5fb247b2a44.

Change-Id: I7835e89017161d94ad05fe46d81bd437c3dae3a7

9 years agoMerge "Lock in final resource IDs." into lmp-dev
Dianne Hackborn [Thu, 18 Sep 2014 19:24:58 +0000 (19:24 +0000)]
Merge "Lock in final resource IDs." into lmp-dev

9 years agoDisable QS user switcher when not supported
Adrian Roos [Thu, 18 Sep 2014 19:11:20 +0000 (21:11 +0200)]
Disable QS user switcher when not supported

Bug: 17570310
Change-Id: Id32e076928c92c663645024f0d38b26ec4667b78

9 years agoMerge "Upper-case incoming AIDs." into lmp-dev
Martijn Coenen [Thu, 18 Sep 2014 18:52:56 +0000 (18:52 +0000)]
Merge "Upper-case incoming AIDs." into lmp-dev

9 years agoMerge "Replace get*PhoneAccounts* public API methods with new method (1/3)" into...
Nancy Chen [Thu, 18 Sep 2014 18:46:42 +0000 (18:46 +0000)]
Merge "Replace get*PhoneAccounts* public API methods with new method (1/3)" into lmp-dev

9 years agoAdd new error result code for mms config loading failure (1/2)
Ye Wen [Thu, 18 Sep 2014 18:42:45 +0000 (11:42 -0700)]
Add new error result code for mms config loading failure (1/2)

b/17556258

Change-Id: I589a7b77be215dc98fb9f2c9b1a04cac5ee53558

9 years agoEnabling recents stack clipping
Winson Chung [Mon, 15 Sep 2014 22:58:25 +0000 (00:58 +0200)]
Enabling recents stack clipping

The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.

Bug: 17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4

9 years agoMerge "Add option for recents to use fake shadows" into lmp-dev
Jorim Jaggi [Thu, 18 Sep 2014 18:33:40 +0000 (18:33 +0000)]
Merge "Add option for recents to use fake shadows" into lmp-dev

9 years agoMerge "Removed round rect clipping and hardware layers from recents" into lmp-dev
Selim Cinek [Thu, 18 Sep 2014 18:33:25 +0000 (18:33 +0000)]
Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev

9 years agoLock in final resource IDs.
Dianne Hackborn [Thu, 18 Sep 2014 18:32:39 +0000 (11:32 -0700)]
Lock in final resource IDs.

Change-Id: I6da2c05737b7bc361a7c6f0862166f05de86c63f

9 years agoMerge "Reinitialize emergency calls only view if configuration changes" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 18:32:06 +0000 (18:32 +0000)]
Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev

9 years agoMerge "Add material camera_click sound" into lmp-dev
Jason Monk [Thu, 18 Sep 2014 18:29:50 +0000 (18:29 +0000)]
Merge "Add material camera_click sound" into lmp-dev

9 years agoAdds support for Theme dumping via DDM.
Jon Miranda [Tue, 16 Sep 2014 00:48:10 +0000 (17:48 -0700)]
Adds support for Theme dumping via DDM.

Bug: 17515415
Change-Id: Ice145a4b452177e36345cf2e071377bb7b3feeb3

9 years agoBlock QS in sec. users setup when simple
Jason Monk [Mon, 15 Sep 2014 15:13:35 +0000 (11:13 -0400)]
Block QS in sec. users setup when simple

When simple user switcher is enabled block QS for secondary users
during setup.

Bug: 16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909

9 years agoFix broken logic in isValidTarget
George Mount [Thu, 18 Sep 2014 18:21:09 +0000 (11:21 -0700)]
Fix broken logic in isValidTarget

Bug 17553253

Change-Id: I9f3f2c80e59128fd5f8d4b1b2a67692c00804f62

9 years agoMerge "Make dpm command output more test friendly" into lmp-dev
Esteban Talavera [Thu, 18 Sep 2014 18:15:47 +0000 (18:15 +0000)]
Merge "Make dpm command output more test friendly" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:31 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:14 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:00:16 +0000 (18:00 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMake dpm command output more test friendly
Esteban Talavera [Thu, 18 Sep 2014 17:32:45 +0000 (18:32 +0100)]
Make dpm command output more test friendly

Added 'Success' at the beginning of the command output every time
it didn't fail, so that we can easily check the output in tests.
The command is brand new, only used by us on CTS tests, so this
shouldn't break anybody.

Bug: 17312478
Change-Id: Ie67bf5b2f44e658e7009e5bd87f8cb81be515584

9 years agoMerge "Don't remove active stacks from window manager" into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 17:20:50 +0000 (17:20 +0000)]
Merge "Don't remove active stacks from window manager" into lmp-dev

9 years agoMerge "Add new icon for managed provisioning" into lmp-dev
Alexandra Gherghina [Thu, 18 Sep 2014 17:07:12 +0000 (17:07 +0000)]
Merge "Add new icon for managed provisioning" into lmp-dev

9 years agoMerge "Default to using hardware layer during fade transition." into lmp-dev
George Mount [Thu, 18 Sep 2014 16:56:44 +0000 (16:56 +0000)]
Merge "Default to using hardware layer during fade transition." into lmp-dev

9 years agoAdd material camera_click sound
Jason Monk [Thu, 18 Sep 2014 15:21:57 +0000 (11:21 -0400)]
Add material camera_click sound

Bug: 17281234
Change-Id: I3f9a7592cfe8171fcae44ea075bf7faafaa482fe

9 years agoMerge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev
Jason Monk [Thu, 18 Sep 2014 16:12:05 +0000 (16:12 +0000)]
Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev

9 years agoRemove suggested key names as its confusing.
Kenny Guy [Thu, 18 Sep 2014 15:24:31 +0000 (16:24 +0100)]
Remove suggested key names as its confusing.

Update java doc to not suggest package names
as it confused people into thinking it would
limit access to that package which isn't the
case.

Bug: 15177676
Change-Id: I0736976956d8bb604e5097326c8c4316b3007d64

9 years agoFix wrong face unlock size
Adrian Roos [Thu, 18 Sep 2014 15:25:09 +0000 (17:25 +0200)]
Fix wrong face unlock size

Bug: 17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac

9 years agoAdd new icon for managed provisioning
Alexandra Gherghina [Thu, 18 Sep 2014 15:14:10 +0000 (16:14 +0100)]
Add new icon for managed provisioning

This will be used for managed provisioning notifications and status
bar.

Bug: 17521583
Change-Id: Ic92d52a6a6366ca696ee85f42325f64ecce744b9

9 years agoFix crash from USER_PRESENT broadcast in sysui
Jason Monk [Wed, 17 Sep 2014 20:22:19 +0000 (16:22 -0400)]
Fix crash from USER_PRESENT broadcast in sysui

Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.

Bug: 17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b

9 years agoMerge "Fix broken svg icon" into lmp-dev
Alexandra Gherghina [Thu, 18 Sep 2014 13:07:26 +0000 (13:07 +0000)]
Merge "Fix broken svg icon" into lmp-dev

9 years agoAdditional check to determine insets for recents animation
Winson Chung [Thu, 18 Sep 2014 07:53:27 +0000 (09:53 +0200)]
Additional check to determine insets for recents animation

Bug: 17555722

Change-Id: I1474de7960dfebbdd32f159ace6677019a6b87a5

9 years agoMerge "Don't crash if a user can't be created" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 12:47:43 +0000 (12:47 +0000)]
Merge "Don't crash if a user can't be created" into lmp-dev

9 years agoMerge "Fix bar visibility after restarting immersive activities" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 12:40:50 +0000 (12:40 +0000)]
Merge "Fix bar visibility after restarting immersive activities" into lmp-dev

9 years agoAdd option for recents to use fake shadows
Jorim Jaggi [Tue, 16 Sep 2014 21:09:24 +0000 (23:09 +0200)]
Add option for recents to use fake shadows

Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a

9 years agoRemoved round rect clipping and hardware layers from recents
Selim Cinek [Wed, 17 Sep 2014 02:03:52 +0000 (04:03 +0200)]
Removed round rect clipping and hardware layers from recents

This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275

9 years agoFix broken svg icon
Alexandra Gherghina [Thu, 18 Sep 2014 11:19:23 +0000 (12:19 +0100)]
Fix broken svg icon

We need to do this because the old svg had the middle part broken.

Bug: 17544362
Change-Id: I72438a889b6c6a3c1dd50675afe73406f4b49ce9

9 years agoMerge "Update targetSdkVersion check." into lmp-dev
Sander Alewijnse [Thu, 18 Sep 2014 11:36:18 +0000 (11:36 +0000)]
Merge "Update targetSdkVersion check." into lmp-dev

9 years agoMerge "Living with the LLand." into lmp-dev
Dan Sandler [Thu, 18 Sep 2014 11:34:17 +0000 (11:34 +0000)]
Merge "Living with the LLand." into lmp-dev

9 years agoLiving with the LLand.
Dan Sandler [Sun, 14 Sep 2014 20:28:58 +0000 (16:28 -0400)]
Living with the LLand.

Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd

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 agoReplace get*PhoneAccounts* public API methods with new method (1/3)
Nancy Chen [Wed, 17 Sep 2014 21:47:20 +0000 (14:47 -0700)]
Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8

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 agoUse action bar theme for action modes, fix ViewStub inflation theme
Alan Viverette [Thu, 18 Sep 2014 01:14:32 +0000 (18:14 -0700)]
Use action bar theme for action modes, fix ViewStub inflation theme

BUG: 17262483
BUG: 17513621
Change-Id: I74764570a11da162a224e94978e21e52d17e2e84

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 agoDon't remove active stacks from window manager
Craig Mautner [Wed, 17 Sep 2014 22:02:33 +0000 (15:02 -0700)]
Don't remove active stacks from window manager

Background:

In ag/406771 we stopped deleting empty stacks in activity manager
and window manager. This fixed a problem where dormant tasks were
being added back to stacks later.

In ag/476888 we introduced a callback to inform the ActivityView
holder that the embedded task was complete. This callback was made
from the new method ActivityContainer.onTaskListEmpty().

In ag/483035 onTaskListEmpty() was expanded to detach the stack of the
ActivityView and also removed the stack from window manager. There
was a mistake in that CL that causes it to remove any non-home stacks,
not just ones in ActivityViews.

That mistake left us with an empty stack in activity manager and no
corresponding stack in window manager. As a result, when trying to
bring back a task that used to be in this stack window manager threw
up an exception.

This fix limits the stacks detached by onTaskListEmpty() to those
on VirtualDisplays.

Fixes bug 17469145.

Change-Id: I85a4452e8e85625e657d88e4cb9f366fd4026441

9 years agoDefault to using hardware layer during fade transition.
George Mount [Wed, 17 Sep 2014 22:28:06 +0000 (15:28 -0700)]
Default to using hardware layer during fade transition.

Bug 17499864

When hasOverlappingRendering() is true, a layer is used to
to fade views because performance can be much worse then.
When hasOverlappingRendering() is false, the performance
is not hurt and a layer is not used.

Change-Id: If3fb1c23ffc8d0bef85c9d16df6c26ff4bbd49ac

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