151827 Commits

Author SHA1 Message Date
Selim Cinek
311fc0b399 Fixed a crash that could occur in the ObservableScrollView
Bug: 17644848
Change-Id: I771c27f9fee8c0d5edfbd21998ea015fd1d6f685
2014-09-29 12:21:48 +00:00
Paul Jensen
89e0f0937a Move mobile provisioning APN support into telephony.
Most of this logic is simply removed from ConnectivityService.
The captive portal detection is now done by the NetworkMonitor.
The notification logic is still left in ConnectivityService as
it's used by both the NetworkMonitor and telephony's mobile
provisioning logic.

bug:17324098

Change-Id: Ibd1c42b1a75795f90a6483d3d0a5a14f88b193d8
2014-09-29 11:37:43 +00:00
Lorenzo Colitti
061f4159dc Update LegacyTypeTracker state before sending connect broadcasts.
Currently, LegacyTypeTracker sends out connected broadcasts
before updating its internal lists of networks. This creates a
race condition where an app can query LegacyTypeTracker state
(e.g., via getActiveNetworkInfo) as soon as it gets the
broadcast, and get information that has not been updated.

Bug: 17540101
Change-Id: Iefd6d5e9fd0b427c5872166208831f70fcef8b6f
2014-09-29 20:15:33 +09:00
Baligh Uddin
95d2dcb9db Import translations. DO NOT MERGE
Change-Id: Ib7952388c46954152c08ff4f7be923a91e66bcb3
Auto-generated-cl: translation import
2014-09-28 22:42:57 -07:00
Baligh Uddin
e923f53640 Import translations. DO NOT MERGE
Change-Id: I50e2c272196c5ae07c950caef75b75686414b309
Auto-generated-cl: translation import
2014-09-28 22:41:17 -07:00
Baligh Uddin
09ec0c35ff Import translations. DO NOT MERGE
Change-Id: Ifd383e3b819d7364b2fa38231abd7605538fceae
Auto-generated-cl: translation import
2014-09-28 22:21:17 -07:00
Baligh Uddin
797d273f80 Import translations. DO NOT MERGE
Change-Id: I1a4572baca492c9f9d716fec818dee566116a374
Auto-generated-cl: translation import
2014-09-28 22:19:22 -07:00
Matthew Williams
119aac93f8 Fix deadlock caused by clearAllBackoffs in SSE
BUG: 17420163
This CL is a copy of ag/359292
That commit was lost, see the bug for more details.

Change-Id: I68747d447f8c95e6b5022f9bc8cbab677e0c3d4e
2014-09-28 20:42:23 -07:00
Baligh Uddin
80eac5d930 Import translations. DO NOT MERGE
Change-Id: I0b93ac3918f0f6cb15d932cad6bb10e782e0677c
Auto-generated-cl: translation import
2014-09-28 20:28:32 -07:00
Baligh Uddin
ed5305d356 Import translations. DO NOT MERGE
Change-Id: Ic0b039cdceaa31724c9bd1723a0c0c83da468140
Auto-generated-cl: translation import
2014-09-28 20:24:06 -07:00
Baligh Uddin
be833c0ada Import translations. DO NOT MERGE
Change-Id: I1147728fb505a595d5cbd5ffa8694e615a917e40
Auto-generated-cl: translation import
2014-09-28 20:19:34 -07:00
jgu21
208678718f Frameworks/base: Early init native bridge
Add the app directory to the arguments for starting a process.
Add a check for NeedsNativeBridge and a call to PreInitializeBridge
in the native fork code.

(cherry picked from commit 2eacd06bfb82b33dfcbccafbcfc0bf1218484bb5)

Bug: 17671501
Change-Id: I970db5b284b0c12e2d8a45df3950c1fff2927a4e
2014-09-28 15:35:59 -07:00
George Mount
8120652bb1 Order GhostViews so that they display in their ghosted view's order.
Bug 17671834

GhostViews can be added in arbitrary order since they are added
depending on how they are insterted into the TransitionValues
maps. This CL does two things: it ensures that GhostViews are always
pulled to the top of the Overlay and inserts GhostViews into
the Overlay in the order that their ghosted views are drawn.

Change-Id: I9f68105126834cc8f30a6cfe5d58fc3c51465afd
2014-09-28 21:13:38 +00:00
Svetoslav
922fcc2f9e Merge "Crash in print spooler if save to PDF selected early." into lmp-dev 2014-09-28 21:00:23 +00:00
Svetoslav
b179bed353 Merge "Fix carsh in print spooler if custom print setings return bad pages." into lmp-dev 2014-09-28 20:59:52 +00:00
Jorim Jaggi
0e66439387 Add option to enable scrim SRC optimization
It turns out that the optimization to disable glClear + draw scrim
with SRC is not good for all devices, so this CL adds a config flag
to revert to the old behavior.

Bug: 17673806
Change-Id: Ic4e0177f2d6fcf4448755d0be66e8fbef2d15ab5
2014-09-28 20:16:53 +00:00
Jorim Jaggi
2bc5406d7a Fix overdraw
Bug: 17673806
Change-Id: Ia34602122a47e5ffc69dce3580cfab52bc9f535f
2014-09-28 20:15:36 +00:00
Svetoslav
e1dcb397d5 Crash in print spooler if save to PDF selected early.
The first issue is that the save to pdf button is enabled
before the first layout completed and at this point we do
not know anything about the document. The second is that
if a layout is in progress and we select save to pdf we
end up starting the documents UI twice and finishing the
second instance carshes the spooler.

bug:17676878

Change-Id: Id0b1f06e4d377347286c2dde09669d431441234b
2014-09-28 20:05:57 +00:00
Svetoslav
528424c26c Fix carsh in print spooler if custom print setings return bad pages.
The custom settings activity of a print serivce can change the selected
pages and the spooler was not checking whether the returned pages were
valid leading to a crash.

bug:17678553

Change-Id: Id8ea3d482d2909b97a06752d61b416dfe5948483
2014-09-28 20:05:45 +00:00
Svetoslav
ed2fdc6ef5 Accessibility node provider getting invalid virtual view id.
If the virtual child id is not specified we should ask the node
provider to create a node info for the hosting view bu passing
the special host node id.

bug:17664111

Change-Id: Iaf1387acdfe33b50b50729d293adcdf82340a648
2014-09-28 20:05:23 +00:00
New Author Steven Liu
485f2095f8 redirect RIL_UNSOL_OEM_HOOK_RAW to system app
Add LISTEN_OEM_HOOK_RAW_EVENT and onOemHookRawEvent to PhoneStateListener.

Bug: 17298769
Change-Id: Iaea054d3cc2925eea1e11f8871faabc7bc9dfb2d
2014-09-27 07:16:38 +00:00
Dirk Dougherty
c2f4985e84 am cdc49451: am 5913f406: am 6373718b: Merge "Doc change: Add new index page for games stories." into klp-modular-docs
* commit 'cdc494512edb13c0405e1f4410439112e39102ae':
  Doc change: Add new index page for games stories.
2014-09-27 05:24:58 +00:00
Dirk Dougherty
cdc494512e am 5913f406: am 6373718b: Merge "Doc change: Add new index page for games stories." into klp-modular-docs
* commit '5913f40618494a361b4cc0c79aebdd2f0a9170da':
  Doc change: Add new index page for games stories.
2014-09-27 05:20:38 +00:00
Dirk Dougherty
5913f40618 am 6373718b: Merge "Doc change: Add new index page for games stories." into klp-modular-docs
* commit '6373718b883dd945c17987ac64925c0fdc30674d':
  Doc change: Add new index page for games stories.
2014-09-27 05:14:05 +00:00
Dirk Dougherty
6373718b88 Merge "Doc change: Add new index page for games stories." into klp-modular-docs 2014-09-27 03:16:53 +00:00
Andres Morales
66b63cb825 Merge "Mark PDB identifier as SystemApi" into lmp-dev 2014-09-27 02:26:00 +00:00
Ruben Brunk
7b28c66a6c Merge "camera2: Fix native ImageReader test segfaults." into lmp-dev 2014-09-27 02:16:30 +00:00
Yao Chen
c8a3e0dc9d Assign bindService() result to a boolean directly. One less if-else
Bug: 17637058
Change-Id: If2f4db2ebf95f1912a752794a1ab482cf30ab014
2014-09-27 01:08:39 +00:00
Marco Nelissen
f8c4f9efcb Merge "Validate MTP path" into lmp-dev 2014-09-27 01:03:50 +00:00
Ruben Brunk
31798f3318 camera2: Fix native ImageReader test segfaults.
Bug: 17675571

- Check for JPEG footer in correct location from ImageReader
  when using the RGBA override.
- Add additional error checks in produceFrame method.
- Avoid allocating extra space for jpeg buffers due to
  incorrect width calculations.

Change-Id: I926f37e8b3e5c4bad24c16dcee48d52adb1706dd
2014-09-26 18:00:21 -07:00
Dirk Dougherty
eb81afbe29 Doc change: Add new index page for games stories.
Change-Id: Icd9de0715c8a77333fd73a46f31c3ad81d0b951b
2014-09-26 17:43:14 -07:00
Dirk Dougherty
9e1dccc181 am dea43111: am 8d03b0b9: am afbe165a: Doc change: Add IAB v2 deprecation notice.
* commit 'dea43111e1234153794ed54b4883e725043c2ba7':
  Doc change: Add IAB v2 deprecation notice.
2014-09-27 00:33:06 +00:00
Dirk Dougherty
dea43111e1 am 8d03b0b9: am afbe165a: Doc change: Add IAB v2 deprecation notice.
* commit '8d03b0b987172e70d0bd6522fadc7505a3ff2b1d':
  Doc change: Add IAB v2 deprecation notice.
2014-09-27 00:27:26 +00:00
Dirk Dougherty
8d03b0b987 am afbe165a: Doc change: Add IAB v2 deprecation notice.
* commit 'afbe165aecb00b74f8228314cc60b28af089e8e3':
  Doc change: Add IAB v2 deprecation notice.
2014-09-27 00:22:41 +00:00
Andres Morales
33df937f6f Mark PDB identifier as SystemApi
Had already marked the API itself as system api, just not
the Context.BLAH id. Also update the javadoc as it doesn't
return an FD anymore.

Change-Id: Ic8a5b8c75b0ba0bdf4ad26cf33d5f87eea568376
2014-09-26 17:08:59 -07:00
Eino-Ville Talvala
ccc483696b Merge "Camera2: Fix parallel session and device close() exception" into lmp-dev 2014-09-26 23:42:30 +00:00
Amit Mahajan
ce1416a64d Merge "Handling service number convert while roaming." into lmp-dev 2014-09-26 23:32:51 +00:00
Alan Viverette
ab9f1bab6b Merge "Add callback to track and thumb drawables, propagate state in ASLD" into lmp-dev 2014-09-26 23:13:55 +00:00
Alan Viverette
b067405bf4 Add callback to track and thumb drawables, propagate state in ASLD
BUG: 17665424
Change-Id: I22da4530f3e2869d856102e804f020461a46fe49
2014-09-26 16:12:16 -07:00
Dianne Hackborn
820eab3e75 Merge "More debugging for issue #17656716: Unhandled exception in Window Manager" into lmp-dev 2014-09-26 23:11:40 +00:00
Marco Nelissen
5f411696a6 Validate MTP path
Bug: 17673184
Change-Id: I51a64f065d9b3609557af81e596ebeb8720ab6c5
2014-09-26 16:07:49 -07:00
Xia Ying
b82dc3d637 Handling service number convert while roaming.
When roaming in GSM/UMTS and internal CDMA network,
(1)change VZW custumer service numeber *611 to +19085594899.
(2)change VZW voice mail number *86 to +1MDN.

Change-Id: Id2bb10d119a1b196538a0e09f5c1f7c4b3f2b890
2014-09-26 15:58:49 -07:00
Svetoslav
44389c5a3c Merge "Accessibility node provider getting invalid virtual view id." into lmp-dev 2014-09-26 22:56:28 +00:00
RoboErik
e3c3de677c Merge "Don't forward media keys to the app if the phone session is active" into lmp-dev 2014-09-26 22:52:40 +00:00
Elliott Hughes
39aa0d946b Merge "Set the system locale correctly even on an encrypted device." into lmp-dev 2014-09-26 22:52:31 +00:00
Dianne Hackborn
fad079dc5d More debugging for issue #17656716: Unhandled exception in Window Manager
Change-Id: I81d3678e21d293d5896c467ae5c6739c82cfaa95
2014-09-26 15:46:24 -07:00
Eino-Ville Talvala
56fbbeab79 Camera2: Fix parallel session and device close() exception
It's possible for the device to have close() called on it
during the session close sequence such that the session still
tries to do a stream reconfiguration on the closed device.

Handle the exception thrown by this attempt.

Bug: 17661765

Change-Id: Iee63c5c559405abe5c044ae251ad56edd1fb3e79
2014-09-26 15:37:26 -07:00
Svetoslav
b3ba1d4e71 Accessibility node provider getting invalid virtual view id.
If the virtual child id is not specified we should ask the node
provider to create a node info for the hosting view bu passing
the special host node id.

bug:17664111

Change-Id: I9c2d3195ad813eed7ea4108fe0d7ccb9cc32a1a0
2014-09-26 15:23:36 -07:00
Justin Koh
267874622e DO NOT MERGE Disable vibration from notificationmanagerservice when on watch
This is a hack for this version: in a future framework version, there is an API
to do this.

Bug: 17646502
Change-Id: I7b46c0894c5a21189eb82efa04f2ce50ef1f927c
2014-09-26 22:23:33 +00:00
Igor Murashkin
381d22f706 Merge "camera2: Fix race conditions and deadlocks around configuration" into lmp-dev 2014-09-26 22:20:12 +00:00