141097 Commits

Author SHA1 Message Date
Chris Craik
3e63034869 am 86b55c52: (-s ours) Fix klp-modular-dev-plus-aosp build
* commit '86b55c52c77bc11ebfe2372e6419a63a1a09be87':
  Fix klp-modular-dev-plus-aosp build
2014-07-01 22:47:36 +00:00
Chris Craik
86b55c52c7 Fix klp-modular-dev-plus-aosp build
Change-Id: I546dfef29b5875633de18f6a7e3f419a0d012faa
2014-07-01 15:24:37 -07:00
Nick Kralevich
db32fb646d am d172419e: am 9b1a7d45: Merge "Allow different SELinux policies for third party apps."
* commit 'd172419e9a36f61af8c98d316ec2625e1f1304f6':
  Allow different SELinux policies for third party apps.
2014-07-01 21:16:14 +00:00
Nick Kralevich
d172419e9a am 9b1a7d45: Merge "Allow different SELinux policies for third party apps."
* commit '9b1a7d4570dd692cf86c385dfcdf057ad966fa57':
  Allow different SELinux policies for third party apps.
2014-07-01 21:13:12 +00:00
Nick Kralevich
9b1a7d4570 Merge "Allow different SELinux policies for third party apps." 2014-07-01 19:16:01 +00:00
Robert Craig
83b54ecab7 Allow different SELinux policies for third party apps.
Prior support forced all third party apps
to be resolved against the default stanza
of the mac_permissions.xml file when assigning
seinfo labels. This meant that all third party
apps, in effect, were untrusted regardless of
cert and therefore received the same selinux domain.
This also had the unfortunate side effect of forcing
certain third party apps into the wrong domains
because of shared userid requests among apps.

This patch removes that restriction and instead
allows all apps, regardless of location, to be
matched against the full mac_permissions.xml
policy file. This then allows all apps signed
with known good certs to receive the same selinux
domains of other apps with whom they share trust.

Change-Id: Iba569c046135c0e81140faf6296c5da26a243037
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
2014-07-01 13:53:11 -07:00
Marco Nelissen
1ed64c65a7 am 899c15ef: am db816cef: Merge "Make sure we clean up"
* commit '899c15ef2053f0cebfeda90b5211e80310e6f278':
  Make sure we clean up
2014-07-01 18:21:41 +00:00
Marco Nelissen
899c15ef20 am db816cef: Merge "Make sure we clean up"
* commit 'db816cef0dd1f1988fbcf3c70a66f9c4acf73358':
  Make sure we clean up
2014-07-01 18:15:28 +00:00
Baligh Uddin
b77da19e59 am b9246ef5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'b9246ef52c7f8ea7c4888c0f45005a49792a8614':
  Import translations. DO NOT MERGE
2014-07-01 18:14:47 +00:00
Baligh Uddin
5b3e66d0f6 am 9846e4c6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '9846e4c676e9b1b656081bab3f9cb304f8cc3cdf':
  Import translations. DO NOT MERGE
2014-07-01 18:14:40 +00:00
Baligh Uddin
3bb733baa2 am 4a4fa0a3: (-s ours) Import translations. DO NOT MERGE
* commit '4a4fa0a30a4d53816fcb56545054d624f3243cb6':
  Import translations. DO NOT MERGE
2014-07-01 18:14:36 +00:00
Baligh Uddin
4a4fa0a30a Import translations. DO NOT MERGE
Change-Id: I1027a88bab0d00d223807bba87f9bbb75aef4d79
Auto-generated-cl: translation import
2014-07-01 10:47:53 -07:00
Marco Nelissen
db816cef0d Merge "Make sure we clean up" 2014-07-01 14:59:07 +00:00
Baligh Uddin
9846e4c676 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-07-01 14:50:43 +00:00
Baligh Uddin
efee5db3c7 Import translations. DO NOT MERGE
Change-Id: I7ad5171c74ba22fff8602cf99b6a87f93f0f86a0
Auto-generated-cl: translation import
2014-07-01 10:45:41 -07:00
Yorke Lee
ca9239bd3a Merge "Fix build break" 2014-07-01 14:48:56 +00:00
Yorke Lee
5056d5d34d Fix build break
Fix api/current.txt

Change-Id: Ib73558530d984613916ad41b488042af4cd6e08d
2014-07-01 15:43:05 -07:00
Jeff Davidson
b096bdceaf Add a SCORER_CHANGED broadcast.
Sent whenever the active network scorer is changed.

Bug: 16007033
Change-Id: Ib71e89e2cc98fa424db7e489445ec03edefb6880
2014-07-01 15:43:02 -07:00
Adam Powell
d76008352e Remove ActionBar.LayoutParams MarginLayoutParams constructor
Adding this for L caused some fun issues with source compatibility.
Apps that previously passed another MarginLayoutParams subclass to
ActionBar.LayoutParams' constructor started statically linking to a
constructor overload that did not exist on older platform changes with
no other source changes. In the interests of avoiding these headaches
for developers, remove it.

Bug 15933193

Change-Id: I01cf8dfa2341b9d9629331639433b59352e7e15a
2014-07-01 15:39:28 -07:00
Baligh Uddin
b9246ef52c Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-07-01 14:40:15 +00:00
Baligh Uddin
a9b6277c10 Import translations. DO NOT MERGE
Change-Id: I8995e4e7008c4ec3c06e6ef65046d8fc9987c33a
Auto-generated-cl: translation import
2014-07-01 10:44:30 -07:00
George Mount
009edbb276 Merge "Don't return null from ActivityOptions.makeSceneTransitionAnimation." 2014-07-01 14:40:15 +00:00
George Mount
0b6f3e1afa Don't return null from ActivityOptions.makeSceneTransitionAnimation.
Change-Id: I77c331848eb5f05ac3010fa6ab85ad2a45760ebc
2014-07-01 14:54:07 -07:00
Tyler Gunn
9d9f703299 Merge "API support for reporting of changes to call features. (eg VoLTE, VoWIFI, etc)" 2014-07-01 19:22:38 +00:00
Tyler Gunn
8d83fa9bbd API support for reporting of changes to call features.
(eg VoLTE, VoWIFI, etc)

Bug: 15987281
Change-Id: Iae351ca2fe7b36c067106695f611cca6b3230556
2014-07-01 19:22:22 +00:00
Svetoslav
ff1d65b32f Merge "Reverting change in accessibility focus behavior" 2014-07-01 14:50:43 +00:00
Svetoslav
f159c1a460 Reverting change in accessibility focus behavior
bug:15995066

Change-Id: Ie22f203b9a95c3002188dacc3d753ff5d789ffd9
2014-07-01 14:54:29 -07:00
ztenghui
2bd52dff6c Merge "Draw overlapping rectangles with color modulated." 2014-07-01 14:50:43 +00:00
George Mount
8f7e0bfac2 Merge "Wait 2 frames before hiding shared elements." 2014-07-01 14:40:15 +00:00
George Mount
e678ab6866 Wait 2 frames before hiding shared elements.
Bug 15991516

Because of double and triple buffering, we can't guarantee
that the called Activity will show shared elements prior to
the calling activity hiding them. This forces the called
Activity to wait 2 frames prior to telling the calling activity
to hide its shared elements.

Change-Id: Ia49e71637ea04f8d7f93093abf6f47b00dcc7c06
2014-07-01 20:40:31 +00:00
Andrew Lee
a5736291bd Add function set CallVideoClient on the CallVideoProvider.
- Added implementation of RemoteCallVideoClient.
- Filled out the proxy methods on RemoteCallVideoProvider.
- Renamed methods on CallVideoClient/CallVideoProvider. Per Santos's
advice, this is to distinguish between the methods handling remote
communication, and the actual implementation of those methods.

Bug: 15893156
Change-Id: I5f433db1faa820dc96913091ce09938ddf40ffdd
2014-07-01 13:28:56 -07:00
Jorim Jaggi
c3182c5573 Merge "Fix occasional jank when going to QS." 2014-07-01 19:22:38 +00:00
Jorim Jaggi
e65e310fc9 Fix occasional jank when going to QS.
We change the listening state of the QS panel before the user
actually navigates there and when the animations are probably
not running (after expanding the panel).

Change-Id: Iad48b3459e7db09c423f6983a9fec17ec0088050
2014-07-01 22:00:50 +02:00
Jorim Jaggi
2e115c5d9a Always load resources in SystemUI.
This fixes a bug where resources didn't get loaded after a SysUI
crash.

Change-Id: I3a679890d15ad3c1e13a017840b8258670a23ff8
2014-07-01 21:38:39 +02:00
Jorim Jaggi
695e9e928c Merge "Always load resources in SystemUI." 2014-07-01 19:15:58 +00:00
Deepanshu Gupta
84d1d431cf Update text rendering delegates.
The flags for RTL and LTR are simplified in commit
0a1d91862a3822dcbbb412bcd6d69b0f5f079f8b. This change follows up the
same in LayoutLib.

This also fixes the following bug which incorrectly computed runs with
'en-dash' (\u20132) as RTL.

Bug: http://b.android.com/69432
Change-Id: Iaed62d13ce31f107773576ed2ef412be6037cd04
2014-07-01 12:23:59 -07:00
Deepanshu Gupta
509d860907 Sort delegates in Canvas_Delegate
The order of the methods match the order of the declaration in the
Canvas file. This makes searching for the methods easier.

Change-Id: I230621d3999024cb2ff42a1aacd60908c7f0b161
2014-07-01 12:22:14 -07:00
Deepanshu Gupta
bb5d0cc436 Update LayoutLib delegates.
Change-Id: I64828bfb963048effbc49a622f5f2aa0203665e6
2014-07-01 12:22:13 -07:00
Deepanshu Gupta
3c989eaa0a Add VMRuntime_Delegate
Framework now uses libart which moved the implementation of
newUnpaddedArray() to native. This copies over the implementation of the
method from libdvm to restore the old behaviour.

Change-Id: Ic062aeb01f9ea52b6ed35517f742058d0ba8c804
2014-07-01 12:22:13 -07:00
Deepanshu Gupta
fe2a71bb13 Report all TestDelegate failures in a single run.
Change-Id: I37fa0a6f300ea89c8d0a60380b77b7d61db01cb7
2014-07-01 12:22:13 -07:00
Yorke Lee
e49dd7dda2 Merge "Clean up SearchSnippetColumns API (1/3)" 2014-07-01 16:28:20 +00:00
Yorke Lee
eaf09493b3 Clean up SearchSnippetColumns API (1/3)
Renamed SearchSnippetColumns to SearchSnippets to be more consistent
with ContactsContract naming conventions (Data, Groups, StatusUpdates, etc).

Fix some stale documentation, add more documentation and examples

Bug: 6948882

Change-Id: I614e8d7506a4a291a57d693043481557c975f7f7
2014-07-01 14:23:52 -07:00
Nick Kralevich
3edb62a5ad am db32fb64: am d172419e: am 9b1a7d45: Merge "Allow different SELinux policies for third party apps."
* commit 'db32fb646d90abb5e2281bd145d9d9615c65cbed':
  Allow different SELinux policies for third party apps.
2014-07-01 21:21:55 +00:00
ztenghui
dc3d9f1237 Merge "Make sure the indeterminate progress bar rotate correctly." 2014-07-01 19:15:58 +00:00
ztenghui
c8ffb0d3a5 Make sure the indeterminate progress bar rotate correctly.
Now the rotation is following a star pattern.

bug:16010534

Change-Id: I6c1b863d6a4e7b8bcb8621ffd4ad828628739d71
2014-07-01 14:14:48 -07:00
Yuhao Zheng
a0de0e59c0 Merge "Hotspot 2.0 fix launch browser method" 2014-07-01 19:22:38 +00:00
Yuhao Zheng
1be1a134c8 Hotspot 2.0 fix launch browser method
Change-Id: I484b526fa92c4e3651e8fe6ae5614f22ba8134d4
2014-07-01 13:48:09 -07:00
Dianne Hackborn
c70a8cf955 Merge "Add network access blocking when in battery save mode." 2014-07-01 14:50:43 +00:00
Jean-Michel Trivi
8df982dfa5 Java MediaPlayer: add support for setting audio attributes
Change-Id: Ia638107a5e67c20c46c2f5f1800db9da57d6f698
2014-07-01 16:45:29 +00:00
Dianne Hackborn
be7c50e0a1 Add network access blocking when in battery save mode.
The network policy manager now monitors battery save mode and,
when in battery save, uses its facility to block access to metered
networks to block access to all networks.  That is, it tells the
network management service that all networks have an (infinite)
quota, and puts various app uids to be restricted under quota
interfaces as appropriate.

This new network blocking needs a new facility to be able to white
list apps, such as GmsCore.  To do this, I refactored the package
manager's permission configuration stuff into a separate SystemConfig
class that can be used by others, and it now has a new tag to
specify package names that should be white-listed for power save
mode.  These are retrieved by the network policy manager and used
to build a whitelist of uids.

The new general config files can now go in system/etc/config,
though currently everything still remains in the permissions dir.

Still left to be done is changing the semantics of what uids are
allowed in this mode, to include all perceptable uids.  (So that we
can still do things like background music playback.)  This will be
done in a follow-on CL.

Change-Id: I9bb7029f61dae62e6236da5ca60765439f8d76d2
2014-07-01 09:22:57 -07:00