103718 Commits

Author SHA1 Message Date
Amith Yamasani
55a08c5ab9 Merge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev 2013-05-02 04:26:01 +00:00
quddusc
e4fde740c5 docs: Added landing page for Google Play Games Platform Services.
cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

Change-Id: I0e5e2c69fc0d13b0637504e5fd3e76c1a91a0109
2013-05-01 18:27:39 -07:00
Jeff Brown
c31126088f Merge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev 2013-05-02 00:52:26 +00:00
Christopher Tate
eed8411c8c Merge "Bootstrap installed system apps only when the target user is running" into jb-mr2-dev 2013-05-01 22:47:16 +00:00
Amith Yamasani
0d8750d771 Allow requiredForAllUsers to work on updates to system apps
Bug: 8736380

Also set the default type as the constructor docs imply in RestrictionEntry.

Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df
2013-05-01 15:31:49 -07:00
Jeff Brown
cefeb29d53 Don't dump sql bindargs unless verbose mode is requested.
Bug: 8780126
Change-Id: I88e238f9d684cc76731207e75370cbb2e0e476c5
2013-05-01 15:28:37 -07:00
Jeff Brown
fc0ebd7d37 Really make Surface thread-safe.
There were many places where the native object was being
accessed improperly.  Also some places where CloseGuard might
not be acquired or released correctly or where the generation
count might not be updated.

Fixed them all.

That said, Surface isn't intended to be used concurrently
so please don't do it.  This is only intended to make
hard to find crashes less likely.

Bug: 8328715
Change-Id: I981ef33425823e0fd7ad6b64443f2ec9b0c8335e
2013-05-01 15:28:01 -07:00
Jeff Tinker
48f2b548ed Merge "MediaDrm API: Add two exceptions to handle error path scenarios" into jb-mr2-dev 2013-05-01 22:01:16 +00:00
Scott Main
b9e757c804 am 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
* commit '66623196159ec4509e617cd440199499b483367a':
  dashboard update for 5/1
2013-05-01 14:31:44 -07:00
Scott Main
6662319615 am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
* commit '95fa4428172ae6c0435c20bf8ab49734e95c9eb8':
  dashboard update for 5/1
2013-05-01 14:30:33 -07:00
Scott Main
95fa442817 am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
* commit '1fbbf8caaf5bb3c796fa2acacedfb7a3be4d0c73':
  dashboard update for 5/1
2013-05-01 14:28:40 -07:00
Scott Main
1fbbf8caaf am 4bc82dea: am 47dcb666: dashboard update for 5/1
* commit '4bc82dea43c3e60ce6ad244fdd6b8e61396b1118':
  dashboard update for 5/1
2013-05-01 14:27:12 -07:00
Scott Main
4bc82dea43 am 47dcb666: dashboard update for 5/1
* commit '47dcb66610fbe9284f83f73a06a5c23515e17fbd':
  dashboard update for 5/1
2013-05-01 14:26:05 -07:00
Christopher Tate
3335644f7a Bootstrap installed system apps only when the target user is running
I.e. don't bother trying to send a BOOT_COMPLETED broadcast to the
newly-installed/enabled system app when its host user isn't live.

Also use the static isSystemApp()-type helpers instead of duplicating
those tests locally.

Bug 8594153

Change-Id: I4bd0b86351d67f72c44eae8d1afce6a98f034d31
2013-05-01 14:25:26 -07:00
Tsu Chiang Chuang
4e0ae8d6fd Merge "Make sure the app is still app after launching. Bug:8755950" into jb-mr2-dev 2013-05-01 21:12:31 +00:00
Mike J. Chen
2f4cc8eacf Merge "Fix a crash case" into jb-mr2-dev 2013-05-01 20:59:12 +00:00
Jesse Hall
0c79d808cb Add android.opengl.EGLExt class for EGL extensions
Add the ES-relevant constants from the EGL_KHR_create_context
extension. These allow apps to check which EGLConfigs (if any) support
ES3 contexts. Otherwise, the app has to create a context with an
EGLConfig and then check whether it is an ES2 or ES3 context.

Also move eglSetPresentationTimeANDROID from EGL14 to EGLExt, since it's an
extension function. It's new in API 18.

Bug: 8678160
Change-Id: I3cba6e59ebb0a3a4c4012aa54a36b940c288bcec
2013-05-01 13:46:58 -07:00
Adam Koch
7521541c2a am 53e8587b: am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
* commit '53e8587bedda3beef34e060f7256261d53f30697':
  Contacts Provider Training - fix minor code snippet typos.
2013-05-01 13:24:40 -07:00
Adam Koch
53e8587bed am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
* commit '58a6e5c0d1406cab6c70b397b0b4252e5da66743':
  Contacts Provider Training - fix minor code snippet typos.
2013-05-01 13:20:21 -07:00
Adam Koch
58a6e5c0d1 am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
* commit '4f2216691a3df241977f39102b7eafc68556f477':
  Contacts Provider Training - fix minor code snippet typos.
2013-05-01 13:14:49 -07:00
Adam Koch
4f2216691a am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
* commit '1d71751fc20a2c52e04656af409fa97a6f7c15c5':
  Contacts Provider Training - fix minor code snippet typos.
2013-05-01 13:13:02 -07:00
Casey Burkhardt
e856911762 Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev 2013-05-01 19:33:08 +00:00
Adam Koch
1d71751fc2 am bbed0513: Contacts Provider Training - fix minor code snippet typos.
* commit 'bbed0513abb1d98733f0eed5399f4cb195fda55f':
  Contacts Provider Training - fix minor code snippet typos.
2013-05-01 11:52:26 -07:00
Jeff Sharkey
033168b1b0 Merge "Lockdown VPN handles its own connection teardown." into jb-mr2-dev 2013-05-01 18:30:23 +00:00
repo sync
bb1a6244d1 Merge "Fix an NPE and fd leak in SELinux policy updater." into jb-mr2-dev 2013-05-01 18:12:04 +00:00
Scott Main
47dcb66610 dashboard update for 5/1
Change-Id: I9cdcf2934a5332fee50067e0b6f8f3f159373892
2013-05-01 10:32:47 -07:00
Jeff Sharkey
57666934b4 Lockdown VPN handles its own connection teardown.
Recent changes started watching for CONNECTIVITY_ACTION broadcasts
to handle the case where a network is disconnected without the
interface going down.

However, when lockdown VPN is enabled, the broadcast contents are
augmented, and all connections appear disconnected until the VPN
comes online.  This caused a reset feedback loop to occur.

Since LockdownVpnTracker already handles networks being disconnected
separately from interfaces going down, this change disables handling
the broadcast when lockdown is enabled.

Bug: 8755148
Change-Id: I70a348aa97a4b22eaaf23aa5ed344de3e9a9ab0b
2013-05-01 09:40:50 -07:00
Adam Koch
bbed0513ab Contacts Provider Training - fix minor code snippet typos.
Change-Id: I3edf86d276d877914a3d97e596e1bb35d1b1ce1f
2013-05-01 12:21:20 -04:00
Tsu Chiang Chuang
14c716be79 Make sure the app is still app after launching.
Bug:8755950

Change-Id: Ie30d84cb94787d8b2e7bdc65e329a311581f4a3f
2013-05-01 07:54:48 -07:00
The Android Automerger
3063686e90 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-05-01 05:55:45 -07:00
Jesse Hall
09f3cc2bcc Merge "Fix GLES30 JNI registration" into jb-mr2-dev 2013-05-01 02:31:55 +00:00
Romain Guy
b107b7e9ec Merge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into jb-mr2-dev 2013-05-01 01:14:41 +00:00
Christopher Tate
95a9bfe2ba When installing/enabling a system app, bootstrap it
Specifically, send it a BOOT_COMPLETED broadcast just as it would have
received during device (or user) startup.

Bug 8594153

Change-Id: I847c16df56d038a25758e594f951bc15348edc19
2013-04-30 17:40:32 -07:00
repo sync
f7b8bc48af Fix an NPE and fd leak in SELinux policy updater.
Bug: 8769213
Change-Id: Iff80be6109a1586d818754c8f9f5053b816fbd57
2013-04-30 17:37:00 -07:00
Casey Burkhardt
203aa72e74 Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev 2013-05-01 00:15:44 +00:00
Casey Burkhardt
8452a7f2f6 Rebuilds ActionBar accessibility description as needed
Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled.  This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44
2013-04-30 16:05:56 -07:00
Chet Haase
a934ad112c Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev 2013-04-30 22:42:53 +00:00
Casey Burkhardt
23b0a4e905 Properly populates AccessibilityEvents for notification and quick settings shades
Previously, our method of announcing the expansion of the notification shade
and quick notification shade relied on populating a contentDescription
attribute on the highest-level container.  This behavior is incorrect as it
causes accessibility services to infer importance and assign the view
accessibility focus.  This change adds descriptive text to the
AccessibilityEvent fired when the shade opens without modifying the
container's description.

Bug: 8699624
Change-Id: Id909b60d63cdec96c307dea2624b0651ab4f1f36
2013-04-30 15:18:03 -07:00
Chet Haase
b432ef98f0 Speed up user-switching wallpaper changes
Previous work in ImageWallpaper cached the bitmap for a user
to avoid reloading it (an expensive operation on large-display devices)
when we could simply re-use it. User switching still caused a reload, however,
since the place where we cache the bitmap (ImageWallpaper) is in an instance
that is re-created on user-switch.

A simple fix is to have the ImageWallpaper stop telling the WallpaperManager
to erase its own cache of the bitmap prior to re-loading it. That step is
unnecessary, since a bitmap that is cached can be assumed to be valid. A wallpaper
change will correctly null out that cached version, so if the cached bitmap
is non-null, then we can simply use it as-is.

The fix is to remove the call to forgetLoadedWallpaper() and allow the caching
mechanism to do its job.

Issue #7986933 user switching on lock screen is slow (sometimes like molasses)

Change-Id: I447754ab85337bc8ae59b4ad6c3e6c2b30e13735
2013-04-30 15:10:51 -07:00
Jeff Tinker
1d7c218ba2 MediaDrm API: Add two exceptions to handle error path scenarios
bug: 8725707
Change-Id: Ia00c495ac591cc2993f4d11ad3480b59833d009e
2013-04-30 12:39:04 -07:00
Scott Main
2e6de8fdcc add notice to not use 0 in startForeground().
also delete some obsolete back-compat tips for <=donut
bug: 8746126

Change-Id: I3ee966647aa2c9f572e6f02eeabfc2cf925a031f
2013-04-30 11:44:07 -07:00
Romain Guy
efb709adfe Prevent TextureView from ever setting a null layer paint
Bug #8760436

DO NOT MERGE

Change-Id: I7e4d09fa534f539cb99ebeaa8159fb11920460cf
2013-04-30 11:13:00 -07:00
Svetoslav
f6a2598fc4 Merge "Removing a debug check when logging fstrim events." into jb-mr2-dev 2013-04-30 18:05:48 +00:00
Svetoslav
9e814a8c02 Removing a debug check when logging fstrim events.
This change is removing the check for debuggable build to
log fstrim events. While this was done everywhere else, one
place was overlooked.

bug:8688454

Change-Id: I354e1deebfd801f971dd91b9e7972c6ebfd093f3
2013-04-30 10:43:59 -07:00
Svetoslav
cff4b18eeb Merge "Perform idle maintenance when the device is charging." into jb-mr2-dev 2013-04-30 17:41:21 +00:00
Svetoslav
f23b64df94 Perform idle maintenance when the device is charging.
Added the precondition that the device should be charging to the
existing ones of the device not being used for awhile and the
battery level being high enough. Note that even if the device is
charging, we have to check the battery level since the user can
unplug it at any time.

bug:8688454

Change-Id: I709b1620571301743dc3504a6a625e2018951bfa
2013-04-30 10:19:53 -07:00
Baligh Uddin
f0e8c78a11 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-30 14:54:27 +00:00
Chet Haase
6b313da0d8 Merge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into jb-mr2-dev 2013-04-30 14:45:46 +00:00
The Android Automerger
8e88be2ed0 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-30 05:56:05 -07:00
Baligh Uddin
74b736fd1c Import translations. DO NOT MERGE
Change-Id: Ic7fe032626cac3828e5b1eeaf9f4b4513a46b77a
Auto-generated-cl: translation import
2013-04-29 22:25:03 -07:00