151115 Commits

Author SHA1 Message Date
Nancy Chen
513c892135 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
2014-09-17 18:34:13 -07:00
Michael Wright
77ebdcbaaa Merge "Remove Rhodi keylayout" into lmp-dev 2014-09-17 21:44:57 +00:00
John Reck
5083943ff8 Merge "Change default fbo cache size to 0" into lmp-dev 2014-09-17 21:35:02 +00:00
David Christie
61ee1eda0a Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515" into lmp-dev 2014-09-17 21:20:27 +00:00
John Reck
e9cd97ee88 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
2014-09-17 14:09:26 -07:00
Yigit Boyar
fd20f196b1 Merge "Handle action mode changes properly for actionbar tabs" into lmp-dev 2014-09-17 21:00:40 +00:00
Sandeep Siddhartha
80ea66b102 Merge "Fix issues with multiple languages and multi-users" into lmp-dev 2014-09-17 20:06:43 +00:00
Alan Viverette
ae1990f406 Merge "Revert body font size to 14sp, fix ActionBar menu text color" into lmp-dev 2014-09-17 19:20:33 +00:00
Alan Viverette
59b2d80f88 Revert body font size to 14sp, fix ActionBar menu text color
BUG: 17549070
BUG: 17538527
Change-Id: Id4d412ae3c035c6f76ae10569658a0d97e36a0e8
2014-09-17 12:19:56 -07:00
ztenghui
d25e864dde Merge "Fix badge asset alpha issue" into lmp-dev 2014-09-17 19:17:25 +00:00
Jeff Sharkey
9d375ecbe6 Merge "NetworkStats always needs arrays." into lmp-dev 2014-09-17 19:01:13 +00:00
Svetoslav
a732950ade Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev 2014-09-17 18:52:19 +00:00
ztenghui
45fb8735b2 Fix badge asset alpha issue
b/17544362

Change-Id: Ibf22918ccfebe082a25f28f0d4c1991e700a1fd2
2014-09-17 11:24:04 -07:00
Svetoslav
7fd5ada98a 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
2014-09-17 11:11:08 -07:00
Craig Mautner
36e793c73b Merge "Eliminate misleading warning." into lmp-dev 2014-09-17 18:02:44 +00:00
Craig Mautner
941aa1afe3 Merge "Add optimizations to keep TaskPersister queue small." into lmp-dev 2014-09-17 18:01:46 +00:00
Sailesh Nepal
b181492258 Merge "Include code when converting unknown causes to string" into lmp-dev 2014-09-17 17:33:11 +00:00
Robert Ly
5b75935416 am 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch
* commit '4243ec2a84e9e42237e8e5bfd5cfb675f765d84f':
  docs: edu changes for launch
2014-09-17 17:10:01 +00:00
Andrew Solovay
b1c066fa5c 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.
2014-09-17 17:09:46 +00:00
Chris Craik
ba9d58516c Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev 2014-09-17 17:01:35 +00:00
Chris Craik
73821c8d2b 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
2014-09-17 10:00:34 -07:00
Craig Mautner
fabab90d1e 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
2014-09-17 09:34:30 -07:00
Jeff Sharkey
7a8f1a32dc 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
2014-09-17 09:26:31 -07:00
Esteban Talavera
63b328bdeb Merge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev 2014-09-17 15:37:27 +00:00
Robert Ly
4243ec2a84 am 9efd9f60: am fc95c477: docs: edu changes for launch
* commit '9efd9f607006b3e02cda714901884e1ce22475d3':
  docs: edu changes for launch
2014-09-17 15:33:16 +00:00
Robert Ly
9efd9f6070 am fc95c477: docs: edu changes for launch
* commit 'fc95c477835f86d99cf8c7ce5c1dd098fa42e69c':
  docs: edu changes for launch
2014-09-17 15:19:15 +00:00
Robert Ly
fc95c47783 docs: edu changes for launch
Change-Id: Ia9047138bd9972e572b5dd93310339b630a2810d
2014-09-17 15:13:09 +00:00
Christoph Studer
9077cbc30e Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev 2014-09-17 14:17:33 +00:00
Alexandra Gherghina
16ebe98d9a Merge "Reorder user icon colors so that the first default is teal" into lmp-dev 2014-09-17 11:49:29 +00:00
Christoph Studer
37e4468be1 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
2014-09-17 13:28:46 +02:00
Craig Mautner
63f10904a1 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
2014-09-16 23:57:21 -07:00
Andrew Solovay
67267dcf90 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.
2014-09-17 06:12:12 +00:00
Andrew Solovay
6c6664c95d am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
* commit 'a209406faa1f2b0f1dd7b6e3c5a468729f1c562f':
  Docs: Updated to include new Subscriptions functionality.
2014-09-17 06:01:09 +00:00
Sailesh Nepal
7f46657454 Include code when converting unknown causes to string
Bug: 17535687
Bug: 17241433
Change-Id: I12f0c3b4334dfcb5ac0cd2439ecab9dc77546680
2014-09-17 04:27:36 +00:00
Yorke Lee
58bacc513c Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference
Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
2014-09-16 20:44:09 -07:00
Yorke Lee
1c4eb10cc1 Merge "Add missing methods to Conference object" into lmp-dev 2014-09-17 03:29:12 +00:00
Nancy Chen
ebc69cd19e Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev 2014-09-17 03:23:04 +00:00
Andrew Solovay
a209406faa Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs 2014-09-17 02:21:10 +00:00
Andrew Lee
009348e837 Merge "Fix disconnect log printf in ConnectionService." into lmp-dev 2014-09-17 01:52:54 +00:00
Jungshik Jang
c1e1550bf4 Merge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev 2014-09-17 01:29:54 +00:00
Jungshik Jang
1a6be6ed39 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
2014-09-17 10:28:40 +09:00
Yuncheol Heo
afd6f342ad Merge "Remove MHL related code." into lmp-dev 2014-09-17 01:28:26 +00:00
Yigit Boyar
2bbad0cddc Handle action mode changes properly for actionbar tabs
Bug: 17513613
Change-Id: I4ebcadc618558153b72bf577232adc3e616adb6b
2014-09-16 18:28:03 -07:00
mike dooley
9891bbeae2 Merge "Fix a small printf format bug." into lmp-dev 2014-09-17 01:25:14 +00:00
Andrew Lee
2678639f9e Fix disconnect log printf in ConnectionService.
Bug: 17534940
Change-Id: I41499701d1f7a3ab0816624d27094c6c86fb5b01
2014-09-16 18:17:44 -07:00
Yuncheol Heo
da6e9f10d0 Remove MHL related code.
Bug: 17479050
Change-Id: Id4a76ccf7325c78817d1b3c3460e5dc40e23831b
2014-09-17 10:15:40 +09:00
mike dooley
f34519b4dd Fix a small printf format bug.
Bug: 17534940
Change-Id: Idc3c1105c72714f138b07012d0ad9e0bf0ba17f1
2014-09-16 18:14:14 -07:00
Dianne Hackborn
6035379865 Merge "Fix issue #17507017: took ~3 seconds to move an app to the foreground" into lmp-dev 2014-09-17 00:14:44 +00:00
Dianne Hackborn
1a526f582b Merge "Fix issue #16662560: SingleTop activity is getting instantiated multiple time" into lmp-dev 2014-09-17 00:13:38 +00:00
Robert Greenwalt
e7b26be378 Merge "Add NetworkAgent event for ExplicitlySelected" into lmp-dev 2014-09-17 00:06:03 +00:00