OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 6 May 2013 18:07:30 +0000 (18:07 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Fix sync problem in NsdManager" into jb-mr2-dev
Robert Greenwalt [Mon, 6 May 2013 16:37:44 +0000 (16:37 +0000)]
Merge "Fix sync problem in NsdManager" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 6 May 2013 16:35:57 +0000 (09:35 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev
Michael Jurka [Mon, 6 May 2013 11:42:22 +0000 (11:42 +0000)]
Merge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev

11 years agoTemporarily revert field name change (DO NOT MERGE)
Dave Burke [Mon, 6 May 2013 02:46:33 +0000 (19:46 -0700)]
Temporarily revert field name change (DO NOT MERGE)

VisualOn is using hidden fields, causing HBO and Xfinity to crash.
Bug: 8549617
Bug: 8331866

Change-Id: I35a9fe66dea8d56f4fcff9b492679226a17f4acc

11 years agoam 20860a3f: am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update...
Dirk Dougherty [Sat, 4 May 2013 19:01:07 +0000 (12:01 -0700)]
am 20860a3f: am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '20860a3f8b6a37719fc59fce1b1267b92efef5a3':
  Doc change: Update landing pages for Google Play Services.

11 years agoam 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages...
Dirk Dougherty [Sat, 4 May 2013 18:58:43 +0000 (11:58 -0700)]
am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '79ebe80a85ce97e3278f51e11086a2b89e09f86d':
  Doc change: Update landing pages for Google Play Services.

11 years agoMerge "Add android.opengl.EGLExt class for EGL extensions" into jb-mr2-dev
Jesse Hall [Sat, 4 May 2013 17:50:48 +0000 (17:50 +0000)]
Merge "Add android.opengl.EGLExt class for EGL extensions" into jb-mr2-dev

11 years agoam e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google...
Dirk Dougherty [Sat, 4 May 2013 17:32:46 +0000 (10:32 -0700)]
am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit 'e34ecc9a06f4a626cc78c648e621c4b7bb4a1242':
  Doc change: Update landing pages for Google Play Services.

11 years agoam 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.
Dirk Dougherty [Sat, 4 May 2013 17:30:55 +0000 (10:30 -0700)]
am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '3dbb173e8d9ae7893a10a76b1b7fed66f1adb25b':
  Doc change: Update landing pages for Google Play Services.

11 years agoam c3a7ea42: Doc change: Update landing pages for Google Play Services.
Dirk Dougherty [Sat, 4 May 2013 17:29:01 +0000 (10:29 -0700)]
am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit 'c3a7ea424d96aac02762ab6819429e3fa52d9a25':
  Doc change: Update landing pages for Google Play Services.

11 years agoDoc change: Update landing pages for Google Play Services.
Dirk Dougherty [Fri, 3 May 2013 20:11:51 +0000 (13:11 -0700)]
Doc change: Update landing pages for Google Play Services.

Change-Id: I7cfc64928e7a2b195ed52febc6f7b652d85e9c56

11 years agoMerge "Convert alpha from [0..1] to [0.255] range Bug #8808886" into jb-mr2-dev
Romain Guy [Sat, 4 May 2013 01:42:46 +0000 (01:42 +0000)]
Merge "Convert alpha from [0..1] to [0.255] range Bug #8808886" into jb-mr2-dev

11 years agoMerge "Fix scaled-view droppings artifact" into jb-mr2-dev
Chet Haase [Sat, 4 May 2013 01:35:23 +0000 (01:35 +0000)]
Merge "Fix scaled-view droppings artifact" into jb-mr2-dev

11 years agoMerge "Optimize RTL properties resolution" into jb-mr2-dev
Fabrice Di Meglio [Sat, 4 May 2013 00:48:12 +0000 (00:48 +0000)]
Merge "Optimize RTL properties resolution" into jb-mr2-dev

11 years agoConvert alpha from [0..1] to [0.255] range
Romain Guy [Sat, 4 May 2013 00:42:27 +0000 (17:42 -0700)]
Convert alpha from [0..1] to [0.255] range
Bug #8808886

Without this conversion, alpha was always set to 0 or 1 which causes
things to disappear mysteriously. Mysteries are meant to be solved
and I solved them all in 6 characters.

Change-Id: I2078420fbe968c046e999b0eabb24403e71108fd

11 years agoOptimize RTL properties resolution
Fabrice Di Meglio [Fri, 3 May 2013 23:51:55 +0000 (16:51 -0700)]
Optimize RTL properties resolution

- dont bother children about resolving RTL properties if the ViewGroup parent
has not done anything

Change-Id: Iedf8a337097e04e1ab0054d59fc347e06b347ea7

11 years agoMerge "Idle maintenance scheduling broken." into jb-mr2-dev
Svetoslav [Fri, 3 May 2013 23:33:09 +0000 (23:33 +0000)]
Merge "Idle maintenance scheduling broken." into jb-mr2-dev

11 years agoFix scaled-view droppings artifact
Chet Haase [Fri, 3 May 2013 22:25:33 +0000 (15:25 -0700)]
Fix scaled-view droppings artifact

Sometimes views that are scaled leave behind rows/columns on the
screen as they move/scale around.

The problem was that the pivot point around which the scale takes place
(in the default case of scaling around the center of the view)
was getting truncated to integer coordinates in the display list.
Meanwhile, the pivot point at the Java level was using the true float
values, resulting in a mis-match between the invalidation rectangle
(computed at the Java level) and the drawing-operation rectangle (computed
at the native level).

This only occurred when views had odd bounds (thus the integer representation
of the center differed from the float representation of the center), and only
when some other drawing operation would expand the clip rect to allow the
incorrect drawing operation (using the wrong pivot point) to draw outside of
its clip boundaries.

Issue #8617023 7x7 screen not updated correctly

Change-Id: If88889b9450d34535df732b78077a29b1f24802d

11 years agoMerge "Multiple bindings to the same accessiblity serice if it dies." into jb-mr2-dev
Svetoslav Ganov [Fri, 3 May 2013 21:04:04 +0000 (21:04 +0000)]
Merge "Multiple bindings to the same accessiblity serice if it dies." into jb-mr2-dev

11 years agoIdle maintenance scheduling broken.
Svetoslav [Fri, 3 May 2013 18:24:26 +0000 (11:24 -0700)]
Idle maintenance scheduling broken.

1. The scheduling was relying on receiving battery level broadcasts
   which however are not sent if the device is asleep. The maintenance
   window was not bound and we could miss a frame if the user did
   not interact the device longer than the min time between two
   maintenance windows.

2. Hide the idle maintenance intents since this will be rewritten
   to user services.

bug:8688454

Change-Id: I17b421b09823cb46ec218cabda19e02432d94f8c

11 years agoMerge "Fix issue #8798662: NPE in..." into jb-mr2-dev
Dianne Hackborn [Fri, 3 May 2013 20:47:38 +0000 (20:47 +0000)]
Merge "Fix issue #8798662: NPE in..." into jb-mr2-dev

11 years agoFix issue #8798662: NPE in...
Dianne Hackborn [Fri, 3 May 2013 19:07:51 +0000 (12:07 -0700)]
Fix issue #8798662: NPE in...

...com.android.server.am.ServiceRecord.postNotification()

Change-Id: I3403bc50eb95d410183fc60ef252775a688b6290

11 years agoMerge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev
Adam Powell [Fri, 3 May 2013 18:58:35 +0000 (18:58 +0000)]
Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev

11 years agoam d6aa68b6: am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added...
quddusc [Fri, 3 May 2013 18:54:47 +0000 (11:54 -0700)]
am d6aa68b6: am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit 'd6aa68b6d66b01921855070ceb06e805077123ab':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page...
quddusc [Fri, 3 May 2013 18:52:35 +0000 (11:52 -0700)]
am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '564a533e8a176541947a52261ac6e8ba3b2b5b21':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google...
quddusc [Fri, 3 May 2013 18:50:04 +0000 (11:50 -0700)]
am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '66442b566f51edb41f8d18f702c219c4a4c8c3df':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platf...
quddusc [Fri, 3 May 2013 18:47:19 +0000 (11:47 -0700)]
am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '775deb88945e4acffba2d91a89931a426d9ca4bf':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services...
quddusc [Fri, 3 May 2013 18:45:08 +0000 (11:45 -0700)]
am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '9af9744319f389b6583b8c39ea65bf90afc10fe5':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoMerge "docs: Added landing page for Google Play Games Platform Services. cherrypick...
quddusc [Fri, 3 May 2013 18:42:44 +0000 (18:42 +0000)]
Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

11 years agoFix a NPE in MenuItemImpl when setting null ActionProvider
Adam Powell [Fri, 3 May 2013 18:03:10 +0000 (11:03 -0700)]
Fix a NPE in MenuItemImpl when setting null ActionProvider

Change-Id: I00be010b2197d0f41d0e45b3814474d3ad0c3295

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 3 May 2013 17:59:40 +0000 (10:59 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMultiple bindings to the same accessiblity serice if it dies.
Svetoslav Ganov [Fri, 3 May 2013 08:13:05 +0000 (01:13 -0700)]
Multiple bindings to the same accessiblity serice if it dies.

1. When a service dies we clear its state and remove it from the bound services waiting
   for new onServiceConnected call in which to initialize and add the service. The
   problem is that after clearing and removing a dead service there is a call to
   onUserStateChangedLocked with will end up rebinding to the service, so we get
   multiple onServiceConnected calls as a result of which we add the service twice and
   it becomes a mess. Note that every time the service dies we end up being bound to
   it twice as many times - royal mess! onUserStateChangedLocked is not even needed
   since we cleare and remove the serivce and this method will be called when
   the service is recreated.

2. When a service dies and is recreated by the system we were not adding it properly
   since we regarded only services that we bond to and wait for the connecton. Now
   we are also regarding service which died and are recreated.

bug:8796109

Change-Id: I5ec60c67bd3b057446bb8d90b48511c35d45289d

11 years agoMerge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev
Satoshi Kataoka [Fri, 3 May 2013 02:34:39 +0000 (02:34 +0000)]
Merge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev

11 years agoMerge "Really make Surface thread-safe." into jb-mr2-dev
Jeff Brown [Fri, 3 May 2013 02:11:02 +0000 (02:11 +0000)]
Merge "Really make Surface thread-safe." into jb-mr2-dev

11 years agoFix sync problem in NsdManager
Robert Greenwalt [Thu, 2 May 2013 22:45:32 +0000 (15:45 -0700)]
Fix sync problem in NsdManager

The NsdManager init was thinking it was done before the AsyncChannel
was fully setup and if the setup were slow and the app fast, the app
could make calls to the NsdManager that it wasn't ready for.

bug:8545006
Change-Id: I2cb2a7c0a1c7f3d2b81ac0f66d37346e6d2d720d

11 years agoMerge "Fix issue #8768456: Settings > App Info under reports..." into jb-mr2-dev
Dianne Hackborn [Thu, 2 May 2013 22:11:35 +0000 (22:11 +0000)]
Merge "Fix issue #8768456: Settings > App Info under reports..." into jb-mr2-dev

11 years agoMerge "Send package-changed broadcasts to the correct users" into jb-mr2-dev
Christopher Tate [Thu, 2 May 2013 22:08:18 +0000 (22:08 +0000)]
Merge "Send package-changed broadcasts to the correct users" into jb-mr2-dev

11 years agoSend package-changed broadcasts to the correct users
Christopher Tate [Thu, 2 May 2013 20:27:27 +0000 (13:27 -0700)]
Send package-changed broadcasts to the correct users

Also be sure to drop any pending package-changed broadcasts
that are targeted to a now-removed user.

Bug 8594153

Change-Id: Ib14874b4a67b968bbf6ca12ee095c85383aff324

11 years agoFix issue #8768456: Settings > App Info under reports...
Dianne Hackborn [Thu, 2 May 2013 01:54:11 +0000 (18:54 -0700)]
Fix issue #8768456: Settings > App Info under reports...

...app storage size for apps w/ .so files

The lib directories are tagged with the apk install number,
so must be explicitly passed down to installd.

Change-Id: Ic37b03726f9a7405eb05956703f8198223b22595

11 years agoFix bug where thumbnails in Recents disappear
Michael Jurka [Thu, 2 May 2013 12:49:45 +0000 (14:49 +0200)]
Fix bug where thumbnails in Recents disappear

Bug: 7900353
Bug: 8752242
Bug: 7382208

11 years agoChange the initial disabled state of disabled IMEs
Satoshi Kataoka [Wed, 17 Apr 2013 07:41:58 +0000 (16:41 +0900)]
Change the initial disabled state of disabled IMEs

Bug: 8365223

This change is a supplement for I77f01c70610d82ce9070d4a
The disabled state of disabled pre-installed imes should be changed
to ENABLED_STATE_DISABLED_UNTIL_USED on boot or user switch.

Change-Id: If8ff1b2b95c36d33148def2ab87bd006aa520cc0

11 years agoMerge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev
Amith Yamasani [Thu, 2 May 2013 04:26:01 +0000 (04:26 +0000)]
Merge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev

11 years agodocs: Added landing page for Google Play Games Platform Services.
quddusc [Mon, 4 Feb 2013 23:05:23 +0000 (15:05 -0800)]
docs: Added landing page for Google Play Games Platform Services.
cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

Change-Id: I0e5e2c69fc0d13b0637504e5fd3e76c1a91a0109

11 years agoMerge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev
Jeff Brown [Thu, 2 May 2013 00:52:25 +0000 (00:52 +0000)]
Merge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev

11 years agoMerge "Bootstrap installed system apps only when the target user is running" into...
Christopher Tate [Wed, 1 May 2013 22:47:16 +0000 (22:47 +0000)]
Merge "Bootstrap installed system apps only when the target user is running" into jb-mr2-dev

11 years agoAllow requiredForAllUsers to work on updates to system apps
Amith Yamasani [Wed, 1 May 2013 22:25:28 +0000 (15:25 -0700)]
Allow requiredForAllUsers to work on updates to system apps

Bug: 8736380

Also set the default type as the constructor docs imply in RestrictionEntry.

Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df

11 years agoDon't dump sql bindargs unless verbose mode is requested.
Jeff Brown [Wed, 1 May 2013 22:28:37 +0000 (15:28 -0700)]
Don't dump sql bindargs unless verbose mode is requested.

Bug: 8780126
Change-Id: I88e238f9d684cc76731207e75370cbb2e0e476c5

11 years agoReally make Surface thread-safe.
Jeff Brown [Tue, 30 Apr 2013 23:33:00 +0000 (16:33 -0700)]
Really make Surface thread-safe.

There were many places where the native object was being
accessed improperly.  Also some places where CloseGuard might
not be acquired or released correctly or where the generation
count might not be updated.

Fixed them all.

That said, Surface isn't intended to be used concurrently
so please don't do it.  This is only intended to make
hard to find crashes less likely.

Bug: 8328715
Change-Id: I981ef33425823e0fd7ad6b64443f2ec9b0c8335e

11 years agoMerge "MediaDrm API: Add two exceptions to handle error path scenarios" into jb-mr2-dev
Jeff Tinker [Wed, 1 May 2013 22:01:16 +0000 (22:01 +0000)]
Merge "MediaDrm API: Add two exceptions to handle error path scenarios" into jb-mr2-dev

11 years agoam 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update...
Scott Main [Wed, 1 May 2013 21:31:44 +0000 (14:31 -0700)]
am 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '66623196159ec4509e617cd440199499b483367a':
  dashboard update for 5/1

11 years agoam 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:30:33 +0000 (14:30 -0700)]
am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '95fa4428172ae6c0435c20bf8ab49734e95c9eb8':
  dashboard update for 5/1

11 years agoam 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:28:40 +0000 (14:28 -0700)]
am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '1fbbf8caaf5bb3c796fa2acacedfb7a3be4d0c73':
  dashboard update for 5/1

11 years agoam 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:27:12 +0000 (14:27 -0700)]
am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '4bc82dea43c3e60ce6ad244fdd6b8e61396b1118':
  dashboard update for 5/1

11 years agoam 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:26:05 +0000 (14:26 -0700)]
am 47dcb666: dashboard update for 5/1

* commit '47dcb66610fbe9284f83f73a06a5c23515e17fbd':
  dashboard update for 5/1

11 years agoBootstrap installed system apps only when the target user is running
Christopher Tate [Wed, 1 May 2013 21:17:53 +0000 (14:17 -0700)]
Bootstrap installed system apps only when the target user is running

I.e. don't bother trying to send a BOOT_COMPLETED broadcast to the
newly-installed/enabled system app when its host user isn't live.

Also use the static isSystemApp()-type helpers instead of duplicating
those tests locally.

Bug 8594153

Change-Id: I4bd0b86351d67f72c44eae8d1afce6a98f034d31

11 years agoMerge "Make sure the app is still app after launching. Bug:8755950" into jb-mr2-dev
Tsu Chiang Chuang [Wed, 1 May 2013 21:12:31 +0000 (21:12 +0000)]
Merge "Make sure the app is still app after launching. Bug:8755950" into jb-mr2-dev

11 years agoMerge "Fix a crash case" into jb-mr2-dev
Mike J. Chen [Wed, 1 May 2013 20:59:12 +0000 (20:59 +0000)]
Merge "Fix a crash case" into jb-mr2-dev

11 years agoAdd android.opengl.EGLExt class for EGL extensions
Jesse Hall [Tue, 30 Apr 2013 20:46:28 +0000 (13:46 -0700)]
Add android.opengl.EGLExt class for EGL extensions

Add the ES-relevant constants from the EGL_KHR_create_context
extension. These allow apps to check which EGLConfigs (if any) support
ES3 contexts. Otherwise, the app has to create a context with an
EGLConfig and then check whether it is an ES2 or ES3 context.

Also move eglSetPresentationTimeANDROID from EGL14 to EGLExt, since it's an
extension function. It's new in API 18.

Bug: 8678160
Change-Id: I3cba6e59ebb0a3a4c4012aa54a36b940c288bcec

11 years agoam 53e8587b: am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider...
Adam Koch [Wed, 1 May 2013 20:24:40 +0000 (13:24 -0700)]
am 53e8587b: am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '53e8587bedda3beef34e060f7256261d53f30697':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training -...
Adam Koch [Wed, 1 May 2013 20:20:21 +0000 (13:20 -0700)]
am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '58a6e5c0d1406cab6c70b397b0b4252e5da66743':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code...
Adam Koch [Wed, 1 May 2013 20:14:49 +0000 (13:14 -0700)]
am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '4f2216691a3df241977f39102b7eafc68556f477':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 20:13:02 +0000 (13:13 -0700)]
am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '1d71751fc20a2c52e04656af409fa97a6f7c15c5':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoMerge "Properly populates AccessibilityEvents for notification and quick settings...
Casey Burkhardt [Wed, 1 May 2013 19:33:08 +0000 (19:33 +0000)]
Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev

11 years agoam bbed0513: Contacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 18:52:26 +0000 (11:52 -0700)]
am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit 'bbed0513abb1d98733f0eed5399f4cb195fda55f':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoMerge "Lockdown VPN handles its own connection teardown." into jb-mr2-dev
Jeff Sharkey [Wed, 1 May 2013 18:30:23 +0000 (18:30 +0000)]
Merge "Lockdown VPN handles its own connection teardown." into jb-mr2-dev

11 years agoMerge "Fix an NPE and fd leak in SELinux policy updater." into jb-mr2-dev
repo sync [Wed, 1 May 2013 18:12:04 +0000 (18:12 +0000)]
Merge "Fix an NPE and fd leak in SELinux policy updater." into jb-mr2-dev

11 years agodashboard update for 5/1
Scott Main [Wed, 1 May 2013 17:32:47 +0000 (10:32 -0700)]
dashboard update for 5/1

Change-Id: I9cdcf2934a5332fee50067e0b6f8f3f159373892

11 years agoLockdown VPN handles its own connection teardown.
Jeff Sharkey [Wed, 1 May 2013 00:01:57 +0000 (17:01 -0700)]
Lockdown VPN handles its own connection teardown.

Recent changes started watching for CONNECTIVITY_ACTION broadcasts
to handle the case where a network is disconnected without the
interface going down.

However, when lockdown VPN is enabled, the broadcast contents are
augmented, and all connections appear disconnected until the VPN
comes online.  This caused a reset feedback loop to occur.

Since LockdownVpnTracker already handles networks being disconnected
separately from interfaces going down, this change disables handling
the broadcast when lockdown is enabled.

Bug: 8755148
Change-Id: I70a348aa97a4b22eaaf23aa5ed344de3e9a9ab0b

11 years agoContacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 16:21:20 +0000 (12:21 -0400)]
Contacts Provider Training - fix minor code snippet typos.

Change-Id: I3edf86d276d877914a3d97e596e1bb35d1b1ce1f

11 years agoMake sure the app is still app after launching.
Tsu Chiang Chuang [Tue, 30 Apr 2013 22:58:04 +0000 (15:58 -0700)]
Make sure the app is still app after launching.
Bug:8755950

Change-Id: Ie30d84cb94787d8b2e7bdc65e329a311581f4a3f

11 years agoMerge "Fix GLES30 JNI registration" into jb-mr2-dev
Jesse Hall [Wed, 1 May 2013 02:31:55 +0000 (02:31 +0000)]
Merge "Fix GLES30 JNI registration" into jb-mr2-dev

11 years agoMerge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into...
Romain Guy [Wed, 1 May 2013 01:14:41 +0000 (01:14 +0000)]
Merge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into jb-mr2-dev

11 years agoWhen installing/enabling a system app, bootstrap it
Christopher Tate [Wed, 1 May 2013 00:40:32 +0000 (17:40 -0700)]
When installing/enabling a system app, bootstrap it

Specifically, send it a BOOT_COMPLETED broadcast just as it would have
received during device (or user) startup.

Bug 8594153

Change-Id: I847c16df56d038a25758e594f951bc15348edc19

11 years agoFix an NPE and fd leak in SELinux policy updater.
repo sync [Tue, 30 Apr 2013 23:36:56 +0000 (16:36 -0700)]
Fix an NPE and fd leak in SELinux policy updater.

Bug: 8769213
Change-Id: Iff80be6109a1586d818754c8f9f5053b816fbd57

11 years agoMerge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev
Casey Burkhardt [Wed, 1 May 2013 00:15:43 +0000 (00:15 +0000)]
Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev

11 years agoRebuilds ActionBar accessibility description as needed
Casey Burkhardt [Tue, 30 Apr 2013 22:56:41 +0000 (15:56 -0700)]
Rebuilds ActionBar accessibility description as needed

Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled.  This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44

11 years agoMerge "Speed up user-switching wallpaper changes" into jb-mr2-dev
Chet Haase [Tue, 30 Apr 2013 22:42:49 +0000 (22:42 +0000)]
Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev

11 years agoProperly populates AccessibilityEvents for notification and quick settings shades
Casey Burkhardt [Mon, 29 Apr 2013 19:18:32 +0000 (12:18 -0700)]
Properly populates AccessibilityEvents for notification and quick settings shades

Previously, our method of announcing the expansion of the notification shade
and quick notification shade relied on populating a contentDescription
attribute on the highest-level container.  This behavior is incorrect as it
causes accessibility services to infer importance and assign the view
accessibility focus.  This change adds descriptive text to the
AccessibilityEvent fired when the shade opens without modifying the
container's description.

Bug: 8699624
Change-Id: Id909b60d63cdec96c307dea2624b0651ab4f1f36

11 years agoSpeed up user-switching wallpaper changes
Chet Haase [Tue, 30 Apr 2013 22:10:51 +0000 (15:10 -0700)]
Speed up user-switching wallpaper changes

Previous work in ImageWallpaper cached the bitmap for a user
to avoid reloading it (an expensive operation on large-display devices)
when we could simply re-use it. User switching still caused a reload, however,
since the place where we cache the bitmap (ImageWallpaper) is in an instance
that is re-created on user-switch.

A simple fix is to have the ImageWallpaper stop telling the WallpaperManager
to erase its own cache of the bitmap prior to re-loading it. That step is
unnecessary, since a bitmap that is cached can be assumed to be valid. A wallpaper
change will correctly null out that cached version, so if the cached bitmap
is non-null, then we can simply use it as-is.

The fix is to remove the call to forgetLoadedWallpaper() and allow the caching
mechanism to do its job.

Issue #7986933 user switching on lock screen is slow (sometimes like molasses)

Change-Id: I447754ab85337bc8ae59b4ad6c3e6c2b30e13735

11 years agoMediaDrm API: Add two exceptions to handle error path scenarios
Jeff Tinker [Fri, 26 Apr 2013 18:12:43 +0000 (11:12 -0700)]
MediaDrm API: Add two exceptions to handle error path scenarios

bug: 8725707
Change-Id: Ia00c495ac591cc2993f4d11ad3480b59833d009e

11 years agoPrevent TextureView from ever setting a null layer paint
Romain Guy [Tue, 30 Apr 2013 18:12:26 +0000 (11:12 -0700)]
Prevent TextureView from ever setting a null layer paint
Bug #8760436

DO NOT MERGE

Change-Id: I7e4d09fa534f539cb99ebeaa8159fb11920460cf

11 years agoMerge "Removing a debug check when logging fstrim events." into jb-mr2-dev
Svetoslav [Tue, 30 Apr 2013 18:05:48 +0000 (18:05 +0000)]
Merge "Removing a debug check when logging fstrim events." into jb-mr2-dev

11 years agoRemoving a debug check when logging fstrim events.
Svetoslav [Tue, 30 Apr 2013 17:43:56 +0000 (10:43 -0700)]
Removing a debug check when logging fstrim events.

This change is removing the check for debuggable build to
log fstrim events. While this was done everywhere else, one
place was overlooked.

bug:8688454

Change-Id: I354e1deebfd801f971dd91b9e7972c6ebfd093f3

11 years agoMerge "Perform idle maintenance when the device is charging." into jb-mr2-dev
Svetoslav [Tue, 30 Apr 2013 17:41:21 +0000 (17:41 +0000)]
Merge "Perform idle maintenance when the device is charging." into jb-mr2-dev

11 years agoPerform idle maintenance when the device is charging.
Svetoslav [Thu, 25 Apr 2013 21:45:54 +0000 (14:45 -0700)]
Perform idle maintenance when the device is charging.

Added the precondition that the device should be charging to the
existing ones of the device not being used for awhile and the
battery level being high enough. Note that even if the device is
charging, we have to check the battery level since the user can
unplug it at any time.

bug:8688454

Change-Id: I709b1620571301743dc3504a6a625e2018951bfa

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Tue, 30 Apr 2013 14:54:26 +0000 (14:54 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into...
Chet Haase [Tue, 30 Apr 2013 14:45:45 +0000 (14:45 +0000)]
Merge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 30 Apr 2013 05:25:03 +0000 (22:25 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Avoid crash when TextToSpeech calls onInit() from the constructor." into jb...
Alan Viverette [Tue, 30 Apr 2013 01:11:08 +0000 (01:11 +0000)]
Merge "Avoid crash when TextToSpeech calls onInit() from the constructor." into jb-mr2-dev

11 years agoClarify behavior of fullscreen mode and softInputMode's adjustResize
Chet Haase [Mon, 29 Apr 2013 23:04:40 +0000 (16:04 -0700)]
Clarify behavior of fullscreen mode and softInputMode's adjustResize

Fullscreen window's will not resize when the keyboard comes on screen,
regardless of the setting of the window's softInputMode field. This fix
clarifies the docs to make this behavior more obvious.

Issue #8754615 Clarify behavior of adjustResize and fullscreen interaction

Change-Id: Ie056db4e328cefaf0edb54fe8cfa7a08f320c8d0

11 years agoFix GLES30 JNI registration
Jesse Hall [Mon, 29 Apr 2013 22:59:35 +0000 (15:59 -0700)]
Fix GLES30 JNI registration

Bug: 8657863
Change-Id: I498f32480863b0716b2a8dfce467143087573cce

11 years agoMerge "Remove scan notification dialog on wifi off" into jb-mr2-dev
Irfan Sheriff [Mon, 29 Apr 2013 22:58:50 +0000 (22:58 +0000)]
Merge "Remove scan notification dialog on wifi off" into jb-mr2-dev

11 years agoam ec3396af: am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am...
Nick Kralevich [Mon, 29 Apr 2013 22:53:04 +0000 (15:53 -0700)]
am ec3396af: am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'ec3396af9857bd50c6ccac692ecc12ab459239d2':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am...
Nick Kralevich [Mon, 29 Apr 2013 22:50:14 +0000 (15:50 -0700)]
am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '0412d9c7c7e5977e1ffbb3a28bba9f37807876a7':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm...
Nick Kralevich [Mon, 29 Apr 2013 22:48:05 +0000 (15:48 -0700)]
am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '4d17834ab3d4850352f3d33742945dad61722cd5':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad...
Nick Kralevich [Mon, 29 Apr 2013 22:46:21 +0000 (15:46 -0700)]
am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'b83e8b693b6738ba8e778d556ccdba629d372b52':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprint...
Nick Kralevich [Mon, 29 Apr 2013 22:44:43 +0000 (15:44 -0700)]
am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '292c979a0f1e503422924421557b146cd28fc0d2':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 22:42:54 +0000 (15:42 -0700)]
am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'd440ca76029ab6f0909fdd9495941e04b90e5da7':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 22:41:36 +0000 (15:41 -0700)]
am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'f3a5323cc685fd78e7c4a7d7474b79cd34a4cf52':
  libdrm: fix bad strncpy / snprintf calls