127644 Commits

Author SHA1 Message Date
Ben Cheng
65ba94f79d Use default visibility for Snapshot::getLocalClip.
The method is in libhwui.so but used by libandroid_runtime.so
(via android_view_GLES20Canvas.cpp). If the compiler decides not to
inline this method, the linker won't be able to resolve the dependency
when it has hidden visibility.

The problem is found when testing GCC 4.9.

Change-Id: I3b4d096c7767f0bef0796886dfb2c5ba2ecff48c
2014-04-02 13:26:33 -07:00
Jorim Jaggi
cff0acb6b1 Wait for Keyguard to be drawn after boot.
The old logic with waiting for the Keyguard to be drawn assumed that
it is in an own window, and just checked for the visibility. This is
no longer possible as the Keyguard is in the status bar, and the status
bar might have been drawn without the Keyguard. So we have to wait
explicitely until Keyguard told PhoneWindowManager that it has now been
drawn and we can turn on the screen.

In addition, the starting logic of SystemUI is moved into
SystemUIApplication such the we can make sure that the status bar
already exists when the callbacks from PhoneWindowManager reach
KeyguardService. This simplifies the logic a lot.

Bug: 13635952
Change-Id: Ifd6ba795647edcf3501641e39052e4d04bc826fb
2014-04-02 22:11:19 +02:00
Winson Chung
a10370fc2e Adding system service proxy to help test UI/performance.
Change-Id: I29851ff7b7ced0a69b041e5aa5c9070fc4ab43a5
2014-04-02 12:25:04 -07:00
Alan Viverette
e38aaa1da8 Add inverse text styles to public
Change-Id: I3c5e9e847d414e98d0d99380bd7407cb081cb524
2014-04-02 11:34:19 -07:00
Kenny Guy
501f2c2cf0 am f4824a06: Fix issue with not allowing activities for current user.
* commit 'f4824a06884e096beef921646cba4be29d7f36fc':
  Fix issue with not allowing activities for current user.
2014-04-02 18:28:35 +00:00
ztenghui
177dffd869 Getting the version information into the VectorDrawable
This will allow version controling for later API improvement.
We will only support version 1 so far.

Change-Id: I322e63f6cff157ebb6df5d80625c39bf96ff3659
2014-04-02 11:28:32 -07:00
Kenny Guy
f4824a0688 Fix issue with not allowing activities for current user.
Change-Id: Ic2e30c3f4990a03aac9801ee9bf5f270a5e90ef8
2014-04-02 19:17:41 +01:00
John Reck
4ae6e2f909 am a8b93711: Merge "Revert "Force-enable hardware acceleration for apps""
* commit 'a8b937115ac3bf047c8fc6c750f052fd633c5dd8':
  Revert "Force-enable hardware acceleration for apps"
2014-04-02 18:07:27 +00:00
John Reck
a8b937115a Merge "Revert "Force-enable hardware acceleration for apps"" 2014-04-02 18:03:49 +00:00
John Reck
dd58e797aa Revert "Force-enable hardware acceleration for apps"
This reverts commit 2a0901107443685ef2f2a55d0b62ddcc6cf183ba.

Change-Id: I47c58b7251411432bd6a3eeb6fe567385b1c084f
2014-04-02 16:54:28 +00:00
Baligh Uddin
36dc63e6bc Import translations. DO NOT MERGE
Change-Id: Iaf6d03efaa75319413c3d02ec185e5afd39df853
Auto-generated-cl: translation import
2014-04-02 09:14:13 -07:00
Baligh Uddin
7d8322be33 Import translations. DO NOT MERGE
Change-Id: Ie5b6e1e51a0740818f15da6fcb5f49587a73722a
Auto-generated-cl: translation import
2014-04-02 09:11:59 -07:00
Baligh Uddin
65b2d089c3 Import translations. DO NOT MERGE
Change-Id: Iedc52a08baa64f6294add074ebf597d09c06725a
Auto-generated-cl: translation import
2014-04-02 08:49:36 -07:00
Baligh Uddin
ca0513026a Import translations. DO NOT MERGE
Change-Id: I3ba9a4dc3048b098598e12a78e7cc7dde521ea56
Auto-generated-cl: translation import
2014-04-02 08:41:45 -07:00
Baligh Uddin
fc17e2d211 Import translations. DO NOT MERGE
Change-Id: I612d2477b77f8a69c502f42abcb34bb634e24d34
Auto-generated-cl: translation import
2014-04-02 08:38:16 -07:00
Baligh Uddin
c3aa8b3cb4 Import translations. DO NOT MERGE
Change-Id: I998f196691a3aaab5993dd947a44e06642e20c2f
Auto-generated-cl: translation import
2014-04-02 08:34:20 -07:00
Baligh Uddin
fcd04c6b3c Import translations. DO NOT MERGE
Change-Id: I39f2fa7fcf25906e105feadf2bbda74384fca876
Auto-generated-cl: translation import
2014-04-02 08:33:33 -07:00
Paul Lawrence
e51dcf98a4 Save OwnerInfo so CryptKeeper can display at boot time
Requires vold change from
  https://googleplex-android-review.git.corp.google.com/#/c/435164/

Bug: 13526708
Change-Id: I33153df9961832f72c3b8103bd5e1d3a17e77df3
2014-04-02 07:16:05 -07:00
Ben Murdoch
cf61c9b71f Update ViewRootImpl for 64bit functor type.
Change-Id: Ie9020f0276c58ebf0977e4aef725fbc26aaf67b2
2014-04-02 14:41:41 +01:00
Christoph Studer
359cf4024c am 892c574e: Merge "Expose locations from NotifStackScrollLayout"
* commit '892c574ecca0cd5bfc2444bbb6ca7204a296de3c':
  Expose locations from NotifStackScrollLayout
2014-04-02 13:18:29 +00:00
Christoph Studer
892c574ecc Merge "Expose locations from NotifStackScrollLayout" 2014-04-02 13:14:03 +00:00
Kenny Guy
ffa80df578 am 1ccace91: Merge "Rename related users to profiles."
* commit '1ccace916c8fdc61f1a8db6677aed518d31647e6':
  Rename related users to profiles.
2014-04-02 13:10:07 +00:00
Kenny Guy
1ccace916c Merge "Rename related users to profiles." 2014-04-02 13:06:28 +00:00
Christoph Studer
6e3ecebcec Expose locations from NotifStackScrollLayout
Expose the position each child is rendered at from
NotificationStackScrollLayout.

Also add OnChildLocationsChangedListener interface so listeners
can be notified whenever the rendering changes.

Change-Id: Iab8706fc2c435f2ddf64d280f428ed562db94f19
2014-04-02 14:47:18 +02:00
Kenny Guy
2a764949c9 Rename related users to profiles.
Rename the related user concept as profiles.
When returning profiles of a user include the
user as a profile of itself.

Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
2014-04-02 13:44:50 +01:00
Narayan Kamath
b07178467f am b69bb445: resolved conflicts for merge of 71ab4f4f to master
* commit 'b69bb445585a083b8e4ff8a13a1a1a63e9c22a6a':
  Move zygote startup logic to the frameworks.
2014-04-02 10:59:18 +00:00
Narayan Kamath
b69bb44558 resolved conflicts for merge of 71ab4f4f to master
Change-Id: I888c231f7579523e12fbd68f820f0775019e51e0
2014-04-02 11:52:07 +01:00
Narayan Kamath
71ab4f4f48 am ea9e5eca: am 17b1b8fe: Merge "Move zygote startup logic to the frameworks."
* commit 'ea9e5ecac1e5240370f0e3f998b9c8b159ee9320':
  Move zygote startup logic to the frameworks.
2014-04-02 10:41:24 +00:00
Narayan Kamath
ea9e5ecac1 am 17b1b8fe: Merge "Move zygote startup logic to the frameworks."
* commit '17b1b8fe8c0c8f05f2077acc82428881bf591a78':
  Move zygote startup logic to the frameworks.
2014-04-02 10:35:38 +00:00
Narayan Kamath
17b1b8fe8c Merge "Move zygote startup logic to the frameworks." 2014-04-02 10:29:55 +00:00
Narayan Kamath
973b4663b0 Move zygote startup logic to the frameworks.
The Zygote class is now in com.android.internal.os. It is
responsible for the vast majority of work before and after
the call to fork(). It calls back into the Runtime via
the new dalvik.system.ZygoteHooks class to allow the Runtime
to perform pre fork cleanup and post fork initialization.

The native code in Zygote.cpp is a direct and straightforward
port of the existing code in art. Most differences are
superficial, for example :
- We use C style logging (ALOGE) instead of stream based
  logging.
- We call env->FatalError() instead of using LOG(FATAL)

Change-Id: Ia101fb2af12d23894fe57e4134d2bc6d142e5059
2014-04-02 10:18:43 +01:00
Jinsuk Kim
4e90fcd190 Maintain display power status for playback device
With this CL, the power status of TV/display is keep tracked of
by hdmi cec server part, specfically HdmiCecDevicePlayback.
Turned the HdmiCecDevice to abstract class from which classes of
concrete device type(HdmiCecDevicePlayback, HdmiCecDeviceTV) are
inherited. The display power status code is put in HdmiCecDevicePlayback
only. HdmiCecDeviceTv will have its own logic that manages power status of
devices connected to it. For now it only has a bare minimum code.
Will be worked on in follow up CLs.

Other changes:

    - Replaced sendGiveDevicePowerStatus() with isTvOn() so that the status
      can be queried by clients.

    - Defensively check the availability of HdmiCecService so that
      HdmiCecManager.getClient() returns null in case the service couldn't
      be initialized. This ensures clients of the service gets the nulled-out
      HdmiCecClient when called in the state/configuration where the service
      is not available, thus proceed accordingly.

Change-Id: Idaf69e73cfbd639c0b40b1bd4b6146f011246180
2014-04-02 14:46:14 +09:00
Ricardo Cervera
f976f8e551 am fb087326: am 04c2a557: am c013eaad: am 5a218b18: am 8e183798: Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs
* commit 'fb0873268cd2602cf3b0eaf90485824a814561c3':
  docs: Added notes to use the last SDK version to the Build your First App class.
2014-04-02 00:33:09 +00:00
Ricardo Cervera
fb0873268c am 04c2a557: am c013eaad: am 5a218b18: am 8e183798: Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs
* commit '04c2a5571620927f702af3707845b1b05769dc46':
  docs: Added notes to use the last SDK version to the Build your First App class.
2014-04-02 00:27:51 +00:00
Ricardo Cervera
04c2a55716 am c013eaad: am 5a218b18: am 8e183798: Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs
* commit 'c013eaad574bcb40152d90105d6fbc82293cbb11':
  docs: Added notes to use the last SDK version to the Build your First App class.
2014-04-02 00:20:22 +00:00
Ricardo Cervera
c013eaad57 am 5a218b18: am 8e183798: Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs
* commit '5a218b186735534925d7fedb63f1c78a3a3ff543':
  docs: Added notes to use the last SDK version to the Build your First App class.
2014-04-02 00:15:31 +00:00
Ricardo Cervera
5a218b1867 am 8e183798: Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs
* commit '8e183798d573ad4777a5f01fd6db8f86ca0e120f':
  docs: Added notes to use the last SDK version to the Build your First App class.
2014-04-02 00:08:11 +00:00
Michael Kolb
5e9abc9507 am 118d252e: am 4a812147: am 875eff83: Merge "Add circular anti-aliasing mask to circular display" into klp-modular-dev
* commit '118d252e7541bfe2c0453814acc3bee0b6312de1':
  Add circular anti-aliasing mask to circular display
2014-04-02 00:07:48 +00:00
Michael Kolb
118d252e75 am 4a812147: am 875eff83: Merge "Add circular anti-aliasing mask to circular display" into klp-modular-dev
* commit '4a8121478e5027bf61b5c711d6b1a748004edea2':
  Add circular anti-aliasing mask to circular display
2014-04-02 00:03:29 +00:00
Ricardo Cervera
8e183798d5 Merge "docs: Added notes to use the last SDK version to the Build your First App class." into klp-docs 2014-04-02 00:03:00 +00:00
Christopher Tate
733581b035 am a2dbe4e3: Merge "Rejigger the invalid-key checks at backup time"
* commit 'a2dbe4e3cd3d9d52cda3e798bf9405ff8a780250':
  Rejigger the invalid-key checks at backup time
2014-04-01 23:50:55 +00:00
Christopher Tate
a2dbe4e3cd Merge "Rejigger the invalid-key checks at backup time" 2014-04-01 23:45:24 +00:00
Christopher Tate
cba5941c60 Rejigger the invalid-key checks at backup time
Bug 13732002

Change-Id: Ic8f71234d1bbc7420eaa8e1762b999d09f308d46
2014-04-01 16:43:00 -07:00
Winson Chung
faa8fb5c77 am 6ac3367d: Merge "Enabling filtering by base intent package."
* commit '6ac3367d5df999736470f29a2bbb623864f06d1a':
  Enabling filtering by base intent package.
2014-04-01 23:14:38 +00:00
Winson Chung
6ac3367d5d Merge "Enabling filtering by base intent package." 2014-04-01 23:10:26 +00:00
Igor Murashkin
1b36151fdc am 428ec926: Merge "camera2: Fix out-of-date metadata test"
* commit '428ec926a275e9396a5e967a4f57702d936d62ca':
  camera2: Fix out-of-date metadata test
2014-04-01 23:05:03 +00:00
Igor Murashkin
428ec926a2 Merge "camera2: Fix out-of-date metadata test" 2014-04-01 23:01:45 +00:00
Wei Wang
ea31924232 am c90005d2: Use correct wifi batching parameter ranges.
* commit 'c90005d2924f305f19a37720932cb2fa34d26446':
  Use correct wifi batching parameter ranges.
2014-04-01 22:56:41 +00:00
Michael Kolb
4a8121478e am 875eff83: Merge "Add circular anti-aliasing mask to circular display" into klp-modular-dev
* commit '875eff832f9f496740ceba2f12de6f5423225274':
  Add circular anti-aliasing mask to circular display
2014-04-01 22:54:30 +00:00
Wei Wang
c90005d292 Use correct wifi batching parameter ranges.
Note these are slightly adjusted capabilities of N5.

Cherry pick.

Change-Id: Ia6888f6a5a69d135ff7e3c87d9744e18265fb3bf
2014-04-01 22:51:52 +00:00