191710 Commits

Author SHA1 Message Date
Joe Fernandez
57881dcfb1 am f3c04204: am 13e39e3f: am c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit 'f3c042045f70b74d700c3d96429f45b93606e56b':
  docs: studio 1.2.1.1 updates
2015-05-12 04:24:53 +00:00
Jeff Hao
bff523940f am 3da32f77: am b1e9430a: am c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit '3da32f77fb99a21c35cfc914641e34b949c2d623':
  Fix prototype for startMethodTracingSampling in profiling docs.
2015-05-12 04:24:46 +00:00
Joe Fernandez
f3c042045f am 13e39e3f: am c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit '13e39e3fd28544ff13639938455a8b7d593b835b':
  docs: studio 1.2.1.1 updates
2015-05-12 04:09:42 +00:00
Jeff Hao
3da32f77fb am b1e9430a: am c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit 'b1e9430a9d653937ae9ee2ae9c3e60860b30ba4d':
  Fix prototype for startMethodTracingSampling in profiling docs.
2015-05-12 04:09:38 +00:00
Joe Fernandez
13e39e3fd2 am c1e97347: Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs
* commit 'c1e973477d635e08ab656bba3dbaf73927feaae8':
  docs: studio 1.2.1.1 updates
2015-05-12 04:00:31 +00:00
Jeff Hao
b1e9430a9d am c5ced5d3: Fix prototype for startMethodTracingSampling in profiling docs.
* commit 'c5ced5d354678c6eaefbfab11035b4f05361264a':
  Fix prototype for startMethodTracingSampling in profiling docs.
2015-05-12 04:00:24 +00:00
Joe Fernandez
c1e973477d Merge "docs: studio 1.2.1.1 updates" into lmp-mr1-ub-docs 2015-05-12 03:51:24 +00:00
Jim Miller
eeb60bc7bb Merge "Fingerprint: Add Set Active Group" into mnc-dev 2015-05-12 01:22:16 +00:00
Chris Craik
2f957893a4 Merge "Fix ViewGroup caching defaults" into mnc-dev 2015-05-12 01:18:32 +00:00
Fabrice Di Meglio
e2f43948d1 Merge "Add user selectable Default Browser feature - part 6" into mnc-dev 2015-05-12 00:52:58 +00:00
Fabrice Di Meglio
3453e081e0 Add user selectable Default Browser feature - part 6
- if a default Browser is not defined and if a Browser App
is selected into the disambiguation dialog, then make it as
the default Browser
- clear default Browser saved data (package name) when
the default Browser App is removed

See bug #20144393

Change-Id: Ia8621d7a61ec2cb60deded9d70f75f1e1d88d123
2015-05-11 17:46:23 -07:00
Selim Cinek
7c4b054ebf Gave more context on an accesibility string
Bug: 21024091
Change-Id: I298786cc71a7368298df620d699a49ef29adec06
2015-05-12 00:45:34 +00:00
Jeff Hao
c5ced5d354 Fix prototype for startMethodTracingSampling in profiling docs.
Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c
(cherry picked from commit 3755c3d8bcc3d0f22eb7a775ec7a689feb7e1725)
2015-05-12 00:43:47 +00:00
Selim Cinek
35b7771fcb Fixed a bug that the user could not drag down on the heads up
Change-Id: I4a806c88d9b2bf4d176dab32ed793c1105ffd237
(cherry picked from commit dcc3138db295c513aeda322a447f9dd1295e180e)
2015-05-12 00:42:26 +00:00
Jeff Hao
6e88f0b7bb Merge "Fix prototype for startMethodTracingSampling in profiling docs." into mnc-dev 2015-05-12 00:42:15 +00:00
Selim Cinek
b05f5739bb Fixed a crash with the voice interaction service
Bug: 20925281
Change-Id: I136014ebc12c3afcb154722a8fec44b1d5f003e9
(cherry picked from commit 64904d39f8062b026c2d4c09c9a5a26532e60bb6)
2015-05-12 00:41:15 +00:00
Selim Cinek
737bff3476 Fixed a bug where the HUN would interfere with the normal touches
When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.

Bug: 20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit 8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
2015-05-12 00:39:36 +00:00
Jeff Hao
3755c3d8bc Fix prototype for startMethodTracingSampling in profiling docs.
Change-Id: I1bb48be7d154ef2d513c8f611c52a7c89414737c
2015-05-11 17:33:49 -07: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
Jeff Hao
5496514639 am 70159dfe: am 55c4816f: am cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit '70159dfeb6bde35cb001e25240c7e676bf87932f':
  Update ddms and profiling docs to include sample profiling.
2015-05-12 00:06:55 +00:00
Jeff Hao
70159dfeb6 am 55c4816f: am cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit '55c4816fb2aa8ea54231de6dbcb4fa22642bb75e':
  Update ddms and profiling docs to include sample profiling.
2015-05-11 23:57:32 +00:00
Rich Slogar
2d488eb8c7 docs: studio 1.2.1.1 updates
Change-Id: I0e0f25873b06a135e6fd68f1a2aad463d204c4e5
2015-05-11 16:54:55 -07:00
Jeff Hao
55c4816fb2 am cf6a3b91: Update ddms and profiling docs to include sample profiling.
* commit 'cf6a3b915c2984ae573b27a46dd732811d642427':
  Update ddms and profiling docs to include sample profiling.
2015-05-11 23:44:15 +00:00
Jean-Michel Trivi
cbcbb828e8 Merge "Prevent NPE in MediaSessionService" into mnc-dev 2015-05-11 22:57:03 +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
Jeff Hao
a4492b418d Merge "Update ddms and profiling docs to include sample profiling." into mnc-dev 2015-05-11 22:30:58 +00:00
Jeff Hao
cf6a3b915c Update ddms and profiling docs to include sample profiling.
Bug: 5866094

Change-Id: Ib97990ee2fc823416b3f41856b815d4092818f98
2015-05-11 22:30:20 +00:00
John Spurlock
ceacb51e04 Merge "Zen: Distinct icon for DND = total silence." into mnc-dev 2015-05-11 22:30:14 +00: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
Quddus Chong
b98e07129c am ce4408a1: am a7577843: am d43ec638: am 174dc3ba: Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented un
* commit 'ce4408a104300006a3296bfd2f2aad9c0f2fd9dc':
  docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator.
2015-05-11 22:16:36 +00:00
Quddus Chong
ce4408a104 am a7577843: am d43ec638: am 174dc3ba: Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to r
* commit 'a75778438fde2e7ec5322a69930ff49ded48f4c1':
  docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator.
2015-05-11 22:02:42 +00:00
Quddus Chong
a75778438f am d43ec638: am 174dc3ba: Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a devic
* commit 'd43ec6380ce04f4c0830cd35d1dbd7b3050799d4':
  docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator.
2015-05-11 21:51:50 +00:00
John Spurlock
4ec8b60295 Zen: Distinct icon for DND = total silence.
Bug: 21032320
Change-Id: I0c7b8564c38b420081ee60ee244058b8039febf7
2015-05-11 17:49:36 -04:00
Quddus Chong
d43ec6380c am 174dc3ba: Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator
* commit '174dc3ba607965cf1dd0578f83ce373fa74d0f65':
  docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator.
2015-05-11 21:38:46 +00:00
Jean-Michel Trivi
e492d43512 Prevent NPE in MediaSessionService
Guard against null UserRecord when dispatching a media key event.

Change-Id: I0c4a60b9c35f51a2c93baeecb80106633740de8b
2015-05-11 14:36:27 -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
Jean-Michel Trivi
4c08bc0f61 Merge "AudioRecord.Builder works with no or partial parameters" into mnc-dev 2015-05-11 21:28:34 +00:00
Quddus Chong
174dc3ba60 Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator." into lmp-docs 2015-05-11 21:23:43 +00:00
Yang Ni
552518e3c1 Merge "Moved limit constants for kernel and script group" into mnc-dev 2015-05-11 21:14:32 +00:00
Miao Wang
cb556e0d25 Merge "[RenderScript] hide Allocation.copyToFieldPacker()" into mnc-dev 2015-05-11 21:13:47 +00:00
Quddus Chong
4bc762a919 docs: Added training docs for Android unit testing tools and APIs.
This training covers techniques for running unit tests on local
machines, using mock objects in local unit tests, and building
instrumented unit tests to run on a device or emulator.

Change-Id: I9fee9ac3bd7382fb158145600b1850775edb687d
2015-05-11 14:09:25 -07:00
Fyodor Kupolov
51506326d1 Merge "Fix errors during user switching" into mnc-dev 2015-05-11 21:03:27 +00:00
John Spurlock
fb9a664b2b Merge "Zen: Reset zen + ringer modes on upgrades to M." into mnc-dev 2015-05-11 20:42:52 +00:00
Sasha Levitskiy
80db9baf97 Fingerprint: Add Set Active Group
Change-Id: Ie9d63c5f948c9610bd6b19a76bffab5ae0070620
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-05-11 13:42:19 -07:00
Fyodor Kupolov
bcb6c1eb9e Fix errors during user switching
Fix NPE in getHomeActivityForUser. Skip system processes in
killBackgroundUserProcessesWithRecordAudioPermission.

Bug: 21016983
Change-Id: I97f9ca362f4dbf0a659e3d5d7ae6cd8dbeb6404a
2015-05-11 13:39:22 -07: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
John Spurlock
e11ae11631 Zen: Reset zen + ringer modes on upgrades to M.
Bug: 20886649
Change-Id: I79d0b4a31eb9d54c5e5d4cd80236fdb8340dfeb2
2015-05-11 16:20:16 -04:00
Svetoslav
faf5521987 Merge "Update permission group descriptions." into mnc-dev 2015-05-11 20:04:49 +00:00