OSDN Git Service

android-x86/frameworks-base.git
8 years agoUpdate VR API docs.
Ruben Brunk [Tue, 3 May 2016 02:30:51 +0000 (19:30 -0700)]
Update VR API docs.

Bug: 28526281
Change-Id: Iff48d02a2fee542c5ded7fc8cd6cf74957eb738c

8 years agoMerge "Fix minimized dock stack for translucent activity over home task" into nyc-dev
Andrii Kulian [Mon, 2 May 2016 20:21:46 +0000 (20:21 +0000)]
Merge "Fix minimized dock stack for translucent activity over home task" into nyc-dev

8 years agoMerge "Add archive support to Bug report docs provider." into nyc-dev
Steve McKay [Mon, 2 May 2016 20:15:17 +0000 (20:15 +0000)]
Merge "Add archive support to Bug report docs provider." into nyc-dev

8 years agoMerge "Allow pinned activities to finish immediately" into nyc-dev
TreeHugger Robot [Mon, 2 May 2016 20:10:36 +0000 (20:10 +0000)]
Merge "Allow pinned activities to finish immediately" into nyc-dev

8 years agoMerge "Don't unbundle updated notifications." into nyc-dev
TreeHugger Robot [Mon, 2 May 2016 20:05:01 +0000 (20:05 +0000)]
Merge "Don't unbundle updated notifications." into nyc-dev

8 years agoMerge "Merge "Delete everything from /sdk directory that is now in /studio. Redirects...
Android Build Merger (Role) [Mon, 2 May 2016 20:01:53 +0000 (20:01 +0000)]
Merge "Merge "Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240" into mnc-mr-docs am: 84bf8073a8 am: 34561c73a2 am: c1a9241a37" into nyc-dev

8 years agoMerge "Delete everything from /sdk directory that is now in /studio. Redirects are...
smain@google.com [Mon, 2 May 2016 20:01:28 +0000 (20:01 +0000)]
Merge "Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240" into mnc-mr-docs am: 84bf8073a8 am: 34561c73a2
am: c1a9241a37

* commit 'c1a9241a373d9f3594e284486ad2544c143aff3f':
  Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240

Change-Id: I8021d782d403e5a281280436a9de779ddd03d2b9

8 years agoMerge "Allow any app to silently uninstall the orphan packages." into nyc-dev
Sudheer Shanka [Mon, 2 May 2016 20:00:40 +0000 (20:00 +0000)]
Merge "Allow any app to silently uninstall the orphan packages." into nyc-dev

8 years agoMerge "Delete everything from /sdk directory that is now in /studio. Redirects are...
Scott Main [Mon, 2 May 2016 19:56:31 +0000 (19:56 +0000)]
Merge "Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240" into mnc-mr-docs am: 84bf8073a8
am: 34561c73a2

* commit '34561c73a2136d552121b0aec0c78b307eebac52':
  Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240

Change-Id: Iddf4ed155928dcbd897d31fff7bbff4cb0b04157

8 years agoMerge "Delete everything from /sdk directory that is now in /studio. Redirects are...
smain@google.com [Mon, 2 May 2016 19:52:09 +0000 (19:52 +0000)]
Merge "Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240" into mnc-mr-docs
am: 84bf8073a8

* commit '84bf8073a8a80cf464eba1dada0eb7585f9943d5':
  Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240

Change-Id: Ie711706a546d9feea4147612c14adb0622cd2ebb

8 years agoMerge "Delete everything from /sdk directory that is now in /studio. Redirects are...
Scott Main [Mon, 2 May 2016 19:38:30 +0000 (19:38 +0000)]
Merge "Delete everything from /sdk directory that is now in /studio. Redirects are in https://critique.corp.google.com/#review/121297240" into mnc-mr-docs

8 years agoDelete everything from /sdk directory that is now in /studio.
smain@google.com [Mon, 2 May 2016 19:35:56 +0000 (12:35 -0700)]
Delete everything from /sdk directory that is now in /studio.
Redirects are in https://critique.corp.google.com/#review/121297240

Change-Id: If746be8a3dc7208f59cb2a3b971316517e889fe6

8 years agoMerge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC."...
Dirk Dougherty [Mon, 2 May 2016 19:34:34 +0000 (19:34 +0000)]
Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264 am: 6049306d8c
am: c25a9b0104

* commit 'c25a9b0104802454487ee6c428f9f070d389c02f':
  Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: Ib8ff6165cbcb1d3fb52611e9f5e61ac69a0083b6

8 years agoChange youtube metadata refs to use https. am: 934e9d0614 am: 25dcd724af
Dirk Dougherty [Mon, 2 May 2016 19:34:28 +0000 (19:34 +0000)]
Change youtube metadata refs to use https. am: 934e9d0614 am: 25dcd724af
am: dea0ed01bf

* commit 'dea0ed01bfe8a2184f3ed34cf8c0e3310c3bea0a':
  Change youtube metadata refs to use https.

Change-Id: I6ebc20719a63e001f12c199b9e38aecb3d5b9ed1

8 years agoMerge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC."...
Dirk Dougherty [Mon, 2 May 2016 19:29:22 +0000 (19:29 +0000)]
Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs am: 5d8d511264
am: 6049306d8c

* commit '6049306d8c0f88f78dbc097bfcc971b095c6a9a3':
  Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I6b6a65147254b0d2ba5ec6aa52429819ddca9b77

8 years agoChange youtube metadata refs to use https. am: 934e9d0614
Dirk Dougherty [Mon, 2 May 2016 19:29:15 +0000 (19:29 +0000)]
Change youtube metadata refs to use https. am: 934e9d0614
am: 25dcd724af

* commit '25dcd724af6a8c585cb30bbed69da623eb3586bf':
  Change youtube metadata refs to use https.

Change-Id: I3de7b528ffcc9556ad9d412f4b4188d064a54e80

8 years agoSync jd_extras/jd_collections with jd_extras_en. make a few minor updates. am: a74a6e...
Dirk Dougherty [Mon, 2 May 2016 19:20:02 +0000 (19:20 +0000)]
Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates. am: a74a6e5ba9 am: cabb54b570
am: a9a3d22c99

* commit 'a9a3d22c9939103854290f60170169a47b614799':
  Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.

Change-Id: Ic26af3d904c52fb2373142c33ce20f81a6d520b5

8 years agoMerge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC."...
Dirk Dougherty [Mon, 2 May 2016 19:19:54 +0000 (19:19 +0000)]
Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs
am: 5d8d511264

* commit '5d8d51126442d16c7237711f0f06da3a58e221f7':
  Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I242cc78db46926b295456384d0e6b487cb717bcb

8 years agoChange youtube metadata refs to use https.
Dirk Dougherty [Mon, 2 May 2016 19:19:52 +0000 (19:19 +0000)]
Change youtube metadata refs to use https.
am: 934e9d0614

* commit '934e9d0614f48cecd73a1e234298a5cadd0b7f96':
  Change youtube metadata refs to use https.

Change-Id: I4057616d35bc0ca00a3fdbdca1dc13269f908bc1

8 years agoSync jd_extras/jd_collections with jd_extras_en. make a few minor updates. am: a74a6e5ba9
Dirk Dougherty [Mon, 2 May 2016 19:15:17 +0000 (19:15 +0000)]
Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates. am: a74a6e5ba9
am: cabb54b570

* commit 'cabb54b57094b3e897df90b17d3a6b1c29cfd988':
  Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.

Change-Id: I7ab0c1bddb67f7c6a68cd16b856c9083e2747a8c

8 years agoMerge "Don’t relaunch activity in fullscreen stack when entering split screen mode...
TreeHugger Robot [Mon, 2 May 2016 19:13:43 +0000 (19:13 +0000)]
Merge "Don’t relaunch activity in fullscreen stack when entering split screen mode" into nyc-dev

8 years agoMerge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC."...
Dirk Dougherty [Mon, 2 May 2016 19:13:40 +0000 (19:13 +0000)]
Merge "Pass -yaml to ds builds to generate _book.yaml version of reference TOC." into mnc-mr-docs

8 years agoChange youtube metadata refs to use https.
Dirk Dougherty [Mon, 2 May 2016 18:55:16 +0000 (11:55 -0700)]
Change youtube metadata refs to use https.

Change-Id: I10f73bbdcce86de4918d7e57b7826b05e505d2d3

8 years agoSync jd_extras/jd_collections with jd_extras_en. make a few minor updates.
Dirk Dougherty [Mon, 2 May 2016 19:11:01 +0000 (19:11 +0000)]
Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.
am: a74a6e5ba9

* commit 'a74a6e5ba92d049710de31c5bcf75e3bda4aadcc':
  Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.

Change-Id: I681173818b4f7f4fa8e1d1182b7b30a91fefd834

8 years agoSync jd_extras/jd_collections with jd_extras_en. make a few minor updates.
Dirk Dougherty [Sat, 30 Apr 2016 02:36:20 +0000 (19:36 -0700)]
Sync jd_extras/jd_collections with jd_extras_en. make a few minor updates.

Change-Id: Id0053752db7bc304d02b78d04055b86b5e5e8ad5

8 years agoDon't unbundle updated notifications.
Julia Reynolds [Mon, 2 May 2016 18:31:09 +0000 (14:31 -0400)]
Don't unbundle updated notifications.

Bug: 28520827
Change-Id: I76593df3869a86353a1583e64e98b4aef04a7d1f

8 years agoMerge "Camera: Update for video buffer binder changes" into nyc-dev
Chien-Yu Chen [Mon, 2 May 2016 18:24:52 +0000 (18:24 +0000)]
Merge "Camera: Update for video buffer binder changes" into nyc-dev

8 years agoFix minimized dock stack for translucent activity over home task
Jorim Jaggi [Thu, 28 Apr 2016 22:57:47 +0000 (15:57 -0700)]
Fix minimized dock stack for translucent activity over home task

Previously, we only looked at whether home task is going away or
getting visible. This doesn't work anymore, as we also need to
un-minimize docked stack if another task is visible with translucency
over the home task.

Change-Id: I993f58a25d99d2ef9f562f7d1587c2dec0d05142
Fixes: 28434466
Fixes: 27906038

8 years agoAllow pinned activities to finish immediately
Wale Ogunwale [Mon, 2 May 2016 17:35:45 +0000 (10:35 -0700)]
Allow pinned activities to finish immediately

Pinned activities are normally in the paused state so when finishing
they can finish immediately as there might not be additional transition
in the system to finish them.

Bug: 28434641
Bug: 28350881
Change-Id: I5f1eaf0969a7eb08292cb9cc123bf8c0fddc9ea8

8 years agoPreserve shared {system+lock} wallpaper when setting system only
Christopher Tate [Sat, 30 Apr 2016 01:59:18 +0000 (18:59 -0700)]
Preserve shared {system+lock} wallpaper when setting system only

We migrate the existing (shared) system wallpaper to be the lock-only
wallpaper when setting a new system-only wallpaper.  The end result
is that if you say "set the system wallpaper only" the lock wallpaper
won't change.

(The migration is via a rename of the underlying imagery files, not
via copying, because copying all that data would be silly.)

Bug 27599080

Change-Id: I03ecf23c943fe88af58d5ac26f05587a15e2d0a9

8 years agoMerge "Set security update label in framework" into nyc-dev
Tianjie Xu [Mon, 2 May 2016 17:38:50 +0000 (17:38 +0000)]
Merge "Set security update label in framework" into nyc-dev

8 years agoMerge "Do not update surface for dummy animation as long as transition is set" into...
Chong Zhang [Mon, 2 May 2016 17:31:12 +0000 (17:31 +0000)]
Merge "Do not update surface for dummy animation as long as transition is set" into nyc-dev

8 years agoMerge "Check if user is unlocked when handler is executed" into nyc-dev
Philip P. Moltmann [Mon, 2 May 2016 16:59:06 +0000 (16:59 +0000)]
Merge "Check if user is unlocked when handler is executed" into nyc-dev

8 years agoMerge "Connectivity Metrics service: dump throttling states to dumpsys" into nyc-dev
Pavel Zhamaitsiak [Mon, 2 May 2016 16:58:32 +0000 (16:58 +0000)]
Merge "Connectivity Metrics service: dump throttling states to dumpsys" into nyc-dev

8 years agoMerge "media: Add missing dobly-vision profile." into nyc-dev
Hangyu Kuang [Mon, 2 May 2016 16:55:36 +0000 (16:55 +0000)]
Merge "media: Add missing dobly-vision profile." into nyc-dev

8 years agoMerge "Update QS custom tile icons when they change" into nyc-dev
Jason Monk [Mon, 2 May 2016 16:49:43 +0000 (16:49 +0000)]
Merge "Update QS custom tile icons when they change" into nyc-dev

8 years agoCheck if user is unlocked when handler is executed
Philip P. Moltmann [Fri, 29 Apr 2016 19:49:22 +0000 (12:49 -0700)]
Check if user is unlocked when handler is executed

When the user gets unlocked we schedule a handler-runnable to do cleanup work.
This runnable might be executed after the user is already locked again.

Fixes: 28512952
Change-Id: I6c05cbc8adab699e451565d74d56ad0f9b965954

8 years agoMerge "Handle more config changes and handle onDestroy" into nyc-dev
Philip P. Moltmann [Mon, 2 May 2016 16:43:50 +0000 (16:43 +0000)]
Merge "Handle more config changes and handle onDestroy" into nyc-dev

8 years agoMerge "Keep STH state in sync with HAL" into nyc-dev
Chris Thornton [Mon, 2 May 2016 16:26:18 +0000 (16:26 +0000)]
Merge "Keep STH state in sync with HAL" into nyc-dev

8 years agoMerge "Launch home activity in home stack if coming from ResolverActivity" into nyc-dev
TreeHugger Robot [Mon, 2 May 2016 16:21:40 +0000 (16:21 +0000)]
Merge "Launch home activity in home stack if coming from ResolverActivity" into nyc-dev

8 years agoMerge "Do not enforce unlocked state when there is no caller" into nyc-dev
Fyodor Kupolov [Mon, 2 May 2016 16:05:39 +0000 (16:05 +0000)]
Merge "Do not enforce unlocked state when there is no caller" into nyc-dev

8 years agoMerge "Visibility of pageRangeTitle =!= pageRangeText" into nyc-dev
Philip P. Moltmann [Mon, 2 May 2016 15:49:59 +0000 (15:49 +0000)]
Merge "Visibility of pageRangeTitle =!= pageRangeText" into nyc-dev

8 years agoMerge "Delay callback from printerRegistry after Constr." into nyc-dev
Philip P. Moltmann [Mon, 2 May 2016 15:49:47 +0000 (15:49 +0000)]
Merge "Delay callback from printerRegistry after Constr." into nyc-dev

8 years agoLaunch home activity in home stack if coming from ResolverActivity
Wale Ogunwale [Sun, 1 May 2016 16:03:52 +0000 (09:03 -0700)]
Launch home activity in home stack if coming from ResolverActivity

ResolverActivity launches activities it resolves as the initial caller.
In the case of the home intent it can be sys-ui, but only the system
server is currently allow to launch things into the home stack, so the
resolved home activity is placed in non-home stack. This wasn’t a
visible problem in fullscreen mode as the user would notice since
everything is fullscreen, however it is very visible in multi-window mode.
We now allow home activities to be places in the home stack if it is coming
from the ResolverActivity.

Bug: 28487506
Change-Id: I68f81da68a207efab9ce911fa6661bd573f1e949

8 years agoUpdate QS custom tile icons when they change
Jason Monk [Mon, 2 May 2016 14:42:17 +0000 (10:42 -0400)]
Update QS custom tile icons when they change

When an app updates to change their default tile icon, pick up on
the change.  When listening this comes from the TileLifecycleManager
and when not listening this guts picked up next time listening starts.

Change-Id: Ib730f02ed54ca1c1ba72ce50adf7dcf91f01738f
Fixes: 27911877

8 years agoMerge "Don't move stack to front when creating a task for activity to be started...
Wale Ogunwale [Mon, 2 May 2016 14:46:37 +0000 (14:46 +0000)]
Merge "Don't move stack to front when creating a task for activity to be started" into nyc-dev

8 years agoMerge "Restrict updates of system packages" into nyc-dev
Todd Kennedy [Mon, 2 May 2016 14:44:18 +0000 (14:44 +0000)]
Merge "Restrict updates of system packages" into nyc-dev

8 years agoMerge "Add api to WearableExtender for setting and getting the dismissal id. Bug...
Nadia Benbernou [Mon, 2 May 2016 14:15:45 +0000 (14:15 +0000)]
Merge "Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581" into nyc-dev

8 years agoMerge changes I86257bc8,I5c2221c5 into nyc-dev
Lorenzo Colitti [Mon, 2 May 2016 12:49:17 +0000 (12:49 +0000)]
Merge changes I86257bc8,I5c2221c5 into nyc-dev

* changes:
  Use Netd's binder interface to set resolver configuration.
  Add Gservices settings for resolver configuration.

8 years agoUse Netd's binder interface to set resolver configuration.
Pierre Imai [Thu, 28 Apr 2016 08:00:04 +0000 (17:00 +0900)]
Use Netd's binder interface to set resolver configuration.

BUG: 25731675
Change-Id: I86257bc84371832466161e5357ae173c305a7d18

8 years agoAdd Gservices settings for resolver configuration.
Pierre Imai [Thu, 21 Apr 2016 04:30:43 +0000 (13:30 +0900)]
Add Gservices settings for resolver configuration.

BUG: 25731675

Change-Id: I5c2221c5a2478fe2fa0fdf9ceeb13a932d758d33

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:12:08 +0000 (08:12 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9
am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:08:03 +0000 (08:08 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd
am: d92fe240b9

* commit 'd92fe240b9811bd1b20af0b744f1aa727c80b97c':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I7371da3bffa54b8904bd18d52b9803fb45afa31e

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 08:03:54 +0000 (08:03 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd

* commit '73813c06cd59a94fe53483b657fa58e954c97551':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb

8 years agoMerge "Clarifies that filesystem permission 0700 is not enforced as an invariant...
Janis Danisevskis [Mon, 2 May 2016 07:53:52 +0000 (07:53 +0000)]
Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs

8 years agoMerge "Add missing theme entries to Holo.Light" into nyc-dev
Seigo Nonaka [Mon, 2 May 2016 02:55:12 +0000 (02:55 +0000)]
Merge "Add missing theme entries to Holo.Light" into nyc-dev

8 years agoDon’t relaunch activity in fullscreen stack when entering split screen mode
Wale Ogunwale [Sun, 1 May 2016 23:02:16 +0000 (16:02 -0700)]
Don’t relaunch activity in fullscreen stack when entering split screen mode

When entering split-screen mode by long pressing the recents button, the
top task in the fullscreen stack is moved to the docked stack and the new
top task is the fullscreen stack is considered visible for a short amount
of time until sys-ui launches the recents activity. This causes the new
top activity in the fullscreen stack to be relaunched due to configuration
change.
To fix this sys-ui now sends an hint to activity manager to move the home
stack forward so that it can be on-top of the fullscreen stack and makes
it invisible before recent is launched and animated in.

Bug: 28470261
Change-Id: Icfd85e932fe913dfb498752b5878cc7c690fd559

8 years agoDon't move stack to front when creating a task for activity to be started
Wale Ogunwale [Sun, 1 May 2016 17:30:03 +0000 (10:30 -0700)]
Don't move stack to front when creating a task for activity to be started

This causes foucs to move to the current activity in the stack which isn't
needed. Focus will be moved when the new activity is started in the stack.

Bug: 26381750
Change-Id: Ia76962dc5ba3ce336d2a4e074d14db06eebbe78c

8 years agoKeep STH state in sync with HAL
Chris Thornton [Sat, 30 Apr 2016 18:49:06 +0000 (11:49 -0700)]
Keep STH state in sync with HAL

During stopAllRecognitions(), the internal state of a sound model was
being cleared (which made it look like the model was being unloaded).
However, the model was still loaded, so subsequent calls to load a 'new'
model would break.

Bug:28432002

Change-Id: I7090bf52704c6e46e3bb6d495d8fe4b8a1d9e2ad

8 years agoMerge "Address review comments on ag/962875." into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 09:19:50 +0000 (09:19 +0000)]
Merge "Address review comments on ag/962875." into nyc-dev

8 years agoMerge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 03:29:26 +0000 (03:29 +0000)]
Merge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev

8 years agoMerge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into...
TreeHugger Robot [Sat, 30 Apr 2016 03:26:37 +0000 (03:26 +0000)]
Merge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into nyc-dev

8 years agoMerge "BatteryStats: Keep track of coulomb counter" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 02:21:36 +0000 (02:21 +0000)]
Merge "BatteryStats: Keep track of coulomb counter" into nyc-dev

8 years agoPass -yaml to ds builds to generate _book.yaml version of reference TOC.
Dirk Dougherty [Sat, 30 Apr 2016 01:06:11 +0000 (18:06 -0700)]
Pass -yaml to ds builds to generate _book.yaml version of reference TOC.

Change-Id: I1eced1670eb9d7892672b59f3b92833448b9949a

8 years agoBatteryStats: Reset per-User Bluetooth and Modem controller activity
Adam Lesinski [Sat, 30 Apr 2016 00:56:58 +0000 (17:56 -0700)]
BatteryStats: Reset per-User Bluetooth and Modem controller activity

Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc

8 years agoBatteryStats: Keep track of coulomb counter
Adam Lesinski [Fri, 29 Apr 2016 00:31:12 +0000 (17:31 -0700)]
BatteryStats: Keep track of coulomb counter

Bug:27174034
Change-Id: Ica66817faa20b9788536f28f0e593483f033904b

8 years agoMerge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev
TreeHugger Robot [Sat, 30 Apr 2016 00:36:52 +0000 (00:36 +0000)]
Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev

8 years agoDo not update surface for dummy animation as long as transition is set
Chong Zhang [Sat, 30 Apr 2016 00:26:29 +0000 (17:26 -0700)]
Do not update surface for dummy animation as long as transition is set

Transition is not set to ready until it's executed, which could happen
a bit later after the setAppVisibility where we set up the dummy.
It is rare, but an animation pass could still slip in between, and
since the transition is not ready, it modifies the scale and show a
bad wrong frame.

bug: 27742244
Change-Id: I97fb1955e810c7c4f01dc55a28d2e4ce4f47d5eb

8 years agoDo not enforce unlocked state when there is no caller
Fyodor Kupolov [Sat, 30 Apr 2016 00:24:21 +0000 (17:24 -0700)]
Do not enforce unlocked state when there is no caller

Do not enforce unlocked state when running on the background thread. User can
be in the stopping state or removed by the time the message is being processed.

Bug: 28471878
Change-Id: I1862849661d93b424a07ea94e80563bea7a94ce5

8 years agoSet ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default
Wale Ogunwale [Fri, 29 Apr 2016 23:46:47 +0000 (16:46 -0700)]
Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default

Previous assumption was ActivityInfo was completely initialized in
PackageParser, but that isn't the case with the ResolverActivity
whose ActivityInfo in populated in PackageManagerService.
This was causing the device to exist multi-window mode since
the default ActivityInfo.resizeMode was 0 (RESIZE_MODE_UNRESIZEABLE).

Bug: 28378995
Change-Id: I46e58d434f2a0274c461a8ff00b59ed3d2a1dd52

8 years agoSet security update label in framework
Tianjie Xu [Thu, 28 Apr 2016 23:44:42 +0000 (16:44 -0700)]
Set security update label in framework

GmsCore will use different filenames to distinguish a security update
from a normal update. (update.zip for normal update and update_s.zip for
security update.) So, if framework observes the filename as
"update_s.zip", write command "--security" to BCB. This cmd ask the
recovery image to choose the right background string for update.

Bug: 27837319
Change-Id: I2ef12267a6be57d8a81f7f9f34c09aea54530c1f

8 years agoVisibility of pageRangeTitle =!= pageRangeText
Philip P. Moltmann [Fri, 29 Apr 2016 23:16:08 +0000 (16:16 -0700)]
Visibility of pageRangeTitle =!= pageRangeText

Before if we had only a single page we showed the title, but not the
text

Change-Id: Ie2c178eaf19885e0b1dcc803b9da23ed687764a7

8 years agoMerge "Insulate the account.db from updates." into nyc-dev
Carlos Valdivia [Fri, 29 Apr 2016 23:02:37 +0000 (23:02 +0000)]
Merge "Insulate the account.db from updates." into nyc-dev

8 years agoMerge "Flag to mark foreground jobs, fix data saver." into nyc-dev
Jeff Sharkey [Fri, 29 Apr 2016 22:53:20 +0000 (22:53 +0000)]
Merge "Flag to mark foreground jobs, fix data saver." into nyc-dev

8 years agoHandle more config changes and handle onDestroy
Philip P. Moltmann [Fri, 29 Apr 2016 22:40:23 +0000 (15:40 -0700)]
Handle more config changes and handle onDestroy

- The PrintActivity has to handle all config changes to not loose track
  close the connection to the printing app
- In the case where onDestroy is called we need to make sure to
  - not do any more UI operation
  - on async calls after destroy is already called, handle failure to
    unbind services.

Change-Id: If21335543fbfa16ecfe77d1965b2e8a13dfa14b8

8 years agoMerge "touch less, tap more." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 22:07:48 +0000 (22:07 +0000)]
Merge "touch less, tap more." into nyc-dev

8 years agoConnectivity Metrics service: dump throttling states to dumpsys
Pavel Zhamaitsiak [Fri, 29 Apr 2016 21:54:14 +0000 (14:54 -0700)]
Connectivity Metrics service: dump throttling states to dumpsys

Print throttling counters per each component and time remaining before
counters will be reset.

Also adjust estimate of space needed for events serialization.

Bug: 28204408
Change-Id: Ib57a24db554645e9f933126da00ef74c23097d1c

8 years agoMerge "Only platform defined permissions need a review." into nyc-dev
Svetoslav Ganov [Fri, 29 Apr 2016 21:39:43 +0000 (21:39 +0000)]
Merge "Only platform defined permissions need a review." into nyc-dev

8 years agoMerge "Fix DirectReply taking too long in HUNs" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 21:32:48 +0000 (21:32 +0000)]
Merge "Fix DirectReply taking too long in HUNs" into nyc-dev

8 years agoMerge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 21:31:29 +0000 (21:31 +0000)]
Merge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev

8 years agoMerge "Patch fontchain_lint to exclude modern_pentathlon." into nyc-dev
Raph Levien [Fri, 29 Apr 2016 21:25:19 +0000 (21:25 +0000)]
Merge "Patch fontchain_lint to exclude modern_pentathlon." into nyc-dev

8 years agoRestrict updates of system packages
Todd Kennedy [Thu, 28 Apr 2016 19:26:53 +0000 (12:26 -0700)]
Restrict updates of system packages

By declaring a <restrict-update> tag in its manifest, a system package
can restrict its update to be the singular package that has the same
given hash. An update's hash is the SHA-512 across all its APKs [i.e.
for splits, the SHA-512 is calculated over the concatenation of the
base plus all splits].

The restriction only applies to system packages.

Bug: 28398205
Change-Id: Iec493fc8ef27edee53f1d437cb0caaa78782f329

8 years agoPatch fontchain_lint to exclude modern_pentathlon.
Doug Felt [Fri, 29 Apr 2016 20:20:05 +0000 (13:20 -0700)]
Patch fontchain_lint to exclude modern_pentathlon.

Fix build breakage.
Bug: 28426800

Change-Id: Idcc8f1b66014b25758c163d908d34f06011d9927

8 years agoMerge "Don't wedge full data backups by blocking the data consumer thread" into nyc-dev
Chris Tate [Fri, 29 Apr 2016 21:00:48 +0000 (21:00 +0000)]
Merge "Don't wedge full data backups by blocking the data consumer thread" into nyc-dev

8 years agoMerge "Fix ViewRoot inset adjustment after initial setup." into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 20:37:32 +0000 (20:37 +0000)]
Merge "Fix ViewRoot inset adjustment after initial setup." into nyc-dev

8 years agotouch less, tap more.
Chris Wren [Fri, 29 Apr 2016 20:28:23 +0000 (16:28 -0400)]
touch less, tap more.

Bug: 26715804
Change-Id: Ifd8480e8c6f62036723510070d7222cd688c8b81

8 years agoMerge "Fix build break due to 32/64 bit compilation." into nyc-dev
Daniel Estrada Alva [Fri, 29 Apr 2016 20:29:32 +0000 (20:29 +0000)]
Merge "Fix build break due to 32/64 bit compilation." into nyc-dev

8 years agoMerge "Do not change surface properties when waiting for transition to ready" into...
Chong Zhang [Fri, 29 Apr 2016 20:11:54 +0000 (20:11 +0000)]
Merge "Do not change surface properties when waiting for transition to ready" into nyc-dev

8 years agoFix build break due to 32/64 bit compilation.
destradaa [Fri, 29 Apr 2016 20:11:33 +0000 (13:11 -0700)]
Fix build break due to 32/64 bit compilation.

Change-Id: I9aba08a5fd512c52c9d0c9d4853c72a3e81a22cd

8 years agoMerge "Adding null check on VolumeInfo" into nyc-dev
TreeHugger Robot [Fri, 29 Apr 2016 20:11:19 +0000 (20:11 +0000)]
Merge "Adding null check on VolumeInfo" into nyc-dev

8 years agoMerge "Add namespace before attr name in defPropMap" into nyc-dev
Deepanshu Gupta [Fri, 29 Apr 2016 20:06:00 +0000 (20:06 +0000)]
Merge "Add namespace before attr name in defPropMap" into nyc-dev

8 years agoMerge "Revert "Switch LayoutLib to Java 8"" into nyc-dev
Deepanshu Gupta [Fri, 29 Apr 2016 20:05:37 +0000 (20:05 +0000)]
Merge "Revert "Switch LayoutLib to Java 8"" into nyc-dev

8 years agoOnly platform defined permissions need a review.
Svet Ganov [Fri, 29 Apr 2016 19:50:10 +0000 (12:50 -0700)]
Only platform defined permissions need a review.

The only permissions a user can control for a legacy app in
runtime style without crashing the app are the ones defined
by the platform because we have app ops only for these and
also we contorl the access to data guarded by them.

bug:27102458

Change-Id: Ifd1350d056b4fe29739ab8fdc5cbea89fa2e4037

8 years agoFlag to mark foreground jobs, fix data saver.
Jeff Sharkey [Thu, 28 Apr 2016 21:33:18 +0000 (15:33 -0600)]
Flag to mark foreground jobs, fix data saver.

When a job will eventually run in the foreground, the internal
scheduling needs to ignore any background network restrictions when
satisfying constraints.  This also means the job should ignore the
current device doze state, since the requesting app could get the
same behavior by starting their own foreground service.

Always dispatch network policy changes to ConnectivityService first
to ensure that it has up-to-date information.  Fix bugs around data
saver that were causing networks to not be marked as BLOCKED for
background apps; before this fix apps would have been spinning in
internal connectivity loops, thinking that the network was actually
connected when the kernel was actually blocking their traffic.

Offer new ConnectivityService method overloads to ignore the blocked
state for a specific UID.

Print unsatisfied job constraints to aid debugging.

Bug: 26571724
Change-Id: Iaaa17933e6dc1bf6d3dff26d0bfc12222e51e241

8 years agoMerge "Fixes on handling messages from apps to host." into nyc-dev
Daniel Estrada Alva [Fri, 29 Apr 2016 19:24:16 +0000 (19:24 +0000)]
Merge "Fixes on handling messages from apps to host." into nyc-dev

8 years agoMerge "Fix crash loop when activity controller was set" into nyc-dev
Andrii Kulian [Fri, 29 Apr 2016 19:20:15 +0000 (19:20 +0000)]
Merge "Fix crash loop when activity controller was set" into nyc-dev

8 years agoMerge "Less clipping." into nyc-dev
Julia Reynolds [Fri, 29 Apr 2016 19:12:12 +0000 (19:12 +0000)]
Merge "Less clipping." into nyc-dev

8 years agoMerge "Fix QS Edit flashing on exit" into nyc-dev
Jason Monk [Fri, 29 Apr 2016 19:04:17 +0000 (19:04 +0000)]
Merge "Fix QS Edit flashing on exit" into nyc-dev

8 years agoFix QS Edit flashing on exit
Jason Monk [Fri, 29 Apr 2016 18:58:29 +0000 (14:58 -0400)]
Fix QS Edit flashing on exit

Always save tile specs after move and don't trigger an entire data
set changed because we are aware of all changes.

Change-Id: Ic75b9ea8ed9b7d1a11d02f9af7858f3d040ec074
Fixes: 28334197

8 years agoLess clipping.
Julia Reynolds [Fri, 29 Apr 2016 18:48:43 +0000 (14:48 -0400)]
Less clipping.

Bug: 28385494
Change-Id: Ic28041621e5574e003b46aa84e8b69dc3472506d