Commit Graph

47887 Commits

Author SHA1 Message Date
Chien-Yu Chen
4901af2798 am c7bc613f: am 58e591f6: am 4f6615a3: Merge "Camera2: stream configs for reprocessible session" into mnc-dev
* commit 'c7bc613fbeade78d392b0601044595b5cbc63db8':
  Camera2: stream configs for reprocessible session
2015-05-12 20:47:06 +00:00
Chris Craik
c6f9023ab1 am e9724679: am ca0790cd: am 6af2857a: Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev
* commit 'e9724679302ddb0d83fa24d782601db7de30c050':
  Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""
2015-05-12 20:11:48 +00:00
Chien-Yu Chen
4f6615a30c Merge "Camera2: stream configs for reprocessible session" into mnc-dev 2015-05-12 20:09:15 +00:00
Yohei Yukawa
59de3f828a am e467e764: am c1f055a8: am f038295e: Merge "Remove obsolete fields from InputMethodManager." into mnc-dev
* commit 'e467e764bc3abba352b117397454df3082068dc3':
  Remove obsolete fields from InputMethodManager.
2015-05-12 20:00:50 +00:00
Chris Craik
6af2857ae0 Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev 2015-05-12 19:40:26 +00:00
Yohei Yukawa
6d090c42a7 Remove obsolete fields from InputMethodManager.
IMM#mViewTopLeft and IMM#mViewToScreenMatrix are no longer used.
They should have not been removed in
I4a577bfd02b37b9e56c80b8b41bb25afa95dd8ef.

Change-Id: Ia685956c8f7dda1143135345ee9a3873705975ef
2015-05-12 11:11:27 -07:00
Christopher Tate
8362ae1f98 am ec8b095c: am d990e411: am 54415439: Merge "Deprecate Context.MODE_MULTI_PROCESS" into mnc-dev
* commit 'ec8b095cdd2b6dfbe7225580e004cf2c03975468':
  Deprecate Context.MODE_MULTI_PROCESS
2015-05-12 18:00:48 +00:00
Chris Craik
8420acd268 am 1d0b13b7: am db05ea90: am d2c05188: Merge "Fix build - Revert "Revert "Use default constructor to get anti-aliasing""" into mnc-dev
* commit '1d0b13b74797b27bd431d68f25fdd5e7c5ec751a':
  Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
2015-05-12 18:00:43 +00:00
Chris Craik
4538cdbbb0 am 99aac0fc: am f3aad322: am fd41cf0c: Merge "Revert "Use default constructor to get anti-aliasing"" into mnc-dev
* commit '99aac0fc62a0b6f28bc732cd2153f8883ec7f09f':
  Revert "Use default constructor to get anti-aliasing"
2015-05-12 17:49:24 +00:00
Chris Craik
6a49ddef62 Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""
Fix import

This reverts commit 7ed1431c83.

Change-Id: Id93eba3ed1d47a90384ba20dea6f74d78755792b
2015-05-12 10:44:30 -07:00
P.Y. Laligand
e6c47686f6 Merge "DO NOT MERGE - Display mode switches." into mnc-dev 2015-05-12 17:39:57 +00:00
Christopher Tate
54415439ca Merge "Deprecate Context.MODE_MULTI_PROCESS" into mnc-dev 2015-05-12 17:28:28 +00:00
Chris Craik
7ed1431c83 Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
This reverts commit dfe0a66cec.

Change-Id: I58a1bae649a284f3d3b6213064d903ea7fcf185a
2015-05-12 17:22:22 +00:00
Paul Jensen
15ffe7f491 am 49979a37: am 3ce689a4: am 356a2612: Merge "Deprecate ConnectivityManager.isNetworkTypeValid as it\'s unneeded." into mnc-dev
* commit '49979a37216a001d30bc618d20583dccbf481ec9':
  Deprecate ConnectivityManager.isNetworkTypeValid as it's unneeded.
2015-05-12 17:08:34 +00:00
Chris Craik
dfe0a66cec Revert "Use default constructor to get anti-aliasing"
bug:20948129

This reverts commit 58fc522a69.

Change-Id: Iddeccb4ad15b843bb3e610bd3673a0c7abc1bf46
2015-05-12 16:36:49 +00:00
Andre Eisenbach
2e4dd75f64 am deb06b85: am af78a8b6: am 14dcb5f1: Bluetooth native dumpsys logging support (3/5)
* commit 'deb06b85514f38773882b7cbc88cf02cad6ffa24':
  Bluetooth native dumpsys logging support (3/5)
2015-05-12 16:34:16 +00:00
Paul Jensen
356a26122b Merge "Deprecate ConnectivityManager.isNetworkTypeValid as it's unneeded." into mnc-dev 2015-05-12 16:32:29 +00:00
Andre Eisenbach
14dcb5f138 Bluetooth native dumpsys logging support (3/5)
Bug: 18508263
Change-Id: I88f9c90dab8b0c825010c8617709449a3dd704b2
2015-05-12 15:56:39 +00:00
Jason Monk
9de4cc5770 am d8ee3c77: am deb356dd: am 2df11817: Merge "Add control for double tap to wake setting" into mnc-dev
* commit 'd8ee3c770fc0619e053a5aa793938d13a354acf4':
  Add control for double tap to wake setting
2015-05-12 15:09:36 +00:00
Paul Jensen
9e59e12b86 Deprecate ConnectivityManager.isNetworkTypeValid as it's unneeded.
All ConnectivityManager APIs taking a network type have been
deprecated so there should be no need to validate a network type.

bug:20647016
Change-Id: I2dcf24f58016e94aa814dda38cfc848366cc461c
2015-05-12 10:36:56 -04:00
Jason Monk
27bbb2d0a1 Add control for double tap to wake setting
Bug: 16875464
Change-Id: Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e
2015-05-12 10:12:32 -04:00
Amith Yamasani
2c01a829ab am f4534beb: am dc15e243: am bb9d9278: Merge "Idle timebase" into mnc-dev
* commit 'f4534beb26de3bdf0d5e391811d31ad0c653c366':
  Idle timebase
2015-05-12 13:37:23 +00:00
Amith Yamasani
bb9d9278aa Merge "Idle timebase" into mnc-dev 2015-05-12 13:04:31 +00:00
Michael Wright
9618088175 am 22fa94a1: am 0598d730: am 6959865f: Merge "Remove SLEEP and POWER from wake key list." into mnc-dev
* commit '22fa94a10b41f2895ef2184e576aebd9d436d6bb':
  Remove SLEEP and POWER from wake key list.
2015-05-12 12:46:41 +00:00
Michael Wright
6959865fb0 Merge "Remove SLEEP and POWER from wake key list." into mnc-dev 2015-05-12 12:12:50 +00:00
Ricky Wai
92b2d3afad am e3cd0af3: am 662ec915: am 227d42db: Merge "Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon" into mnc-dev
* commit 'e3cd0af378d700f55dc606ae7ecefc9667eb5c0c':
  Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon
2015-05-12 10:10:58 +00:00
Rubin Xu
c7a0d2ef1b am 0835c1f3: am f04d6120: am 9fc8bb63: Merge "Tweak SystemUpdatePolicy according to API review." into mnc-dev
* commit '0835c1f3e32358f0a89729fc04333e83b8ede728':
  Tweak SystemUpdatePolicy according to API review.
2015-05-12 09:59:07 +00:00
Clara Bayarri
ff2b6f042c am eea5fe16: am 8086e031: am c12e4e46: Merge "Fix Floating toolbar is not refreshed when dragging insertion handle" into mnc-dev
* commit 'eea5fe16de77b645c2443758105930bbeee3001c':
  Fix Floating toolbar is not refreshed when dragging insertion handle
2015-05-12 09:58:59 +00:00
Ricky Wai
227d42db5b Merge "Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon" into mnc-dev 2015-05-12 09:36:02 +00:00
Rubin Xu
9fc8bb63d8 Merge "Tweak SystemUpdatePolicy according to API review." into mnc-dev 2015-05-12 09:06:14 +00:00
Clara Bayarri
c12e4e468f Merge "Fix Floating toolbar is not refreshed when dragging insertion handle" into mnc-dev 2015-05-12 09:06:06 +00:00
Christopher Tate
d5748b8fac Deprecate Context.MODE_MULTI_PROCESS
It has never worked the way people expect.

Change-Id: I0633aacc5ed171495d9c3b51201b7ba86b666dc5
2015-05-11 19:39:26 -07:00
Chris Craik
ae86f573f6 am 36d7ba09: am 25b1d6d6: am 2f957893: Merge "Fix ViewGroup caching defaults" into mnc-dev
* commit '36d7ba094f80ab2fd1c08018101ce5dc3c665aeb':
  Fix ViewGroup caching defaults
2015-05-12 01:55:29 +00:00
Chris Craik
2f957893a4 Merge "Fix ViewGroup caching defaults" into mnc-dev 2015-05-12 01:18:32 +00:00
Amith Yamasani
06bf824628 Idle timebase
Use screen on time as timebase for idling out apps
that have been inactive.

Store the time when an app was last active as an additional
package state in UsageStats. Compare it to screenOnTime to decide
if it's inactive.

Exclude device idle whitelist from apps that can go inactive.

Bug: 20066058

Change-Id: I709f9f31a9affa7ca6e1ae3e4c5729c5fb221669
2015-05-11 17:46:14 -07:00
Svet Ganov
49b6b72a03 am f152ef2f: am 0bf290b9: am 981de3c5: Merge "Add permission meta-state flags to support grant/revoke permission policy." into mnc-dev
* commit 'f152ef2fd5b0d3e1251e1b1866e5c57a73dc7b0b':
  Add permission meta-state flags to support grant/revoke permission policy.
2015-05-12 00:43:38 +00:00
Svet Ganov
981de3c57c Merge "Add permission meta-state flags to support grant/revoke permission policy." into mnc-dev 2015-05-12 00:15:37 +00:00
Svet Ganov
8c7f700a59 Add permission meta-state flags to support grant/revoke permission policy.
We now maintain a mata-state with each permission in the form of flags
specyfying the policy for this permission. This enables support of the
following use cases:

1. The user denies a permission with prejudice in which case an app cannot
   request the permission at runtime. If an app requests such a permssion
   it gets a denial unless the user grants the permission from settings.

2. A legacy app with disabled app-ops being upgraded to support runtime
   permissions. The disabled app ops are converted to permission revocations.
   The app ops manager is a part of the activity manger which sits on top
   of the package manager, hence the latter cannot have a dependency on the
   former. To avoid this the package installer which is the global
   permission managment authority marks the permission as revoked on
   upgrade and the package manager revokes it on upgrade.

3. A device policy fixing a permission in a granted or revoked state. This
   additional information is folded in the meta-state flags and neither
   apps can request such permissions if revoked not the user can change
   the permission state in the UI.

Change-Id: I443e8a7bb94bfcb4ff6003d158e1408c26149811
2015-05-11 17:13:57 -07:00
Dianne Hackborn
b570ded1ef am 48453bf3: am 485d0b06: am 9c8600e1: Merge "Implement device idle in power manager." into mnc-dev
* commit '48453bf36dc03726ba82438531945b9b5d1771a1':
  Implement device idle in power manager.
2015-05-11 22:51:36 +00:00
Chris Craik
f6ce8fd4f3 Fix ViewGroup caching defaults
bug:20718535

Revert to established defaults of these two properties.

Change-Id: I798cfa2e53b26eafd30b191ad6e3b721fe6bd249
2015-05-11 15:33:12 -07:00
Dianne Hackborn
9c8600e1af Merge "Implement device idle in power manager." into mnc-dev 2015-05-11 22:22:36 +00:00
Dianne Hackborn
8d66b3fbf5 Implement device idle in power manager.
When in device idle mode, we now prevent most apps
from being able to hold partial wake locks.  The
device idle controller now pushes its white list of
app uids into the power manager, so it can apply this
policy correctly to only apps that are not whitelisted.

The implementation adds a new "disabled" flag to a wake
lock which is set when we want to apply this policy.  When
set, we ensure that we tell battery stats that the wake lock
is not being held and ignore that wake lock when computing
the power state summary.

Also add new SDK APIs to schedule alarms that are allowed
to execute while in idle mode.

Finally add new dumpsys commands to the device idle controller
to completely disable and re-enable its operation, to use
for testing.

Change-Id: I1f16672c6ac06d03bb538f9854d5843db9aa6f27
2015-05-11 15:16:47 -07:00
Doris Liu
6c892be4f3 am f39708c3: am 803a1e84: am a2f04382: Merge "Use ArrayMap instead of HashMap for storing relavant nodes" into mnc-dev
* commit 'f39708c3e46006273411a0fb54a87fc23c697e77':
  Use ArrayMap instead of HashMap for storing relavant nodes
2015-05-11 22:10:32 +00:00
P.Y. Laligand
b3b9eb3cfc DO NOT MERGE - Display mode switches.
Knowledge of the various modes of a display is now available to apps, and they can request a specific mode for their windows.

b/18241736

Change-Id: I8eb16ff713e878512faca3ca6662254f08a9be7f
(cherry picked from commit 5c7773d864)
2015-05-11 15:02:07 -07:00
Doris Liu
a2f043822b Merge "Use ArrayMap instead of HashMap for storing relavant nodes" into mnc-dev 2015-05-11 21:31:42 +00:00
Doris Liu
d7444427d9 Use ArrayMap instead of HashMap for storing relavant nodes
This fix is to take advantage of ArrayMap, which is a key-value
mapping data structure that is more memory efficient than HashMap.

Bug: 11604254
Change-Id: I57006880de570a4d7f3899e274cf0a06355d116b
2015-05-11 13:23:31 -07:00
Adam Powell
2ddde23c50 am f003c792: am 44e89c49: am 5fccffd5: Merge "Bringing new Chooser UI closer to spec" into mnc-dev
* commit 'f003c7925692a22e9a4c0ad539f941cea886eb30':
  Bringing new Chooser UI closer to spec
2015-05-11 19:40:21 +00:00
Adam Powell
5fccffd573 Merge "Bringing new Chooser UI closer to spec" into mnc-dev 2015-05-11 19:17:29 +00:00
Adam Powell
7d7580019e Bringing new Chooser UI closer to spec
Separate the chooser targets into rows by type. Remove some API that
was redundant with LabeledIntent, simplifying ChooserTarget.

Change-Id: I90de471825f05d85e6ffbe72a32fb597be824a30
2015-05-11 12:16:19 -07:00
Chirag Shah
a03934ce95 am d0a15765: am 23c0fca3: am 3ce72722: Merge "Revert the AssistAction class." into mnc-dev
* commit 'd0a15765eb81c5d065ddd83f16b6c2c0791677e1':
  Revert the AssistAction class.
2015-05-11 18:21:00 +00:00