204890 Commits

Author SHA1 Message Date
Wale Ogunwale
7cbfcd8865 Don't duplicate recent tasks of the same affinity.
In change 510e554283d3dc250f836cd3e4abc36d87319333 we stated
limiting the number of document activity entries in recents
by comparing the realActivity of the tasks. This compared was
done for all tasks not just document tasks there by breaking
the use of task affinity to remove tasks with the same affinity
from recent task list. This change limits the compare of
realActivity to just document tasks.

Bug: 22564474
Bug: 18642190
Change-Id: Idc21ec311f194ab2005cb22380ca56303ae0ad94
2015-07-21 07:26:36 -07:00
Jason Monk
878c093336 Fix blank tiles on QS rotate
Some tiles were skipping updates due to lack of information, make
these tiles handle a clear state better.

Bug: 22531578
Change-Id: I7bd75b3e032592a496fcaf080ce9cbe3b5cf20da
2015-07-21 10:18:01 -04:00
Diego Perez
112d8a3641 am d6f2a9ef: am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
* commit 'd6f2a9efbb0e0525f6cf970fd9c9b9b7082b19f9':
  Render to measured size when using expand mode
2015-07-21 13:20:23 +00:00
Diego Perez
d6f2a9efbb am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
* commit '7720eb18c1c2fe06e8f4b2f6e2936a4072494da8':
  Render to measured size when using expand mode
2015-07-21 13:06:52 +00:00
Diego Perez
7720eb18c1 Merge "Render to measured size when using expand mode" into lmp-mr1-dev 2015-07-21 12:56:56 +00:00
Miao Wang
0ca81c8986 am ef3ca9f3: am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."
* commit 'ef3ca9f3fb3fd76359fb361a0d937ca92400725f':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-21 02:35:21 +00:00
Jae Seo
3f56fb94b1 am 12d1db7d: am 6ff64bc3: am 6564934d: am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
* commit '12d1db7d27553b0d02afe43937679cc1e6139ba1':
  TIF: Get or create the user state when failed to find existing one
2015-07-21 01:00:14 +00:00
Terry Heo
b5f8055788 am 26fae7e1: am 00869af8: am aaf67d95: am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
* commit '26fae7e181b20b471cddc6378fd75b73521d2893':
  TIF: Use copied track list for onTracksChanged() callback
2015-07-21 01:00:09 +00:00
Christopher Tate
387225ff01 Add 'pm' operation to set a package's app-linking state
Set an app's state:

  pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}

Read an app's current state:

  pm get-app-link [--user USER_ID] PACKAGE

The latter prints to stdout one of the strings usable as an argument to
set-app-link.  If an error is encountered, the string printed to
stderr begins with "Error: ".

Bug 19628527

Change-Id: I68b6dc24445917807345a8cf5baa2078490740af
2015-07-20 17:45:17 -07:00
Jae Seo
12d1db7d27 am 6ff64bc3: am 6564934d: am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
* commit '6ff64bc34daf55874f5372d0cda444f67c892bdf':
  TIF: Get or create the user state when failed to find existing one
2015-07-21 00:40:37 +00:00
Terry Heo
26fae7e181 am 00869af8: am aaf67d95: am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
* commit '00869af85d0df92b00155ecf84311eccbd1647cf':
  TIF: Use copied track list for onTracksChanged() callback
2015-07-21 00:40:31 +00:00
Dongwon Kang
0294448c19 am fe207d3d: am e64dfb47: am 14bdaa7f: am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev
* commit 'fe207d3dee5bf392ddd6ea35f486b559410d3c48':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
2015-07-21 00:37:43 +00:00
Jorim Jaggi
b3d17db144 am 997ebda4: am 4cb9ccc7: am c0469f99: am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
* commit '997ebda43513dbb6da7ddeb54d3eb2a972ed2e1f':
  Test app to emit all AccessibilityEvents to logcat.
2015-07-21 00:37:38 +00:00
Jorim Jaggi
43bab2eb53 am d9b611fd: am f2ae250e: am 7cc56bb4: am 1f98c62f: Fix unnecessary layer creation for appear animation
* commit 'd9b611fd3bbbe5ffb5c697e960da58d2c45d5abb':
  Fix unnecessary layer creation for appear animation
2015-07-21 00:37:29 +00:00
Miao Wang
77b33cba7f am f68c6eed: am c1f197ca: am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit 'f68c6eed147686268c846289971ee06d67d97ea0':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-21 00:37:24 +00:00
Jorim Jaggi
1eb7ccd1f7 am 631cf9cd: am b946ce96: am 00fe1b65: am 4cd72169: Fix window animation flickering
* commit '631cf9cdb5548b4966740f74f817775dc9f2abd1':
  Fix window animation flickering
2015-07-21 00:37:18 +00:00
Jae Seo
6ff64bc34d am 6564934d: am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
* commit '6564934d1a3f1020184c48bdddbe91321652a0b2':
  TIF: Get or create the user state when failed to find existing one
2015-07-21 00:28:20 +00:00
Terry Heo
00869af85d am aaf67d95: am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
* commit 'aaf67d952711e9587df143e017618fc488c32077':
  TIF: Use copied track list for onTracksChanged() callback
2015-07-21 00:28:16 +00:00
Todd Kennedy
68de157b78 Use RingtonePlayer to get ringtone title
Instead of requiring every application that calls Rintone.getTitle()
to request android.permission.READ_EXTERNAL_STORAGE, pass the call
through to the system UI process. We only do this for media store
URIs.

Bug: 22067670
Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce
2015-07-20 17:24:15 -07:00
Dongwon Kang
fe207d3dee am e64dfb47: am 14bdaa7f: am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev
* commit 'e64dfb47738c6b5fd3f7fabe1a1bce0c0acc07be':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
2015-07-21 00:21:50 +00:00
Jorim Jaggi
997ebda435 am 4cb9ccc7: am c0469f99: am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
* commit '4cb9ccc73282484f9330ecf95d5d9b7bff07040b':
  Test app to emit all AccessibilityEvents to logcat.
2015-07-21 00:21:44 +00:00
Jorim Jaggi
d9b611fd3b am f2ae250e: am 7cc56bb4: am 1f98c62f: Fix unnecessary layer creation for appear animation
* commit 'f2ae250e7e7410918589b2c9eb0d6101c90f4128':
  Fix unnecessary layer creation for appear animation
2015-07-21 00:21:37 +00:00
Miao Wang
f68c6eed14 am c1f197ca: am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit 'c1f197ca7db5845c31e36648b3974b844bb55067':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-21 00:21:31 +00:00
Jorim Jaggi
631cf9cdb5 am b946ce96: am 00fe1b65: am 4cd72169: Fix window animation flickering
* commit 'b946ce96d2f761550e7b30286846771fa3beb74d':
  Fix window animation flickering
2015-07-21 00:21:25 +00:00
Jae Seo
6564934d1a am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
* commit 'b2eed1d6e11f38c00ce1776ade14dfa004c6119f':
  TIF: Get or create the user state when failed to find existing one
2015-07-21 00:10:47 +00:00
Terry Heo
aaf67d9527 am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
* commit 'e95af4ab8bda68ee80bf4d444356e0c1afb1fe99':
  TIF: Use copied track list for onTracksChanged() callback
2015-07-21 00:10:43 +00:00
Miao Wang
ef3ca9f3fb am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."
* commit '37353dc13e11000473f5aa43d5713816f2b6a83f':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-21 00:08:36 +00:00
Jorim Jaggi
96ee8e8f04 am 537cd82a: am 027db7c9: am e58ba842: am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
* commit '537cd82ad5ab416eae2199d2dfe4634f974c89c8':
  Fix SysUI crashes on svelte devices
2015-07-21 00:08:08 +00:00
Dongwon Kang
e64dfb4773 am 14bdaa7f: am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev
* commit '14bdaa7f6b2140dadb631e67d61462219c678100':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
2015-07-21 00:00:44 +00:00
Jorim Jaggi
4cb9ccc732 am c0469f99: am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
* commit 'c0469f99723919cf1d55b34180020ef14fb36b56':
  Test app to emit all AccessibilityEvents to logcat.
2015-07-21 00:00:39 +00:00
Jorim Jaggi
f2ae250e7e am 7cc56bb4: am 1f98c62f: Fix unnecessary layer creation for appear animation
* commit '7cc56bb44d2be8bc0d2cd43dba86247867992305':
  Fix unnecessary layer creation for appear animation
2015-07-21 00:00:33 +00:00
Miao Wang
c1f197ca7d am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit '6005f9e5ae8e15e598d7bcb9667f1289e1d8c4fe':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-21 00:00:28 +00:00
Jorim Jaggi
b946ce96d2 am 00fe1b65: am 4cd72169: Fix window animation flickering
* commit '00fe1b650a8ac66838273d91ecf5facd6225bca1':
  Fix window animation flickering
2015-07-21 00:00:24 +00:00
Jae Seo
b2eed1d6e1 Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev 2015-07-20 23:59:25 +00:00
Terry Heo
e95af4ab8b Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev 2015-07-20 23:57:31 +00:00
Miao Wang
37353dc13e Merge "[RenderScript] Add docs advising users about dstAtop bug." 2015-07-20 23:57:19 +00:00
Dongwon Kang
14bdaa7f6b am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev
* commit '6444fe121449f1cacf4500d3098b590c74e3646d':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
2015-07-20 23:56:37 +00:00
Jorim Jaggi
c0469f9972 am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
* commit '55786e1164d522d878d1f493c30330669b1fd868':
  Test app to emit all AccessibilityEvents to logcat.
2015-07-20 23:56:33 +00:00
Jorim Jaggi
537cd82ad5 am 027db7c9: am e58ba842: am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
* commit '027db7c90a2bfde65069dece1c1a4519e246c202':
  Fix SysUI crashes on svelte devices
2015-07-20 23:54:19 +00:00
Jorim Jaggi
740452e875 Touch, wake and unlock
- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
2015-07-20 23:52:20 +00:00
Dongwon Kang
6444fe1214 Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev 2015-07-20 23:50:03 +00:00
Alan Viverette
1e3da911f1 am d9fa0fd7: am 6ae0a992: am 23305e9f: am 41668b25: Merge "Adjust padding and font size in time picker for Large text mode" into mnc-dev
* commit 'd9fa0fd7f3b98473474103ac93ec6ca02455c8b0':
  Adjust padding and font size in time picker for Large text mode
2015-07-20 23:47:07 +00:00
Alan Viverette
c447689d27 am 872cb95c: am 9362d96a: am 783b3d9d: am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev
* commit '872cb95cf211b6d30c8ac6f7670bbd5de19d33cb':
  Add missing invalidation check to drawable cache
2015-07-20 23:47:01 +00:00
Jorim Jaggi
7cc56bb44d am 1f98c62f: Fix unnecessary layer creation for appear animation
* commit '1f98c62f9a60fedd8f18bd47e3f3c4e5fcb34031':
  Fix unnecessary layer creation for appear animation
2015-07-20 23:45:46 +00:00
Miao Wang
6005f9e5ae am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
* commit '15d6894170f2ee1a6eae57c915fcc27a56c9de17':
  [RenderScript] Add docs advising users about dstAtop bug.
2015-07-20 23:45:42 +00:00
Jorim Jaggi
00fe1b650a am 4cd72169: Fix window animation flickering
* commit '4cd7216967a3e6211785c8acdeca449d61d796a0':
  Fix window animation flickering
2015-07-20 23:45:37 +00:00
Miao Wang
37e1d0ce1e [RenderScript] Add docs advising users about dstAtop bug.
Bug: 22047392
Change-Id: I736a697276020687c20dff515aabb1be1776f8c0
(cherry picked from commit ffb1a9bed0788d3547f085bfb9d254004e0db1e3)
2015-07-20 16:44:14 -07:00
Jorim Jaggi
55786e1164 Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev 2015-07-20 23:43:51 +00:00
Jorim Jaggi
027db7c90a am e58ba842: am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
* commit 'e58ba842de4324c62b7e527f0b90fc6ee5ccba13':
  Fix SysUI crashes on svelte devices
2015-07-20 23:40:00 +00:00
Jorim Jaggi
1f98c62f9a Fix unnecessary layer creation for appear animation
Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed
2015-07-20 23:39:46 +00:00