Commit Graph

1975 Commits

Author SHA1 Message Date
Dianne Hackborn
16ec0808b5 Make sure we initialize to enable the default voice interaction service.
We weren't taking care of the case of an upgrade to L.  The main
change here is that the voice interaction service setting now has
an empty string when the user has explicitly said they don't want
one, so when it is null we will initialize it to its default.

Change-Id: Icdd30b4f09498f8928cea759a64628bd43bc5d0e
2014-08-15 18:34:10 -07:00
Glenn Kasten
34cc4db180 Move setting to disable automatic USB routing
This moves the setting from System to Secure per review.

Bug: 16381952
Change-Id: I2497ca66b4f346839490c29295528fac70e94494
2014-08-13 13:31:04 -07:00
Dianne Hackborn
a3fb40d5f4 Add 560dpi, and some other stuff.
Like new settings actions for some of the new settings panels.
And fix voice interaction services so they require a recognizer.
And tweak array map doc to be correct.

Blah blah blah.

Change-Id: Ib5e66b574b10e7b3fa39723b21046a74e6ead204
2014-08-12 15:38:19 -07:00
Brian Attwell
9ee66404b7 Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP
Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
2014-08-12 06:03:41 +00:00
Yorke Lee
a79e2bedba Block access to call logs from the corp profile
Bug: 16812842
Change-Id: Ie4342b5efb2419097c35c0ddebd486a098cea523
2014-08-11 09:43:18 -07:00
Barnaby James
b8850040c4 Remove constants for VOICE_CONTROL_ZEN_MODE.
Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7
2014-08-08 22:48:35 -07:00
Dongwon Kang
4d933a0ef0 TIF: introducing TvInputSettings for put/getting user preferences from Settings.
Reference:
  - Settings.Secure.ENABLED_INPUT_METHODS
  - InputMethodSettings

Bug: 16876078
Change-Id: I72c1770517052188694f21c10da383338edc8ee2
2014-08-08 21:36:50 +00:00
Glenn Kasten
5f51635484 Add setting to disable automatic USB audio routing
Bug: 16381952
Change-Id: I7335ed4c3ec8d5f9cb9a9bd2a9d2f9e0f3a63c43
2014-08-07 10:31:53 -07:00
Dan Sandler
52e5701eea Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
2014-08-06 18:00:53 +00:00
Yorke Lee
b942035837 Merge "Update documentation for ContactCounts" into lmp-dev 2014-08-01 02:00:00 +00:00
Yorke Lee
a4aa9dc614 Update documentation for ContactCounts
Change-Id: I71262dbe83ffd258954075103ceb4ef5ae70156e
2014-08-04 13:47:50 -07:00
John Spurlock
a4215ceb86 Doze: Add a user opt-out setting.
When devices are configured with a doze component, the user
now has the option of disabling doze mode with a secure setting.

Bug:16703536
Change-Id: Ieab6ee8d2acf54580b86fb16e9d77b52080fb3b1
2014-08-04 14:57:06 -04:00
Yorke Lee
38e2d104d8 Merge "ContactsContract API changes" into lmp-dev 2014-07-25 23:00:08 +00:00
Yorke Lee
94c8761dc5 ContactsContract API changes
* Make ContactCounts an interface
* Improve clarity of ContactCounts documentation
* Add PinnedPositions.undemote method, and hide the method name
constant that is only used for the internal implementation

Bug: 16403306

Change-Id: If8b5cad779293cb9a3b90e698b13481f79b2351f
2014-07-29 19:00:32 -07:00
Jae Seo
783645e99f TIF: Merge TvParentalControlManager into TvInputManager
This change addresses the following API council feedback.

TvParentalControlManager:
-- Replace the listener interface with a broadcast Intent with well-known
   action, something like ACTION_BLOCKED_RATINGS_CHANGED.
-- TvParentalControlManager goes away, and two remaining methods move to
   TvInputManager.

== Implementation changes ==
-- The user-selected rating preferences should be stored in an XML file, and
   loaded at boot by your internal system service.  It should _not_ be stored in
   a Secure/Global setting.

Bug: 16542165
Change-Id: I278df963576652ec9163a66c1ef99419fcdb36c2
2014-07-30 15:39:39 +09:00
John Spurlock
2b0e09c59f Settings: Constants for notification settings.
Bug:16208321
Change-Id: Iaf18dfc2edda9d80553f02ea0a74236230f89079
2014-07-28 20:43:47 -04:00
Amith Yamasani
da466e1e91 am 8a8c5f4d: am 7ef87d4d: am 0a4e461e: Hidden global setting to allow adding users from lockscreen
* commit '8a8c5f4d305d0dad0f051af32914b07012bfc6a4':
  Hidden global setting to allow adding users from lockscreen
2014-07-26 01:11:09 +00:00
Amith Yamasani
23a0f0512a Hidden global setting to allow adding users from lockscreen
This will be undefined/off by default. User has to explicitly
turn it on in the Settings->Users->menu.

Bug: 15760168
Change-Id: I204f28cee2b04832c42e8ec5ced960f6916bfe5a
2014-07-26 00:58:38 +00:00
John Spurlock
486c89842f am 58981510: am cbdadc7d: am d5410ff7: Merge "Volume: Persist unsafe volume playback time." into lmp-dev
* commit '58981510296ed03f9deee0829461bfe76647996b':
  Volume: Persist unsafe volume playback time.
2014-07-25 22:27:40 +00:00
Yorke Lee
acaf686488 am ff650115: am e120d1e5: am c8f3ac84: Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev
* commit 'ff65011576f13cd28cafe6a83098b18bf66344db':
  Update the value of PinnedPositions.UNPINNED to 0
2014-07-25 21:57:43 +00:00
Paul Soulos
bda303319b am d6e7338f: am 22a78a16: am 50655afc: Adds getTypeLabel to ContactsContract Event
* commit 'd6e7338f2ae25670e4b4ef4b7f9cda5ac9117449':
  Adds getTypeLabel to ContactsContract Event
2014-07-25 19:24:41 +00:00
Paul Soulos
6b2dd6337e Adds getTypeLabel to ContactsContract Event
Bug: 16550284
Change-Id: Ie95093a2c9bca2b9ba130dea470c8beef94cd659
2014-07-25 18:17:35 +00:00
John Spurlock
addcf34645 Merge "Volume: Persist unsafe volume playback time." into lmp-dev 2014-07-24 23:36:47 +00:00
John Spurlock
aa5ee4d65f Volume: Persist unsafe volume playback time.
Instead of warning after every reboot, remember the
playback time after a user confirmation and only
reset after the 20 hour playback threshold.

Bug:16543104
Change-Id: I783358d97b88302a28fe77a8eb88bcd338ef1c87
2014-07-25 17:00:25 -04:00
Nicolas Prevot
73b941f761 am c5435cdd: am e7469eca: am c50bbc02: Merge "Migrate extras to ClipData for image/video capture intents." into lmp-dev
* commit 'c5435cdd91f6778d753f99ee6ee8c5132e0ae962':
  Migrate extras to ClipData for image/video capture intents.
2014-07-25 12:38:32 +00:00
Yorke Lee
77e56a1152 am a8f55d15: am 5a9a76b5: am 9abe5673: Merge "Add Calls.TRANSCRIPTION to CallLog (2/2)" into lmp-dev
* commit 'a8f55d158c9926afbf5ab2f8f4434d8db5447e0e':
  Add Calls.TRANSCRIPTION to CallLog (2/2)
2014-07-24 23:49:06 +00:00
Nicolas Prevot
d1c99b1fe8 Migrate extras to ClipData for image/video capture intents.
The intents ACTION_IMAGE_CAPTURE, ACTION_IMAGE_CAPTURE_SECURE and ACTION_VIDEO_CAPTURE are now handled in a way
similar to ACTION_SEND and ACTION_SEND_MULTIPLE.
Migrate the uri in the EXTRA_OUTPUT extra to clipData, and add the flag GRANT_WRITE_URI_PERMISSION.

The userIds are now added to extra uris in the process receiving the intent, (not in the system process), because the
system process may not be able to parcel/unparcel the extras.

BUG: 15534203

Change-Id: I8f79666b726bc6d7745bf777ad3c7518945c5cc3
2014-07-25 10:22:19 +01:00
Yorke Lee
eea3c5d735 Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev 2014-07-24 15:36:02 +00:00
Yorke Lee
7d24679c6c Update the value of PinnedPositions.UNPINNED to 0
Bug: 16403306
Change-Id: I6ff5a6051694245831db31db9d37ac0793eb0c32
2014-07-25 10:05:55 -07:00
Yorke Lee
c91079c3c3 am 56c351b7: am 59942b1b: am 6faad8cb: Merge "Improve documentation for for CallLog.CONTENT_URI_WITH_VOICEMAIL" into lmp-dev
* commit '56c351b7781de509c0cadca265d441e486e1dd05':
  Improve documentation for for CallLog.CONTENT_URI_WITH_VOICEMAIL
2014-07-24 19:58:43 +00:00
Yorke Lee
7a5e5726ab Add Calls.TRANSCRIPTION to CallLog (2/2)
Dialer needs access to the TRANSCRIPTION column via the CallLog to
show voicemail transcriptions inline.

Change-Id: Id1807923a07af9e9e34783e6be2e39485eee7795
2014-07-24 08:30:33 -07:00
Yorke Lee
624d0d64ab Improve documentation for for CallLog.CONTENT_URI_WITH_VOICEMAIL
Change-Id: I6e1a4811f822f2211070edd7c9aa486005e53cea
2014-07-23 19:09:27 -07:00
Brian Attwell
4f3afa6039 am 16846152: am 1a038e57: am 41b62ac7: Add PICK_JOIN_CONTACT_ACTION action contact
* commit '16846152b19b9487cf3403b3d3b7e4d4af6e6f46':
  Add PICK_JOIN_CONTACT_ACTION action contact
2014-07-23 18:23:47 +00:00
Brian Attwell
e98a95c156 Add PICK_JOIN_CONTACT_ACTION action contact
This ContactsContract change is needed by ag/509090

Bug: 16190113
Change-Id: I0f96286bdf45015148d2e84f7fe7aac5b23e1ba2
2014-07-23 18:11:13 +00:00
Alan Viverette
301a072c3f am 3db52061: am f7b914b8: am a27cc3f4: Merge "Remove unused quick setting display preferences" into lmp-dev
* commit '3db52061967a14a2d197e8850160d5a0a6ec16dd':
  Remove unused quick setting display preferences
2014-07-22 01:17:10 +00:00
Yorke Lee
b38a8d5ec1 am aebd7c1c: am b9105f15: am ec0197da: Merge "Add call log entries to all currently running users" into lmp-dev
* commit 'aebd7c1c6764a8535aaf29ba334225d1ea42dff7':
  Add call log entries to all currently running users
2014-07-21 19:23:35 +00:00
Evan Charlton
a961ff298f am ae930cb8: am d5d9a4de: am 19e236f5: Merge "Rename PhoneAccountMetadata to PhoneAccount" into lmp-dev
* commit 'ae930cb836c784df45d76e9716610de91747ac24':
  Rename PhoneAccountMetadata to PhoneAccount
2014-07-21 19:19:06 +00:00
Evan Charlton
4373edd648 am 2254cebd: am 144036b8: am 1bb914ea: Rename PhoneAccount to PhoneAccountHandle
* commit '2254cebd48a8702210a1c3fdcc77a5bcc8151f4b':
  Rename PhoneAccount to PhoneAccountHandle
2014-07-21 18:27:35 +00:00
Evan Charlton
6eb262c351 Rename PhoneAccount to PhoneAccountHandle
Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
2014-07-20 10:34:59 -07:00
Alan Viverette
06da1b1ceb Remove unused quick setting display preferences
BUG: 16303790
Change-Id: I0772228aac5a743b9780853c5825252c148b8b5c
2014-07-22 01:04:19 +00:00
Winson Chung
7bb0933698 am 01eca811: am c655f3a4: am 51b044a2: Merge "Add setting to guard the lock-to-app recents icon" into lmp-dev
* commit '01eca811404a02bcbfe01231d88fe8fa9ac57df3':
  Add setting to guard the lock-to-app recents icon
2014-07-20 02:27:30 +00:00
Evan Charlton
8c8a062f52 Rename PhoneAccountMetadata to PhoneAccount
Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
2014-07-20 15:12:16 -07:00
Jason Monk
56e09b42a0 Add setting to guard the lock-to-app recents icon
Lock-to-app (soon to be screen-pinning) will now only show up once
it has been enabled in settings.

Bug: 16378448
Change-Id: Ide333463f86310eacb7a1d8b6dc7b1aea8722713
2014-07-18 16:45:34 -07:00
Yorke Lee
158c5e41d4 Add call log entries to all currently running users
When a call log entry is inserted by Telecomm as the primary user,
insert the entry for all other currently running users as well.

Bug: 16298776
Change-Id: Ie48049d7e1847bff03d4f96eb644d27b8dd0c1cd
2014-07-21 09:54:34 -07:00
Brian Attwell
ace692ef6d am 8f17b084: am a08e00c7: am fa15c729: Merge "Mark social APIs stream APIs as deprecated" into lmp-dev
* commit '8f17b084f9d75c33ed2c5a74f755f37d030f9650':
  Mark social APIs stream APIs as deprecated
2014-07-18 19:05:29 +00:00
Jae Seo
c2809b7597 am cdc49c6c: am b719bf57: am 3245f3d7: Merge "TIF: Add TvParentalControlManager" into lmp-dev
* commit 'cdc49c6c4a9e106b220b29a7da68141489a0d175':
  TIF: Add TvParentalControlManager
2014-07-18 03:37:10 +00:00
Jinsuk Kim
3a96903be4 am 2fa30b74: am eff7b1af: am ba5ba7a2: Merge "Remove system audio output option for HdmiControlService" into lmp-dev
* commit '2fa30b74b14b07fa83c811da748cf66d48018c4c':
  Remove system audio output option for HdmiControlService
2014-07-18 02:57:49 +00:00
Jinsuk Kim
fe61a67bb9 Merge "Remove system audio output option for HdmiControlService" into lmp-dev 2014-07-17 21:07:39 +00:00
Jae Seo
54a4634983 Merge "TIF: Add TvParentalControlManager" into lmp-dev 2014-07-17 18:11:21 +00:00
Jae Seo
6057102dbb TIF: Add TvParentalControlManager
Each TV input service is now required to query the system whether the
user is allowed to watch the current program before showing it to the
user if the parental control is turned on, which can be checked by
calling TvParentalControlManager.isEnabled(). Whether the TV input
service should block the content or not is determined by invoking
TvParentalControlManager.isRatingBlocked() with the content rating for
the current program. Then the TvParentalControlManager makes a judgment
based on the user blocked ratings stored in the secure settings and
returns the result. If the rating in question turns out to be blocked,
the TV input service must immediately block the content and call this
method with the content rating of the current program to prompt the PIN
verification screen.

Each TV input service also needs to continuously listen to any changes
made to the parental control settings by registering a
TvParentalControlManager.ParentalControlCallback() to the manager and
immediately reevaluate the current program with the new parental control
settings.

Bug: 13172379
Change-Id: I8e1900d4b8d28c56798986d5c3906bd418ab97ac
2014-07-17 16:29:36 -07:00