147672 Commits

Author SHA1 Message Date
Deepanshu Gupta
556f941f55 Merge "Don't show warnings for fonts not bundled." into lmp-dev 2014-08-12 16:54:46 +00:00
Deepanshu Gupta
93b1483e57 Improve error reporting when renaming fonts.
Log a better error in case of invalid input.

Change-Id: Ifb122c1cc624111769e650439aa24290155dbbc4
2014-08-11 18:48:53 -07:00
Deepanshu Gupta
e644ff8d92 Don't show warnings for fonts not bundled.
The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType
CFF fonts which don't work well with Java. These fonts are deliberately
excluded from the SDK build.

This change skips the warnings for the missing fonts. However, we still
show warnings for other fonts that failed to load. If the set of fonts
bundled with the SDK changes, we will need to update the list of missing
fonts in FontFamily_Delegate.java.

Change-Id: I3197b5350d048daa09512e8024188909179b1799
2014-08-11 18:11:37 -07:00
Raph Levien
ff86bcd088 Resolve invalid Typeface style to default
Setting a textAppearance that specified a fontFamily but not a textStyle
results in a styleIndex of -1 being passed to the Typeface.create()
call. This patch resolves such invalid style indices to the default.

Fix for bug 16880318 "Applying TextAppearance To TextView with custom
font family incorrectly adds italics style on LMP"

Change-Id: I05c9cfc4d76161be21b58abdb4037c51a23cae37
2014-08-11 14:26:37 -07:00
Alan Viverette
f6cf1a0253 Invalidate root render node when accessibility focus moves
BUG: 16796647
Change-Id: Ibfc6ec4aa50c6354ea095a35470dd54e768d911b
2014-08-11 14:13:02 -07:00
Selim Cinek
3afd00e9f2 Fixed a bug in the notification stack algorithm
Bad holes could occur when a notification was at the same time in
the top and the bottom stack. This also improves the landscape /
smallscreen interaction with the shade.

Bug: 16715133
Change-Id: Icbb4d080e658f4ddbd39b7d08652ca5311a47978
2014-08-11 20:59:44 +00:00
Geoff Mendal
8705eb95b0 Merge branch 'lmp-dev' of sso://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev 2014-08-11 13:31:17 -07:00
Geoff Mendal
3f19789b77 Don't double count the left/top when using bitmap cache in VectorDrawable.
bug:16861184

Change-Id: I0530602957a434b222725b6fcbc1af165ee05835

Merge commit 'refs/changes/18/520718/4' of persistent-https://googleplex-android.git.corp.google.com/platform/frameworks/base into lmp-dev
2014-08-11 13:30:55 -07:00
Igor Murashkin
d42a5fd3e7 camera2: (legacy) Fix the comparison for fixed-focus cameras
* Use #equals instead of == for string comparison
* Also make sure lens.info.minimumFocusDistance shows up in
  CameraCharacteristics#getKeys() for fixed-focus cameras

Bug: 16900875
Change-Id: I3b9248c5cb62ddcfb13587c6349525e145e353ac
2014-08-11 13:25:01 -07:00
Igor Murashkin
7336f470e3 camera: (LEGACY) - Add captureIntent and physicalSize metadata
Bug: 16900182
Change-Id: I159f2416da71c2d7ea803d61b63476da90e03b1c
2014-08-11 13:25:01 -07:00
Igor Murashkin
8c4486c141 camera: (Legacy) Add support for SCENE_MODE == FACE_PRIORITY
Bug: 16898478
Change-Id: I4306f6380ea06e8bd95af8738e5dde1a42a8098c
2014-08-11 13:25:01 -07:00
Brian Attwell
9401042e46 Merge "Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP" into lmp-dev 2014-08-11 18:48:29 +00:00
ztenghui
0670f029a4 VD: Fix Canvas save leak
bug:16965998

Change-Id: I367388b270748e2ce114b468940966d78de07465
2014-08-12 10:35:49 -07:00
Brian Attwell
9ee66404b7 Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP
Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
2014-08-12 06:03:41 +00:00
Jason Monk
7036cb6bac Merge "Make simple user switcher notice setting changes." into lmp-dev 2014-08-11 18:40:10 +00:00
Ricardo Cervera
1ac0820897 am 18718444: am 97dbb136: am 6bb49e4a: Merge "docs: Fixed minor issue with Studio shortcuts" into klp-modular-docs
* commit '18718444b99b4b631021d5452161c7338cb99473':
  docs: Fixed minor issue with Studio shortcuts
2014-08-11 19:15:02 +00:00
Jason Monk
6becbe732a Make simple user switcher notice setting changes.
To do this just check the state from the controller (which listens
for changes), rather than holding state locally.

Bug: 16888009
Change-Id: Ifdbf0055c7aa100941c6504cf3f469031c9c6e43
2014-08-11 14:52:34 -04:00
Adrian Roos
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +00:00
Adrian Roos
bd3409c137 Respect DPM flags for lockscreen notifications
Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
2014-08-12 17:27:58 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Raph Levien
61da0fdfee Merge "Copy fonts.xml to /system/etc" into lmp-dev 2014-08-11 18:20:32 +00:00
Adrian Roos
c55dd2bc04 Merge "QS: Update user switcher details" into lmp-dev 2014-08-11 18:41:55 +00:00
Adrian Roos
bc0a9fecf6 QS: Update user switcher details
- Update icon colors to white
- Change label for adding a guest

Bug: 16897120
Bug: 16898990

Change-Id: I0541d35df8c03bfeb3ee931d8074a7fe1064b2db
2014-08-11 20:45:04 +02:00
Winson Chung
9e229d80e5 Merge "Updating accessibility message for Recents activity. (Bug 15570522)" into lmp-dev 2014-08-11 18:20:32 +00:00
Winson Chung
f25268b402 Updating accessibility message for Recents activity. (Bug 15570522)
Change-Id: Iaaedb9a66b2160015b304863a00fbefdfb0e10ea
2014-08-11 11:58:32 -07:00
Winson Chung
448bb42c78 Merge "Tweaking empty recents text. (Bug 16711522)" into lmp-dev 2014-08-11 18:26:04 +00:00
Winson Chung
b1f749906f Initial changes to support swiping on the nav bar to switch affiliated tasks.
- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
2014-08-11 19:22:46 +00:00
Winson Chung
27b97fa098 Tweaking empty recents text. (Bug 16711522)
Change-Id: I338e2add6e4a46551ce7d52e873f332979b194e1
2014-08-11 19:17:34 +00:00
Deepanshu Gupta
b205fa602f Merge "Resolve color xml attributes properly." into lmp-dev 2014-08-11 18:14:57 +00:00
Deepanshu Gupta
99d90a6210 Resolve color xml attributes properly.
Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.

Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
2014-08-12 09:57:27 -07:00
Baligh Uddin
dc77ea411a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-11 18:20:32 +00:00
Baligh Uddin
deb6799eee Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-12 04:17:55 +00:00
Baligh Uddin
becf634dd5 Import translations. DO NOT MERGE
Change-Id: I19b9647d1f535c00fbf17a3508e30dab5b3b3054
Auto-generated-cl: translation import
2014-08-11 13:11:54 -07:00
Baligh Uddin
10b363434b Import translations. DO NOT MERGE
Change-Id: I05a1dc49c04d92092723d84c7fdadf7e190b5476
Auto-generated-cl: translation import
2014-08-11 12:52:01 -07:00
Baligh Uddin
78f793f740 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-11 18:20:32 +00:00
Baligh Uddin
f8aaf710d9 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-12 04:17:55 +00:00
Baligh Uddin
170f785bbf Import translations. DO NOT MERGE
Change-Id: I70fade0a8a1cba8734874b955634c7296c9aaff7
Auto-generated-cl: translation import
2014-08-11 14:47:50 -07:00
Baligh Uddin
3cbd20935a Import translations. DO NOT MERGE
Change-Id: Ice9a22422396849c763e2fcc011567e2527c7556
Auto-generated-cl: translation import
2014-08-11 14:27:01 -07:00
RoboErik
1f7a39fee1 Merge "Fix registering global priority sessions" into lmp-dev 2014-08-11 18:20:32 +00:00
RoboErik
4d26598677 Fix registering global priority sessions
We were never setting a global priority session due to a change in
the way sessions were registered. This makes sure a global session
gets set correctly.

bug:16930866
Change-Id: I859846c9265e98bb1a37ff9d22808137e787ce18
2014-08-11 16:50:18 -07:00
Selim Cinek
f4a1635060 Merge "Fixed a bug where a notification had no background" into lmp-dev 2014-08-11 18:05:12 +00:00
Robin Lee
7e67871174 Clean up DevicePolicyManager CA certificate APIs
For consistency all CA-related methods now require the ComponentName
of a DeviceAdminReceiver as the first parameter. Updated javadoc for
this and added in some more detail about the methods in general as
well.

Created two new utility APIs,one to list all installed CAs and one to
remove all installed (user) CAs. Deleted old hasAnyCaCertsInstalled
method because it is now redundant.

@bug 16488006

Change-Id: I55eec17e01489ab323f8a0e68b11592605a7b740
2014-08-12 16:54:40 +01:00
Selim Cinek
23e6acbde2 Fixed a bug where a notification had no background
When tapping on a notification and then dragging down,
the notification had no background anymore

Bug: 16191184
Change-Id: I233a45744fc39ac3fcd9f533c8427354ab384709
2014-08-12 16:01:41 +02:00
George Mount
8d2ba6dac3 Merge "Pass elevation to enable shadow in shared elements." into lmp-dev 2014-08-12 04:17:55 +00:00
Sungsoo Lim
1681ac0b69 Add equals method of TvContentRating
Bug: 16963556
Change-Id: I09869d322fc2056ef1df5d2ca95891263646b46f
2014-08-12 22:48:28 +09:00
George Mount
26c82b6ed1 Pass elevation to enable shadow in shared elements.
Bug 15932772

Change-Id: Ia4cb89035244656a2dd24936bf0e36a5b7970ea6
2014-08-11 15:38:56 -07:00
Jaewan Kim
22f7c4769f Merge "Treat empty subrating as the same as null subratings." into lmp-dev 2014-08-11 19:46:21 +00:00
Jaewan Kim
d22e37acac Treat empty subrating as the same as null subratings.
Change-Id: Ic288c680c639ccba6cf593d1286776a6c891b726
2014-08-12 22:21:33 +09:00
Jeff Davidson
328e679b21 Merge "Security-related cleanup for network scoring." into lmp-dev 2014-08-12 00:32:51 +00:00
Jeff Davidson
ac7285dc1e Security-related cleanup for network scoring.
-Perform additional checks for the SCORE_NETWORKS permission when
broadcasting scoring requests to the active scorer and when accepting
score updates. In theory, these checks are unnecessary as we manually
check package manager when obtaining the list of valid scorers, but
they cannot hurt to add.

-Fix multi-user. Since the active scorer is a global setting, we
ensure that scoring can only be done by apps available to the primary
user / owner of the phone, and that the request scores broadcast is
sent to that user's profile. When the scorer is changed, we send that
to all user profiles as it's just informational, although it's
unlikely that apps outside the primary user's profile would need to
respond.

Bug: 14117916
Bug: 16399238
Change-Id: Iaf06bda244eec730b590a30a3f4ffab4965bde96
2014-08-11 15:46:20 -07:00