Commit Graph

139766 Commits

Author SHA1 Message Date
Roozbeh Pournader
de0fe2daaf Swap the chess king and queen glyphs in Droid Sans Fallback.
Also remove the unused DroidSansFallbackLegacy.ttf.

Based on public bug report
https://code.google.com/p/android/issues/detail?id=71389.
The original glyphs were mistakenly swapped.

Following is the code that was run on the font:

import sys
from fontTools import ttLib
WHITE_KING = 0x2654
WHITE_QUEEN = 0x2655
BLACK_KING = 0x265A
BLACK_QUEEN = 0x265B
font_name = sys.argv[1]
font = ttLib.TTFont(font_name)
for table in font['cmap'].tables:
  cmap = table.cmap
  cmap[WHITE_KING], cmap[WHITE_QUEEN] = cmap[WHITE_QUEEN], cmap[WHITE_KING]
  cmap[BLACK_KING], cmap[BLACK_QUEEN] = cmap[BLACK_QUEEN], cmap[BLACK_KING]
font.save(font_name+'-fixed')

Bug: 15643969
Change-Id: Iacee3d72ef8146016e15828f051822460ae2ff4e
2014-06-18 18:15:22 -07:00
Christopher Tate
9c46e06478 Merge "Introduce <application> attribute android:fullBackupOnly={boolean}" 2014-06-17 21:43:29 +00:00
Christopher Tate
d1de2567c6 Introduce <application> attribute android:fullBackupOnly={boolean}
It is quite possible for an application to be happy with having the OS
save full-data archives of its data, but still need to selectively
filter the set of saved files or otherwise participate in full-data
backup and restore.  In general we assume that any app which provides
a backup agent implementation will be directly participating via the
incremental key/value backup API; this new attribute allows an app
to tell the OS "perform full-data backup/restore for me even though
I am supplying my own agent implementation to participate."

Change-Id: I810c50d44aa683b1f23604b7d1f3e96a1722103a
2014-06-17 18:02:48 -07:00
Jorim Jaggi
16b414f46f Merge "Fix bug when Keyguard gets hidden." 2014-06-17 22:59:52 +00:00
Alan Viverette
e35a0b30ac Merge "Throw exception when a bad adapter is passed to Spinner" 2014-06-17 22:59:52 +00:00
Alan Viverette
d52697784f Throw exception when a bad adapter is passed to Spinner
BUG: 13570583
Change-Id: Ia38fa907bad7634f79d0da15b885905de23c9c46
2014-06-17 16:43:45 -07:00
Alan Viverette
93afb5f1d9 Update accessibility focus color
BUG: 15453163
Change-Id: I1504246cfdf7c4af2c9817c47b6bb71f7dc53573
2014-06-17 16:27:40 -07:00
Jorim Jaggi
53c68a44ac Fix bug when Keyguard gets hidden.
We make sure in Keyguard that we only hide ourselves in
startKeyguardExitAnimation ourselves when we requested a hide.

In addition, this change also fixes a bug in WindowAnimator that
it should only call startKeyguardExitAnimation when Keyguard actually
requested a hide.

Bug: 15676717
Change-Id: I2279cccb9916985b7e9a2f41137878be5782cb9c
2014-06-17 15:28:05 -07:00
Yorke Lee
028d64f9ab Merge "Add getSystemPhoneApplication to TelecommManager" 2014-06-17 21:07:42 +00:00
Yorke Lee
8b74c4f67e Add getSystemPhoneApplication to TelecommManager
Change-Id: Ie67698e8363d1498b37692dc7be23b14a0d8c388
2014-06-18 13:01:26 -07:00
Sreeram Ramachandran
cacf07de41 Merge "Fix the default VPN confirm dialog component name." 2014-06-18 18:28:24 +00:00
Sreeram Ramachandran
ba724e2708 Fix the default VPN confirm dialog component name.
This was a mistake introduced in http://ag/479286.

Bug: 15087985
Change-Id: I09e1cdcbfbe36b322db9b3178324a9ebb7d5e586
2014-06-18 17:32:37 -07:00
Jae Seo
3bbd9be166 Merge "TvContract: Change constants of canonical genres to all-caps values" 2014-06-19 00:17:11 +00:00
Christopher Tate
80888cb206 Merge "Fix job service validation in secondary users" 2014-06-18 19:24:54 +00:00
Christopher Tate
5568f54e14 Fix job service validation in secondary users
Bug 15714663

Change-Id: I101bcc979f30062bec36f462522227b857b58054
2014-06-18 14:02:46 -07:00
Brian Attwell
0d8acb2ceb Merge "setSelectedHeader() when switching to fragment" 2014-06-18 19:24:54 +00:00
George Mount
1798208443 Merge "Fix blinking animation during Visibility transitions." 2014-06-18 19:24:54 +00:00
Jae Seo
0e33c1286d Merge "TvContract: Add columns for video format and resolution" 2014-06-18 18:28:24 +00:00
Roozbeh Pournader
f1a32d7082 Merge "Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts." 2014-06-18 18:22:48 +00:00
George Mount
4c20ea2972 Fix blinking animation during Visibility transitions.
Bug 15618501

Change-Id: I9dff9eb386a4bfb51caec24f3f7cc0fad06ae04c
2014-06-18 11:13:06 -07:00
Roozbeh Pournader
1a8438a8bb Add Cherokee, Canadian Aboriginal Syllabics, and Yi fonts.
Bug: 15708701
Change-Id: I1cdd26798ace5eec24d09b9b5b49eb943edacbe9
2014-06-17 20:21:47 -07:00
Jae Seo
acc1957d78 TvContract: Change constants of canonical genres to all-caps values
This is just for consistency with other constant values.

Change-Id: If226af08e66532c9110bc88e3c68d3958c67cdb6
2014-06-17 19:44:10 -07:00
Jae Seo
68e0de81d5 TvContract: Add columns for video format and resolution
Added COLUMN_VIDEO_FORMAT to the Channels table to indicate typical
video format for programs from a given TV channel, which can later be
used to filter out channels. Also defined common video formats and
resolutions and a utility method to get the video resolution for a given
format.

Added COLUMN_VIDEO_WIDTH and COLUMN_VIDEO_HEIGHT to the Programs table
to indicate the actual video dimension for each individual TV program,
which can be shown as a part of program information by applications.

Bug: 15351111, 15456031
Change-Id: Id72e25de40f06a1b615620365e06cf11e4cd9f81
2014-06-17 19:41:43 -07:00
Igor Murashkin
4961bc88d7 camera2: Map camera characteristics in the managed layer
Change-Id: Ic86c8df3d703e7cf89caa856387e2c0a1b977401
2014-06-17 22:55:16 +00:00
Jungshik Jang
bce527139a Merge "Add SystemAudioAutoInitiationAction and SystemAudioStatusAction" 2014-06-17 22:26:08 +00:00
Jungshik Jang
187d01765b Add SystemAudioAutoInitiationAction and SystemAudioStatusAction
Once all device discovery action is done if there is audio amplifier
on device list, it should trigger system audio initiation action.
On or off of system audio is decided by Tv's last audio setting
(speaker). If system audio was the last audio setting, it will
try to turn on system audio; otherwise will turn it off.

In other hands, SystemAudioStatusAction is added to update
system audio status (mute or volume) after
SystemAudioAutoInitiationAction. In fact, RequestArcAction has
almost same code as it has and will refactore RequesArcAction
in the following changes.

Change-Id: I3d591242e79549cb73e14546f0d057ba08f878ef
2014-06-18 11:37:11 +09:00
Deepanshu Gupta
128be2a919 am 5ba5ab31: (-s ours) am 1595c61d: am 5a49fc33: am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]
* commit '5ba5ab3111d3738ac33efbeb7c4e87f46d923b37':
  Add a script to rename fonts for SDK. [DO NOT MERGE]
2014-06-18 01:47:15 +00:00
Deepanshu Gupta
5ba5ab3111 am 1595c61d: am 5a49fc33: am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]
* commit '1595c61d2f1f081111958b4a22e8fec25402f3cd':
  Add a script to rename fonts for SDK. [DO NOT MERGE]
2014-06-18 00:20:35 +00:00
Deepanshu Gupta
1595c61d2f am 5a49fc33: am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]
* commit '5a49fc331ec7d5aa2532d650c32ea68733cbd5c0':
  Add a script to rename fonts for SDK. [DO NOT MERGE]
2014-06-18 00:15:35 +00:00
Deepanshu Gupta
5a49fc331e am c57b410c: Add a script to rename fonts for SDK. [DO NOT MERGE]
* commit 'c57b410c8ef41e269f82f3b42a8d22a15c08755b':
  Add a script to rename fonts for SDK. [DO NOT MERGE]
2014-06-18 00:10:34 +00:00
Colin Cross
0ead2a00f4 am 15967d0a: am 88b37eda: Merge "Fix reading memory usage for 64-bit processes"
* commit '15967d0a8f8f858b0ed6aaf9d5aab5c65b94257f':
  Fix reading memory usage for 64-bit processes
2014-06-17 22:53:09 +00:00
Colin Cross
15967d0a8f am 88b37eda: Merge "Fix reading memory usage for 64-bit processes"
* commit '88b37edaeab7b31cab0f5115e5c9f63a49991408':
  Fix reading memory usage for 64-bit processes
2014-06-17 22:47:50 +00:00
Sungsoo Lim
f76ba856f3 Merge "Print a warning message instead of throwing IllegalStateException" 2014-06-17 22:28:18 +00:00
Svetoslav
6170cca05e Not touchable windows should not hide windows behind
When computing which windows to report for accessibility we were not
reporting windows behind non touchable ones. However, if a window is
not-touchable the touch events go to the window behind it. Hence, a
not-touchable window should not affect the reproted windows for
accessibility.

Change-Id: I213a32b33b0986a73d8bbdf0a3e40e6ca6e4261b
2014-06-17 14:54:39 -07:00
Colin Cross
88b37edaea Merge "Fix reading memory usage for 64-bit processes" 2014-06-17 21:47:03 +00:00
Colin Cross
0c6bc73c5e Fix reading memory usage for 64-bit processes
64-bit process will have virtual addresses that don't fit in an
unsigned long if ActivityManagerService is in a 32-bit process,
and the locations of the '-' and ' ' characters in the maps
are not predictable.  Fix the sscanf for finding the start of the
mapping, and use it again to find the end of the mapping.  Also
fix a few 64-bit warnings.

Change-Id: I8855c76085142768be1d45346f1032fd37cbe4eb
2014-06-17 15:25:45 -07:00
fafaisland
5834ee7503 Merge "Add READ_ALL_VOICEMAIL permission in the core" 2014-06-17 21:46:58 +00:00
fafaisland
88fb96505c Add READ_ALL_VOICEMAIL permission in the core
Bug:15695227

Change-Id: I96bebcd949293679d938b2ec290820d4ed9035fa
2014-06-17 15:51:58 -07:00
Christopher Tate
42892f8aa5 Merge "Don't end lock task mode when not in lock task mode" 2014-06-17 21:43:29 +00:00
Christopher Tate
3bd90617ec Don't end lock task mode when not in lock task mode
Change-Id: I3724d68ed7116d47024638d56c5bf43c4866f82e
2014-06-18 16:37:52 -07:00
Winson Chung
c4de2caaaf Merge "Adding start delay to the task view transforms." 2014-06-18 18:28:24 +00:00
Jason Sams
864b75be51 am 3aa4de11: am 802aaf3b: am 47de3060: Merge "Fix element size on 64b"
* commit '3aa4de11b05599d75af92a15820731144941c38f':
  Fix element size on 64b
2014-06-18 23:14:14 +00:00
Jason Sams
3aa4de11b0 am 802aaf3b: am 47de3060: Merge "Fix element size on 64b"
* commit '802aaf3b9d029e8f6fdb1bf0a81758484801d330':
  Fix element size on 64b
2014-06-18 23:08:35 +00:00
Jason Sams
802aaf3b9d am 47de3060: Merge "Fix element size on 64b"
* commit '47de306050576535014ff2b0c08006f951eea2ee':
  Fix element size on 64b
2014-06-18 22:54:08 +00:00
Winson Chung
7ab650cb43 Adding start delay to the task view transforms.
- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
2014-06-18 14:30:32 -07:00
Mark Renouf
7deaf7c530 am f2dcb390: Merge "Limit swipe dismiss progress to positive values" into klp-modular-dev
* commit 'f2dcb390444ffb42cf8637c99f53d821917554e6':
  Limit swipe dismiss progress to positive values
2014-06-18 19:37:02 +00:00
Robert Ly
8312bfd618 am 5cfea842: Merge "docs: add allowembedded" into klp-modular-dev
* commit '5cfea84264911b93057a667cbcaf90e10740d658':
  docs: add allowembedded
2014-06-18 18:33:31 +00:00
Jeff Sharkey
7a2d46f39b Merge "Stronger PackageParser contract, more split work." 2014-06-18 18:28:24 +00:00
Jeff Sharkey
275e085d5a Stronger PackageParser contract, more split work.
Require that method callers always provide relevant paths, instead of
relying on constructor.  Move DisplayMetrics to be an overall parser
parameter, and move PARSE_TRUSTED_OVERLAY to flags.

Parse split APKs and apply deterministic ordering based on split
names.  Assert consistent package name and version code across all
split APKs in a package, and enforce unique split names and required
base APK.

Collect certificates for split APKs, enforcing they're all signed
consistently.  Better flow control and resource cleanup when
collecting certs.  Refactor validation code so it's easier to reason
about.  Cleaner maintenance of read buffer when draining stream
contents.

Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
2014-06-18 16:04:13 -07:00
George Mount
52cd83e6cf Merge "Don't make translucent window opaque during activity transition." 2014-06-18 22:47:18 +00:00