Commit Graph

253881 Commits

Author SHA1 Message Date
Mahaver Chopra
790d198860 Add an api to verify if ro.device_owner was set
Currently for OobConfig app we used DEVICE_PROVISIONED Global setting to
verify if device was provisioned. This setting can be modified using
adb. we just need to know if it was set atleast once. Added an api in
DPM to return whether system property "ro.device_owner" was set.

Bug: 29935702
Change-Id: I9a2b5217c0bc2cc11d68282e05a5450ea3f6cf21
2016-07-11 11:22:52 +01:00
Erik Kline
acdd639513 Support requesting async LinkProperties/NetworkCapabilities updates
Bug: 9580643
Change-Id: I1d7ba7645c20d7d53f6eef777dfce43727940f13
2016-07-11 19:17:41 +09:00
Erik Kline
a3ca6bd3e0 Basic IPv6 Router Advertisement daemon
Bug: 9580643
Change-Id: Iebd4d1f694699ffd4daf7d71e9b9d8f49e9b632f
2016-07-11 18:37:25 +09:00
Julia Reynolds
f4811159f3 Check caller's uid before allowing notification policy access.
Bug: 29421441
Change-Id: I7460268595e932d54660b02007bcd68b95fe8aec
2016-07-11 05:13:08 +00:00
sreevanis
94b61a29f5 Added new partner logos to Auto index page.
lincoln.png, renault.png, rsm.png, tata.png, mbenz.png, opel.png

Bug:28123362
Change-Id: I87c5a3fd5a614dbce79c889cf4e4e14e25e54dae
2016-07-10 19:52:13 -07:00
Wonil Kim
8158fbe83a Merge \"Fix simple typo in System Permissions guide\" into nyc-dev
am: a2f3c8fb0b

Change-Id: I6aa06a7df365546bec88c65ba58b58869591f187
2016-07-11 00:36:14 +00:00
Wonil Kim
a2f3c8fb0b Merge "Fix simple typo in System Permissions guide" into nyc-dev 2016-07-11 00:20:46 +00:00
Hall Liu
7e10bcffc5 Merge "Rename disable add call extra" into nyc-mr1-dev 2016-07-09 01:03:20 +00:00
Chris Craik
8b31db3621 Merge "Fix UiBench MainActivity fragment" into nyc-mr1-dev 2016-07-09 00:31:59 +00:00
Wei Liu
967fc8dd62 Add BUGREPORT_OPTION_WEAR so that Wear can customize its bugreporting.
b/30041885

Change-Id: I4ffa7b5c8ddad35e32f0f31ce904848ff40ad734
2016-07-08 17:08:26 -07:00
Doris Ling
3e869587e8 Merge "Add a secure setting for double twist gesture for camera flip." into nyc-mr1-dev 2016-07-08 23:58:46 +00:00
Eric Laurent
b2fe804064 Merge "Add Dolby TrueHD audio format" into nyc-mr1-dev 2016-07-08 23:08:02 +00:00
Tim Murray
4074ad01e8 Sets android.ui to be in the fg stune group.
setThreadGroup(TOP_APP) will place a thread in the fg stune group but
not the top_app cpuset. This allows android.ui to get more runtime to
render transitions between activities without impacting its CPU
placement.

bug 29512132

Change-Id: I95e031975f83290f88ac6e538abf1062aea27ed4
2016-07-08 15:45:45 -07:00
Hall Liu
ee6e86b2bc Rename disable add call extra
Used to be DISABLE_ADD_CALL_DURING_VIDEO_CALL, now just
DISABLE_ADD_CALL. The meaning has also changed -- having the extra set
means that adding calls should be disabled no matter what.

Bug: 29047863
Change-Id: Icd8966492b264a9c64dc4880080a706032f0759c
2016-07-08 15:14:42 -07:00
TreeHugger Robot
702589d060 Merge "Preparations for different scrim depending on wallpaper" into nyc-mr1-dev 2016-07-08 22:13:51 +00:00
TreeHugger Robot
165b011a74 Merge "Improve initial unlock delay (1/2)" into nyc-mr1-dev 2016-07-08 22:03:49 +00:00
Doris Ling
a60d31d70f Add a secure setting for double twist gesture for camera flip.
Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED to control whether the
double twist gesture should flip the camera between front and back mode
is enabled or not. Also move SYSTEM_NAVIGATION_KEYS_ENABLED from
Global to Secure.

Bug: 29869445
Change-Id: I614289e6de7b1ee4221de7047a5e0dd784607bed
2016-07-08 14:32:32 -07:00
Justin Klaassen
76262b8e14 Merge "Add Night display feature" into nyc-mr1-dev 2016-07-08 21:07:48 +00:00
TreeHugger Robot
8c22370331 Merge "Camera2: Add @hide variant for openCamera for UID forwarding" into nyc-mr1-dev 2016-07-08 21:02:51 +00:00
Michael Kwan
3a45f27ceb Merge "Updated margins and spacing of preferences for watch type devices." into nyc-mr1-dev 2016-07-08 20:44:25 +00:00
TreeHugger Robot
e615e16ab6 Merge "Remove "Night mode" from tuner" into nyc-mr1-dev 2016-07-08 20:14:43 +00:00
Bert McMeen
d10df93b7c Docs: Gestures docs
Bug: 22008636
Change-Id: I74626e262e9ddebadd4804047a4a2983d099f059
2016-07-08 13:12:05 -07:00
Nancy Zheng
f3d8b81d4b Add WearWifiMediatorService to SystemServer.
Bug: 28347905
Change-Id: I4218f908f83eb3a9fe3f75e5d6eaf312c652ba67
2016-07-08 12:55:48 -07:00
Jean-Michel Trivi
ee0a01c8a6 Merge \"More javadoc for audio recording activity API\" into nyc-dev
am: 8d5fd92314

Change-Id: If513added909df2135fb57a2f86804edec821177
2016-07-08 19:49:09 +00:00
Jean-Michel Trivi
8d5fd92314 Merge "More javadoc for audio recording activity API" into nyc-dev 2016-07-08 19:36:33 +00:00
Eino-Ville Talvala
62deabcc4f Camera2: Add @hide variant for openCamera for UID forwarding
Trusted services may open a camera device on behalf of some client
of theirs; such services need to forward the UID of their client to
the camera service for validation of permissions, etc.

Add a variant of openCamera that makes this simple, only accessible
to unbundled services for now.  Only services explicitly trusted
by the camera service can pass an argument other than USE_CALLING_UID
to this method.

Bug: 27616192
Change-Id: Idb06112201b805a8b5c979b5f0761fec1c6994a3
2016-07-08 12:11:11 -07:00
TreeHugger Robot
8ee0a67ba7 Merge "Use visible paths when cleaning up MediaStore." into nyc-mr1-dev 2016-07-08 19:01:09 +00:00
Jorim Jaggi
e8fde5d966 Improve initial unlock delay (1/2)
When checking for the credentials, we add a new callback
onEarlyVerified which gets called as soon as we know that the
credential was correct.

In KeyguardUpdateMonitor, we track the unlocked state of the user,
and if it's still locked, we slow down all the transitions to allow
for a more gradual unlock experience.

Bug: 29007436

Change-Id: I406d228f9f3e41e07fe3292a61df175a7f579e4d
2016-07-08 11:50:54 -07:00
Justin Klaassen
911e88939c Add Night display feature
Bug: 28615069

Tints the display at night automatically according to your schedule or
using the sunrise/sunset corresponding to your current location.

Change-Id: Ie56b4eed88cc2fcbae88002492b1edad5820b6b1
2016-07-08 11:47:50 -07:00
Justin Klaassen
e81fa85782 Remove "Night mode" from tuner
Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
2016-07-08 11:46:27 -07:00
Andreas Gampe
56177bf81b Merge "Revert "Frameworks/base: Refactor UserHandle and Environment a bit"" into nyc-mr1-dev 2016-07-08 18:09:54 +00:00
Chris Thornton
e1fdcc49fd Merge "Updates to the sound trigger test app" into nyc-mr1-dev 2016-07-08 17:47:52 +00:00
Jeff Sharkey
813f9e8323 Use visible paths when cleaning up MediaStore.
The media scanner always records visible paths, so we need to use
visible paths when cleaning up deleted records.

Bug: 28581384
Change-Id: I8a2c65001216e4a96b2375579363a771de782bcc
2016-07-08 11:18:06 -06:00
TreeHugger Robot
33fa5dfa1d Merge "Making timeouts configurable through Settings" into nyc-mr1-dev 2016-07-08 14:36:34 +00:00
Andreas Gampe
d281b4204a Revert "Frameworks/base: Refactor UserHandle and Environment a bit"
Breaks monkey in root mode.

This reverts commit 6e16714c68.

Bug: 29338430
Change-Id: I238f89dad77d7dcae6d02eccbda52eb9c6c6466c
2016-07-08 03:50:27 +00:00
Eric Laurent
b4fae5ba39 Add Dolby TrueHD audio format
Format is not public for now.
Unhide at next API bump.

Bug: 30024357
Change-Id: Ic307214d8ac8b7bb57609bf609366968efafd7cc
2016-07-07 18:58:11 -07:00
Gopinath
164cca0b34 App launch - Test app changes
1) Drop cache between app launches Bug 29564205
2) Trace capture while launching app Bug 26779882
3) Simple Perf while launching app Bug 29249860
4) Launch order which could be cyclic or sequential

Change-Id: I0c883e7feb7e07474b045835fd56a97d8a126552
2016-07-07 17:42:08 -07:00
Michael Kwan
8de129d9b3 Updated margins and spacing of preferences for watch type devices.
Bug: 27962897
Change-Id: I2625925bd972a574d40d22593dfdf35f80529a7c
2016-07-07 16:18:48 -07:00
TreeHugger Robot
6ac6ceb28b Merge "Add values to ApplicationInfoFlags" into nyc-mr1-dev 2016-07-07 23:15:26 +00:00
TreeHugger Robot
49fd320574 Merge "Fix bug with launching home activity from LockSettingsService" into nyc-mr1-dev 2016-07-07 22:32:10 +00:00
Chris Thornton
dfa7c3b0dc Updates to the sound trigger test app
Moved the logic for talking to the system service into a service in the
app - this now lets you close the activity and still be able to receive
events. Additionally, we get CLI support using commands with the intent
com.android.intent.action.MANAGE_SOUND_TRIGGER.

Bug: 29073629

Change-Id: Ie904b73b4414f2c9fded013aeb5e6c6c3a67f5d3
2016-07-07 15:00:15 -07:00
Christopher Tate
7b5b7cb63b Don't walk mutexed collections outside the mutex
In particular, don't call rescheduleKernelAlarmsLocked() without
the lock held, or Bad Things will happen.

Bug 29931253

Change-Id: I93a7f16d543b5af2adff27f949a68f3d54169285
2016-07-07 14:52:09 -07:00
Todd Kennedy
5a32c6c290 Add values to ApplicationInfoFlags
Need to add MATCH_DISABLED_UNTIL_USED_COMPONENTS [and the deprecated
GET_DISABLED_UNTIL_USED_COMPONENTS] since those are used when building
the ApplicationInfo object.

Bug: 29824931
Change-Id: I09b24427222fed082f0946717826d2e0db857c7a
2016-07-07 14:29:06 -07:00
Suprabh Shukla
dbbc7af063 Making timeouts configurable through Settings
Adding a global setting for timeouts used in retail demo mode.
Also renaming the protected intent ACTION_RESET_DEMO to reflect proper
owner package.

Bug: 29917613
Change-Id: I9a174503626ab28cceb5024a8e63d27612439b92
2016-07-07 14:12:14 -07:00
David Christie
30fe9229c5 Fix issue where GnssMeasurements wouldn't allow empty measurements.
Bug: 29966456

Change-Id: Ie74ed921d4ebe43e3ec086ef8fb96d54f992fa38
2016-07-07 14:07:48 -07:00
Makoto Onuki
07e234c9d7 Merge "Hide more shortcut APIs" into nyc-mr1-dev 2016-07-07 20:52:23 +00:00
Eric Laurent
f638978b07 Merge \"SoundPool: fix enforced camera shutter sound\" into nyc-dev
am: a2266f7a0f

Change-Id: Ibb406207b55a532fdb42a68d0787b851deec8d05
2016-07-07 20:49:13 +00:00
Jeff Sharkey
663cfc0f8d Merge "API 25 is frozen, so we can't change API." into nyc-mr1-dev 2016-07-07 20:41:38 +00:00
TreeHugger Robot
d6c332b01a Merge "Adding debugging for last active time." into nyc-mr1-dev 2016-07-07 20:40:38 +00:00
Alan Viverette
26489e1688 Set up view state before attaching, jump drawables if needed
View attachment calls jumpDrawablesToCurrentState(), so the view state
needs to be set up prior to attachment. For views that are already
attached but are being moved to a new position, manually jump.

Cleans up comments in methods that were modified.

Bug: 29978498
Change-Id: Ica27b2c60ad7ee98b9d1e4912c4f8b8c248af88d
2016-07-07 16:39:27 -04:00