• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/provider/
History log of /frameworks/base/core/java/android/provider/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd850641ae7cbd0ce56a3f7a69f30ce39ea0c579 06-Jul-2016 Svet Ganov <svetoslavganov@google.com> Use proper lock when accessing the generation registry

We use 'this' for synchronization in NameValueCache but some code
that accesses the generation registry uses 'this' in a different
context ending up syncing on the wrong instance. This is why
sync on this is just a bad idea.

bug:29956424

Change-Id: Ide2d4f07a5f40cb3f0e8f50e4c8de216d15a31ee
ettings.java
8c35dcc7ae956394a6513f4ced8359f56260fbc4 18-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Fix a race in local settings caches

We send a handle to the generation tracker along with the first accessed
setting but don't send the generation id of when the setting was
actually looked up. So by the time the client gets the setting with the
generation tracker from which to get and cache the last generation the
setting may have changed. We need to pass the generation id along with
the value and the generation tracker.

bug:29458487

Change-Id: I0ac4955ba5b10b547f8fe653a7c28e048a4691eb
ettings.java
453951d0777b1421e95bbcac501fb8b091c0f6a3 02-Jun-2016 Chris Tate <ctate@android.com> Merge "Don't back up/restore the "automatically restore app data" setting" into nyc-dev
43c3a7e5a781640b862cf6f51805b3823f46fd02 02-Jun-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "make the notification enqueue rate threshold a setting" into nyc-dev
763a9bb09518884c42abe90c1553bc07c0872879 31-May-2016 Chris Wren <cwren@android.com> make the notification enqueue rate threshold a setting

Bug: 28693065
Change-Id: I08bd2ed342d5347c0075183b239558c50ada4a0a
ettings.java
e9a988caca733d2f292991a52a0047685a69812f 28-May-2016 Dianne Hackborn <hackbod@google.com> Work on issue #28942589: Tune job scheduler

We now have a new settings key that provides all of the existing
tuning parameters, plus some newly redone ones for dealing with
different memory levels.

Changed the minimum batching for overall jobs from 2 to 1, so
we will never get in the way of immediately scheduling jobs
when the developer asks for this. We should now be able to rely
on the doze modes to do better batching of jobs for us when it
is really important.

Also work on issue #28981330: Excessive JobScheduler wakeup alarms.
Use a work source with scheduled alarms to blame them on the app
whose job they are being scheduled for, and add a check for whether
a job's timing constraint has been satisfied before considering it
a possible candidate for the next alarm. (If it is satisified,
the time is in the past, so we should not schedule an alarm for it.)

Finally clean up a bunch of the dumpsys output to make it easier
to understand.

Change-Id: I06cf2c1310448f47cf386f393e9b267335fabaeb
ettings.java
1d7d9404e0e4b75c98a6999fc4de1f1c786fee2d 31-May-2016 Christopher Tate <ctate@google.com> Don't back up/restore the "automatically restore app data" setting

It stomps on the Setup Wizard intended [or user-supplied!] behavior.

Bug 29030834

Change-Id: Iabb0ff88b7f8b9130abb59af68872d02e5534140
ettings.java
a1b79bfd7a15006a93da933695359765e0fee495 24-May-2016 Felipe Leme <felipeal@google.com> Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

This scenario typically happens when the device is on Doze Mode and a
notification action is triggered from a Wear device.

In a nutshell, the workflow is:

- ProcessRecord has a flag telling whether a process has "whitelist
management" privileges.
- When NotificationManager binds a new NotificationListenerService, it
sets the BIND_ALLOW_WHITELIST_MANAGEMENT flag.
- On bind(), ActiveService asserts that only system apps can set that
flag.
- On computeOomAdjLocked(), ActivityManagerService sets the
ProcessRecord flag if necessary.
- Upon creating a notification, NotificationManager calls AM to mark its
PendingIntents as coming from a notification.
- When PendingIntentRecord sends it to the target, it checks if it's
from a notification and if so calls AM to do the temp whitelist.
- On unbind(), ActiveService removes the ProcessRecord flag if necessary.

Fixes: 28818704

Change-Id: I00d46036a2cbb73f7f733fd35bf0b743a02807a1
ettings.java
ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev
6686711ba289740a20dc15133aed4a2b5bac5d44 20-May-2016 Roozbeh Pournader <roozbeh@google.com> Merge "Clear locales without changing layout direction." into nyc-dev
bd5cac67b8b3087c030cb9068e4db8ea19a3d72a 13-May-2016 Seigo Nonaka <nona@google.com> Clear locales without changing layout direction.

Calling Configuration.setLocales with emtpy LocaleList may change the
layout direction to LTR. To clear the locales in Configuration without
layout direction change, introduce hidden API to Configuration.

Bug: 28695661
Change-Id: I47c339dffb83099bd329ddb60237dab27b05f593
ettings.java
a3aaa5ee2558ac5a6b6ca0b309dc9eea4c51bf14 20-May-2016 Chris Tate <ctate@android.com> Merge "Back up / restore the 'mono audio' setting" into nyc-dev
4f2a1d09133f133ac23b99485713a5ea5b7ea43c 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Hide VoicemailContract.setQuota()" into nyc-dev
0f712b164fa24efdf5c5c2b20d939c3e7affbfe3 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Rename visual voicemail sync intent value" into nyc-dev
ea2d6e8e891a1fa2fc007593254794d6d8c04c10 20-May-2016 Christopher Tate <ctate@google.com> Back up / restore the 'mono audio' setting

Bug 28437565

Change-Id: I6028886eb1aa424edabca65ad9d11d984b82d198
ettings.java
467f067c8c4fecb1b633d9d99b29f9a376a8731f 19-May-2016 Ta-wei Yen <twyen@google.com> Hide VoicemailContract.setQuota()

This method is a helper for internal use only.

+ Updated docs for QUOTA_OCCUPIED, QUOTA_TOTAL, and QUOTA_UNAVAILABLE.

Change-Id: Ib146926cd2bff50affe970a0123bcbec62ac3e70
Fixes:28842445
oicemailContract.java
ea906b37dfd6f84a74ab15f85f5f13d41cda6bb6 18-May-2016 Seigo Nonaka <nona@google.com> Fix system locale propagation during user creation.

Since Android N, the system locale is stored in Settings.System. Because
of this change, we need to propagate the previous user's system locale
to the newly created user.

When the user switch happens, updateUserConfigurationLocked is called
for the next user. Usually, some configuration values (font scale and
system locale) are overwritten by the next user's settings. However,
the first time the next user logs in (and only the first time), the
settings value is empty. So, we need to decide between keeping the
passed configuration's value or resetting to the default. For the
fontScale, it is reset to the default (issue 27187556). For the system
locale, the previous user's locale should be used. This CL addresses
this.

At the same time, the inherited configuration should be stored to the
settings, otherwise the inherited configuration is lost the next time
the second user logs in.

Bug: 27803966
Change-Id: I4632671316d26e00ab6fe80ff3433f097f0e0954
ettings.java
95fd74c1f7d666446e60602a08ebf2a17edbdbf7 19-May-2016 Abhijith Shastry <ashastry@google.com> Update BlockedNumberContract javadocs.

Include @return for all public methods.

BUG: 28842525
Change-Id: Ie0fddee1d889f188a77c45d8bdbf78ea9fe323ba
lockedNumberContract.java
d171df660e19bdba4d188beeb8b6023874712413 19-May-2016 Robin Lee <rgl@google.com> Merge "Lock down networking when waiting for always-on" into nyc-dev
17e6183b85ba3038acb935aaa01415058b2e6ddd 09-May-2016 Robin Lee <rgl@google.com> Lock down networking when waiting for always-on

Fix: 26694104
Fix: 27042309
Fix: 28335277
Change-Id: I47a4c9d2b98235195b1356af3dabf7235870e4fa
ettings.java
23cbe85610f780134cc77dd4a54732a22ed6e86e 18-May-2016 Yohei Yukawa <yukawa@google.com> Move LocaleList to avoid layering violation.

Since LocaleList needs to depend on android.os.Parcelable, we cannot let
that class belong to "android.util" package, which causes layering
violation.

Bug: 28819696
Change-Id: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18
ettings.java
153fcd7ba14b2eba5cf1b1d17437540e2a68322f 18-May-2016 Ta-wei Yen <twyen@google.com> Rename visual voicemail sync intent value

Rename value of KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL KEY_VVM_PREFETCH_BOOL

Change-Id: I13718333a8ddc38e8d2131b478562b76cf9aab64
Fixes:28819765
Fixes:28822093
oicemailContract.java
b35301e421bb08c28425c49ad46a277c96ccb411 14-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make settings cahches generation mechanism robust." into nyc-dev
04df738bcb6584dd82b731a67f4cf8d6925b061e 11-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Make settings cahches generation mechanism robust.

Settings is using a MemoryIntArray to communicate the settings table
version enabling apps to have up-to-date local caches. However, ashmem
allows an arbitrary process with a handle to the fd (even in read only
mode) to unpin the memory which can then be garbage collected. Here we
make this mechanism fault tolerant against bad apps unpinning the ashmem
region. First, we no longer unpin the ashmem on the client side and if
the ashmem region is purged and cannot be pinned we recreate it and
hook up again with the local app caches. The change also adds a test
that clients can only read while owner can read/write.

bug:28764789

Change-Id: I1ef79b4b21e976124b268c9126a55d614157059b
ettings.java
fec0d188c166e5a2c517f4494e83c1db11b31c68 13-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show new-window item in Downloads per Gabe." into nyc-dev
e0cbda454cdf0c78f08be1c5cfec4d02bbb55867 11-May-2016 Tingting Wang <tingtingw@google.com> Rename CONTACT_METADATA_SYNC GService Flag.

Rename it to CONTACT_METADATA_SYNC_ENABLED.

BUG 28295805

Change-Id: Ib1f735b082a2ff6cca93e377b3eaaaf7cd396b8d
ettings.java
f570c771f23792837fb63f708bfa5c948d5fcad7 11-May-2016 Steve McKay <smckay@google.com> Don't show new-window item in Downloads per Gabe.

Also, fix regression...don't show "internal storage" option in Downloads.
All other modes, fix inconsistencies in presentation of
internal-storage/new-windows commands by eliminating launch mode inference.
Update VolumeInfo and MTP provider to send correct launch mode extra.

Bug: 28691735,28695347
Change-Id: Ic480925f4c8f1beee4da104a2259c1ce5f28a6a1
ocumentsContract.java
13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5 06-May-2016 Tony Mak <tonymak@google.com> Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev
c91f5e297135f9601c7fa6ebe3f4bdc9ad9af112 05-May-2016 Jason Monk <jmonk@google.com> Merge "Add action to launch webview implementation settings" into nyc-dev
9a2384a7a6ad4ff630f125e844f7b202ec3cc649 04-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract documentation." into nyc-dev
d516e30b915ffabd0c09f5726d44c1f51fdeceec 04-May-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API." into nyc-dev
c820cc5fb1eb036e76d60a25f151cbd91485feb3 03-May-2016 Tony Mak <tonymak@google.com> New settings key and policy transparency for managed profile settings

Bug: 28281560
Change-Id: I38d0c202088df410a28e78800de4e74377ec3216
ettings.java
1705fc476771a9318304fea1b07ab1cbe4059303 04-May-2016 Abhijith Shastry <ashastry@google.com> Update BlockedNumberContract documentation.

For secondary users, a SecurityException is thrown instead of UnsupportedOperationException.

BUG: 28294786
Change-Id: I6402b856eeb02c4c1d940606ae7e69f3ae9cb45d
lockedNumberContract.java
42d012144113b9da815c3803dcfcd8891e569010 03-May-2016 Jason Monk <jmonk@google.com> Add action to launch webview implementation settings

Bug: 28554048
Change-Id: I5ccdf5350c216949890d79b2b306b935a5949824
ettings.java
c8dd93d4c8b3f673c0eb739e8622de4d906b3204 02-May-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Adding missing items about MIME type and account type to the
"integration with the Contacts Provider" section.

Bug 28295510

Change-Id: I890458e62a714519be70e930fd53315c141ba354
ontactsContract.java
4a992cbde834fdf3770e34b21361b47f4786f65f 02-May-2016 Lorenzo Colitti <lorenzo@google.com> Merge changes I86257bc8,I5c2221c5 into nyc-dev

* changes:
Use Netd's binder interface to set resolver configuration.
Add Gservices settings for resolver configuration.
8e48e67827dd2da40e0b28977a9afca0f43de73d 21-Apr-2016 Pierre Imai <imaipi@google.com> Add Gservices settings for resolver configuration.

BUG: 25731675

Change-Id: I5c2221c5a2478fe2fa0fdf9ceeb13a932d758d33
ettings.java
fb628c078c149dcc2d44253f3538f30133eb88db 29-Apr-2016 Lorenzo Colitti <lorenzo@google.com> The legacy DHCP client is gone. Delete the settings.

Bug: 27192644
Change-Id: I5bc23f3e269e17d50fa2531a57fb0e2049ae18bf
ettings.java
8c2fb9edae4413074186e3d84ccff0eba41b2cae 28-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce "unlocking" vs "unlocked" nuance." into nyc-dev
ce18c8167766f92856f94a8e88e19de4698960e6 28-Apr-2016 Jeff Sharkey <jsharkey@android.com> Introduce "unlocking" vs "unlocked" nuance.

There is a narrow window of time during user unlock where we're
reconciling user storage and dispatching the "unlock" status to
various internal system services. While in this "unlocking" state,
apps need to be told that the user still isn't actually "unlocked"
so they don't try making calls to AccountManager, etc.

The majority of internal services are interested in merging together
both the "unlocking" and "unlocked" state, so update them.

Clarify naming in AccountManagerService to make it clear that a local
list is being used, which mirrors the naming in MountService.

To match UX/PM requested behavior, move PRE_BOOT_COMPLETED dispatch
after the user is unlocked, but block BOOT_COMPLETED dispatch until
after all PRE_BOOT receivers are finished to avoid ANRs.

Bug: 28040947, 28164677
Change-Id: I57af2351633d9159f4483f19657ce0b62118d1ce
allLog.java
c5be12e7ac43cbe8c68219fa702c6fb7f06183c3 19-Apr-2016 Lorenzo Colitti <lorenzo@google.com> Make isCaptivePortal perform both HTTP and HTTPS probes.

Also a couple of minor cleanups and logging tweaks.

Bug: 26075613
Change-Id: I67b09e96d72764179339b616072bb2ce06aabf33
ettings.java
8b5e9f1bcf25ae38f812dc750772cf19abba6638 27-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update background data restrictions intent javadoc." into nyc-dev
2850b56b9ebd475996c63a43ec43b4f75d5a886e 22-Apr-2016 Felipe Leme <felipeal@google.com> Update background data restrictions intent javadoc.

BUG: 26820898
Change-Id: Ib2ed6835708ec77926fe49264ccf65a0aaf9a984
ettings.java
f71d7feef22db9e0cab2f32edc7440aedb86fdfe 26-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Ensure local settings caches are not stale" into nyc-dev
53a441ca8eda5a3e6209a952b1bbd32a39e19a1c 20-Apr-2016 Svet Ganov <svetoslavganov@google.com> Ensure local settings caches are not stale

We used the system proterties as a shared memory mechanism
to propagate information to local settings caches when the
content has changed and the cache should be cleared. The
system properties are unfortunately updated asynchronously
leading to cases where clients may read stale data.

This change adds a simple int array data structure backed
by shared memory which guarantees individual values are
atomically read and updated without memory tear. Multi-
index opearations are not synchronized between each other.

The settings provider is using the new data structure to
propagate the settings generation which drives when caches
are purged.

We have a single memory array keeping the generation for
different settings tables per user. Since memory array is
not a compact data structure and the user space exceeds
the memory array size we use an in-memory map from keys
to indices in the memory array where the generation id of
a key is stored. A key is derived by the setting type in
the 4 most significant bits and the user id in the 28 least
significant bits.

The mapping from a key to an index is cleared if the user is
removed and the corresponding index in the memory arry is
reset to make it available for other users. The size of the
memory array is derived from the max user count that can be
created at the same time.

bug:18826179

Change-Id: I64009cc5105309ef9aa83aba90b82afc8ad8c659
ettings.java
a0676c92078b3d5abd850052db80e3b619ce1c5f 26-Apr-2016 Julia Reynolds <juliacr@google.com> Merge changes from topic 'api_review' into nyc-dev

* changes:
Api review: Settings.
Reduce spacing.
0aa7d615c28c85b0189b8314645db45b3bccc8a9 25-Apr-2016 Julia Reynolds <juliacr@google.com> Api review: Settings.

Hide notification policy setting.

Bug: 28295513
Change-Id: Ic117285c3eb07cb4bf399e233adad835772b9673
ettings.java
149a6c90345c475501c1660609ad73f747f612e2 25-Apr-2016 Ricky Wai <rickywai@google.com> Fix enterprise contacts APIs naming and docs

Bug: 28295752
Change-Id: I504af42ab1146c6c82f54773c25450d41445345c
ontactsContract.java
f07c7b9fd0a640bff4bf7690373613da217fe69b 22-Apr-2016 Jeff Sharkey <jsharkey@android.com> API changes for DownloadManager and JobScheduler.

To support moving DownloadManager, add new JobScheduler network type
constraint that matches "any network except roaming." Also add an
API to get a specific JobInfo by ID.

Since the default network can be different on a per-app basis, and
individual apps may be blocked due to app standby, evaluate job
connectivity constraints on a per-UID basis. To implement this
cleanly, add NetworkInfo.isMetered() to match the isRoaming() API.

Add new DownloadManager APIs to support charging and device idle
constraints, which are plumbed through to JobScheduler under the
hood when scheduled.

Add filtering to JobScheduler dumpsys to omit noisy details for
packages the caller isn't interested in.

Bug: 28098882, 26571724, 19821935
Change-Id: I09ca7184ef7ce6adba399f579d415a5fb2ea6110
ownloads.java
6ada702993227233fd362e98de93cc9e798dc75d 20-Apr-2016 Ruben Brunk <rubenbrunk@google.com> Merge "Add settings for altering VR display behavior." into nyc-dev
59c9a93fc268e226495d4ee8cf7c507c2ea2c433 20-Apr-2016 Trevor Johns <trevorjohns@google.com> Merge changes from topic 'merge_docs_nyc-dev' into nyc-dev

* changes:
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
49506e089103e8fe38d10e0589688e51cceacaf2 19-Apr-2016 Ruben Brunk <rubenbrunk@google.com> Add settings for altering VR display behavior.

Bug=28208992

Change-Id: I31fcda8b846e7dd62f98151020f2bff2be52d521
ettings.java
682c24e22811d4ee17ae1cd61bf255c3f7e722b7 12-Apr-2016 Trevor Johns <trevorjohns@google.com> Resolve merge conflicts of a5060ee to nyc-dev

This undoes the automerger skip which occured in
commit e740c84dc32180214a7fd157105d6c18d30408ee and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
ettings.java
1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72 15-Apr-2016 Tyler Gunn <tgunn@google.com> Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
allLog.java
caf566a5372b05230885b787997b98ff4508eadd 13-Apr-2016 Victor Chang <vichang@google.com> Merge "Update display text in cert notification" into nyc-dev
d1b8d6d342d049e00d9a304c291c6c024aa3c0a0 13-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Set label for links to resolver activities." into nyc-dev
f8173ca8ac0efef39c79d732fd9eee80d1066302 13-Apr-2016 Philip P. Moltmann <moltmann@google.com> Set label for links to resolver activities.

Also: Add specific labels for capture-image-intent.

Fixes: 20134921
Change-Id: I3678def1089512a8340f19110645a03379c26cee
ediaStore.java
1d616f0d880d0a4109e811221f3c3ff2e016013b 13-Apr-2016 Makoto Onuki <omakoto@google.com> Merge "ShortcutManager: Address API review feedback." into nyc-dev
b6d3523dfb5d73ddda4b750a82c059cdc42acf8e 05-Apr-2016 Makoto Onuki <omakoto@google.com> ShortcutManager: Address API review feedback.

- "delete" -> "remove"
- add/deleteDynamicShortcut() now takes a list.
- Throttling default settings is now 2 calls / hour.

- Add categories to ShortcutInfo.
- getIconResourceId() is now public

Bug 27923857
Bug 27548047

Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b
ettings.java
04fd67cb8ef02fb006aea9aeaa7bf9fe28da5226 12-Apr-2016 Alan Viverette <alanv@google.com> Default font scale is 1 if not otherwise specified

Prevents the previous user's font scale from being used as the default.

Bug: 27187556
Change-Id: I51a66ddf2d6272bd74d433158db1c8cc54b45b6d
ettings.java
6e1e880f001ab3663fba3a7b6d292387efaf7b8f 11-Apr-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Add settings for SUW data control." into nyc-dev
355d47697c346ad4c7f41a8af1febcdf4ff95988 07-Apr-2016 Victor Chang <vichang@google.com> Update display text in cert notification

- Show DPC app name for PO
- Check user id for DO
- Update notification title for all cases
- update symbols for private resource ssl_ca_cert_warning changed from string to plural
- Pass number of certificate to MonitoringCertInfoActivity

Bug: 25772443
Bug: 18224038
Change-Id: I68db06f55a24879c1d5f532e38b97e2932bf990e
ettings.java
6474f0e02b9a00c1f69f985c0d73cf7f8c0fb073 24-Mar-2016 Lenka Trochtova <ltrochtova@google.com> Put disallow-safe-boot restriction to system settings
to make it accessible during boot.

BUG: 26251884

Change-Id: I1dee58dfc2aa746e0e97a6675c611c6e313ec91c
ettings.java
94ba4017669c0fab675f3d756d95bc63fe543db5 04-Apr-2016 Svet Ganov <svetoslavganov@google.com> Use proper package name and UID when checking write settings access

bug:26941229

Change-Id: I338fe6dd7c1b97f273909672cdd7d4fa207185ce
ettings.java
3dafea3177e0f962347000d58646ccebedfed203 31-Mar-2016 Nathan Harold <nharold@google.com> Merge "Add Settings.Global.WIFI_VERBOSE_LOGGING_ENABLED" into nyc-dev
29589fcd8a1d87e1c4654d6765f15c6f2f6ce7ba 31-Mar-2016 Nathan Harold <nharold@google.com> Add Settings.Global.WIFI_VERBOSE_LOGGING_ENABLED

Bug: 27878903
Change-Id: Ie0974cfb8abbb34275b846c288465a4c3e090eda
ettings.java
88f8675471df616b4c302d4b294b711d63179e2d 31-Mar-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Unhide DocumentsContract.EXTRA_ORIENTATION." into nyc-dev
5f53f6531176d503d0bb26b50581091372a1478f 31-Mar-2016 Tomasz Mikolajewski <mtomasz@google.com> Unhide DocumentsContract.EXTRA_ORIENTATION.

Bug: 27351468
Change-Id: Ib205dfe5fab995880407792cc15178aaf1ac15e6
ocumentsContract.java
43b5d980d89f4badfe89008febf5fcd6e1ae9d49 30-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> Merge "PBAP client Settings profile." into nyc-dev
563c700f7025d2f792a52b7483725b3d58eaa7a6 21-Mar-2016 Joseph Pirozzo <pirozzoj@google.com> PBAP client Settings profile.

Add content to Settings and SettingsLib to add a checkbox for PBAP
client profile, and remove the box for PBAP server profile when the
client profile is enabled.

Bug: 27642222
Change-Id: I125559904a8e017a01ae90b1f6425129a87cbee3
ettings.java
beb482cf890315c9f517b9224e7078e6e5f75e0b 29-Mar-2016 Robert Greenwalt <rgreenwalt@google.com> Add settings for SUW data control.

While the device is being provisioned we can default to
mobile-data-off and let the provisioning app turn mobile
data back on if the user wants it. After provisioning
control is restored.

Settings in play:
Settings.Global.DEVICE_PROVISIONED (existing)
SystemProperty ro.com.android.mobiledata (existing)
Settings.Global.MOBILE_DATA (existing)

SystemProperty ro.com.android.prov_mobiledata (new)
Settings.Global.DEVICE_PROVISIONING_MOBILE_DATA_ENABLED (new)

If the new settings aren't used, the old behvior is used.

bug:26638209
Change-Id: I92617ed6e588a5c50cf39054412a15273a9e03ff
ettings.java
009938c98424670d22de358644803aa888468de5 28-Mar-2016 Christopher Tate <ctate@google.com> Don't back up / restore "we're in night mode"

Bug 27880039

Change-Id: Ida59c9e602b939038e4bb3f55a6bf96db8897348
ettings.java
900f1635c021b022243049e2401ef04ad554465f 28-Mar-2016 Brad Ebinger <breadley@google.com> Merge "Add VIA number column to CallLog Database" into nyc-dev
363e70dd004e08d43f9908e913e48f2ae4fe1a28 24-Mar-2016 Robin Lee <rgl@google.com> Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev
23c63dd65f304d554bc6cbf2f6016e6e9c8e4f4e 24-Mar-2016 Joe LaPenna <jlapenna@google.com> Merge "Allow setting doze timeouts based on system feature" into nyc-dev
a249aee10b621a94c986f4823d840e33c2a7d480 03-Feb-2016 Robin Lee <rgl@google.com> Declare provider.Settings intent for VPN fragment

Currently used for a number of tests. May also be useful for 3rd-party
apps using VPN in some manner or another.

Bug: 27700919
Bug: 26887434
Change-Id: I4d269954265a2590499e20150f009fe437c8078f
ettings.java
cdc2a4c7372d935f45d7a1de6fa199c34c3bdcf4 24-Mar-2016 Abhijith Shastry <ashastry@google.com> Add an unblock API to BlockedNumberContract.

The delete API need not unblock a number if there are multiple copies of a single number.

BUG: 27790536

Change-Id: I6391b0c095827afe85f2ee5d1756741e144c8c26
lockedNumberContract.java
f33b5bffeeca2ec56a9edda71d4401a9b96153c5 23-Mar-2016 Joe LaPenna <jlapenna@google.com> Allow setting doze timeouts based on system feature

BUG: 25678232
Change-Id: Ic9c8e5001a9202242308effb38de879b5f30bd36
ettings.java
b3e934ba3e887f1880a7fb1784efa4692e70aa69 21-Mar-2016 Brad Ebinger <breadley@google.com> Add VIA number column to CallLog Database

Add a column to the CallLog Database that records the secondary line
number that an incoming call has been received on. More specifically, a
call is assumed to be considered a "VIA number" if the call's incoming
line number does not match the number registered with the SIM card.

BUG: 25594198
Change-Id: Idc7ea7b3539c859031a6911ec6b211fd2d8dd085
allLog.java
6ec134dc0d6de2a4dd708dbecd27e5f667c9371c 23-Mar-2016 Abhijith Shastry <ashastry@google.com> Merge "Document that re-inserting the same blocked number is permitted." into nyc-dev
ae64758eddecec9cb90b6c540fa4687c7f2b2078 23-Mar-2016 Abodunrinwa Toki <toki@google.com> Merge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS" into nyc-dev
91fa6c122df30104642c801b1dbd568f0012760f 23-Mar-2016 Abhijith Shastry <ashastry@google.com> Document that re-inserting the same blocked number is permitted.

BUG: 27779600
Change-Id: I2cb5cbf5f50ed3bf2183858eb332ea5e6df2a0c6
lockedNumberContract.java
3ef62ca404588b9e2b6aeed3defa77e2b3f3a060 22-Mar-2016 Felipe Leme <felipeal@google.com> Merge "Documented that UserDictionary is not directly available anymore." into nyc-dev
07177140e408c67fead0f00d243c60d04a3f279d 22-Mar-2016 Abodunrinwa Toki <toki@google.com> Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS

Bug: 26943892
Change-Id: I1eb6bd7a9e816190b96dc1516d5874eb966385a4
ettings.java
1719b3555dc9bff5394045585051e7d5684bceb1 21-Mar-2016 Aga Wronska <agawronska@google.com> Add config flag to show/hide internal storage.
Hide internal storage by default.

Revert "Always show intern storage."

This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276

Change-Id: I04ea8b9a307babcea003f9bec200d41265a42c7f
ocumentsContract.java
078af194e67cbf9a35ad822c12d584aa55d9d2b8 22-Mar-2016 Felipe Leme <felipeal@google.com> Documented that UserDictionary is not directly available anymore.

BUG: 25993626
BUG: 27777198
Change-Id: I463ad25bdbf5cad47977b8ca295b7b0f9b04dff0
serDictionary.java
f69a5717db94a25abaa850c69a2dbbbf3612bd4a 18-Mar-2016 Abhijith Shastry <ashastry@google.com> Merge "Update canCurrentUserBlockNumbers permissions javadoc." into nyc-dev
3c8cd6acd7617cd0e848c4051dd450d86cbad98b 18-Mar-2016 Abhijith Shastry <ashastry@google.com> Update canCurrentUserBlockNumbers permissions javadoc.

BUG: 27719849
Change-Id: I70ca39b572a8ae3349f6e162655e301ad2aaabb0
lockedNumberContract.java
d403151f3df7c23f516f54566b59ef5f7697b64b 17-Mar-2016 Seigo Nonaka <nona@google.com> Stop layout reset by setting empty locale list.

Do not call Configuration.setLocales(empty LocaleList) if the locale
list is empty since Configuration.setLocales calls setLayoutDirection
which resets the layout to LTR.

Bug: 27411138
Change-Id: I7fa9693cdb7ed90267f074812c26ea50314ad839
ettings.java
495defd74f9a47dec33eb27ca25f5e390bd3fb4a 16-Mar-2016 Eric Laurent <elaurent@google.com> Merge "AudioService: do not persist mic mute and master mute" into nyc-dev
bc2849449b3478d71cae34a069f07c70b747bbb8 16-Mar-2016 Anna Galusza <agalusza@google.com> Merge "Remove Intent to start screen reader tutorial. Reverts ag/867242. Bug: 27218687" into nyc-dev
c02324864f3bab4baffb3ebbbd78ccee4b065e56 16-Mar-2016 Eric Laurent <elaurent@google.com> AudioService: do not persist mic mute and master mute

Master mute and mic mute are fully managed by user restrictions so there
is no need to persist their states.

Bug: 27486437
Change-Id: I7e58d1ddf409f6c80af371c7f5a5f305ee996386
ettings.java
168e464812341fdc64c3b85659b60114bee3b86e 14-Mar-2016 Steve McKay <smckay@google.com> Add FLAG_PARTIAL. Partial files can't be copied.

This allows us to exclude in-progress downloads from copy.
Will update Downloads in a followup CL to flag active downloads.

Bug: 27526321
Change-Id: I50d1db5cfb69bc6b47e10cc0f520a51e3d3cb43e
ocumentsContract.java
00958ac3807e0c791610b7fcd3e2604b59dcfe4c 07-Mar-2016 Anna Galusza <agalusza@google.com> Remove Intent to start screen reader tutorial. Reverts ag/867242.
Bug: 27218687

Change-Id: I5709f4393b2f1467757140c306c30aa88dfcc7f4
ettings.java
876dbfb4767da4a2ba5459d5b78fb6eb55e4516f 14-Mar-2016 Tyler Gunn <tgunn@google.com> Add API support for multi-endpoint.

This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
allLog.java
8800f2d314793b3a97d27b96c0d2faef9e2efbd1 11-Mar-2016 Aga Wronska <agawronska@google.com> Merge "Display file names in Media libraries in grid mode" into nyc-dev
09c07bdf3772d919c5910cccae7806c583fb82a3 10-Mar-2016 Aga Wronska <agawronska@google.com> Display file names in Media libraries in grid mode

Bug: 26829518
Change-Id: If9e2f331df0233ef114c4147ffbc16214558b5ce
ocumentsContract.java
6ce903d7b777ff5b668122a65d10da1d7d04373d 10-Mar-2016 Steve McKay <smckay@google.com> Delete downloads activity.

Delete "MANAGE_ROOT" activity.
Add intent filter for "BROWSE_DOWNLOADS".
Open by default on Downloads directory.

Bug: 27563427
Change-Id: I1f85dc17a0bc94b439a272847e4ab3bb347ead23
ocumentsContract.java
4362a66dba0b4cfa9fadb6c8af10c590e4ba880d 09-Mar-2016 Makoto Onuki <omakoto@google.com> ShortcutManaegr: load config from settings, also...

support "cmd override-config" and "cmd reset-config" to help CTS.

Bug 27548047

Change-Id: Id6c9e6f41a2238856dd3470d88d88d0e7e686f26
ettings.java
41371b5fe00411ad46a95dc389e4d5d12118422f 09-Mar-2016 Tony Mak <tonymak@google.com> Merge "Update comment about enterprise contact id and lookup key" into nyc-dev
e3e686cff8fa43a54d72e162cf3e93b05c517c86 09-Mar-2016 Abhijith Shastry <ashastry@google.com> Document that emergency numbers will not be blocked by the platform.

BUG: 27534486
Change-Id: Idd339ca16e2b754112fc5d0966a7cf76d9990c98
lockedNumberContract.java
935dafeed489ec389c12a3d44ecf22829fe922b6 07-Mar-2016 Tony Mak <tonymak@google.com> Update comment about enterprise contact id and lookup key

Bug: 27146678
Change-Id: I232f96cd9980df6f7a005458d90cd98b990609ee
ontactsContract.java
be3696d42552ad55ae0a41e9dd9fe81f5b17d3e7 08-Mar-2016 Chris Wren <cwren@android.com> Merge "rename the asisstant service for the ranker" into nyc-dev
d517e6aeed993cb5467e2997c1ab2edd90bbc133 08-Mar-2016 Daichi Hirono <hirono@google.com> Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev
e24b9a6cfa4d565d7f49c9ae8f3aeca737d93312 17-Feb-2016 Ruben Brunk <rubenbrunk@google.com> Add a VR listener service.

Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
VrManagerService and evict services as needed when packages,
users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
explicit selection of the running VrListenerService from
the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
ettings.java
e0ba7eb365ac19fdc11c3f820349f0352761b9f4 04-Mar-2016 Chris Wren <cwren@android.com> rename the asisstant service for the ranker

Bug: 22960980
Change-Id: Ibe57933303a488b01c43a7621a488d425d6f707d
ettings.java
82ab9801ebebe8e4783ad327ad02686b44ab87f1 02-Mar-2016 Daichi Hirono <hirono@google.com> Add a new key to Settings.Global to obtain the number of boot.

BUG=26212981

Change-Id: I5ca51ca624a30dc2d96e547a85a712e273af1931
ettings.java
bf8f1cc3c0d9931828d166aea585b6b29d4c6664 04-Mar-2016 Michal Karpinski <mkarpinski@google.com> Merge "Rework of remote bugreports UX" into nyc-dev
7542f751e3a1505d2e10897e091e9bb597419492 03-Mar-2016 Steve McKay <smckay@google.com> Make COLUMN_CAPACITY_BYTES public.

So providers can tell us total capacity.

Change-Id: Id990c417fcae4c6beee3e09dcb633b22e875e08f
ocumentsContract.java
eef85e0c02a28b610b4611071749baf48ba67e2f 03-Mar-2016 Steve McKay <smckay@google.com> Merge "Show proper icons for SD and USB attached storage." into nyc-dev
ba23e54d263fefaac96b3ce6b068e70ec6f06128 03-Mar-2016 Steve McKay <smckay@google.com> Show proper icons for SD and USB attached storage.

Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
ocumentsContract.java
ba24409033241e680d111e7dea6501e760d972c5 25-Feb-2016 Michal Karpinski <mkarpinski@google.com> Rework of remote bugreports UX

New notifications, that open dialogs.

Bug: 26226230
Change-Id: I50f9ab23b6c6d03892889d9081cabb0a3d858f91
ettings.java
8351ff25a1ef25dad69cf45431ba8aa82487bcd5 03-Mar-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API." into nyc-dev
51e06e011d3694d410718dafe15341f8bd9cd392 02-Mar-2016 Ido Ofir <iofir@google.com> Merge "checking additional metadata and completed categories before displaying suggested actions in settings." into nyc-dev
7c4395804e450533afb553ab992c47f737da8a9b 02-Mar-2016 Steve McKay <smckay@google.com> Always show intern storage.

Only show debug root when devel mode is enabled.
Remove all traces of "advanced".

Bug: 27297398

Change-Id: Ie7e8be282531bd245351d56ababa8ca625c10fd2
ocumentsContract.java
d193c6729f5f1d02088623286d03a1fbc7ce250f 01-Mar-2016 Ido Ofir <iofir@google.com> checking additional metadata and completed categories before displaying
suggested actions in settings.

Bug: 27271616
Change-Id: I855bc03337b04c5ff685c102f44dfc0d6638592b
ettings.java
575a9492bb409ba73e5a7249d996efe522d96282 29-Feb-2016 Abhijith Shastry <ashastry@google.com> Updates to BlockedNumberContract from API review.

Javadoc updates are also included.

BUG: 27364137
Change-Id: Id99b5c0fadd2a62a33217b44c7f30dd2f3beb9be
lockedNumberContract.java
72ddba19a8fb97ac9919fead0b311e7bdcb5d703 21-Feb-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Adding missing items to the "integration with the Contacts Provider" section.

Change-Id: I8ec8bdb356c27fbdb3575bcaf853bb834a8e77d2
ontactsContract.java
bd5cbdd6389f384873951877c5dffbb0403f01d5 25-Jan-2016 Seigo Nonaka <nona@google.com> Make system locale persistent.

Configuration values are not persistent.
To make system locale persistent, use Settings.System entry.

During start up, the configuration is filled from Settings.
When the system locale is changed by Settings, the locale list in
configuration is copied to Settings value.

Bug: 26732134
Change-Id: If57e13cc4179ff6299c71b4ab030f9d856748dea
ettings.java
8dcdaaf11fe3b12a3d82f68287aa4f6119aafaa4 25-Feb-2016 Phil Burk <philburk@google.com> Merge "Settings: add ENCODED_SURROUND_OUTPUT" into nyc-dev
deaa8d94fd386490f67473dbd6eb660d7cbbcf47 24-Feb-2016 Phil Burk <philburk@google.com> Settings: add ENCODED_SURROUND_OUTPUT

Support AUTO, ALWAYS or NEVER preference for using AC3 and DTS.

Bug: 24541671
Change-Id: I423969882d18d99ce93bea57d10bdb1da7063b7a
Signed-off-by: Phil Burk <philburk@google.com>
ettings.java
074d630f9e7a4dfd8acf3fa4fa1dfcb500184156 24-Feb-2016 Gustav Sennton <gsennton@google.com> Merge "Add fallback packages to be enabled iff no webview packages are valid" into nyc-dev
598255ae02752f06acf86db30f4e0f5655d2ea96 24-Feb-2016 Fyodor Kupolov <fkupolov@google.com> Merge "Disable switching users until user 0 is unlocked" into nyc-dev
1ce5c28ba54f31c0013542df81975148657b8229 23-Feb-2016 Jeff Sharkey <jsharkey@google.com> Merge "Offer to cache ringtones in system DE storage." into nyc-dev
413573ac59bb9904c3bd28c03843054fee7478a6 23-Feb-2016 Jeff Sharkey <jsharkey@android.com> Offer to cache ringtones in system DE storage.

Ringtones often live on shared media, which is now encrypted with CE
keys and not available until after the user is unlocked. To improve
the user experience while locked, cache the default ringtone,
notification sound, and alarm sound in a DE storage area.

Bug: 26730753
Change-Id: Ie6ad7790af4c87dd25759df3ed017e3b91a2fb87
ettings.java
07140f7ffd56bf9d4946eba4e48b21a748125659 17-Feb-2016 Fyodor Kupolov <fkupolov@google.com> Disable switching users until user 0 is unlocked

Switching with user0 locked can be re-enabled by setting
allow_user_switching_when_system_user_locked flag to a non-zero value

Bug: 26933989
Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
ettings.java
c83e3fa35a5736a1778d241abd18dffa5953f416 18-Feb-2016 Gustav Sennton <gsennton@google.com> Add fallback packages to be enabled iff no webview packages are valid

This patch makes it possible to declare a WebView package as a fallback
which means that the package will be enabled iff there exist no other
valid and enabled (and available-by-default) webview packages.

The enabled-state of a fallback package is updated at boot and if a
webview package is changed (it it's been up/downgraded or has had its
enabled-state changed).

This patch also adds 'webviewupdate' shell commands for enabling and
disabling this mechanism.

Bug: 26375524, 26375860
Change-Id: I151915e5d6d932697dab10aeb593687e6b9c817e
ettings.java
cf7518f78af84aaafc7cd38ff69eec357a5b3055 23-Feb-2016 Toby Sargeant <tobiasjs@google.com> Merge "add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue" into nyc-dev
4478fdc3f2b75601a91b512cf413331a5c435d97 23-Feb-2016 Abhijith Shastry <ashastry@google.com> Rename suppressal to suppression.

BUG: 26989170
Change-Id: Iafa21b885f7df7f5ec5e46f3fad095cf1a531cfc
lockedNumberContract.java
adfded10729011e23db65a25ffc2523d87616c41 22-Feb-2016 Tobias Sargeant <tobiasjs@google.com> add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue

Change-Id: Ib6431c4e4c2bcbcfc6f986f97fcf58ad5fa3dbc7
ettings.java
b2117d15d196dc29e4fc50d70cd8a10a04492e9c 17-Feb-2016 Dianne Hackborn <hackbod@google.com> Implement lenient background check option.

Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground. Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7
ettings.java
76c67aa361f65dfb2f5e03d06cc1ccebce9cecd9 19-Feb-2016 Jason Monk <jmonk@google.com> Add QS long-press -> Settings

Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
ettings.java
ea168d229d316c84652e88ad0f19adbaa884d731 19-Feb-2016 Jason Monk <jmonk@google.com> Merge changes Ie427a2d8,I213f1f76 into nyc-dev

* changes:
SysUI Tuner: UI cleanup and grouping
SysUI Tuner: Night mode v3
a7000fa8648af2457ab07cc736e2314bbc7eba22 19-Feb-2016 Toby Sargeant <tobiasjs@google.com> Merge "add developer setting for multiprocess webview" into nyc-dev
5042001350bcc74fc58a77eb1122dc4a64a703df 19-Feb-2016 Abhijith Shastry <ashastry@google.com> Merge "Make BlockSuppressalStatus constructor public so that it can be constructed by the provider." into nyc-dev
a4e836c174dbec68e2df73fc8d63b9c2e2aa17cf 19-Feb-2016 Abhijith Shastry <ashastry@google.com> Make BlockSuppressalStatus constructor public so that it can be constructed by the provider.

BUG: 26989170
Change-Id: I9fae7fc03b34b4081c7096eb13fa38737b52efe6
lockedNumberContract.java
82a94d98e74b6ba0f816c675486a0672d473ecf5 14-Jan-2016 Andre Eisenbach <eisenbach@google.com> Read Bluetooth interop database entries from settings (1/2)

Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.

Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".

Bug: 26548845
Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949
(cherry picked from commit 3bc623be8dd8b83d0a22c5cc5b5a8955001f6fc7)
ettings.java
5dbd4aad809e6fec51df62280bcc1bfe05cc7df5 07-Feb-2016 Jason Monk <jmonk@google.com> SysUI Tuner: Night mode v3

TwilightService:
- Add support for locking on/off twilight globally
- Change twilight state to have float amount rather than
having clients calculate it using the sunrise/set values
- State controlled through secure setting
- Override mode which locks to a state for a couple hours then
resets
- Add broadcast for SysUI to listen to

Brightness/Power:
- Updates to handle TwilightService changes
- Added secure setting to control whether or not to use
twilight when calculating brightness.

Tuner:
- UI Overhall
- NightModeController will set the values of the custom color matrix
taking into account the current twilight service state and any
custom calibration set by the user.
- Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
ettings.java
af9c30aa741b0b385840ffcd60040d8524b95f89 18-Feb-2016 Sudheer Shanka <sudheersai@google.com> Merge "Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden." into nyc-dev
aebd5dd786c38ca03995a22e3c219547c60d58d4 18-Feb-2016 Sudheer Shanka <sudheersai@google.com> Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden.

Bug: 27225657
Change-Id: I85ad8bf88845e9164011b303ec9ca90d993fc20e
ettings.java
3c3770d8fe9f64fc92de02f3e52901748e1f30de 17-Feb-2016 Felipe Leme <felipeal@google.com> Merge "Initial implementation of StorageManager.getVolumesList()." into nyc-dev
04a5d40cf35fb2c2fca2c1bfd573e5916d804ef6 09-Feb-2016 Felipe Leme <felipeal@google.com> Initial implementation of StorageManager.getVolumesList().

This change makes StorageManager.getVolumesList(),
StorageManager.getPrimaryVolume(), and StorageVolume public and adds a
buildAccessIntent() in the latter to automatically generate the
ACTION_OPEN_EXTERNAL_DIRECTORY intent, but it doesn't change the
ACTION_OPEN_EXTERNAL_DIRECTORY implementation yet (i.e., it still takes an URI with the physical path of the directory, instead of a StorageVolume and
a directorny name).

BUG: 26742218

Change-Id: I36c59c42b6579e125ec7f03c3af141260875a491
ocumentsContract.java
fd9ec5a6006868905a2a0d97b74c9a2786907536 17-Feb-2016 Tony Mak <tonymak@google.com> [ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID

It is a mistake that we put contact id in PhoneLookup._ID.
But for SIP query, the contact id is put in Data.CONTACT_ID instead.
For backward-compability issue, we can't revert the change, but to
save developer from having logic like below, PhoneLookup.CONTACT_ID is
introduced.

if (sip) {
get contact id in Data.CONTACT_ID column
} else {
get contact id in PhoneLookup._ID column
}

So for sip query, we put contact id in PhoneLookup.CONTACT_ID.
For other phone lookup query, we put contact id in both PhoneLookup.ID
and PhoneLookup.CONTACT_ID.

BUG:27149017

Change-Id: I4155da29bbacdda0d43164b0ce11c7224a4eee67
ontactsContract.java
da857108f98374a0f00b99c228735d00124843c3 11-Feb-2016 Tobias Sargeant <tobiasjs@google.com> add developer setting for multiprocess webview

Change-Id: Ia6e7a1219b3324e9c8e8cee43f1c4d8cd217e725
ettings.java
c86f234c51ebcb78164d850177eb2143112f9f65 17-Feb-2016 Tao Bao <tbao@google.com> Merge "Add a Settings option of "Disable automatic update"." into nyc-dev
9f972de6e59da095670c65c5936114da43b5ec1b 17-Feb-2016 Anna Galusza <agalusza@google.com> Merge "Expose Intent for launching screen reader tutorial." into nyc-dev
804d648138212a00bb260291e39fde0b327df709 17-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev
a77ef3c83ef63250dd8e5f5ab931bac98a722684 16-Feb-2016 Anna Galusza <agalusza@google.com> Expose Intent for launching screen reader tutorial.

Change-Id: Iad479b3f3dc7d1ca23fa044946a93544067adee3
ettings.java
fdf7c5d31fee113cb4602bfc159cbd90ecd9dc48 16-Feb-2016 Tao Bao <tbao@google.com> Add a Settings option of "Disable automatic update".

Bug: 27193001
Change-Id: Ibd205a749ebd674ca4500fd3b701888ac3ee8721
ettings.java
30714016700fd874ed96b0a8f8e4f52d9385c091 15-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Remove unused return in DocumentsProvider.removeDocument.

It's not used anywhere. Exceptions should be thrown on an error.

Bug: 27113305
Change-Id: I9d549169e177004597f136776c6763c93101c0c4
ocumentsProvider.java
d99964fd66dc4dabe431ff995995de508f614216 15-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Implement getDocumentStreamTypes() in DocumentsProvider.

According to the documentation, getStreamTypes() must return all streamable
MIME types. This CL takes the MIME types from COLUMN_MIME_TYPE as long as
the document is not virtual.

If the provider implements converters, then it should override
getDocumentStreamTypes.

Bug: 27156282
Change-Id: I9ab149e097600a470fc9be8f1270f68929fdf851
ocumentsContract.java
ocumentsProvider.java
3aec638a7b7f7200f7c82bca527e6aec75440d82 05-Feb-2016 Adrian Roos <roosa@google.com> Add setting for allowing remote input from keyguard

Bug: 26440855
Change-Id: I539b1c7ee6a874283df1104fe0743ef0495f9510
ettings.java
239f248280f0d44e2cfd1279baa0819633a36156 12-Feb-2016 Shweta Chahar <shwetachahar@google.com> Merge "Remove higher speech rate settings." into nyc-dev
7a002a215db498d232100c0b227d145244a03412 12-Feb-2016 Gustav Sennton <gsennton@google.com> Merge "Move current WebView provider from Settings.Secure to Settings.Global" into nyc-dev
1f0c3f04a79d2f5c38a3c2ca318cab98e656f848 12-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Fix arguments order in DocumentsContract.moveDocument()." into nyc-dev
14c033c76b00fa1f59c4198e0e50f07387a0f3e9 11-Feb-2016 Gustav Sennton <gsennton@google.com> Move current WebView provider from Settings.Secure to Settings.Global

The current WebView provider is not user-specific and should therefore
be stored as a Global rather than a Secure setting.

Also do some code cleaning including a fix in WebViewProviderInfo to
always fetch up-to-date information about whether a webview
implementation package is enabled.

Bug: 27142972
Change-Id: I4d4b8fca775e97980fb5c34313be6d82472e7d33
ettings.java
4bad4fa1521600d224fa1b9568bac3d8c980baf2 08-Feb-2016 shwetachahar <shwetachahar@google.com> Remove higher speech rate settings.

Higher speech rate setting used to increase the max text to speech output
rate to 6x from the default 4x. The default max speech rate is now
set to 6x, thereby, rendering the higher speech rate setting irrelevant.

Bug:24527715
Change-Id: I3777e63e6ddff797c18bf17fcefa3e262ea822d1
ettings.java
b87c90ce9fe007043de43f5370e7775d590f11a7 10-Feb-2016 Abhijith Shastry <ashastry@google.com> Add hidden APIs for number blocking which will be used by the system.

These APIs will ensure that blocking is suppressed after the user contacts emergency services.

BUG: 26989170

Change-Id: Ib78c9faa31a6d4bfb62b690f97d5ca8084d69927
lockedNumberContract.java
dcb4efeed54dd17c9af1fe75625d179d3f042f2b 10-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix arguments order in DocumentsContract.moveDocument().

Change-Id: Ia7d7c51db5df50296b0cad564756ec8c529185b9
ocumentsContract.java
bb66a0edfe99a545a016376e5bdd1e76a9a141f1 05-Feb-2016 Makoto Onuki <omakoto@google.com> Merge "Prevent NPE in ContactsContract"
da072b3e38ff41ee3e8867cc85d0281422a17cb0 05-Feb-2016 Makoto Onuki <omakoto@google.com> Prevent NPE in ContactsContract

Bug 26730982

Change-Id: I36fdfffba79e0696175edd42bb131f92cba47499
ontactsContract.java
89c6073cd015d9d167492c80a5f21a2a52d3f231 05-Feb-2016 Abhijith Shastry <ashastry@google.com> Merge "Update javadoc for BlockedNumberContract."
dc4535ebdae321ee64d4e6ff9933863d2609df7c 05-Feb-2016 Abhijith Shastry <ashastry@google.com> Update javadoc for BlockedNumberContract.

BUG: 26232372
Change-Id: I57330782fa439bed52c595986916eb24bfbceab0
lockedNumberContract.java
1a2941541a78b42f8181a37df6cd5623c38525f6 05-Feb-2016 Alan Viverette <alanv@google.com> Merge "Multi-user support for display density changes"
5f5d707bad1ac89d2d7d04cdc0f20b9de14a604b 27-Jan-2016 Felipe Leme <felipeal@google.com> Defined an intent to let apps launch the Data Saver settings screen.

BUG: 26451391
BUG: 26820898
Change-Id: Ie9dbe2d08d362aa548e385967d101faafb87c9b7
ettings.java
5e8d837894d38151c943677c8323860de1438bd0 03-Feb-2016 Alan Viverette <alanv@google.com> Multi-user support for display density changes

Bug: 26942569
Change-Id: Ie44aed00619c5e5604b3d48a3a9d0fc38b0ef0eb
ettings.java
9b055e1d842c5c68be168807bcf5b84a7c95db80 01-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Hide DocumentsContract.FLAG_ARCHIVE.

The API is internal for now.

Bug: 20176812
Change-Id: I9f2c796b144906fdf4a838240c85d26f02dbe175
ocumentsContract.java
0c35fbcf08085545fbcbbbf155bb998e981cae36 20-Jan-2016 Junda Liu <junda@google.com> Add strings/setting for carrier app install dialog.

Bug: b/22863855
Change-Id: I34e2ff5997e14afe70a64edb055dc876e26d7946
ettings.java
d907c64ff9c2ab860a035f462a8f4d6e38dbf760 28-Jan-2016 Abhijith Shastry <ashastry@google.com> BlockedNumberContract API changes:

1. Add a method isProviderSupportedForCurrentUser for multi-user scenarios.
2. Remove STRIPPED_NUMBER column.

BUG: 26232372

Change-Id: Ida703d7a873915a02cd7918ed297cf039a7956c9
lockedNumberContract.java
6b6c5a2035da51a22226051f1a287ac77b29899e 28-Jan-2016 Clara Bayarri <clarabayarri@google.com> Make Notification Redaction independent for work profiles

Bug: 26709332
Change-Id: Ifc13c3c5a62110a3dfc44c2a02df9db11d92b431
ettings.java
7fa765a40e98ac77d79867b2109779728d9df5a7 01-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Cleanup copyDocument and moveDocument in SAF."
f3e5d1d483231d615f5e77032f787fcd8047488b 29-Jan-2016 Anna Galusza <agalusza@google.com> Merge "Add API for IME control by Accessibility Services."
e8faad6b541039be9b84b5e0519fc3272bb6466c 28-Jan-2016 Yohei Yukawa <yukawa@google.com> Merge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS."
570d67cc3f6a3918c6ec04a678da0646a964f7b2 28-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Add DocumentsProvider::removeDocument()."
cbcd39488b4bddfaa84dfe378ede2f707aedd6ca 27-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Add DocumentsProvider::removeDocument().

Multi-parents are supported already in moveDocument(). For parity, this CL
adds removeDocument, so it's possible to delete a file from a specific
parent.

Bug: 26481380
Change-Id: Icd4213abc0c3413931902f4f8984746c84c65e52
ocumentsContract.java
ocumentsProvider.java
ab821a517d6141e452fd64e03eb97e29cafb0c38 28-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Unhide DocumentsContract.isTreeUri."
eeb8b6052a050c687f8b73ca88373cdb6af10715 28-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Cleanup copyDocument and moveDocument in SAF.

1. Unhide the methods in DocumentsProvider.
2. Stop revoking grants, as we shouldn't do that if the documentId doesn't
change. Note, we could have an if checking if the ID changed then revoke
in call(), but it would be racey, as another file with the same ID might
have been created in the meantime on another thread.

Change-Id: Ia99853bf11cf416e0b8c0a0e63458dcc09564da9
ocumentsProvider.java
9b278112467581e2b8d99f29cf48b9fbef9cc53f 04-Jan-2016 Anna Galusza <agalusza@google.com> Add API for IME control by Accessibility Services.

Change-Id: I3bb806cf420e0551a2c9ef97d95613f73e362df9
ettings.java
7db9c8193797ad8bca6d191d5bbb2ec2f7dd1868 28-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Unhide DocumentsContract.isTreeUri.

Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037
ocumentsContract.java
d8701bfed0a7f9e00604011bc760af59464a0da1 28-Jan-2016 Yohei Yukawa <yukawa@google.com> Add ACTION_KEYBOARD_LAYOUT_SETTINGS.

This CL adds ACTION_KEYBOARD_LAYOUT_SETTINGS so that IME developers can
navigate users to the settings to configure the hardware keyboard layout
as needed, as we have exposed ACTION_INPUT_METHOD_SETTINGS and
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS.

Bug: 25752827
Change-Id: I8f371702904b3354043cd6d23fc9a8ff8be9b537
ettings.java
afaf052564ed15ba51d984c5e87274734696ca48 27-Jan-2016 Ta-wei Yen <twyen@google.com> Merge "Added more granular states to DATA_CHANNEL_STATE"
369a94a4130577718de3fbd7aabece9277233bb1 27-Jan-2016 Shweta Chahar <shwetachahar@google.com> Merge "Add setting to enable higher text-to-speech rate."
41604bcba5a3a1b7fbea77b681725bbbf8e10275 27-Jan-2016 shwetachahar <shwetachahar@google.com> Add setting to enable higher text-to-speech rate.

Change-Id: I1e3c78870a5c083bed9dfc6d13601b7874b86583
ettings.java
5012919bc3a75d1de972d29f70ae4a493f3493ed 27-Jan-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API."
799da391d616685cf011e6a6df34013d9bc536f0 21-Jan-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

- New activity action for initiating a message to someone by voice.
The message could be text, audio, video or image(photo). The action
supports messaging with a specific contact regardless of the underlying
messaging protocol used.
- Set of extras to support identification of such contact.

Primary use case for this action is to be originated by the Voice
Assistant as a voice interaction. In such scenario receiving activity
could verify the source and send a message right away, without any
further input from the user. It allows for a smooth user experience when
sending a message by voice.

Bug: 22791113
Change-Id: I86d55af04d13acbc1390938fa6b914990716cb39
ontactsContract.java
61b239171d822b654154f56a257f458a1da9856e 27-Jan-2016 Ta-wei Yen <twyen@google.com> Added more granular states to DATA_CHANNEL_STATE

Added ACTION_SYNC_VOICEMAIL for manual visual voicemail sync.

Change-Id: Ib812988256c137da301a98a283e7e52dfd881440
oicemailContract.java
697815eddb0139e6d4284b72f9393cf46c6e544b 26-Jan-2016 Victor Chang <vichang@google.com> Merge "Launch managed quick contacts without contact id"
165e2849ff10bc13801dc746043c57826a06669b 26-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Unhide DocumentsContract.copyDocument and moveDocument.

Change-Id: I304e4219ac679b9da88d785529f946dac058bbff
ocumentsContract.java
5eb8f9cc7001bf31f7c276e38a49393420b75055 26-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Add support for multi-parents to DocumentsProvider::moveDocument."
d46ecbcc5322cf817e64591e985f1f2a6167e9a7 25-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Add support for multi-parents to DocumentsProvider::moveDocument.

Bug: 26481380
Change-Id: I96290268fd49072a334bde9c04c5313de8540f56
ocumentsContract.java
ocumentsProvider.java
15f3d215992175a9c731b518534a9fc612417feb 25-Jan-2016 Jeremy Klein <jlklein@google.com> Implement ui-based provisioning for the new tether api.

This is dependent on ag/850648 and the Settings changes under the
uiprovisioning topic id.

BUG: 26247383
Change-Id: Ib151d56a1ece5ca3a55219abed965286eac5dd60
ettings.java
97bdacc6d124f08a3f1c362fc35a5eed16af9880 21-Jan-2016 Victor Chang <vichang@google.com> Launch managed quick contacts without contact id

set contact id to enterprise base contact id if it's enterprise uri

BUG=26176780

Change-Id: Ie1160bef22d44c90eb4015783fafdafd160bcdd8
ontactsContract.java
ontactsInternal.java
86b867fd45ce97f7ebe374396e91e679adf8633d 30-Dec-2015 Casey Burkhardt <caseyburkhardt@google.com> Adds Settings.System.FONT_SCALE observer to ActivityManagerService

Changes to Settings.System.FONT_SCALE were not being handled by any service,
which required a device reboot for any changes to take effect. Changes to
this field by the Settings app worked as expected only because it is able to
poke ActivityManager with an updated configuration, whereas unbundled
applications cannot.

This also ensures the setting value is backed up and doesn't conflict with
a configured value from accessibility onboarding during restore.

Bug:23033258
Change-Id: I98d4aed2f9f5893d054e6b10c4dfda406de8eba2
ettings.java
21f255dea9c7831b2764c3f7d418a88d64a46aa3 22-Jan-2016 Felipe Leme <felipeal@google.com> Merge "Created a new API to grant scoped directory access to applications."
c7b1f89e9e86fcea8e4d334cebbf427dbd278ae1 16-Jan-2016 Felipe Leme <felipeal@google.com> Created a new API to grant scoped directory access to applications.

The Storage Access Framework currently provides an
API (OPEN_DOCUMENT_TREE) that lets the user pick a directory to be used
by the application. Although this APIs is very powerful (for example, it
allows the user to create sub-directories, delete and share files,
etc...), it's too complex for simpler use cases like a camera
application trying to have access to the standard Pictures directory.

The new API (OPEN_EXTERNAL_DIRECTORY) simplifies this scenario by
letting the application select a standard, pre-defined directory (as
defined by android.os.Environment). The user still needs to grant access
to the requested directory, but the resulting UI will be simpler and
more straightforward.

Usage example:

// ...
int requestCode = 42;
Intent intent = new Intent(Intent.ACTION_OPEN_EXTERNAL_DIRECTORY);
intent.setData(Uri.fromFile(
new File(Environment.getExternalStorageDirectory(),
Environment.DIRECTORY_PICTURES)));
startActivityForResult(intent, requestCode);
// ...

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (resultCode != Activity.RESULT_OK) {
return;
}
Uri uri = data.getData();
int modeFlags = data.getFlags()
& (Intent.FLAG_GRANT_READ_URI_PERMISSION
| Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
getContentResolver().takePersistableUriPermission(uri, modeFlags);
}

BUG: 23011462
Change-Id: Ie832026532f74e681ef220b761667eb66ff3c8b0
ocumentsContract.java
b524741cb653d6a898431d2c3c7d54a543b5e577 12-Jan-2016 Makoto Onuki <omakoto@google.com> [FBE] Introduce shadow calllog provider [1/2]

Introduce a new provider that's a clone of the calllog provider but
is EA.

The provider is hidden and requires MANAGE_USERS to access.

Bug 26183949

Change-Id: Ie3181a2a68c522b7e513b45218ad06ecd27cda8c
allLog.java
812c4633071ba8032c3a8a74864585285650981a 17-Jan-2016 Steve McKay <smckay@google.com> Merge "Doc fix."
996dab2e48399df3a6e0e8cd92418d19fd6a426d 17-Jan-2016 Steve McKay <smckay@google.com> Doc fix.

Bug: 22060119
Change-Id: I1e58cd22a5bddd67e6dce840629e5a05210e61bd
ownloads.java
a6aee6bf73751ec3e9c758fe721bfe46039892bb 15-Jan-2016 Victor Chang <vichang@google.com> Merge "Add Directory.ENTERPRISE_FILE_URI"
6dc6b8996273f50553c5dc77e2faab40f1ee5ee8 15-Jan-2016 Makoto Onuki <omakoto@google.com> Merge "Remove the index columns from the blocked provider."
1bec6a5b0d67f120b7013572f6b1a4f1e1b3c584 22-Oct-2015 Sanket Agarwal <sanketa@google.com> Add support for AVRCP 1.3.

* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
ettings.java
dc0406d03ead44b42ead998eaf0ba5a0960c2dcc 14-Jan-2016 Victor Chang <vichang@google.com> Add Directory.ENTERPRISE_FILE_URI

Add Directory.ENTERPRISE_FILE_URI to allow access
photo in work-side remote directory

BUG=25981851

Change-Id: I449e0ffcdf9acd6ee9a83d9067f58c41a3e75f02
ontactsContract.java
1abb57b06eb6fd5770e96fed221ff37b08ae5926 14-Jan-2016 Makoto Onuki <omakoto@google.com> Remove the index columns from the blocked provider.

Bug 26232372

Change-Id: Ic72d4b7cee2158ad544b4375a382597c110debf6
lockedNumberContract.java
b68d2d5b68dc58fb7b75ce94af74de58a1b9d3f9 14-Jan-2016 Robin Lee <rgl@google.com> Merge "Always-on app VPNs"
89a697a7e78de121a228b5a8d08a86ee76a40f1c 14-Jan-2016 Adam Lesinski <adamlesinski@google.com> Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev am: d2e215978b am: a5c7106017
am: 6a8c328d73

* commit '6a8c328d7386d19f4590dfbfc71338b1ec208fb7':
UsageStats: Use new settings key idle_duration2 for app idle
f0ef3c112683e4e04406f0355de34f4f1ac20386 13-Jan-2016 Adam Lesinski <adamlesinski@google.com> UsageStats: Use new settings key idle_duration2 for app idle

Ignores the old, re-appropriated key "idle_duration" which is now
set to a high value in order to force disable app idle on devices
with bug b/26355386

Bug:26355386
Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
ettings.java
cbd0ed2944875660ffc9232b45f54f514b00d082 11-Jan-2016 Makoto Onuki <omakoto@google.com> API for blocked number provider

Bug 26232372

Change-Id: I4d243c00ab9f02af527a96d7b549abfe7876f565
lockedNumberContract.java
eb80f7c6d6d813af92512f62c109f6065bbfb07e 12-Jan-2016 Kweku Adams <kwekua@google.com> Fix documentation typo.

Change-Id: Ia40d67069f4789d8f8d0a7cb5dcf447cedec9950
ettings.java
244ce8ef5f201cf403bab43df8281671a9e94512 05-Jan-2016 Robin Lee <rgl@google.com> Always-on app VPNs

Bug: 22547950
Change-Id: I46b204170bfac58d944f39b22f815b080de71a58
ettings.java
9d46b3efd71f98063d050d087533020680e93d25 11-Jan-2016 Tingting Wang <tingtingw@google.com> Merge "Remove @hide for CONTACT_METADATA_SYNC."
e1055217360d45b6b1f907867af5b3085f128eda 11-Jan-2016 Tingting Wang <tingtingw@google.com> Remove @hide for CONTACT_METADATA_SYNC.

Make Contacts App access this flag.

BUG 26491409

Change-Id: I440cb540fbcc5dd3722ecb6e335dd40914cc30b5
ettings.java
867b3396605421708dbcb0595b8954a3f96858ed 09-Jan-2016 Andy Hung <hunga@google.com> Merge "Add setMasterMono and getMasterMono"
f04b84d4c66ea377ec6fe2b36f3a0994f3e94eba 19-Dec-2015 Andy Hung <hunga@google.com> Add setMasterMono and getMasterMono

Bug: 15283594
Bug: 22700363
Change-Id: I5d0552938ec2a54be4450512974d92ff8c77b1e9
ettings.java
fa7786cbe7e846841c2828d8143325144b75f619 22-Dec-2015 Anna Galusza <agalusza@google.com> Add remaining Accessibility Settings to backup
list. Note additional settings that should not be
restored if they are already set (on account of
the new Setup Wizard, which allows critical
Accessibility Settings to be set before restore).

Change-Id: I95524abbef20ab12e529a2b1e6165adc7294c3db
ettings.java
918343b5f9c530f9e6d1fddb72b87487c91b5952 07-Jan-2016 Sudheer Shanka <sudheersai@google.com> Merge "Add an intent for ShowAdminSupportDetailsDialog in settings."
8141bdfa56f13c3946bed12ba7801e492ec25c11 22-Dec-2015 Philip P. Moltmann <moltmann@google.com> Store which print services are disabled instead of which are enabled

This make services that appreared while the print manager was not active
by default enabled.

In the case we upgrade from pre-N we convert the enabled-list into a
disabled-list.

Bug: 26249649
Change-Id: Iae783a8dd19f1a9d75d675710ea4348fdfbd34f3
ettings.java
4b6ac4a359cb1724bbb0f98c7a425f9fb5fd2a58 07-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."""
75395651c272b3df746e0e5fede0a8fedd81e44b 07-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""

This reverts commit 2b931719783cda11c3bbac9928c603d0a0a06d43.

Change-Id: Ic61b874012daeada02b73643f5c58f9ec840b3e5
ocumentsContract.java
ocumentsProvider.java
97dd67cc3494f4cd4749a42a79f2e4422ffeb398 07-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""
2b931719783cda11c3bbac9928c603d0a0a06d43 07-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."

This reverts commit 95149ab6a5442a05f05f448854b6ab386c87f717.

Change-Id: I218aa8059ef674400dac8531a86cd326748c26d5
ocumentsContract.java
ocumentsProvider.java
5a22e1a19d9a5ecc80461c6884f2f20ef46dcd4a 07-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Remove the flag and make openTypedDocument throw FileNotFoundException."
95149ab6a5442a05f05f448854b6ab386c87f717 24-Dec-2015 Tomasz Mikolajewski <mtomasz@google.com> Remove the flag and make openTypedDocument throw FileNotFoundException.

To be compatible with ContentProvider, DocumentsProvider should not
require checking for a flag before calling openTypedAssetFile.

This CL removes the flag, and makes the default implementation throw
FileNotFoundException instead.

Bug: 26222645
Change-Id: I3492f05804e39583ebb8584109c7017b3082846e
ocumentsContract.java
ocumentsProvider.java
a73b8fd1f4faaad00d8a49d6e496aaf249fa7003 07-Jan-2016 Jeff Sharkey <jsharkey@android.com> Add some TestApis to fix build.

Change-Id: Icf0d8d63f3a41d99e46ebe96003863bae637bd9d
ettings.java
60cfad80bdf61db436643927337c2fb30186e99d 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Discourage use of "_data" column.

Moving forward, all client file access really needs to be going
through explicit APIs like openFileDescriptor(), since that allows
the provider to better protect its underlying files.

This change also changes several classes to use the AutoClosable
pattern, which enables try-with-resources usage. Older release()
methods are deprecated in favor of close().

Uniformly apply CloseGuard across several classes, using
AtomicBoolean to avoid double-freeing, and fix several resource
leaks and bugs related to MediaScanner allocation. Switch
MediaScanner and friends to use public API instead of raw AIDL calls.

Bug: 22958127
Change-Id: Id722379f72c9e4b80d8b72550d7ce90e5e2bc786
ediaStore.java
6f2efd3d8c114f9a4b472ef699bbd844323cd82c 23-Dec-2015 Jorim Jaggi <jjaggi@google.com> Add developer option for freeform window support (1/2)

Also disable default force-resizable on non-user builds.

Bug: 25276672
Bug: 24815256
Bug: 26294625
Bug: 26294534
Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718
ettings.java
410e6bd3cc948d283a2ce68c13e88679a2e9c67d 31-Dec-2015 Sudheer Shanka <sudheersai@google.com> Add an intent for ShowAdminSupportDetailsDialog in settings.

Bug: 26362585
Change-Id: Ia3adfcde50f2f5d4fd3df924d56d970d67339094
ettings.java
76ef0fbe064fc7e197af0c5f4c30d733b37f834d 18-Dec-2015 Ta-wei Yen <twyen@google.com> Merge "Add field QUOTA_OCCUPIED and QUOTA_TOTAL to VoicemailContract.Status"
bd17928afcbead00b498a75a92a0a32a6cca7fee 18-Dec-2015 Bryce Lee <brycelee@google.com> resolve merge conflicts of 6b9e5bf0c2 to master.

Change-Id: Idada49313619533bfeb375ee232c942589457fa4
ec85f34812b0f66715ad5ae4d1485f98a690746c 16-Dec-2015 Bryce Lee <brycelee@google.com> Add setting for declaring disabled bluetooth profiles.

Bug: 25900899
Change-Id: I420a7c590d72ba10f3e466d15dccfdbb520e810a
ettings.java
7eba593b8d88a9b087f06ef146d82c4c77a92473 11-Dec-2015 Julia Reynolds <juliacr@google.com> Aidl it all!

Change-Id: Ic12e2305a947749a714102a8133321ae07599950
ettings.java
a07707a899b223fa9f62eec553a54b643bb1a29e 11-Dec-2015 Ta-wei Yen <twyen@google.com> Add field QUOTA_OCCUPIED and QUOTA_TOTAL to VoicemailContract.Status

Fields to track how much visual voicemail quota is used.

Add field LAST_MODIFIED to VoicemailContract.Voicemails.
Add field LAST_MODIFIED to CallLog.Calls.

Timestamp field for the last time the row is inserted/updated.

+ VoicemailContract.Status.setQuota() helper method to set the quota.

Bug:25197644
Bug:22013880

Change-Id: Icb250203971df1f4ae4e1cbc9dbefeec9ad3282e
allLog.java
oicemailContract.java
3ab0c4c43e1e5b9efec7c0fd6928b127afcfb25d 14-Dec-2015 Steve McKay <smckay@google.com> Merge "Load Home directory by default."
b67bfbf975a453a67300f24fac6e4687a676a378 09-Dec-2015 Steve McKay <smckay@google.com> Load Home directory by default.

Don't update toolbar before first root load.
This was causing Recents > Home flicker due
to Recents being the default root returned from getCurrentRoot.
Revert change causing regression in selection highlight.

Bug: 26093756
Change-Id: I2c555aa38d68e9bf7962b1407f9fc75c800216a6
ocumentsContract.java
6258dcd7ea5450726bc7bcb1fbd50e99f62f38fb 30-Oct-2015 Gustav Sennton <gsennton@google.com> Add functionality for changing WebView provider.

Make it possible to change WebView provider (through a Developer
setting) and kill all apps using the old provider.
This includes checking the signatures of the WebView providers to make
sure they are valid.

Now that we can change WebView provider through a setting it is possible
to change provider while some provider is being updated. Because of this
we now keep track of which provider should be in use in
WebViewUpdateService to make sure we use the correct provider at all
times.

We now also read WebView package meta data (name, package name, and
signature) from a separate xml file.

Main bug: crbug.com/546185

Bug: 25338573

Change-Id: I660fd1a40a5388f6569a06a7f0d029e8ff65945a
ettings.java
d263163e4ecfddc1296ac5c279e1b1cc0eb188a5 10-Dec-2015 Svetoslav Ganov <svetoslavganov@google.com> Allow white-listed apps to change VIBRATE_WHEN_RINGING

We don't allows apps white-listed to write to system
settings to change settings that aren't a part of the
public APIs. Now that we made VIBRATE_WHEN_RINGING it
should be moved from the list of private settings to
the public list which apps can modify.

bug:25941020

Change-Id: Ice91f782aeca4785fa0aed300b22d9ecdbb51bd3
ettings.java
58d9cefdd34bdceeb32e3bc036cffe3b0b6c0db9 09-Dec-2015 Jason Monk <jmonk@google.com> Merge "Allow color matrix to be controlled by secure setting"
4b97eecf119e5d7fa6f36b5faa373794c2235f77 09-Dec-2015 Tony Mak <tonymak@google.com> Merge "Add Email.ENTEPRISE_CONTENT_FILTER_URI"
2acf063da08dfff69f184c9a6a90a7a5fe60d818 25-Nov-2015 Svet Ganov <svetoslavganov@google.com> Ephemeral cookie API

Add APIs for an ephemeral app to set a cookie which is a small
peice of data cached longer than the app itself. This is useful
for avoiding the user to login every time they use the ephemeral
app. The cookie is stored after an ephemeral app is uninstalled.
Normal apps or ephemeral apps upgraded to full apps can also use
these APIs with the difference that once they are uninstalled
the cookie is deleted.

The cookie size defaults to 16KB and is configurable by a global
settings which can be adjusted via gservices. Also eviction policy
is time based with a default of one month and is configurable by
a global setting which can be adjusted via gservices. If the cert
of the app cahnges (when ephemeral is installed, uninstalled and
installed again) the cooke is wiped to prevent data leaks.

This cahange also adds an API for apps to know whether they run in
an ephemeral mode since it this mode some APIs will not be available.
Another API exposed by this change is private for the system and
exposes all ephemeral apps - installed and uninstalled. Only the
system can call this API. When an ephemeral app is uninstalled the
system stores its name, icon, and permissions. When the app is
reinstalled or a full version is installed the permissions are
propagated.

Change-Id: Id4a73a7750bfbabda0bfcb9bf9018d2062e94367
ettings.java
08e7fa9b6918f442669970aa0dc048625424c07b 08-Dec-2015 Jason Monk <jmonk@google.com> Allow color matrix to be controlled by secure setting

Change-Id: Ia5518ad79fae502e814034edd7ae8d7a57b3eaeb
ettings.java
415369ead5d46f4ae85bd7a64a97a0223916cfe5 08-Dec-2015 Tony Mak <tonymak@google.com> Add Email.ENTEPRISE_CONTENT_FILTER_URI

Bug: 26074697

Change-Id: Ie1d595828912edf9d998eb2bcc4ba2f6388030b7
ontactsContract.java
2c3f36de14b75f3b26b9186dc1cb4da687632793 05-Dec-2015 Tyler Gunn <tgunn@google.com> Merge commit 'd40a83543a67a911b5dcfbb8d164cea0c5285a78' into tgunn-mncvtdev-to-master-2015-12-04
c87a3a2c0aaa8f7c371ebd795bdbc9ffd991d031 05-Dec-2015 Tyler Gunn <tgunn@google.com> Merge commit '109e9c449d5a0070df793c63383e474a03242ba5' into tgunn-mncvtdev-to-master-2015-12-04
26a43d157000ee52bd3549629bd66de918f92088 05-Dec-2015 Tyler Gunn <tgunn@google.com> Merge commit '6cb5fcaad143227002bd4d00b1974e126d9a8090' into tgunn-mncvtdev-to-master-2015-12-04
ccf15a45cf5d822719f1446e54b856bba9eff717 04-Dec-2015 Ricky Wai <rickywai@google.com> Merge "Change Contacts.CORP_CONTENT_FILTER_URI to enterprise API"
36220e3ed11bc370d91875e9f1cb7d52de09ad8d 04-Dec-2015 Ricky Wai <rickywai@google.com> Merge "Make Work Directory API as Enterprise API"
9d7670b4663b59d01223fe4bad18f622a616c8bf 04-Dec-2015 Victor Chang <vichang@google.com> Merge "Add ENTERPRISE_CONTENT_FILTER_URI to Callable and Phone"
a4c338aea611096dc67d445708f4474fd93e4d62 24-Nov-2015 Tomasz Mikolajewski <mtomasz@google.com> Add a FLAG_ARCHIVE flag to DocumentsContract.

Bug: 20176812
Change-Id: I4bf7c4f228682a68ca5106bfc757fb533e281a86
ocumentsContract.java
e56a3449d8319e3a361991952625c73ff1dce468 04-Dec-2015 Jun Mukai <mukai@google.com> Merge "Introduce accessibility large pointer icons."
3d47ceb2205fef5cc064a60691161fdfcc6d9f99 01-Dec-2015 Victor Chang <vichang@google.com> Add ENTERPRISE_CONTENT_FILTER_URI to Callable and Phone

BUG=25899500

Change-Id: Id87ac24d2bed5811398cba6a3d55fb6ce89d8855
ontactsContract.java
578b36e41408b0c77385fd79edd065be6f5d4b6e 02-Dec-2015 Steve McKay <smckay@google.com> Merge "Don't copy a directory into itself...doesn't go well."
d3afdeebeb9dcfbb5f24e4afac988e2e96de26de 20-Nov-2015 Steve McKay <smckay@google.com> Don't copy a directory into itself...doesn't go well.

Minimally deform CopyService such that we can listen
to the completion of operations in the test.
Add test coverage.
Add equals and hashcode to DocumentInfo...so we can compare
the heck out of 'em. + a test.
WIP: Expose (@hide style) DocumentsProvider.isChildDocument via
DocumentsContract. Use that to check for recusive copies.

Bug: 25794511

Change-Id: I05bb329eb10b43540c6806d634e5b96a753e8178
ocumentsContract.java
ocumentsProvider.java
19a560197950425f7e1856d5bd1216fbc680bf70 24-Nov-2015 Jun Mukai <mukai@google.com> Introduce accessibility large pointer icons.

This patch does the following things:
- add new graphic assets of large icons for accessibility needs
(imported from ChromeOS data)
- add the logic to choose the set of normal icons or accessibility icons
- make InputManagerService to observe the settings change, so that
it can reload the new resources

This patch misses non-1x graphic though, because ChromeOS doesn't
have such data.

Bug: 25778857
Change-Id: Ia5f95d47f50b3f6eea555c3af8069bc6bae0b400
ettings.java
6b38e067a5d3400d0f70b71961529c0ab64e09f3 27-Nov-2015 Ricky Wai <rickywai@google.com> Change Contacts.CORP_CONTENT_FILTER_URI to enterprise API

Bug: 25797489

Change-Id: I3c2656c70a8a4756e13a15af5985c598aef1bdab
ontactsContract.java
28ef5c5834622dfb00edd94a0f9c23e8b961857c 23-Nov-2015 Ricky Wai <rickywai@google.com> Make Work Directory API as Enterprise API

Bug: 25761127
Change-Id: I84e68b4f0c4b1557a0d3764ff48bdeb33bc29787
ontactsContract.java
d1fa1d6ebe50e49010bd1cb473236c8d865e68e2 26-Nov-2015 Lifu Tang <lifu@google.com> Remembers previous location mode when location off

Multipart CL. Must be submitted together with ag/821657

Bug: 25608291
Change-Id: I0cceed27fcf51537b6ac39b0411fbbc44c165070
ettings.java
ce759a1a31ec2c1b65af6cbc4d92f48ca58e1b6f 25-Nov-2015 Tony Mak <tonymak@google.com> Allow to specify which user the call should be inserted to

Two changes:
1. Allow to specify which user the call is inserted to
2. Store addForAllUsers in call, so that we do not need to copy every call

Change-Id: I8fc9e8e4f2e0bdb0049ca2914fdf8908f62b3eb2
allLog.java
9aa233899f7cf5c1cdf4181412a9e197d83ab1a3 23-Nov-2015 Ricky Wai <rickywai@google.com> Merge "Add work contacts directory support in Quick Contacts API"
494b95d30266335044a854845219b6e34cf43edb 20-Nov-2015 Ricky Wai <rickywai@google.com> Add work contacts directory support in Quick Contacts API

Bug: 25764505

Change-Id: I61f9d13ea03352e3df1686ee4b3bcc43e9a9a760
ontactsContract.java
ontactsInternal.java
07e0aef1ff6ee4b3e4165017051f36e796c25d47 20-Nov-2015 Ritesh Reddy <riteshr@google.com> Merge "Enabled backup/restore of Charging Sounds"
f8f121330e573127b6ebc4bc08ac32321f64215e 20-Nov-2015 Ritesh Reddy <riteshr@google.com> Enabled backup/restore of Charging Sounds

Included the charging_sounds key in the Settings to backup/restore

Bug: 25694355
Change-Id: I4a8653f32b58ab326019698784b8cf60c6c0220e
ettings.java
a5efc47723bb5e15a48e638364251f1fbd91d08b 16-Nov-2015 Ricky Wai <rickywai@google.com> Add ContactsContract.Contacts.CORP_CONTENT_FILTER_URI

Bug: 25797489

Change-Id: I0b862c1b179cffd3591e5082d6f9102a070a4053
ontactsContract.java
4133dee9ec5338816e462650afcd039002eb289c 20-Nov-2015 Ricky Wai <rickywai@google.com> Merge "Add Work Contacts Directory APIs"
a8057a9dcef71f9b3e0f31e830d750337a4349ba 16-Nov-2015 Tomasz Mikolajewski <mtomasz@google.com> Add first-class support for virtual files in SAF.

Bug: 20820363
Change-Id: Ic509a6003a99997126f129a836fdd8c0e843108f
ocumentsContract.java
e363121ed444d4ae22cb30d6f16da2dec29faec0 09-Nov-2015 Ricky Wai <rickywai@google.com> Add Work Contacts Directory APIs

Add Work Contacts Directory APIs, so primary profile application can get work directory info.

Bug: 25761127

Change-Id: I0bce6f8153d32e7da883911c5b0af182745e9d40
ontactsContract.java
84cebbeb69e5b473f0cb4d1575bdc57aac48e32e 25-Sep-2015 Ben Kwa <kenobi@google.com> Open the destination dir when a copy notification is tapped.

- Cleanup: rename the "open copy destination" action to "pick copy
destination", which better reflects what it does.
- Move DocumentsIntent from BaseActivity to Shared.
- Rename ACTION_BROWSE_DOCUMENT_ROOT to ACTION_BROWSE for general browsing.
- Use the new ACTION_BROWSE to open the copy destination when copy
notifications are tapped.

BUG=23137963

Change-Id: I10480b45a16ce716febac5453cb5015d26bb0062
ocumentsContract.java
cb15d66f1c7e0175acdf0c0a71d774e841e0b21b 10-Nov-2015 Amith Yamasani <yamasani@google.com> Once system is provisioned, lock the screen on system user

If the device provisioning is complete, check if we need to show
the keyguard. We don't want it to show launcher after finishing
with setupwizard in the system user.

Bug: 25326078

Change-Id: I326069e29122ebf19a59fc00a9120cd5de70f231
ettings.java
0c55387059eec19d4069e70d2e66050dd10617c3 05-Nov-2015 Tomasz Mikolajewski <mtomasz@google.com> Merge "Add support for opening files in specified MIME type to DocumentsProvider."
b344b894ca0844486bf009acd6e3a9f35fe9f29f 28-Oct-2015 Tomasz Mikolajewski <mtomasz@google.com> Add support for opening files in specified MIME type to DocumentsProvider.

Change-Id: I5453d6d699069ec59521917c024f173d2ae67565
Bug: 18113606
ocumentsContract.java
ocumentsProvider.java
e2549af1b88a26af15e8a545ccbe073154628200 02-Nov-2015 Julia Reynolds <juliacr@google.com> Unhide setting for CTS testing.

Change-Id: I56a7970a3613eb930f565befcfa86cf33702c74c
ettings.java
c279b996f13e644782633853612452860e596308 30-Oct-2015 Julia Reynolds <juliacr@google.com> Use preexisting DND access setting for condition providers.

So that apps that are already whitelisted don't have to be whitelisted
again if they add a CP.

Bug: 22977552
Change-Id: I4042d531178ab63d5d1e5b963fc081e3ed523835
ettings.java
8ccdf3ac49b658737b8106bc921347a3d3e3bbbc 22-Oct-2015 Jorim Jaggi <jjaggi@google.com> Add development option to force everything resizable

Add a development setting to force all activites to be
resizable. Currently, a restart is required after changing
this setting. Also remove all the code that forced a single
task to be resizable, as we have a global option now.

Bug: 24815256
Change-Id: I3237c9b6ce96ff9aa9819592ab0c2807fde88dc4
ettings.java
594c7918e9b36df64b9f6817ac95f93861fc007f 15-Oct-2015 Hall Liu <hallliu@google.com> Add support for post-dial digits to logs.

Bug: 24955678
Change-Id: I03c1be349231492fc9dc7c9a3ae5983d5a44779c
allLog.java
67fb3d7358f01c1bea429b680db54629d6ff4a19 22-Oct-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev am: 809dcade99 am: bdc458048a am: bb8f652372
am: 8ecad265b6

* commit '8ecad265b6db57f78dd142e974057c91f69489ed':
Reinstate CHANGE_NETWORK_STATE as a normal permission.
bdc458048abee78a945a26cd13a71245e7d4a2e5 22-Oct-2015 Lorenzo Colitti <lorenzo@google.com> Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev
am: 809dcade99

* commit '809dcade9906001f6aa51a68aa783e20bb1d7c0d':
Reinstate CHANGE_NETWORK_STATE as a normal permission.
d54270506669e474b5b8d1703212c77780a04ae9 15-Oct-2015 Lorenzo Colitti <lorenzo@google.com> Reinstate CHANGE_NETWORK_STATE as a normal permission.

This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.

Specifically:

1. Change the protection level of CHANGE_NETWORK_STATE back from
"signature|preinstalled|appop|pre23" to "normal". This allows
apps that declare CHANGE_NETWORK_STATE in their manifest to
acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
first check CHANGE_NETWORK_STATE, and then ask Settings
if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
CHANGE_NETWORK_STATE and WRITE_SETTINGS.

Bug: 21588539
Bug: 23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
ettings.java
2d574a5aa80fbd29e64d4da11eef7719dffd08be 02-Oct-2015 Andrew Lee <anwlee@google.com> Merge "Add BLOCKED and REJECTED call types."
8359eaafa264679c30a56c0ea9850d829c9c6e0c 01-Oct-2015 Steve McKay <smckay@google.com> Merge "Provide previous stack when opening new window."
85f3402d31b0d00dc352ecae92cf2bd078166fcd 30-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Merge "Check multi-user support in isUserSwitcherEnabled"
cd86ebf1c965c191f46b6480145c9d217a7d841e 30-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Check multi-user support in isUserSwitcherEnabled

isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
ettings.java
54c331a05b5b593d306b475dbc0aabf8a87b6e6c 30-Sep-2015 Jeff Sharkey <jsharkey@google.com> am 5dfd06f7: am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '5dfd06f7d00476dcffb933584ef7e083469215e3':
Relax auto-launch checks for GET_CONTENT.
792a9cc3a5a8aee7ccf79ba5fb2570263505b23f 30-Sep-2015 Jeff Sharkey <jsharkey@google.com> am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '30fd0628970b418dea382b388120f52504ff2243':
Relax auto-launch checks for GET_CONTENT.
f61b1fc66a24858321d64cabb7d772733566d240 26-Sep-2015 Andrew Lee <anwlee@google.com> Add BLOCKED and REJECTED call types.

REJECTED calls are those where a user takes action to decline an
incoming call. INCOMING calls may continue to describe this class of
calls as well.

BLOCKED calls are which are automatically rejected by the application
or by the framework.

Bug: 24341350
Change-Id: I62386aa30be71967b3187cfb3f8f79196e117adb
allLog.java
323ee3ec094b78b9f96a8ab55b5c3b291028eeaf 26-Sep-2015 Steve McKay <smckay@google.com> Provide previous stack when opening new window.

EXTRA_STACK support was already in place (from CopyService).
Add "isRootUri" to DocumentsContract.

Bug: 24410611
Change-Id: Ia380030216323d1272ef247280582e4b55b83c42
ocumentsContract.java
cc2ae6b421353e03160df3b05ce9042b8a5ff8cc 29-Sep-2015 Jeff Sharkey <jsharkey@android.com> Relax auto-launch checks for GET_CONTENT.

When a developer wraps an intent with Intent.createChooser(), they're
indicating that the user should always be prompted, instead of using
any "always use" defaults. A recent CL changed the chooser behavior
to ensure that UI is always shown in the case where there is only one
match.

However, this caused us to start prompting for the GET_CONTENT intent,
for which there is only ever one DocumentsUI system app. Since that
app delivers on the createChooser() contract described above, we're
okay automatically launching it.

Bug: 24464358
Change-Id: I0279d3343479c134a35f41ddf3cb4204d0ae6a90
ocumentsContract.java
83df8c072ddd01a5adc11da0869103c4645e6d76 17-Sep-2015 Steve McKay <smckay@google.com> Merge BROWSE and BROWSE_ALL actions.

Open Files app when exploring from settings.
Force visibility of file size in this mode.
Don't hide empty media providers.

Bug: 24136618, 24140864
Change-Id: I6f238586725f9b6255812e3082bb8d8655219a7d
ocumentsContract.java
ceca82296687323a54637fdf210375768c5db3d7 16-Sep-2015 Chris Tate <ctate@android.com> am 9bf4d765: am e46bf3f7: am ee16be69: am 3290f5dd: Merge "Do not back up/restore the "pulse LED for notifications" setting" into mnc-dr-dev

* commit '9bf4d76579152fce4c045c78347a164d1b7305cd':
Do not back up/restore the "pulse LED for notifications" setting
ee16be69f1c3b3a9d6cdcb8bde70be3f7a0dbb65 16-Sep-2015 Chris Tate <ctate@android.com> am 3290f5dd: Merge "Do not back up/restore the "pulse LED for notifications" setting" into mnc-dr-dev

* commit '3290f5dd067557727f166ff7a51ad2b5209622f6':
Do not back up/restore the "pulse LED for notifications" setting
9cecf1478315a833cbd900ed2a841ce51b67aa20 15-Sep-2015 Christopher Tate <ctate@google.com> Do not back up/restore the "pulse LED for notifications" setting

Bug 24103790

Change-Id: I69a6a85e5282f9ca50fc2655bda4695757b92e74
ettings.java
386f8349709380143f9bf38b41d8dffe736075bf 09-Sep-2015 Toni Barzic <tbarzic@google.com> Introduce settings for Automatic click when mouse pointer stops

Settings in question are:
- accessibility_autoclick_enabled -> Whether the feature is enabled
- accessibility_autoclick_delay -> Amount of time mouse pointer has to
stay still before performing click

Enable/disabled AutoclickController event stream transformation (which
implements the feature) based on the accessibiilty_autoclick_enabled
value

BUG=23113412

Change-Id: I8178d10c09d86713bb4c725c95268a7c5f432eb4
ettings.java
00cd47a2d2147eaba031771fd7e8b6fdbf25cf46 10-Sep-2015 Jorim Jaggi <jjaggi@google.com> resolved conflicts for 0fb3f695 to master.

Change-Id: I679920313a872f8eb81cf00ffb6ffe037b8d0a3a
5a9bb9516d016549730d49cddcc2b2ee0e7a4e93 10-Sep-2015 Jorim Jaggi <jjaggi@google.com> resolved conflicts for 5d0e02b6 to cw-e-dev

Change-Id: Id974d29581304dc644659d1c470b5413d847944b
5941c98c641e64a26bf68816faf967d25cc8f256 04-Sep-2015 Adrian Roos <roosa@google.com> Add double-tap power button to open camera 1/2

Bug: 23787555
Change-Id: I052b64748f155c59fbb649b32265f559423a8845
ettings.java
69ca9960ac271f421ec6627aed48e7fd788d5653 18-Aug-2015 Jorim Jaggi <jjaggi@google.com> am faca9cbb: am 8787d8ef: am 73ef4642: am 581fd0fb: am 757e2c7f: Merge "Fix documentation issue" into mnc-dev

* commit 'faca9cbbffb84683fa0f11ba14ae907ea872e6ce':
Fix documentation issue
73ef464291953ea945014dfab22c84d147714a40 18-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 581fd0fb: am 757e2c7f: Merge "Fix documentation issue" into mnc-dev

* commit '581fd0fb2ecbd6d9ee049bb08f395ec04709eb74':
Fix documentation issue
581fd0fb2ecbd6d9ee049bb08f395ec04709eb74 17-Aug-2015 Jorim Jaggi <jjaggi@google.com> am 757e2c7f: Merge "Fix documentation issue" into mnc-dev

* commit '757e2c7f3e6ee93c69ecdd9de18fc03eff72d00e':
Fix documentation issue
9b70f44b2a773aa56db9b643ae98b287703c1bd1 17-Aug-2015 Jorim Jaggi <jjaggi@google.com> Fix documentation issue

Bug: 23038621
Change-Id: I230e09564b619868a4d22b2945c97180796ff4b1
ediaStore.java
06db906b1d34930e4218cb920a312084d38650ec 14-Aug-2015 Wei Liu <luciferleo@google.com> am b8a1747b: am ddd3e323: am d6fb8958: Merge "Add a setting to enable cellular on boot." into cw-e-dev

* commit 'b8a1747b6dd3936bc10834f4c3aa1674bfe1bfb6':
Add a setting to enable cellular on boot.
a181770f3516c514cb3413f0a61e2645974c4414 12-Aug-2015 Wei Liu <luciferleo@google.com> Add a setting to enable cellular on boot.

b/22804423

Change-Id: Ifcee3a2a8bfbfab366c3f9dcd8926d500851bd32
ettings.java
47c8244e4e5c3093522fd1aa13dfbc20bd565dd1 12-Aug-2015 Todd Kennedy <toddke@google.com> Merge "Override package storage constraint"
ec5563ffa34ed5aa98cfad49c05c0bd6f8949ac6 11-Aug-2015 Jason Monk <jmonk@google.com> am 1ef95dc5: am 413493b5: am c7789c3e: am 36052477: Merge "Add setting to disable camera gesture" into mnc-dr-dev

* commit '1ef95dc59cf5b151a9d55f0d8e55f5be1934c3cd':
Add setting to disable camera gesture
36052477465f51a4c690e4e8dfb290fb15ce88b0 11-Aug-2015 Jason Monk <jmonk@google.com> Merge "Add setting to disable camera gesture" into mnc-dr-dev
60d18aba1d0ad32147367ab30313ca5b9f0645cb 11-Aug-2015 Dianne Hackborn <hackbod@google.com> am b44cdfdd: am afacdbe1: am 09e77852: am 5cf89a01: am b2b02092: Merge "Fix issue #23037899: Support for Battery Optimization permission + Dialog" into mnc-dev

* commit 'b44cdfdd10ffa861492d044a058cfbaa167d71db':
Fix issue #23037899: Support for Battery Optimization permission + Dialog
c7b57b1e65b487defad4967cf42cf076b499cbee 10-Aug-2015 Dianne Hackborn <hackbod@google.com> Fix issue #23037899: Support for Battery Optimization permission + Dialog

New permission, new Intent action.

Change-Id: I1d9ba55be8f72074e29d33ad7a0a12a820bbac39
ettings.java
e3739611300234a7e45e060127cda31c64228d4b 10-Aug-2015 Zheng Fu <zhengfu@google.com> Merge "Add constants for metadata_sync_state table."
f39ca8f5e5f43f130b4590921087a63f88bb8286 07-Aug-2015 Todd Kennedy <toddke@google.com> Override package storage constraint

We want to be able to move arbitrary packages to external storage,
regardless what they specify in their manifest. This is a developer
option and should be used with care. Trouble may ensue if an
application is moved when it really doesn't want to be moved

Bug: 22282121
Change-Id: I7664816a7fd122e6cdf3070fe50ce5464f325380
ettings.java
e37acf3256c107da2a9c4892225aa7238d148669 08-Aug-2015 Billy Lau <billylau@google.com> am 4a10b66d: am 99271a39: am 9751afcf: am 26ab6ed3: am 70f998e5: Merge "Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS" into mnc-dev

* commit '4a10b66df364092cdc42a3cfaa990c877b389624':
Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS
ae678b8894df49ac4501d879558d12d358030aa2 07-Aug-2015 Zheng Fu <zhengfu@google.com> Add constants for metadata_sync_state table.

Bug:23038060
Change-Id: I54feb1d79b250f42c2262674fe7dd953ad565003
ontactsContract.java
70f998e57df2b3ed79331669a93a0ba314f25e7d 08-Aug-2015 Billy Lau <billylau@google.com> Merge "Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS" into mnc-dev
a7238a397d5c3431eeb19b5b77e8c7c2bf0e608f 01-Aug-2015 Billy Lau <billylau@google.com> Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS

Merge the CHANGE_NETWORK_STATE permission with WRITE_SETTINGS.

AndroidManifest.xml:
Raised the protection level of CHANGE_NETWORK_STATE permission from
normal to signature|appops and pre23|preinstall for compatibility

provider/Settings:
Wrote new helper methods to check if app is allowed to change network
state.

ConnectivityManager.java & ConnectivityService.java:
Replace enforcement checks for CHANGE_NETWORK_STATE with
checkAndNoteChangeNetworkStateOperations instead.

Change-Id: If8c2dd3c76a5324ca43f1d90fa17973216c2bcc5
ettings.java
2619c5454e556bad584bad502e20bb0a1528b753 03-Aug-2015 Jay Shrauner <shrauner@google.com> Unhide PHONETIC_NAME_STYLE fields

Unhide StructuredName.PHONETIC_NAME_STYLE and
Organization.PHONETIC_NAME_STYLE

Bug:22855713
Change-Id: I69d9085599d93ed1cc29832f70c23965a8d2f0d7
ontactsContract.java
de28e2c4551b516f56d840c3c33b39a4e0601640 06-Aug-2015 Julia Reynolds <juliacr@google.com> am 5452a0df: am 4b74d669: am 48d146c9: am c694ab32: am a3b5a612: Merge "Store ringer mode on entering DND mode so it can be restored on exit." into mnc-dev

* commit '5452a0df668dc48a1170dcfcb55e069c246bb5d1':
Store ringer mode on entering DND mode so it can be restored on exit.
9b11fdb56dd8b0250e077c1713434b388d8cd523 31-Jul-2015 Julia Reynolds <juliacr@google.com> Store ringer mode on entering DND mode so it can be restored on exit.

Store the value in Settings now, so it's not lost on reboot.
Bug: 22338093

Change-Id: Icc843ef2bf735c23aabf9ceddd82283d51424220
ettings.java
38b452073575c98d0adc673291ba67bb6787dffb 05-Aug-2015 Roshan Pius <rpius@google.com> am ea7632ac: am 9d15a496: am 1c53d91e: am 65b84a16: am 78b8d4aa: Mark missed calls as read in calllog restore(2/2)

* commit 'ea7632ac0694a5ba04ef0d597300f92e5fc22962':
Mark missed calls as read in calllog restore(2/2)
78b8d4aa99ce866caacf291a446837416fa07bd7 04-Aug-2015 Roshan Pius <rpius@google.com> Mark missed calls as read in calllog restore(2/2)

When missed calls are restored by CalllogBackupAgent using the addCall
API of CallLog provider, we were setting the IS_READ flag to 0 which
resulted in user getting a missed call notifications for all missed
calls after restore.
Adding a new addCall API signature which can specify the value to be put in the
IS_READ field when a call is added to the calllog provider. This will be
used by the CallLogBackupAgent to mark all restored missed calls as
read.

BUG: 22908952
Change-Id: Iee3bea09fbdefef09c7eb6c6c61728cb4d94d9e7
allLog.java
5a5e7d64bb3c52f9910f49d912a59047f0ab32ba 04-Aug-2015 Jason Monk <jmonk@google.com> Add setting to disable camera gesture

Bug: 22183841
Change-Id: Ibafc5b74cd5cc708e3f884a6d7b2b5c354e04d4a
ettings.java
476910fd82d5ebd33bd01ccd7f176356f3afc78a 03-Aug-2015 Billy Lau <billylau@google.com> am b4cb66cd: am 0e7b3420: am 8b095b1c: am f83e8526: am 5680f9f6: Merge "Bug: 22879202 App compatibility with WRITE_SETTINGS failing" into mnc-dev

* commit 'b4cb66cdca3a5e179ba6382ac281285adbdeb040':
Bug: 22879202 App compatibility with WRITE_SETTINGS failing
3b67b2b217b9b411c8b6ee62714fbfd5e360da54 01-Aug-2015 Deepanshu Gupta <deepanshu@google.com> am a34e6579: am 2535171f: am 92a59d8e: am 92385030: am e836a229: Fix build.

* commit 'a34e65796f3c62275879b35e3e309d0a6f5ea7d9':
Fix build.
f6f1a7ec9935c32e6c1155333de94ac9cd544442 01-Aug-2015 Dianne Hackborn <hackbod@google.com> am 628b4125: am bc2a8843: am b97c5ddd: am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev

* commit '628b4125843b93dc7f3ed0c9bbea76ff470d2eed':
Change MNC codename to just M.
7c19f4cf20b8549870b1d570988f47fc1276f176 01-Aug-2015 Billy Lau <billylau@google.com> Bug: 22879202 App compatibility with WRITE_SETTINGS failing

Fix a bug in the app ops protected permission check that broke backwards
compatibility.

Change-Id: Ic73759edd29a479a670fb31407e36aa50d09b6c3
ettings.java
e836a229aefb0ff3b82e19a422590fb7c4bd5148 31-Jul-2015 Deepanshu Gupta <deepanshu@google.com> Fix build.

Change-Id: I82295b758e5ceb42e260d3c36ea2310a9def5190
ettings.java
c1836bb0f1bf3e5ef0911719525da0bab3e53507 31-Jul-2015 Dianne Hackborn <hackbod@google.com> Merge "Change MNC codename to just M." into mnc-dev
a91dccdf576eeed67e160036f00d8fba58c1a524 30-Jul-2015 Billy Lau <billylau@google.com> am bafb5130: am ee2ee0f9: am be6bfb4c: am 83749ac9: am a6706627: Merge "Bug: 21589105 Rescope WRITE_SETTINGS permission (framework services perm check changes)" into mnc-dev

* commit 'bafb51305731fd837b12878fffabe8885239ea10':
Bug: 21589105 Rescope WRITE_SETTINGS permission (framework services perm check changes)
6ad2d66072795dd9836350b273dcde52910ab4c3 18-Jul-2015 Billy Lau <billylau@google.com> Bug: 21589105 Rescope WRITE_SETTINGS permission (framework services perm check
changes)

AppOpsManager:
Changed the default operating mode for WRITE_SETTINGS to MODE_DEFAULT from
MODE_ALLOWED.

packages/SettingsProvider:
We no longer do static permission checks for WRITE_SETTINGS in early checks and
defer that to app op when MODE_DEFAULT is returned. For some operations,
checking against WRITE_SECURE_SETTINGS is sufficient.

ActivityManagerService & PowerManagerService:
Incorporated app op checks and handled the MODE_DEFAULT case.

provider/Settings:
Added helper function to do checks on whether app ops protected operations
can be performed by a caller. This includes checks for WRITE_SETTINGS and
SYSTEM_ALERT_WINDOW.
Also added a public API (with javadocs) for apps to query if they can modify
system settings.
Changed the javadocs description for ACTION_MANAGE_WRITE_SETTINGS and
ACTION_MANAGE_OVERLAY_PERMISSION.
Added public API (with javadocs) for apps to query whether they can draw overlays or not,
and also javadocs description on how to use that check.

Change-Id: I7b651fe8af836c2074defdbd6acfec3f32acdbe9
ettings.java
0e3de6cacaffcfeda4d6353be61e2f1f9ed80705 30-Jul-2015 Dianne Hackborn <hackbod@google.com> Change MNC codename to just M.

Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
ediaStore.java
6086a25eb7721d7a59445796b73ee4c3f2e87701 30-Jul-2015 Adrian Roos <roosa@google.com> am 5334b265: am aeda904f: am 4371922d: am 8e9b33f8: am 726d47b7: Merge "Fix and deprecate lock pattern related settings" into mnc-dev

* commit '5334b265af71a31b0cf428b97b437ac040c067dc':
Fix and deprecate lock pattern related settings
93184eef410da6bb958d22e1dc90f3fddabc9369 29-Jul-2015 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE: Don't backup night mode setting" into mnc-dev
ec9bea7eebd2c3fb423a54fa50a231c4abd76bd5 29-Jul-2015 Alan Viverette <alanv@google.com> DO NOT MERGE: Don't backup night mode setting

Bug: 22824325
Change-Id: I7a244f416e1aa258735eea09858e3c202e8c8945
ettings.java
9069fab8bca535a33501a75bc8f61b23dcdcaffd 01-May-2015 Amit Mahajan <amitmahajan@google.com> Changes to update APN db via Gservices and ConfigUpdater.

- Adding settings that are updated by Gservices.
- Changes to handle UPDATE_APN_DB intent.
- UPDATE_APN_DB intent triggers update of apns-conf.xml and carriers db.

Change-Id: I65a63f3015da1b827b974d17e48bee4c747544ff
ettings.java
7811d9f5095a343acd218f4bb0a0e9e8f480b401 28-Jul-2015 Adrian Roos <roosa@google.com> Fix and deprecate lock pattern related settings

Bug: 22557690
Change-Id: Ib4b3ef7cebe815ba9d9d2284f945a9ec746b216c
ettings.java
a0d9a63f1d16eba887d78a2286d8ac6f3c397909 25-Jul-2015 Jeff Sharkey <jsharkey@android.com> Follow refactoring when enforcing permissions.

Change-Id: I3fd245622a7f1183cbe21e61f7604c8195022e69
ocumentsProvider.java
f3230a7e69869aa680ed30169892dd5c35ec931f 25-Jul-2015 Jeff Sharkey <jsharkey@google.com> am 43b379e7: am 43ff3afe: am 4c864be1: am 35f4b6a2: am 8be305dd: Merge "Also check app-ops on path-permissions." into mnc-dev

* commit '43b379e72be58fca50af64092f5c99463d76d65b':
Also check app-ops on path-permissions.
0e621c3921fc023dd13fe72739987f2a9b366c84 25-Jul-2015 Jeff Sharkey <jsharkey@android.com> Also check app-ops on path-permissions.

Any place that we check permissions we also need to check any
app-ops associated with those permissions. In the case of providers
with both <provider> and <path-permission> permissions, track and
report the strongest app-ops denial.

Bug: 22718722
Change-Id: I45e62de39b04d16d071558ad980b701667cfcb9a
ocumentsProvider.java
809f24d5c6b60b6ce4443994634966fee05963de 24-Jul-2015 Junda Liu <junda@google.com> am 5ffab5f6: am 18046b72: am e77b00ce: am e1ebca6c: am 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev

* commit '5ffab5f60381ed16d1908bff72ccad08b3741f4c':
Remove volte_feature_disabled as carrier config handled it.
859551f7c0acdc8fa9f9d5ffaf0efc69441d5e47 23-Jul-2015 Junda Liu <junda@google.com> Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
3f78e175ac647daf7184aaf6ba768777cfdd2ff5 25-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> Add COLUMN_CAPACITY_BYTES column to DocumentsContract.

Alternatives were considered:
- COLUMN_CAPACITY dounds more like real english sentence, but it is
inconsistent with consistent with COLUMN_AVAILABLE_BYTES.
- COLUMN_USED_BYTES is consistent with COLUMN_AVAILABLE_BYTES but we rarely
care about used bytes, more about total capacity. Such information is also
rarely exposed by backends, and would have to be computed, so misleading.

BUG=None

Change-Id: Ic1ff3eb8fc9ec12cc79ee78c490f361f77cb4706
ocumentsContract.java
a375a9988419791649ed7f42b662f1afe5953982 25-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> Add support for efficient move within a document provider.

Currently moving files even within the same document provider causes
reading and writing all of the bytes, which is very inefficient for all
network based solutions, eg. Drive where moving even huge files can be
instant.

This CL adds an optional moveDocument method to the DocumentProvider as
well as DocumentContract so providers can implement an efficient way of
moving things. If not implemented, we would fallback to moving by
streaming.

BUG=None

Change-Id: I74d6754f96cbafa749a04ca9aebf2e0e2b64b515
ocumentsContract.java
ocumentsProvider.java
74fe1816e84fc097adc5af1b6e866b4a219dca91 13-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> Add support for efficient copy within a document provider.

Currently copying files even within the same document provider causes
reading and writing all of the bytes, which is very inefficient for all
network based solutions, eg. Drive where copying even huge files can be
instant.

This CL adds an optional copyDocument method to the DocumentProvider as
well as DocumentContract so providers can implement an efficient way of
copying things. If not implemented, we would fallback to copying by
streaming.

BUG=None

Change-Id: I8f2b2c0c834717f07d42f8247cd1fc025e82239a
ocumentsContract.java
ocumentsProvider.java
d5f0f4132c4779aa946023ee48d001d70db7ac12 22-Jul-2015 Junda Liu <junda@google.com> Remove volte_feature_disabled as carrier config handled it.

Bug: b/22602876
Change-Id: Ib1948c93eae6b563846563f1353bab24c4c687a0
ettings.java
08c714b9629ead34af4ec8cace804eaaac51ebcc 17-Jul-2015 Tingting Wang <tingtingw@google.com> am 435d6efc: am cee00433: am b1322a2a: am 6aee4761: am ad359f2e: Merge "Revert "Don\'t display Custom for PHONE_TYPE=CUSTOM part 1."" into mnc-dev

* commit '435d6efc45af19759d5642d91e9532604888e767':
Revert "Don't display Custom for PHONE_TYPE=CUSTOM part 1."
ad359f2e705280e26198890a95d53e3566126bcc 17-Jul-2015 Tingting Wang <tingtingw@google.com> Merge "Revert "Don't display Custom for PHONE_TYPE=CUSTOM part 1."" into mnc-dev
f66841529fad1076e5f94c0dc961723eb6bcb8ab 17-Jul-2015 Nancy Chen <nancychen@google.com> am 7688014d: am a48413e2: am f9b4961d: am ce9fea39: am 660322d8: Merge "Add transcription field to voicemail object and related changes." into mnc-dev

* commit '7688014d4f3de8235c0fc971a6a7bf020b1d3674':
Add transcription field to voicemail object and related changes.
660322d8259cb256745f15219af0b9004063ea8d 17-Jul-2015 Nancy Chen <nancychen@google.com> Merge "Add transcription field to voicemail object and related changes." into mnc-dev
5bd3e73a21975166fe39ccdfaf3376ad4f8fb369 17-Jul-2015 Nancy Chen <nancychen@google.com> Add transcription field to voicemail object and related changes.

Bug: 22542002
Change-Id: I05c18e8f82a4f318fb59228e4d6eb844d64bee30
oicemailContract.java
86ac2281437838d1f09a5140543912194151ea1f 16-Jul-2015 Tingting Wang <tingtingw@google.com> Revert "Don't display Custom for PHONE_TYPE=CUSTOM part 1."

This reverts commit d55b348e629d5ae5a2efbba6735be4b30220e50b.

Change-Id: I3e623de725c419489294aed6c3b3aea838fc0f7b
ontactsContract.java
a7afa5abb602381065950261953aca2b4750c391 16-Jul-2015 Tony Mak <tonymak@google.com> am de0fa318: am 364c8065: am 5eea2455: am 245466b5: am 532737df: Merge "Fix calendar reminder notification is not shown in idle state" into mnc-dev

* commit 'de0fa318fb3d7e7634e5b86c2edf244ba5fdb52d':
Fix calendar reminder notification is not shown in idle state
532737df65330200dc55ae42d31140d19c4024be 16-Jul-2015 Tony Mak <tonymak@google.com> Merge "Fix calendar reminder notification is not shown in idle state" into mnc-dev
4c8d3126068334826e2a6f921799e2b86dba8916 14-Jul-2015 Billy Lau <billylau@google.com> am e385d26f: am cb2a7a2c: am 0be2efb2: am f028ba3d: am 96d00ab3: Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev

* commit 'e385d26fef2f62988c082ee8066f5d6715aa16c9':
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
22b3f4cb15207239e203d5ec8b72ec6bc90fef35 08-Jul-2015 Billy Lau <billylau@google.com> Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission

Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag. Also made sure that this
permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as
that breaks a lot of gmscore stuff.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4
ettings.java
7150e1a9e20e1c3b32b759aa13357487930ae9e2 08-Jul-2015 Tingting Wang <tingtingw@google.com> am b8fb1343: am 79f44602: am eeb5b9d0: am 0f4595af: am 4ccf69e1: Merge "Don\'t display Custom for PHONE_TYPE=CUSTOM part 1." into mnc-dev

* commit 'b8fb1343c35fd2d31434357f46c244336ac1d5f1':
Don't display Custom for PHONE_TYPE=CUSTOM part 1.
d55b348e629d5ae5a2efbba6735be4b30220e50b 08-Jul-2015 Tingting Wang <tingtingw@google.com> Don't display Custom for PHONE_TYPE=CUSTOM part 1.

Dialer sometimes creates custom PHONE_TYPE values without
specifying the custom string. In this case, we shouldn't
display "Custom". We should display nothing.

BUG 21900262

Change-Id: I11aff369c76126a3f60f95aa589ae2a8a3e98bb1
ontactsContract.java
ecb7af7d10e10a3db3435057adcbfcf726af4aa5 07-Jul-2015 Ian Pedowitz <ijpedowitz@google.com> am 0a5e18bf: am a3599c78: am 8ea98a8a: am 13c2a4f5: am 937edac8: Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"

* commit '0a5e18bfe23f4b256bbda995a1f3e383fa979ee3':
Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"
937edac8e8583023019b625dd426ebf65169e30d 07-Jul-2015 Ian Pedowitz <ijpedowitz@google.com> Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"

This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262.

This CL seems to have broken the build, causing GMSCore to continuously
crash.

Bug: 22313634
Bug: 22312938
Bug: 22314605
Bug: 22308392
Bug: 22307889
ettings.java
bfe288690a53560f500ada91c13acfc6fd78ccde 07-Jul-2015 Billy Lau <billylau@google.com> am 4ce9ebea: am bb1a1e5f: am e2835f9f: am 212c006e: am c81ecb6d: Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission" into mnc-dev

* commit '4ce9ebea91be2456f5958b86e1c7e36b800e8dde':
Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission
d6b404c72da7e2475508c7d5948494b2e9b1a262 07-Jul-2015 Billy Lau <billylau@google.com> Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission

Raised the protection level of WRITE_SETTINGS permission to appop and also
allowed backwards compatibility with pre23 flag.

Introduced new action to manage write system settings as a new API and
renamed the string that describes the managing of overlay permission.

Change-Id: I939a95b9a8b1ae75bf67aa6d8190c92a8d2001d3
ettings.java
6c1721509aab98dcfae281463e1cbe69b90cf480 04-Jul-2015 Jeff Sharkey <jsharkey@android.com> am b959b1aa: am c6913187: am a5ed2c4d: Merge "Better handling of trim/benchmark results." into mnc-dev

* commit 'b959b1aaea9fa64e3eb6cee7ce8e64d8a10657a3':
Better handling of trim/benchmark results.
faf96ebc8886a6689d6ab6a9a3209d9b1173b173 02-Jul-2015 Tony Mak <tonymak@google.com> Fix calendar reminder notification is not shown in idle state

Bug: 22182280

Change-Id: If1b84ffe868eb44204f26c1d6a6bc76e67281c04
alendarContract.java
e8a4b66960056c2dc2c8dbb5f8df00710645cc64 28-Jun-2015 Jeff Sharkey <jsharkey@android.com> Better handling of trim/benchmark results.

Request benchmarking of devices once per week during normal fstrim
maintenance window. Tunable parameter gives us the ability to change
frequency through global setting.

Track individual benchmark and trim results for each volume, and
use scrubbed volume identifier (based on adoptiong age) when logging
stats to drop box. Track last benchmark and trim time for each
volume separately.

Bug: 21831325
Change-Id: I53b3ed788f7820c2e5bceb2840339f5b4aada3f0
ettings.java
28aad8efe60d7d7c59d748ef50d8fe0118b9c323 30-Jun-2015 Billy Lau <billylau@google.com> am 67dfa491: am e4c3fd72: am f62f4c94: Merge "Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle to be manually enabled in Settings." into mnc-dev

* commit '67dfa49194cf91241ff791730bacb71e07530ef3':
Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle to be manually enabled in Settings.
f62f4c94a36f5c2f7ad3c70316dc585ea3fd721a 30-Jun-2015 Billy Lau <billylau@google.com> Merge "Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle to be manually enabled in Settings." into mnc-dev
a8a1877e781338e2d586e71e7ec0db0d433ca489 30-Jun-2015 Jorim Jaggi <jjaggi@google.com> am 9788eb83: am 778dccb8: am 825c2a00: Merge "Add setting to disable screenshot separately (1/2)" into mnc-dev

* commit '9788eb83d69ac3000d88af50b11d777951a55f41':
Add setting to disable screenshot separately (1/2)
a133f0b522f66b45d4105f6d514a8a17120833ad 27-Jun-2015 Jorim Jaggi <jjaggi@google.com> Add setting to disable screenshot separately (1/2)

Bug: 22063668
Change-Id: Ief704004a8ab0a65d34753f9098003ba695726df
ettings.java
cbe540f94691b595ca2eaede2871d885c38a845c 25-Jun-2015 Billy Lau <billylau@google.com> Bug: 21589105 Rescoping the SYSTEM_ALERT_WINDOW permission to an explicit toggle
to be manually enabled in Settings.

Raised the protection level of SYSTEM_ALERT_WINDOW from dangerous to
system|signature|appop. Added a new API in Settings for developers to invoke
the main configuration setting. Also added a new metrics in MetricsLogger.
Finally, also made changes to PhoneWindowManager to check the permission to draw
overlay properly.

Change-Id: I4a073e6f038b8b8d2fa5bd6ad60abda496be9701
ettings.java
dcbe525ed1776e4e9318f88320d297d20995c7f8 25-Jun-2015 Svetoslav <svetoslavganov@google.com> am be17a55c: am 6a01c7ff: am 263b6e69: Merge "Prevent certain actions of app has revoked permissions" into mnc-dev

* commit 'be17a55c923f057f3f14656e7f56b2744607db45':
Prevent certain actions of app has revoked permissions
7008b51817361443fc6f136c5b187e1d471c94f5 25-Jun-2015 Svetoslav <svetoslavganov@google.com> Prevent certain actions of app has revoked permissions

bug:21808294

Change-Id: I7214c1fe47c15fe185423a54a74b58caf8d82daa
ediaStore.java
b96d1f1e6979a91b9e35657cbfbee6acff3330ed 24-Jun-2015 Svetoslav Ganov <svetoslavganov@google.com> am 242c1f33: am 4475dbca: am 2c99ea35: Merge "Remove not needed contacts related permissions." into mnc-dev

* commit '242c1f333431b32445336faed18feb1a90ebd6e4':
Remove not needed contacts related permissions.
6d2c0e5ee2f717d4a5c00df08aca21c76eea8278 23-Jun-2015 Svetoslav Ganov <svetoslavganov@google.com> Remove not needed contacts related permissions.

This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e.

Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
ontactsContract.java
4b8de703b520eda0c6418eadb5acbc836fd4581a 23-Jun-2015 Zoltan Szatmary-Ban <szatmz@google.com> am d4fafa83: am ddc6d37e: am 2c3c66a2: Merge "Introduce Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN" into mnc-dev

* commit 'd4fafa831c23ec2f1fcea8450a843a087ddcf0d6':
Introduce Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN
2c3c66a2cf06b4d081f539a1fa01b44780cc65dc 23-Jun-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Introduce Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN" into mnc-dev
edfda6a1c8eed3be77b506ca84f045ae22ea465c 23-Jun-2015 Bart Sears <bsears@google.com> am 0623d635: am 2544da4c: am 1ef23ade: Merge "Revert "Remove not needed contacts related perissions."" into mnc-dev

* commit '0623d6359178df8861159f188df7645959866cd8':
Revert "Remove not needed contacts related perissions."
ed5ff51b2ca7c051e2719dfc8a8a083e6208848e 23-Jun-2015 Bart Sears <bsears@google.com> Revert "Remove not needed contacts related perissions."

Broke the build, reverting.

This reverts commit a2991da0d671adf511ccb884cf25bf1241303f92.

Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da
ontactsContract.java
46e28423030178711bcaa34ebc2ed2a840246ce6 23-Jun-2015 Svet Ganov <svetoslavganov@google.com> am 8bf62c7d: am 477bb484: am 2b5bec93: Merge "Remove not needed contacts related perissions." into mnc-dev

* commit '8bf62c7d0ccda08ae5982d3bbf39b72ba327b2fc':
Remove not needed contacts related perissions.
a2991da0d671adf511ccb884cf25bf1241303f92 22-Jun-2015 Svet Ganov <svetoslavganov@google.com> Remove not needed contacts related perissions.

Removing the read/write profile/social stream permissions as they
are not needed anymore. These permissions are for accessing data
nested in the conacts provider which is already guaded by the
read/write contacts runtime permissions. The removed permissions
would be in the contacts group which means they would not provide
more protection compated to read/write contacts. Also removing
the permissions voids the need for app op support for legacy apps.

Removed deprecated APIs for social streams as these were deprecated
and will go away in the next release. We want apps targeting M to
not be able to compile if still suing these APIs to help with
migration.

Change-Id: I26ed9055847af7f92c78eb0f4ac8f9f1aa616fcd
ontactsContract.java
abe4a676125f046eb09902cf24ad1effd94c8ea5 19-Jun-2015 Yorke Lee <yorkelee@google.com> am aad6327d: am 495cac60: am c723b8d7: Merge "Don\'t save cached contact info in call log when adding call" into mnc-dev

* commit 'aad6327d3b619e8b34305fefba81010e21bc5eef':
Don't save cached contact info in call log when adding call
c723b8d74265239c8d97c0b222ccddd76e73149d 19-Jun-2015 Yorke Lee <yorkelee@google.com> Merge "Don't save cached contact info in call log when adding call" into mnc-dev
457df5ff7e5d562b944b9f7544a02c956780f81a 19-Jun-2015 Yorke Lee <yorkelee@google.com> Don't save cached contact info in call log when adding call

Bug: 20520236
Change-Id: I8ca051d4b93624b51de73640544ee5c6afbc0b7a
allLog.java
58461ebdef243843c0398c764bed2b11d3fc9df3 18-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> am 87a45380: am 456778ff: am 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev

* commit '87a4538034d41964ed81b69749939c1868505847':
Allow to customize title of the dialog.
9ce9ffec9e307e29c3d575854d4e357ecf06d2d8 18-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> Merge "Allow to customize title of the dialog." into mnc-dev
22afc5469efb924dea20902e3618735691e14f4a 18-Jun-2015 Dianne Hackborn <hackbod@google.com> am 2133afc7: am d21b695f: am 22433a33: Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev

* commit '2133afc77aa36f186b9e5c0ff9954d0d26848e3e':
Fix issue #21814207 and issue #21814212 (alarm manager)
0e591f95bd023fc153520efe0852180bb580a442 13-Jun-2015 Tomasz Mikolajewski <mtomasz@google.com> Allow to customize title of the dialog.

TEST=adb shell am start -a android.intent.action.OPEN_DOCUMENT -e
android.intent.extra.TITLE 'Upload!' -t "text/plain"
BUG=19150996

Change-Id: Ibded6cfaa2de3698c5eada154efbee2b323464d4
ocumentsContract.java
a750a63d639f6936af456df904fa6b9ba941885e 17-Jun-2015 Dianne Hackborn <hackbod@google.com> Fix issue #21814207 and issue #21814212 (alarm manager)

Issue #21814207: AlarmManager.setAndAllowWhileIdle should also allow wake locks.

Introduce a whole new infrastructure for providing options when
sending broadcasts, much like ActivityOptions. There is a single
option right now, asking the activity manager to apply a tempory
whitelist to each receiver of the broadcast.

Issue #21814212: Need to allow configuration of alarm manager parameters

The various alarm manager timing configurations are not modifiable
through settings, much like DeviceIdleController. Also did a few
tweaks in the existing DeviceIdleController impl.

Change-Id: Ifd01013185acc4de668617b1e46e78e30ebed041
ettings.java
ca0ff7653968fa0f287abcb5ff10c11d37cb2e0b 17-Jun-2015 Junda Liu <junda@google.com> am 603bf00f: am 25acdffa: am a11ffa64: Merge "Remove hide_carrier_network_settings from Settings." into mnc-dev

* commit '603bf00fcba0e95ed42cd4b9eadd1bfc1b45b28a':
Remove hide_carrier_network_settings from Settings.
a11ffa64366e39899bcda7448e5b5ffe727bea48 17-Jun-2015 Junda Liu <junda@google.com> Merge "Remove hide_carrier_network_settings from Settings." into mnc-dev
297da6ffb996460cce8efcf8fa920ea54e99731d 16-Jun-2015 Junda Liu <junda@google.com> Remove hide_carrier_network_settings from Settings.

No longer needs this as carrier config manager handles it now.

Bug: b/21347654
Change-Id: I26d34cde0d31ae53a6e5a25cd555ed2ff7600f38
ettings.java
1317a6585c523b4543720f32e45821f35c7f161b 15-Jun-2015 Dianne Hackborn <hackbod@google.com> am d5111d46: am 4169b628: am 285cb414: Merge "Fix issue #21813831: Need API for asking to be added to power whitelist" into mnc-dev

* commit 'd5111d46d6589921c3ad3d7ee6771ccc0e257f8f':
Fix issue #21813831: Need API for asking to be added to power whitelist
1958e5e7870579337f1d1d3e6c6fae096ba3abb9 13-Jun-2015 Dianne Hackborn <hackbod@google.com> Fix issue #21813831: Need API for asking to be added to power whitelist

Add the API. Clean up a few related things.

Change-Id: I190adad1812f36f6095b98a1001fedb94874e8b5
ettings.java
f8d6ce6aab07a83d99b50147aac464205eddd528 14-Jun-2015 Svetoslav <svetoslavganov@google.com> am 13fb3353: am 281c8389: am 6d977832: Merge "Remove bookmarks provider and associated permissions - framework" into mnc-dev

* commit '13fb33535f93c8cd49650b398f5728938f90933b':
Remove bookmarks provider and associated permissions - framework
6d9778328a3c3c9da525870fff606af8ac5e9529 14-Jun-2015 Svetoslav <svetoslavganov@google.com> Merge "Remove bookmarks provider and associated permissions - framework" into mnc-dev
7efeb10f6f0fde30b7f77456e89d08205d3d3367 13-Jun-2015 Adam Lesinski <adamlesinski@google.com> am f667a062: am 30ad8de5: am cd9d7b7b: Merge "App Standby: Convert constants to Settings.Global" into mnc-dev

* commit 'f667a062e91e0312af1267ee08a6ce9472510379':
App Standby: Convert constants to Settings.Global
a6232df053cdc2df9d8a1d97a5c81d55cce7a1e2 12-Jun-2015 Adam Lesinski <adamlesinski@google.com> App Standby: Convert constants to Settings.Global

Use settings instead of hardcoded constants, and listen for their changes.

Bug:21640379
Change-Id: Id8305bb234f93f7c64c1a5e82e26b31504624324
ettings.java
bfa216ac261dd3c5035ad38795650ce5f4ce6fb7 05-Jun-2015 Svetoslav <svetoslavganov@google.com> Remove bookmarks provider and associated permissions - framework

Change-Id: I7f5a2f14a12da473f05a5075d98e762f8f8ed970
rowser.java
64bf0f000cfd5103167e28ad8b214791ec6c3f51 11-Jun-2015 Adam Lesinski <adamlesinski@google.com> am 3189d8db: am 6643da95: am df85c12b: Merge "Doze: Use Settings.Global.DEVICE_IDLE_CONSTANTS instead of hardcoded constants" into mnc-dev

* commit '3189d8db75128142d1a8651ca60e9304fb214057':
Doze: Use Settings.Global.DEVICE_IDLE_CONSTANTS instead of hardcoded constants
dfd93c69c08bf0bd0c7a631b27c50a51096c9727 11-Jun-2015 Zheng Fu <zhengfu@google.com> Merge "Revert contact metadata_sync constants." into mnc-dev
31c05d13612205f6a48460d23135695b267e506c 10-Jun-2015 Adam Lesinski <adamlesinski@google.com> Doze: Use Settings.Global.DEVICE_IDLE_CONSTANTS instead of hardcoded constants

This will allow gservices to tweak the settings and experiment
with different values for various doze constants.

The values are encoded in a string as a key=value list. Ex:

inactive_to=5000,idle_factor=0.01

Bug:21640379
Change-Id: Ie98a0e4893f9b46a64d961d6c5c5169b8b8ad742
ettings.java
ceebac31ce6ac6f1fe93c840a8aeb2dfdbbb4dda 11-Jun-2015 Jason Monk <jmonk@google.com> am 4ef0beb6: am 5bda8f4e: am 253ee76d: Merge "Add action for reaching ignore battery optimizations" into mnc-dev

* commit '4ef0beb6ae3a7671845454b833d7046fcb23283e':
Add action for reaching ignore battery optimizations
cf1e2f03dfe3191c06513fe64faa8b76ead7c2a0 11-Jun-2015 Ben Kwa <kenobi@google.com> resolved conflicts for merge of 3aff4fc6 to master

Change-Id: Id816d859f929de3bd0328ef3a67e2bef9fadf28b
1ed73199953ecd38af5be83c46ff4d3b6a49ffbf 10-Jun-2015 Zheng Fu <zhengfu@google.com> Revert contact metadata_sync constants.

Bug:20553119
Change-Id: Ib6cb620a4b9b72af267423feb6d5c2e5961edf49
ontactsContract.java
287b889f93abc830fad59607072f5f4b7d674c8a 10-Jun-2015 Jason Monk <jmonk@google.com> Add action for reaching ignore battery optimizations

Bug: 21375688
Change-Id: I1477192371aae2f3497fd49ad704de183ed836a3
ettings.java
c783a5e762b0c4925756b8ca273eb26aab5e7985 10-Jun-2015 Ben Kwa <kenobi@google.com> Merge "Enable apps to exclude their own roots from the DocumentsUI roots list." into mnc-dev
77797400ec103b1691e1c3fa602c329b49ac18ca 30-May-2015 Ben Kwa <kenobi@google.com> Enable apps to exclude their own roots from the DocumentsUI roots list.

- Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra)
- Add code to DocumentsActivity to cache the providers of the calling
app if EXTRA_EXCLUDE_SELF is set on incoming Intents.
- Add code to RootsCache to exclude roots from the calling app.
- Add code to allow only system apps to use EXTRA_PACKAGE_NAME.

Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
ocumentsContract.java
50ef8f5eb61c8880df59c68c4b3ce16d0284effe 10-Jun-2015 Zheng Fu <zhengfu@google.com> Merge "un-hide raw_contacts.backup_id and expose metadatasync to system."
7997bee366a82d7577ec9caa714c8e84537fcd7b 10-Jun-2015 Zheng Fu <zhengfu@google.com> un-hide raw_contacts.backup_id and expose metadatasync to system.

Bug:18930508
Change-Id: I37eb7ca41416becb549ebe5b1986925952a943c9
ontactsContract.java
d880c4bc1e4dc953c62cac4aa8f306cd51b06cf4 10-Jun-2015 Xiyuan Xia <xiyuan@google.com> am c7a1d5d6: am 000d5339: am 12149b69: Merge "Add setting for assistant" into mnc-dev

* commit 'c7a1d5d6e23f1cc0fbe2fb277395792cd6ee1657':
Add setting for assistant
e6de8b9ad4e646fc741b4907b86f1b5a5532257d 07-Jun-2015 Xiyuan Xia <xiyuan@google.com> Add setting for assistant

- Add assistant setting in Settings.Secure;
- If the assistant setting is missing, start assistant as current behavior;
- If the setting is present, start assistant use the setting value;

Bug:20210110
Change-Id: I946fbb504452e445879ad688130a1570b857b9c5
ettings.java
1c4de6a1a4e0d5182e0ee3fb858b09d0b07f5898 08-Jun-2015 Etan Cohen <etancohen@google.com> am dd8ed093: am 03609df3: am 76316977: Merge "Update documentation of CARRIER_PRESENCE & bitmasks." into mnc-dev

* commit 'dd8ed09397cb3bcbc89b1864543854dc027c68c8':
Update documentation of CARRIER_PRESENCE & bitmasks.
e4dc7e1ac39bb67d27c38076f1e616cac957459f 08-Jun-2015 Etan Cohen <etancohen@google.com> Update documentation of CARRIER_PRESENCE & bitmasks.

Bug: 21572292
Change-Id: If4727e7c18ce94f7c715ac91d61456ff0de10001
ontactsContract.java
8a3188e8ea63ea646f43524c5b632e214da9c1c9 08-Jun-2015 John Spurlock <jspurlock@google.com> am 202dea41: am 5e73a085: am 20ac61b8: Merge "Zen: New user flow for requesting DND access." into mnc-dev

* commit '202dea4125f189e242da71c1378699321882671b':
Zen: New user flow for requesting DND access.
20ac61b8c0abd5af4ce32707e01cc1a501cbb7f0 08-Jun-2015 John Spurlock <jspurlock@google.com> Merge "Zen: New user flow for requesting DND access." into mnc-dev
7c74f78a85283912d7239214024ccca702622f21 04-Jun-2015 John Spurlock <jspurlock@google.com> Zen: New user flow for requesting DND access.

- User flow is now similar to requesting access to notification
content, namely prompting the user to visit a settings page
for enabling/disabling apps access.
- New ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED intent
for apps to listen to this state change.
- Removed obsolete request method and associated internal callback
aidl.
- Added new android.permission.ACCESS_NOTIFICATION_POLICY permission
for apps to include as a signal that they want to request this access
(and therefore appear in the list on the settings page).
- Improve javadocs, outline the user flow in NotificationManager#isNotificationPolicyAccessGranted
and link to this method elsewhere.
- NoManService now persists the user-enabled package list across reboots
and does so per-user.
- Rename public settings intent to correspond with the noman api.

Bug: 21621663
Change-Id: I72cbc21cd736e6a157b6be5d1d0ba0b4a8e7ef4e
ettings.java
4045d24971fea4f1506ac8f16d4deeb76ac415fe 27-May-2015 Zoltan Szatmary-Ban <szatmz@google.com> Introduce Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN

This setting controls whether WiFi configurations created by a Device Owner app
should be locked down (that is, editable or removable only by the Device Owner).

Bug: 21427528
Change-Id: I0f8fb72bf9da1597e08d3dfc631d37b6b4178ff5
ettings.java
d40a83543a67a911b5dcfbb8d164cea0c5285a78 06-Jun-2015 Etan Cohen <etancohen@google.com> Merge commit 'bff7b32' into merge
7339bbaca004353fc6a13ca4469ebb9db9799eb0 05-Jun-2015 Johnson Hsieh <johnson@google.com> am 38e36f12: am 81188176: am 997f3cca: Merge "Fix build: documentation error in AlarmClock.java." into mnc-dev

* commit '38e36f1210296bc799d3b3800f5c64691898c3da':
Fix build: documentation error in AlarmClock.java.
d6e6bbdbf3b6bb203b4ca1da67bd3ca958bfab26 05-Jun-2015 Johnson Hsieh <johnson@google.com> am 997f3cca: Merge "Fix build: documentation error in AlarmClock.java." into mnc-dev

* commit '997f3ccad33394fabe62a6a388e701e07a52e408':
Fix build: documentation error in AlarmClock.java.
bcc1ff6726fe88396283f27fca8dce1ad56eed97 05-Jun-2015 Johnson Hsieh <johnson@google.com> Fix build: documentation error in AlarmClock.java.

Change-Id: I3f64df1857c516d4c6a4ed56094a27f489eddef3
larmClock.java
1ddd35c45444d7aa865482f57cc5f61a1642aa8e 05-Jun-2015 Johnson Hsieh <johnson@google.com> am 01f77af0: am 37750c28: am 6c72febd: Merge "Updates AlarmClock intent API." into mnc-dev

* commit '01f77af0480a07e1a6420d9d9d7efaa52b5a933d':
Updates AlarmClock intent API.
f6331ad24972bd6964decb0495e80d4237bb77ee 05-Jun-2015 Johnson Hsieh <johnson@google.com> am 6c72febd: Merge "Updates AlarmClock intent API." into mnc-dev

* commit '6c72febd3526cc460b62926302fbcde1d38d42e5':
Updates AlarmClock intent API.
1ef714a28491962286a04f5ca45b9dd7ae580659 02-Jun-2015 Johnson Hsieh <johnson@google.com> Updates AlarmClock intent API.

Changes to the AlarmClock intent API based on feedback from Alarm team:

1. s/VOICE_CANCEL_ALARM/DISMISS_ALARM/g - "Cancel" is a bit unclear, so we're
changing it to "dismiss". Also, remove "VOICE_" since we should also add
support for this in multi-modal.

2. Removed DELETE_ALARM - we will likely not complete this for Android M.

3. Removed ALARM_SEARCH_MODE_NONE = "none". Instead, if
EXTRA_ALARM_SEARCH_MODE is missing (and alarm data URI is not given), then:
* If exactly one active alarm exists, it is dismissed.
* If more than one active alarm exists, the user is prompted to choose
the alarm to dismiss.

4. Add ALARM_SEARCH_MODE_LABEL, which allows searching for alarms by a
(partially) matching label.

5. Add SNOOZE_ALARM for snoozing an alarm, with optional
extra EXTRA_ALARM_SNOOZE_DURATION.

Change-Id: I39502532e54d5f0fe51a8545a4c586615f5e5e89
larmClock.java
bff7b32198866c8a165c037a9b57173a38b0fa26 04-Jun-2015 Etan Cohen <etancohen@google.com> Merge "Remove the EABContract and use ContactsContract." into m-wireless-dev
4bb01f1b1118a6da93b5d62a53d5ac98ae94c1f4 03-Jun-2015 Jorim Jaggi <jjaggi@google.com> am ecfeefb4: am f7f90276: am 7d01d2c6: Merge "Fix API review: Camera prewarm" into mnc-dev

* commit 'ecfeefb483a7a7ab33aae22ae85ccbdaa3a68522':
Fix API review: Camera prewarm
lock device orientation during app compatibility test
Fix reconfigure & setPremult alpha handling
Unflip TextureView getBitmap readback
Handle error states when refreshing accessibility node
db97569ef831ce080c9689364bd960e620af50a9 03-Jun-2015 Jorim Jaggi <jjaggi@google.com> am 7d01d2c6: Merge "Fix API review: Camera prewarm" into mnc-dev

* commit '7d01d2c6cfcdfad74735619ab95f8396be54dc0f':
Fix API review: Camera prewarm
lock device orientation during app compatibility test
Fix reconfigure & setPremult alpha handling
Unflip TextureView getBitmap readback
Handle error states when refreshing accessibility node
7d01d2c6cfcdfad74735619ab95f8396be54dc0f 03-Jun-2015 Jorim Jaggi <jjaggi@google.com> Merge "Fix API review: Camera prewarm" into mnc-dev
df336c9064de2ba70a9b97f554d6079c1e4fc7d1 02-Jun-2015 Brian Attwell <brianattwell@google.com> am 6b37b0df: am 03c818b5: am b36ad5dc: Decouple ProviderStatus & internal provider state

* commit '6b37b0df1102f0f7f3336638a68defba197d1910':
Decouple ProviderStatus & internal provider state
8d67e2db1c67ff5e67a7c5feaea27bd67ca3b019 02-Jun-2015 Brian Attwell <brianattwell@google.com> am b36ad5dc: Decouple ProviderStatus & internal provider state

* commit 'b36ad5dc6bb6218aeabca17197001ac0a942219a':
Decouple ProviderStatus & internal provider state
b36ad5dc6bb6218aeabca17197001ac0a942219a 29-May-2015 Brian Attwell <brianattwell@google.com> Decouple ProviderStatus & internal provider state

Bug: 21090207
Change-Id: I7e93e36ad0c0d667ac56983c76acb1b97bd8755c
ontactsContract.java
d944986fbdb3d45fab9ae4120af76ca4f6b0909c 29-May-2015 Jorim Jaggi <jjaggi@google.com> Fix API review: Camera prewarm

Let the intent receiver of a camea launch intent declare a prewarm
service instead of sending broadcasts.

Bug: 21347653
Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
ediaStore.java
e9a4545d06103d3110ec8f918329c29716a2d450 28-May-2015 Nancy Chen <nancychen@google.com> am 8f1f3153: am ff29b964: am f279341a: Merge "Update docstrings for VoicemailContract to be more descriptive." into mnc-dev

* commit '8f1f3153af0463e8898ab4e24a379b42cd56ed36':
Update docstrings for VoicemailContract to be more descriptive.
d5905268e7a37f990ae313e716c28bbde4bc4eb5 28-May-2015 Nancy Chen <nancychen@google.com> am f279341a: Merge "Update docstrings for VoicemailContract to be more descriptive." into mnc-dev

* commit 'f279341a9170c0158647a5b449d0f5d44e2e830d':
Update docstrings for VoicemailContract to be more descriptive.
a042e6c74e66674379439fd082efa5a0068edcc1 28-May-2015 Nancy Chen <nancychen@google.com> Update docstrings for VoicemailContract to be more descriptive.

Bug: 21343781
Change-Id: I221f61d4e9306a92c736a12b2cff3d9fccebdc47
oicemailContract.java
56921698e0be7b2da4963c8b5c04a6dd32dfb31c 22-May-2015 Bing Gao <w20090@motorola.com> Remove the EABContract and use ContactsContract.

Change-Id: Ib53d5fe99d2caaca78a4a669b11b0bdbdadcfe32
ABContract.java
109e9c449d5a0070df793c63383e474a03242ba5 22-May-2015 Etan Cohen <etancohen@google.com> Merge commit '93bbf27' into merge
6cb5fcaad143227002bd4d00b1974e126d9a8090 22-May-2015 Etan Cohen <etancohen@google.com> Merge commit '35105ee7' into merge
f6431d841e1423a2230b088873a8789a51a19b53 22-May-2015 Nancy Chen <nancychen@google.com> am d12eb353: am 3dd59bfb: am 769832d1: Merge "Fix phone account component name for voicemail status entries." into mnc-dev

* commit 'd12eb3531c38c8e222c386ec988df7359c81bf01':
Fix phone account component name for voicemail status entries.
769832d11163abaa8a355650e796c2e39d7e0f3d 22-May-2015 Nancy Chen <nancychen@google.com> Merge "Fix phone account component name for voicemail status entries." into mnc-dev
4924a31b181b231931a026f1f6de5610c4881dd9 19-May-2015 Nancy Chen <nancychen@google.com> Fix phone account component name for voicemail status entries.

Currently was using toString(), switch to "flattenToString" so it is
consistent with the call log.

Bug: 20954214

Change-Id: Ia9ed67bf463e4a2d4d9a02e00243d49238be17fe
oicemailContract.java
e85a3e5458be8ff1e47b5a04b4492eb4d284236c 21-May-2015 Etan Cohen <etancohen@google.com> am 33a95f93: am 14c60bb1: am 466503d0: Merge "Add Carrier Presence to CP2: Phone" into mnc-dev

* commit '33a95f93ca4856032eef804cfe97a798c6df6748':
Add Carrier Presence to CP2: Phone
466503d0bd3a128f6d2f22a8f040d508c1b4854b 20-May-2015 Etan Cohen <etancohen@google.com> Merge "Add Carrier Presence to CP2: Phone" into mnc-dev
05ee17b973f172054e3f7b8183227c7fe22e21ba 20-May-2015 Brian Attwell <brianattwell@google.com> am 258a6b62: am afe2b09c: am 7d383b92: Hide ProviderStatus and Authentication APIs

* commit '258a6b62e6d41e502a85c4753b93a91be5333fb4':
Hide ProviderStatus and Authentication APIs
7d383b9271863d0799889374329a08731fe47550 15-May-2015 Brian Attwell <brianattwell@google.com> Hide ProviderStatus and Authentication APIs

Bug: 21090207
Change-Id: I27b604b9c849e1aad8289c517f5e50c5d0faae0f
ontactsContract.java
8c9c5a1dfd397b88492af52ad54767a5f7dd4739 19-May-2015 Jorim Jaggi <jjaggi@google.com> am 0f9d3152: am 06ac707d: am c6767354: Merge "Add setting to disable assist data (1/2)" into mnc-dev

* commit '0f9d315217ebeb933f5f6b79d22e03b2c0c889ae': (30 commits)
Add setting to disable assist data (1/2)
Make all icon fields & extras sent to listeners backward-compatible.
Revert "Fix IMMS#mInputShown state inconsistency."
Fix bug with jobservice context giving wrong value
camera2: Fix work-profile eviction handling.
Fix missing break in Icon class
Fix post dial for remote connections
Fix build: udpate parser factory method
Don't keep LayoutlibCallback reference.
Adjust lockscreen style to spec
[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib.
Change the location of Brandmaster statement file.
Revert "Update IME focus when the active view is losing the focus."
Revert "Icon support comes to Notification."
Fix icon-related crash.
Don't display the "no Internet access" prompt on captive portals.
Rewriting should fail when any paths are null.
Ignore abandon after install relinquished.
Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
Fix crash in setup wizard
...
9d91083034654b37461c891308a1d426054170a8 19-May-2015 Jorim Jaggi <jjaggi@google.com> Add setting to disable assist data (1/2)

Bug: 20944446
Change-Id: I8050df3177b6d540829c3f0989a4e4b1381c87ec
ettings.java
7bd553fc119e12a64dccce7b2846ec76a3478353 16-May-2015 Anthony Lee <anthonylee@google.com> Add Carrier Presence to CP2: Phone

Carrier Presence (RCS-based) is required for IMS-based telephony
services: VoLTE, WFC, and VT (Video Telephony). Public API in the
form of Presence column is added to Phone. Initial bit-field is
defined for for VT capability.

Change-Id: Ice78f895acf89a91f7478115e64caeb8d26f5456
ontactsContract.java
856524f5738798f6c3c2ba08fd8478a66df60aa4 15-May-2015 Svet Ganov <svetoslavganov@google.com> am 32e15104: am 9df1411c: am 4e76ee07: Merge "Fix easter egg setting validator to accept valid values" into mnc-dev

* commit '32e15104e2b0cad23fa96a881f4cab849dd92f25':
Fix easter egg setting validator to accept valid values
b1918a05684ee11073a6ced379a3cffb9f4007c4 15-May-2015 Svet Ganov <svetoslavganov@google.com> Fix easter egg setting validator to accept valid values

bug:21188928

Change-Id: I5f6d445aad7231a907026c552c87f9cdfe024d32
ettings.java
4ec301faace5802797d860707d97cb29045a3ef4 14-May-2015 Svet Ganov <svetoslavganov@google.com> am 59a49c03: am a82e4878: am 67b7ec28: Merge "Access mock location is no longer a runtime permission - framework" into mnc-dev

* commit '59a49c0309e9cec01e33be07de74e3c530efa07f':
Access mock location is no longer a runtime permission - framework
67b7ec28872dcb0ba09ef01bb87f7d558cbd19fc 14-May-2015 Svet Ganov <svetoslavganov@google.com> Merge "Access mock location is no longer a runtime permission - framework" into mnc-dev
f7e9cf4fb48ea80cbc5088204ac3f898109623f7 13-May-2015 Svet Ganov <svetoslavganov@google.com> Access mock location is no longer a runtime permission - framework

The access mock location is no longer a runtime permission. It is a
signature protected one that apps cannot get but the fact they request
it means they want to inject location into the system. Now the user
gets to choose the current mock location app in developer options from
the apps that request the mock location permission. The access to mock
location is no longer guarded by the permisson but from a new app op
which is off by default and the settiings UI sets it to enabled only
for the currently selected mock location app.

bug:21078873

Change-Id: I19e3f9dc7c7de82eab46b30fec1abfbca54a0e59
ettings.java
514cd028ca20fd88ac8f20f14d0ad2b66cede1b2 14-May-2015 Nancy Chen <nancychen@google.com> am 3b8d8f76: am e8f1f899: am 78250907: Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev

* commit '3b8d8f761a5d77b1ee85d777a75c638c38957061':
Add phone account field for voicemail to distinguish the source.
782509076bf4ca155865c465985a458e83d9b577 13-May-2015 Nancy Chen <nancychen@google.com> Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev
25c861fc423310292dfe9108410dff030483e606 13-May-2015 Jorim Jaggi <jjaggi@google.com> am 8fd6d671: am 0d56be54: am 131a19ee: Merge "Persist fingerprint names" into mnc-dev

* commit '8fd6d6715558a67130f8ff6d84c4c28ef80a874d':
Persist fingerprint names
ee77cebc1a54a0bee1a1d538db0abed00aa9cb4e 13-May-2015 Jorim Jaggi <jjaggi@google.com> Persist fingerprint names

Bug: 20469328
Change-Id: I8f4a988687bfb78c36cc7cf187103a9d93ed4535
ettings.java
16b84b0ab586309ee4d76301c2e578dbfbd7c7db 13-May-2015 Nancy Chen <nancychen@google.com> Add phone account field for voicemail to distinguish the source.

When inserting a voicemail, sometimes we will want to provide a phone
account so add relevant fields to voicemail object and builder.
Also added insertion logic for phone account details into
VoicemailContract.

Bug: 19990866
Change-Id: I8848cc86167a83f93248d809a6b0164f5ebf421f
oicemailContract.java
9de4cc5770524907c65790d840d7409b48f24cba 12-May-2015 Jason Monk <jmonk@google.com> 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
27bbb2d0a1c8a3bb38768511ac840c3388b0fb03 31-Mar-2015 Jason Monk <jmonk@google.com> Add control for double tap to wake setting

Bug: 16875464
Change-Id: Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e
ettings.java
35686d9bff9733bab9c5b461c4f52517b7ef47ea 09-May-2015 John Spurlock <jspurlock@google.com> am 22b5f2ac: am a7b4cc0d: am d89a6b2a: Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev

* commit '22b5f2ac11e769315fa47915217fe546e467cab5':
Zen: Simplify notification policy api, add zenmode api.
807749301fcbda892dfc8a5832b19acf7d1cf53b 07-May-2015 John Spurlock <jspurlock@google.com> Zen: Simplify notification policy api, add zenmode api.

- Remove the concept of a notification policy management token
in favor of a simple grant/deny per app. Currently, all requests
are immediately granted.
- Add zen mode getter/setting, limit to apps that have been granted
policy access.
- Add intent for zen mode changes.
- Public name for zen mode = "interruption filter", moved from
NotificationListenerService to NotificationManager.
- Add settings metadata for new DND access Settings screen.
- Add the split sender settings for calls vs messages to the public
Policy api.
- This change is meant to finalize the public api, persisting
granted app status and showing the user-visible dialog will be
done as followups.

Bug: 18298798
Change-Id: I511be98d69939f057c0c7dc1a6dfe63d1c468193
ettings.java
3629b4d65d924765c10ccb52a3975ae9fadf5aad 08-May-2015 Erik Kline <ek@google.com> am 3d85fcbf: am 15748d35: am a0698b61: Merge "Optionally add a default MOBILE request." into mnc-dev

* commit '3d85fcbfb01cc611697d79a18b91107ede563767':
Optionally add a default MOBILE request.
da4bfa81cdaccdc65d4812c81c892926cd0c9884 29-Apr-2015 Erik Kline <ek@google.com> Optionally add a default MOBILE request.

This enables persisting the mobile internet data connection, even
when Wi-Fi is enabled and serving as the default network (for faster
network switching).

Change-Id: I9d1512b3a8413c4f163c63d57e66bded017101e4
ettings.java
4cf355d209a2c159e2ab3e8e7405dec981ee5aa2 07-May-2015 Jeff Brown <jeffbrown@google.com> am 37d66f3b: am 8d605030: am ee2e8fbe: Merge changes from topic \'mr\' into mnc-dev

* commit '37d66f3bccdde61517308b8d034484abbe82c36b':
Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
Revert "Initial draft of new MediaRouter APIs."
486ebed8a4430aa5ab41d5dd9038feca571a788e 07-May-2015 John Spurlock <jspurlock@google.com> am b5eeb1ce: am 3fa46d4e: am c2ec3340: Merge "Add setting to mute wireless charging sound." into mnc-dev

* commit 'b5eeb1cec3fee63c6720c9e0c839aae1693270cd':
Add setting to mute wireless charging sound.
4244ce6a17063fd67fa174f7e551830c4df7d5bf 05-May-2015 Jeff Brown <jeffbrown@google.com> Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.

Bug: 20641986
Change-Id: I137dfc7ef41bdda2ce3e81c164767319c88159f1
ettings.java
c05c1aeedf44b7019b6749758dffc03df7632225 05-May-2015 Jeff Brown <jeffbrown@google.com> Revert "Initial draft of new MediaRouter APIs."

This reverts commit 1a937b04e63539cb1fab1bde601031d415c7156f.

Bug: 20641986
Change-Id: I035d945d1561e5fc7c914aa9362635f763c83cfd
ettings.java
51a871d48a9f4d912b2c12c29bbddcc5ec175825 06-May-2015 John Spurlock <jspurlock@google.com> Add setting to mute wireless charging sound.

Bug: 19538553
Change-Id: I1af971b35ae9eeb38d8ec38c57b22152095e2725
ettings.java
93bbf2774d934e08919f9996cf9daf402ddb9407 05-May-2015 Etan Cohen <etancohen@google.com> Add VT over IMS global setting.

Bug: 20750301
Change-Id: Ifb6e832aa67e50aef247a19ef7a7f64096a67dd6
ettings.java
03583a4ee386526c645a3f6a7c0f966a3ac637cc 04-May-2015 Tingting Wang <tingtingw@google.com> Add metadata_dirty column to ContactsContract.

Add metadata_dirty column to RawContacts table, to indicate
metadata related info has been changed.

BUG 20827851

Change-Id: I45ba90bb44f1d3e66b45facd9a643fc77e876e8a
ontactsContract.java
534a65d3b674c8c3b7a1ecae008db3750df52888 01-May-2015 Etan Cohen <etancohen@google.com> Add Carrier Presence to CP2: Phone

Carrier Presence (RCS-based) is required for IMS-based telephony
services: VoLTE, WFC, and VT (Video Telephony). Public API in the
form of Presence column is added to Phone. Initial bit-field is
defined for for VT capability.

Change-Id: Ice78f895acf89a91f7478115e64caeb8d26f5456
ontactsContract.java
096a75eb77982fac71127759dc866470e430c28f 30-Apr-2015 Zheng Fu <zhengfu@google.com> Merge "Add constants for ContactMetadataProvider."
35105ee76b6aeede3c076e61b4ed4e1457bdefae 30-Apr-2015 Etan Cohen <etancohen@google.com> Merge "RCS/Presence enabler." into m-wireless-dev
d60258f2d33214077a22c1a682944fa9e47c0461 30-Apr-2015 John Spurlock <jspurlock@google.com> Zen: New event condition data model.

- Add system condition provider for calendar event-based rules.
- Add stub condition provider for handling event conditions.
- Add various shared items to support new settings subpage.

Bug: 20064962
Change-Id: I6f5afe0f1444976f0dc6807048e0580e8a28070e
ettings.java
52881c8631118d5af46a2ffa538b76ce1ea61547 24-Apr-2015 Tor Norbye <tnorbye@google.com> Add permission annotations to the Browser

Change-Id: Ib75a846faa4f73468d4c7bc04092ec0e80414d67
rowser.java
c37ba12c9b045e3e4e3c3726438b712d76d175bf 24-Apr-2015 Zheng Fu <zhengfu@google.com> Add constants for ContactMetadataProvider.

Bug:20537162
Change-Id: I3febd47a16a440466b0bafe3cec17a6dfa1535e7
ontactsContract.java
6446d97942b6b5b3108d4c8e53410b38497049d8 23-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Add hidden class in framework for managing the default dialer settings"
014de02dd2e050c36f7e0d4f57690bd5d023b4f2 22-Apr-2015 Yorke Lee <yorkelee@google.com> Add hidden class in framework for managing the default dialer settings

Bug: 20303635
Change-Id: I7e7318086ade9531fb85f08b8e3f1f001ee0a8d9
ettings.java
6f909783e91113a7dc6b8532ed991356a0cb5e82 17-Apr-2015 Jason Monk <jmonk@google.com> Add constants for usage access settings

Bug: 20290386
Change-Id: I216ad25b94de739449941a8b4e965329fe324f66
ettings.java
20f14386b8b3b7171281882961fdb8c32d13ceca 21-Apr-2015 Tingting Wang <tingtingw@google.com> Add MetadataSync table to ContactsContract.

Sync adapter will modify MetadataSync table to cache the metadata_sync
data from server before it is merged into other CP2 tables.

BUG 20055193

Change-Id: I19d31fc19204444432212cc14c9650d41e075648
ontactsContract.java
f647832bd4ca9c083aa2748f2a21bc433cb26be3 17-Apr-2015 Jeff Brown <jeffbrown@google.com> Merge "Add support for disabling display scaling for development."
2a5f608e7a5765db3b91165dac5b6280b26da26c 19-Mar-2015 Casper Bonde <c.bonde@samsung.com> Add support for Bluetooth Sim Access Profile (2/4)

Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
ettings.java
d46747a1c64b6ca3282e8841833980ab91829436 16-Apr-2015 Jeff Brown <jeffbrown@google.com> Add support for disabling display scaling for development.

Added two new options to the wm command.

1. Set the screen size based on dips rather than pixels using the
current screen density.

eg. adb shell wm size 320dpx320dp

2. Disable automatic scaling of the contents of the display.
When combined with the previous command, this is useful for seeing
how the UI would behave if the screen remained at its current density
but changed physical size.

eg. adb shell wm scaling off

Bug: 19899223
Change-Id: I545f893ba4861494e995cf0457ebeba1050d28dc
ettings.java
31ce78c62e882ecb830dbd0826c0677994fd970e 16-Apr-2015 Zheng Fu <zhengfu@google.com> Add setting flag to enable contact metadata syncing in CP2

Bug:20269816
Change-Id: Ie0906c03d888f57bb0a09a2bebd7b161c797792e
ettings.java
4d18d6078c11b0e38806faadebb80ac34aa80f33 21-Mar-2015 Bing Gao <w20090@motorola.com> RCS/Presence enabler.

EAB content provider contract.
ABContract.java
1cf9b6bec12c027a0d551540a6e01f3ac2d0a9d4 10-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
ettings.java
62ad27e8649af674de1594eaf99e176c3e6d0c73 12-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Hide Voicemails.{insert, deleteAll, setStatus}

Bug:20162722
Change-Id: Idbd9a643c4870b48ee1230e344717f50507936d8
oicemailContract.java
55b97525f0f50857f1ab0acd2608053fd0f3416c 10-Apr-2015 Jay Shrauner <shrauner@google.com> Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
ettings.java
d05bd467ba191833522e5b78da54bc5eab7bab2c 19-Mar-2015 Casper Bonde <c.bonde@samsung.com> Add support for Bluetooth Sim Access Profile (2/4)

Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
ettings.java
5929b7b8f0d97ac30404ee699e4da7ad444314a9 14-Apr-2015 Zheng Fu <zhengfu@google.com> Merge "Add setting flag to enable new contact aggregator"
b218ff49fd2f6b53dcf6a740fba1550a986a25f8 14-Apr-2015 Zheng Fu <zhengfu@google.com> Add setting flag to enable new contact aggregator

Bug:20055573
Change-Id: I5482c4a028a1bec91461c495805c5378093ae776
ettings.java
cbcf902a4afbb449ae6ba3738d32d3ca1c5c4602 14-Apr-2015 John Spurlock <jspurlock@google.com> Merge "Zen: Support external condition providers."
e5a87c53a527e169c2ebc470ad338e52e73fd182 13-Apr-2015 Yorke Lee <yorkelee@google.com> Merge "Hide Voicemails.{insert, deleteAll, setStatus}"
39581cc16d3c44acc8f0881d8e63afe53acaa1c1 10-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Support external condition providers.

- Manage provider subscriptions for external condition providers
within ZenModeConditions.
- Move "is automatic rule active" check into common location.
- Add constant for external rule setting configuration page.
- Consolidate log tags.
- Reset rule snoozing on boot.

Bug: 20064962
Change-Id: Ida207dbf363f61e1727974e611f43f27c23accfb
ettings.java
1407d4c77732c7fad34c6b813d05771de6ed970f 13-Apr-2015 Jeff Sharkey <jsharkey@android.com> DocumentsUI roots can have settings.

Roots use a flag to indicate they have settings, and DocumentsUI
offers to launch towards someone who handles a new Settings intent.

Slight rename of browse intent for clarity.

Bug: 19993667
Change-Id: I86302ec1cfac5e435d8bc5701bdb85fb9b0dcbae
ocumentsContract.java
59d577a518333f4b4514315b6d10e8dba160abcd 12-Apr-2015 Jeff Sharkey <jsharkey@android.com> Browse mode for DocumentsUI, removed volume state.

The existing management mode is too specific, and requires that
storage backends add queryChildDocumentsForManage(), etc. Instead,
to offer more natural browsing support, add a new BROWSE_ROOT intent.

It behaves mostly like MANAGE_ROOT, except that it doesn't mutate
its Uris with setManageMode(), and it shortcuts straight to VIEW on
clicked documents.

It can be launched like this:

$ adb shell am start -a android.provider.action.BROWSE_ROOT
-d content://com.android.externalstorage.documents/root/8405-1DFB
-c android.intent.category.DEFAULT

Also rename a MetricsConstants to make it clearer, and don't
auto-mount all emulated volumes.

Fix bugs around parceling of DiskInfo/VolumeInfo. Method to resolve
the best description for a VolumeInfo, which might need to fall
back to DiskInfo.

Add back "removed" volume state so we send broadcast when a volume
is destroyed, matching the expected public API behavior.

Bug: 19993667
Change-Id: I13aff32c5e11dfc63da44aee9e93a27f4690a43f
ocumentsContract.java
7576a39b55a97ffbc0b36a0de2aed39889cb49c2 12-Apr-2015 Jay Shrauner <shrauner@google.com> Hide Voicemails.{insert, deleteAll, setStatus}

Bug:20162722
Change-Id: Idbd9a643c4870b48ee1230e344717f50507936d8
oicemailContract.java
b2278d65714c0dd0a6f94d1913db1ebc8bfc8b06 07-Apr-2015 John Spurlock <jspurlock@google.com> An update on Downtime.

The update is that Downtime is obsolete. Replaced by the
ability to define multiple named schedule calendars.

- Make changes to ZenModeConfig to properly model manual
and automatic rules.
- Refactor the zen mode helper (and supporting classes) to
properly handle / report multiple claims on zen mode.
The "manual" rule (specified by the user in the UI) vs
one or more automatic rules.
- Automatic rules are still backed by condition providers,
but the layering is now cleaner. ConditionProviders is now
completely generic, has no ties to zen mode.
- Specifically, the new layering for zen mode (below noman) is:
ZenModeHelper: Source of truth for zen state
ZenModeFiltering: Subhelper dedicated to filtering rules.
ZenModeConditions: Subhelper dedicated to managing automatic rules.
ConditionProviders: Underlying engine for reporting named boolean state.
- Migration story for users with existing downtime config, migrated
to a single new calendar named downtime.
- For users with no existing downtime, two default calendars are created
for weeknights + weekends (icu4j for all locales will be done in a followup).
- Remove obsolete DowntimeConditionProvider/NextAlarmConditionProvider and tracking.
- Clean up obsolete resources.
- Add common zen summary description string computation.
- Add proper noman wrappers for the new model.
- Change the semantics of the global zen setting. It is now read-only. Setters
must call noman, added a "reason" to all calls for better attribution.
- Update zenmodepanel + volumedialog to the new model.
- Display the one or more automatic rules in the new zen footer summary.
- "Snooze" the automatic rules when the user explicitly turns zen off.

Bug: 20064962
Change-Id: Idd9deb865a6035ad0cfae660198dccb517e6d7cc
ettings.java
a9e9578d73e2cd5bccb84ccbd76e68827e54a901 08-Apr-2015 Nancy Chen <nancychen@google.com> Merge "Hide and make systemapi visual voicemail-related apis."
1df9429b6b76710f8dd6458517d04feb7a63826e 07-Apr-2015 Nancy Chen <nancychen@google.com> Hide and make systemapi visual voicemail-related apis.

Since there are no third-party apps expected to be using the visual
voicemail related apps at the moment, best to keep these hidden for now.

Bug: 19236241
Change-Id: I86f622208efcc89fab523f03d2bb70c244cdf867
oicemailContract.java
25ff0646ca16060040ff68ad6d02422db96327e0 07-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Add Camera prewarm intent."
a86790bf23a98ede5fc0c29b996a5229e08181cd 03-Apr-2015 Jorim Jaggi <jjaggi@google.com> Add Camera prewarm intent.

Also adds a test app for testing this intent. In addition, the secure
camera gets launched in the background to fix jank while sending the
intent.

Bug: 20016619
Change-Id: I7bb7e22ddaf5dc67fc09b9e63e5f3d10fe8e3ee4
ediaStore.java
633bf5ca52536e1a009b21603e684b7e393df385 01-Apr-2015 Johnson Hsieh <johnson@google.com> Add VOICE_CANCEL_ALARM/VOICE_DELETE_ALARM intents.

This will be used by the Voice Interaction API. For details, see
https://docs.google.com/document/d/1_yRTbn-BxFi8Lc6bVmJ4r2dg3-05qUxf9yChiZXiiew/edit#.

Change-Id: Icf4371ff351298ef7c1158e5e2d35561fc6cef67
larmClock.java
b3006d38c6fdb964d9101f38e596e01de3591e56 03-Apr-2015 Barnaby James <bjames@google.com> Intents for Voice controlled settings actions.

Add new voice interaction intents for battery saver mode, airplane mode and do not disturb.

Change-Id: Id5bd4e4f23a798eef91d797ffcd17df482b30c08
ettings.java
552d56348f0e942d240b8de41581d49cc05113c0 04-Apr-2015 John Spurlock <jspurlock@google.com> Merge "Zen: Changes to support new automation settings sub-section."
8bd4f7b3d1c43aa54bac3fb205d6efdc776e2dbd 03-Apr-2015 Nancy Chen <nancychen@google.com> Merge "Include the source package in the voicemail URI."
092f038d502e49ae91db6f5af5a34344704fcae2 03-Apr-2015 Amith Yamasani <yamasani@google.com> Merge "Throttle jobs for idle apps"
b0ff32245cb6b51e43dd3ee40b86d683c62de2b9 04-Mar-2015 Amith Yamasani <yamasani@google.com> Throttle jobs for idle apps

First pass at delaying jobs from apps that are idle.

TODO: Throttle syncs
TODO: Provide a periodic point at which apps are checked for idleness.

Apps that switch to foreground process state are tracked by UsageStats
as an INTERACTION event that affects the last-used timestamp.

JobScheduler's logic for when an app is ready is trumped by the idleness
of the app, and only if the battery is not charging. When charging state
changes, we update the idle state of all the tracked jobs.

android package is whitelisted.

Bug: 20066058
Change-Id: I0a0acb517b100a5c7b11e3f435f4141375f3451f
ettings.java
7af10188c0525d5a3ab8a1883ce621fe4d333070 03-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Changes to support new automation settings sub-section.

Bug: 20064962
Change-Id: I1da5bd1f8ef52a070b8225da4b761979f290df77
ettings.java
fc746f8ac5ea74747a502d4a75161a46f9cb892d 03-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Changes to support new priority settings.

Bug: 20064962
Change-Id: Iac3444c0a55830d5e5459e26c2172d974db600d6
ettings.java
4f1163c83e79da52b2be7ff6b10163441895bc26 02-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Add a new level: alarms-only.

Like no-interruptions, but allows alarms.

Bug: 19260237
Change-Id: I36bf0a333362256c8e54cd83992cb46c3bcb7f69
ettings.java
096413da7227636473410d5d86176ff02bc36ea7 02-Apr-2015 Nancy Chen <nancychen@google.com> Include the source package in the voicemail URI.

This means that the source package can be determined without having to
query the database, thus making it easier to short circuit code on
voicemails that do not belong to a package.

Bug: 19236241
Change-Id: If9c3924a5365d5c3e87bff68609b5e7aee8eb218
oicemailContract.java
36711e0e2cee9181a328718a349454dbd834f4e2 02-Apr-2015 Etan Cohen <etancohen@google.com> Merge changes from topic 'mwd-merge-040115'

* changes:
Merge (manually) pag/209446: Increase allowed duration to connect to HOGP profile
Merge commit 'd91f193' into merge2
Merge commit '5718646' into merge2
Merge commit '7aa0345' into merge2
eb864d4000dacad94d5135a10ed7bdeb29f31881 01-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'd91f193' into merge2
14c9121e3c8f09c31f5de0d23c577263da665f02 12-Mar-2015 Santos Cordon <santoscordon@google.com> DO NOT MERGE Do not hide any call log entries when they are added.

When a call log entry is added, and it's phone account does not match a
currently registered one, we set it to hidden. This code was built for
the calllog restore case where call log entries would be hidden when
added if the original phone account wasn't also
present on the new device (where the restore is being performed).

We no longer do that so we're removing the code that sets any call log
entry to hidden.

-- Resubmitting since this change was lost to a merge conflict --

Change-Id: I1ef094d5a35063e8f89cd1ecb1e5a0b59361781c
allLog.java
bb251057fba1909152bef3e5e50f4bf70a245c14 01-Apr-2015 Santos Cordon <santoscordon@google.com> Merge "Do not hide any call log entries when they are added."
14c2ebc2a6fec96b2ce18e1466b52856e1524e4c 12-Mar-2015 Santos Cordon <santoscordon@google.com> Do not hide any call log entries when they are added.

When a call log entry is added, and it's phone account does not match a
currently registered one, we set it to hidden. This code was built for
the calllog restore case where call log entries would be hidden when
added if the original phone account wasn't also
present on the new device (where the restore is being performed).

We no longer do that so we're removing the code that sets any call log
entry to hidden.

-- Resubmitting since this change was lost to a merge conflict --

Change-Id: I1ef094d5a35063e8f89cd1ecb1e5a0b59361781c
allLog.java
607f1f09c3da3a52557394d2e764326a29151173 31-Mar-2015 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add IntentFilter auto verification"
7864e8e25ae35050ca91235bec3170d14a77f322 31-Mar-2015 Makoto Onuki <omakoto@google.com> Merge "Enterprise quick contact 1/2"
1040da1d4eb99fd2588e4c4d5b08b2e3fc0c7777 19-Mar-2015 Makoto Onuki <omakoto@google.com> Enterprise quick contact 1/2

Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. In that case we go through DPM
and have it launch QC on the managed profile, if the policy allows.

For now we use the same DPM policy as enterprise-caller-id to disable this.

Design doc: go/cp2-mnc-enterprise-dd

Bug 19546108

Change-Id: I831a8190ae902ae3b1248cce6df02e3a48f602d2
ontactsContract.java
ontactsInternal.java
b67cd46436d3ee88ee42820fca9a8fe3cd2dc497 31-Mar-2015 Ying Wang <wangying@google.com> Fix build.

private class SearchIndexablesContract.BaseColumns is extended by public
classes. We need to make it public too.

Change-Id: Id77575f7857020531b9d311ca5ba12c6462268a5
earchIndexablesContract.java
4fd8d4ab2aafe8ed73080408223e8b20a953cfc4 30-Mar-2015 Makoto Onuki <omakoto@google.com> Revert "Enterprise quick contact 1/2"

This reverts commit 75a0882b946df6de4775c9e54ca023ff54f3f678.

Change-Id: Ibe332885824b228bf1b1147d141c9395554ff67f
ontactsContract.java
ontactsInternal.java
27e13347344276f337d4289e3197f8ab7d5c74d2 10-Mar-2015 Fabrice Di Meglio <fdimeglio@google.com> Make Settings search API as a SystemAPI

See: http://b/19443752

Change-Id: I0148f187eec57a2734d8c04880a5950e9ec2b7b1
earchIndexableData.java
earchIndexableResource.java
earchIndexablesContract.java
earchIndexablesProvider.java
1c1b47125da018b44240739db75f8898e064a948 20-Nov-2014 Fabrice Di Meglio <fdimeglio@google.com> Add IntentFilter auto verification

The purpose of this feature is to prompt the Disambiguation dialog
to Users as less as possible.

- add the new "autoVerify" property to the IntentFilter class
- add new APIs to PackageManager:
verifyIntentFilter(int, int, List<String>),
getIntentVerificationStatus(String, int),
updateIntentVerificationStatus(String, int, int),
getIntentFilterVerifications(String)
for supporting IntentFilter verification
- add support for multi-user
- update PackageManager for IntentFilter verification:
basically when we are installing a new package, ask for verification
of all domains from the IntentFilters that have the "autoVerify" to true.
This means that the PackageManager will send a well defined protected
broadcast (with a new INTENT_FILTER_NEEDS_VERIFICATION action) to
an IntentFilter verifier to do the real job of verification.
We are passing in the broadcast Intent all the necessary data for
doing the verification. The PackageManager will receive as response
the result code of the domain verifications and, if needed, the list
of domains that have failed the verification.
- add a new INTENT_FILTER_VERIFICATION_AGENT permission that needs to
be set by an intent filter verifier to be considered as a trustable
party by the PackageManager.
- add also a new BIND_INTENT_FILTER_VERIFIER permission for securing
the binding between the PackageManager and a service doing the
intent filter verifications.
- add ResolveInfo filterNeedsVerification which is a boolean
to knows if the IntentFilter is of a type that needs a verification
(action VIEW, category BROWABLE, HTTP/HTTPS data URI)
- add new "domain-preferred-apps" / "d" dump command for listing the
prefered Apps for all domains
- add new "intent-filter-verifiers" / "ivf" command for listing the
IntentFilterVerifier used
- introduce the IntentVerificationService which is a basic service
for verifying IntentFilters. This service will send HTTPS requests
to the domain declared in the IntentFilter(s) for doing the
verification. This service has a low priority level so that it
can be replaced by a more sophisticated one if needed. This service
is updating the PackageManager intent verification states thru
the updateIntentVerificationStatus(...) API.
- update MockPackageManager

Change-Id: I0bfed193d0bf1f7c7ac79f6c1b160b7ab93b5fb5
ettings.java
75a0882b946df6de4775c9e54ca023ff54f3f678 19-Mar-2015 Makoto Onuki <omakoto@google.com> Enterprise quick contact 1/2

Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. In that case we go through DPM
and have it launch QC on the managed profile, if the policy allows.

For now we use the same DPM policy as enterprise-caller-id to disable this.

Design doc: go/cp2-mnc-enterprise-dd

Bug 19546108

Change-Id: I4840e7fad8a6a60249df07d993d26d03619650d4
ontactsContract.java
ontactsInternal.java
943eb8654ff64ad854adada782ab911421a649a0 26-Mar-2015 Adrian Roos <roosa@google.com> Add emergency assistance API and setting

Bug: 19841649
Change-Id: I5bc99df6d85eb84b253456e32ce52afd7592a95e
ettings.java
d91f19354d628e48577128f670afb0f5587e15e8 19-Mar-2015 Wei Wang <weiwa@google.com> Add API for BLE_SCAN_ALWAYS_AVAILABLE feature.

Change-Id: I83e966d4db076db367ded71bfb50c39e57568156
ettings.java
9aaaa1ebb383b5aeabbdb2afb9956130e6564071 08-Mar-2015 Ricky Wai <rickywai@google.com> Add RawContactsEntity.CORP_CONTENT_URI

Bug: 19551325
Change-Id: I7b2801e4a80ac5da1f1d53e41043657d07874ae6
ontactsContract.java
7b9a28c7f0a7b88ed1ea777edc05002d2d2b38b7 18-Mar-2015 Christopher Tate <ctate@google.com> Back up and restore the set of enabled IMEs

The restored set of enabled IMEs/subtypes is merged into the
current state of the system, rather than simply replacing it.
This is because we do not want to accidentally disable or
reconfigure something that the user is currently relying on.

There's a certain amount of repetitive activity here, rebuilding
the enabled-state data structures in a different format, but it's
important for maintainability that the restore code be able to
rely on the core InputMethodUtils implementation of reading/writing
the settings element.

Bug 19822542

Change-Id: If0104151b3526da6ecc669adde3119a239ecafeb
ettings.java
a6baa7748279b6a6d3212c5d7069fc585cc288b8 23-Mar-2015 Jay Shrauner <shrauner@google.com> Merge "Check for empty lookup keys in getLookupUri"
06d7e5301d0d60e153e6bed9ef7710abca19bec8 16-Mar-2015 Lorenzo Colitti <lorenzo@google.com> DHCP: Add a hidden setting to use the legacy DHCP client.

Change-Id: I5505bd2c20ddc895df0e9b176e1ed770ad74a3f4
ettings.java
ac1496a1c9d238d068d30b95f1b78aa66775e1db 18-Mar-2015 Ricky Wai <rickywai@google.com> Merge "Add Email.ENTERPRISE_CONTENT_LOOKUP_URI"
323b30e84904533917be8547a8c90783b92d16a9 27-Feb-2015 Ricky Wai <rickywai@google.com> Add Email.ENTERPRISE_CONTENT_LOOKUP_URI

Bug: 19550046
Change-Id: I56d8e5b3817a98e00d1f73555e10ac6b780e511e
ontactsContract.java
cac9a63cf1709ea86745e921609b847abfc73744 16-Mar-2015 Lorenzo Colitti <lorenzo@google.com> DHCP: Add a hidden setting to use the legacy DHCP client.

Change-Id: I5505bd2c20ddc895df0e9b176e1ed770ad74a3f4
ettings.java
bb41a5f6def031b99f5569b192425b9edbdce7cc 17-Mar-2015 Christopher Tate <ctate@google.com> Merge "Back up / restore spell checker configuration"
06cbaddb87cf1922eb437c4282590667f8f620d0 17-Mar-2015 Christopher Tate <ctate@google.com> Back up / restore spell checker configuration

Bug 19779845

Change-Id: Ib8382f0296f0726b64494d3b1fd8237e13adb540
ettings.java
6597e3435f8abfedbb9a4f1bfb10cc17ea7f38bf 17-Feb-2015 Christopher Tate <ctate@google.com> Notification listener backup & restore

We now back up & restore the set of enabled notification listeners. Post-
restore, a listener that had been enabled on the ancestral device will be
enabled on the current device as soon as it's installed, matching the
user's previous configuration. After this has happened the enable/disable
state for that app is not "sticky"; disabling it again will work as
expected.

The infrastructure for accomplishing this is general: it can be leveraged
by any ManagedServices derivative. There's a bit of extra wiring in the
settings provider to support the restore-time information flow as well.
This is because ManagedServices -- like many other parts of the system --
monitors writes to the settings provider and does work in response to new
writes of the elements that it cares about. Unfortunately this means that
there is no way to use the BackupAgent's restoreFinished() hook to post-
process the restored data: by the time it is run, the ManagedService's
observers have already executed and culled any unknown components from
the description that was just pushed into settings.

As of this patch, the settings provider's restore logic knows that a
particular settings element will require a message to interested observers
about the restore-driven change. The message is delivered as a broadcast,
and is sent after the new value has been committed to the settings db.
Adding other system ManagedService handling that parallels this will only
require adding a new corresponding entry to the table of individual settings
for which the relevant "this settings element is being restored" broadcast
is sent, found in SettingsHelper.

(It isn't sent for all settings elements because very few settings elements
have semantics that require it; 3rd party code won't be running yet during
platform restore anyway; and sending up to hundreds of broadcasts during
setup & restore is far from ideal.)

Bug 19254153

Change-Id: Ib8268c6cb273862a3ee089d2764f3bff4a299103
ettings.java
4cd92835be0a4ed2b32b398b0fa9d0d74dfb8b19 15-Mar-2015 Vinit Deshpande <vinitd@google.com> Fixing build after merge from mirror-m-wireless-internal-release

There have been few breaking changes

1. TelecomManager.getCallCapablePhoneAccounts is not hidden anymore
2. CAPABILITY_VIDEO_CALLING is not hidden anymore
3. mPhoneStateListener doesn't exist anymore, so it is commented out

Change-Id: I22221eda73a20c745e316d9d56f914ab17b83533
allLog.java
02ce8d8f339f8302a585408b0f3fc498981ebf5e 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Helper methods for voicemail status provider."

merged from goog/mirror-m-wireless-internal-release
8b97ee3 Helper methods for voicemail status provider.
a4985a7952173cd22d238c6a594582a4a1ff7686 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Hide calllog entries for unregistered phone accounts"

merged from goog/mirror-m-wireless-internal-release
2d2bc16 Hide calllog entries for unregistered phone accounts

Change-Id: I39b60b86fca9c1b74d750ab251cc26b3ce5f5650
7b3f6a95a885637faa176410113d17dd8af50137 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Add frameworks classes and methods necessary for VVM syncadapter structure."

merged from goog/mirror-m-wireless-internal-release
7c07dfa Add frameworks classes and methods necessary for VVM syncadapter structure.
3b444db1d6cbc539a3c4ed653e4e675eb42d63bf 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Add PHONE_ACCOUNT_ADDRESS to the call log DB."

merged from goog/mirror-m-wireless-internal-release
204f80e Add PHONE_ACCOUNT_ADDRESS to the call log DB.

Change-Id: I363403bf73b202f03b3f706a823b0f142183a695
aae695b50d2ec564b1e81ee686544cb6321a90ca 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Revert "Add PHONE_ACCOUNT_ADDRESS to the call log DB.""

merged from goog/mirror-m-wireless-internal-release
da35a2b Revert "Add PHONE_ACCOUNT_ADDRESS to the call log DB."

Change-Id: I4dc4865d58e4b68858c7767f201e267a72dc236b
4447a5e2c73893bcda00a81802aef3a18e092a88 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Add PHONE_ACCOUNT_ADDRESS to the call log DB."

merged from goog/mirror-m-wireless-internal-release
40c6f2b Add PHONE_ACCOUNT_ADDRESS to the call log DB.

Change-Id: I91b487137a2da621b496bf5f135fe19bb0a6ca62
79baf378d22d9d932b9bee98862c36ac67dd5713 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Add multi-SIM fields to VoicemailContract.Status."

merged from goog/mirror-m-wireless-internal-release
109dabd Add multi-SIM fields to VoicemailContract.Status.
7e05b6770c20612428c888dc4752034f92f94812 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "WFC configuration: add carrier and device support configurations."

merged from goog/mirror-m-wireless-internal-release
9c8f21b WFC configuration: add carrier and device support configurations.
1ebaff2a4be5b38da73d86befca4c6c08d507162 12-Mar-2015 Jay Shrauner <shrauner@google.com> Check for empty lookup keys in getLookupUri

Bug:19588470
Change-Id: I5379e0b16dbec7692ef86ca8a21b0eae2aa47819
ontactsContract.java
56027514f37e3184aeb7830237d753ad720df5ac 12-Mar-2015 Santos Cordon <santoscordon@google.com> Do not hide any call log entries when they are added.

When a call log entry is added, and it's phone account does not match a
currently registered one, we set it to hidden. This code was built for
the calllog restore case where call log entries would be hidden when
added if the original phone account wasn't also
present on the new device (where the restore is being performed).

We no longer do that so we're removing the code that sets any call log
entry to hidden.

Change-Id: I26ee27369e94c73446f7553f84cd4d8d4f2ff658
allLog.java
8b97ee3c4830d44d3d4bbdf29bd9a3543f16e565 05-Mar-2015 Nancy Chen <nancychen@google.com> Helper methods for voicemail status provider.

Added method to make it easier to insert into the voicemail status
table. Also takes in a phone account for future multi-SIM support.

Remove VvmSyncService class in favor of moving most of the code to
OmtpVvmSyncService.

Bug: 19236241
Change-Id: I5d9def276fbdbc6f825fb35e9fa31bfc3cead1ba
oicemailContract.java
73f43da5090b77467b4a7eed30225955f04ab9cc 10-Mar-2015 Ricky Wai <rickywai@google.com> Merge "Add Phone.ENTERPRISE_CONTENT_URI"
dbbeeb3f44793798f129f25eb3e62f4cfe709d26 19-Feb-2015 Svetoslav <svetoslavganov@google.com> Remove unused settings constants from the SDK (framework).

The settings constants for various volumes do nothing and are
used by nothing since API version 2. These are however backed
up in the cloud which is a waste of resource. This change
removes these constants from the SDK while keeping them hidden
to avoid breaking released apps and also prevents unnecessary
backup.

Change-Id: I2e91863115f5a4b997a14f8d0f57b4dc9689cfab
ettings.java
edb8450b567cd7ae9f13255960b46f155865b163 09-Mar-2015 Makoto Onuki <omakoto@google.com> Cache photo URI too in calllog (contract)

Enterprise phone lookup returns special photo URLs for corp contacts, which
can't be obtained just with contact IDs. So we need to cache the URIs too and
otherwise pictures sometimes don't show up.

Bug 19546108

Change-Id: Iffd5ed16527a143ea55e40e42667e7d0c16d814a
allLog.java
c615c6fc9caca76cd96998f86e1f1e6393aeadbb 02-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate methods to be called from overrides with @CallSuper

Change-Id: Ibc587c2aaee9f3e7f448079f72a75459fe4e15e7
ocumentsProvider.java
2d2bc16f2d2f155a7cf199f06f6149ed404306ec 28-Feb-2015 Santos Cordon <santoscordon@google.com> Hide calllog entries for unregistered phone accounts

Cherry-picked from master

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
allLog.java
54b804fa742e44a0bc7dccc2784b3322c7b92f19 05-Mar-2015 Brian Attwell <brianattwell@google.com> Merge "Prioritize regular names over phonetic names. P1"
643db51d4ec17575e6b830ae064be66f59450fae 05-Mar-2015 Brian Attwell <brianattwell@google.com> Prioritize regular names over phonetic names. P1

Bug: 19587274
Change-Id: I503c0fff6da30b9f1d6b6cbeaedfc4d9314f8a00
ontactsContract.java
fa5bbaf6f625ed73797d4dbd9d09baacf622f380 26-Feb-2015 Ricky Wai <rickywai@google.com> Add Phone.ENTERPRISE_CONTENT_URI

Bug: 19550047

Change-Id: I0c780c27913d2c005be4f1ac033cba9a479a0b4f
ontactsContract.java
c66f3baa42b8a732952abf1967c68f77d3e26131 28-Feb-2015 Santos Cordon <santoscordon@google.com> Hide calllog entries for unregistered phone accounts

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
allLog.java
7c07dfa5529dd8049a526de227cae8abc2f72226 12-Feb-2015 Nancy Chen <nancychen@google.com> Add frameworks classes and methods necessary for VVM syncadapter structure.

+ VvmSyncService is the base class for all visual voicemail sync
services that run the visual voicemail sync adapter. This class handles
writing to the voicemail provider and receiving changes from the
voicemail provider.
+ AuthenticatorService is a stub class for visual voicemail sync
adapters that do not use an Account (all sync adapters must have an
account associated with them, so a stub account is necessary).
+ Voicemail parcelable object to pass voicemail data around easier. This
is mostly copied from VoicemailProviderDemo
+ Extra helper methods in VoicemailContract to help insert and delete
from the voicemail provider.
+ Add multi-sim fields to VoicemailContract.Voicemails

Bug: 19236241
Change-Id: I603e3e5908704cd043e46221680d8bb600ed2cf4
oicemailContract.java
204f80e0aac4fed8e4e29406b3a9eb689b9b5287 12-Feb-2015 Santos Cordon <santoscordon@google.com> Add PHONE_ACCOUNT_ADDRESS to the call log DB.

Also update some javadoc comments.

Change-Id: If0f8fa0148b3aed74ed434b1017a279ce29b3842
allLog.java
da35a2b477ea6fc1ad0edc067cb653573ed573ba 17-Feb-2015 Santos Cordon <santoscordon@google.com> Revert "Add PHONE_ACCOUNT_ADDRESS to the call log DB."

This reverts commit 87bfb3576f6b76fa9838775e302ca0d74fc0071b.

Change-Id: I8e7056dbd3068b915fecff13128a45bb6e99c073
allLog.java
40c6f2b4290388db9f9360bf57cf886d6f08423d 12-Feb-2015 Santos Cordon <santoscordon@google.com> Add PHONE_ACCOUNT_ADDRESS to the call log DB.

Also update some javadoc comments.

Change-Id: I018dac4c92b00ecaf2f675623b924776e7698c55
allLog.java
109dabdba1c0dc2d56b9555d92530f5d38925509 02-Feb-2015 Nancy Chen <nancychen@google.com> Add multi-SIM fields to VoicemailContract.Status.

In order to support multi-SIM visual voicemail, we need to record the
appropriate phone account in the VoicemailContract.Status table.

Bug: 19236241
Change-Id: I89742ab0aa7780de5cd525731685279ff5024c5e
oicemailContract.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
rowser.java
ettings.java
7035f2be61ecf70eea78c147c84fd50c893d107a 26-Feb-2015 Brian Attwell <brianattwell@google.com> QuickContacts can prioritize phone mimetype. Part1

Define the ContactsContract for a new QuickContact extra.
This can be used to tell QuickContacts to prioritize a
given mimetype.

Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
ontactsContract.java
d4ceaf6167637233bfb602005b53be5550683679 12-Feb-2015 Santos Cordon <santoscordon@google.com> Add PHONE_ACCOUNT_ADDRESS to the call log DB.

Also update some javadoc comments.

Change-Id: If0f8fa0148b3aed74ed434b1017a279ce29b3842
allLog.java
9c8f21b5efb8e7311731d04eb25c5c1ecff46361 24-Dec-2014 Etan Cohen <etancohen@google.com> WFC configuration: add carrier and device support configurations.

Add keys for global storage of user settings.

Change-Id: Ie1e31b34fa2ad5f970dcd3d97c1bfa9bd5a77427
ettings.java
1b71ea9b094539bd22ba83c637a866e6f3bf1535 18-Feb-2015 Svetoslav <svetoslavganov@google.com> Remove unnecessary volume validators

Change-Id: I5f13016fa23978c8d35e9b85ec0ebecdf40a3d74
ettings.java
8c98b8eb68cb2d318689879ed04948055ed70d08 18-Feb-2015 Marco Nelissen <marcone@google.com> am 2fddfea3: am a3404263: am 2f71ee24: am ffaee8bd: Merge "Fix NPE" into lmp-mr1-dev

* commit '2fddfea3e5311bb5503d148d7ad18240a13ee033':
Fix NPE
2fddfea3e5311bb5503d148d7ad18240a13ee033 18-Feb-2015 Marco Nelissen <marcone@google.com> am a3404263: am 2f71ee24: am ffaee8bd: Merge "Fix NPE" into lmp-mr1-dev

* commit 'a3404263c08c711fa5f2d73a92ec7c6f366b9338':
Fix NPE
a3404263c08c711fa5f2d73a92ec7c6f366b9338 18-Feb-2015 Marco Nelissen <marcone@google.com> am 2f71ee24: am ffaee8bd: Merge "Fix NPE" into lmp-mr1-dev

* commit '2f71ee24c5d982ccaa490c7a3e1390473909fbf0':
Fix NPE
0e24cb7fb5b2b1941d8340cbe577dbfcb624ccdb 17-Feb-2015 Marco Nelissen <marcone@google.com> Fix NPE

Path can be null if sd card was ejected, and we shouldn't make a thumbnail
in that case.

Bug: 19380821
Change-Id: Iee69effdd321622de026ad7b57c74cf9da81a176
ediaStore.java
b25334ca3c2c4f792254bf8e628788d0b7c4775a 13-Feb-2015 John Spurlock <jspurlock@google.com> Merge "Allow sysui-managed remote volume controllers."
cdb57aeb0e2c83a887c86da0ca2a890df7f02f41 12-Feb-2015 John Spurlock <jspurlock@google.com> Allow sysui-managed remote volume controllers.

- Relax restriction on audio service calls that assume the volume
ui is systemui, allow calls from a blessed component app.
- Blessed component app service saved in secure settings.
- SystemUI mediates requests to replace the volume dialog, prompts
the user on activation.
- Show a low pri ongoing notification when the volume dialog is
being replaced, to allow user restoration at any time.
- Replace the controller management code in VolumeUI to use a
ServiceMonitor, backed by the new blessed app component setting.
- Add proper zen-related noman client wrappers, make avail to the
registered volume controller.
- Everything is still @hidden, no api impact.

Bug: 19260237
Change-Id: Ie1383f57659090318a7eda737fdad5b8f88737d4
ettings.java
64d6e9ceec5967489547725ff77a00334f5fe3b5 12-Feb-2015 Svetoslav <svetoslavganov@google.com> Fix a reversed condition in the next alarm validator

bug:19361375

Change-Id: Ib5ac90503842aafd994423632fd1f463e49088a0
ettings.java
683914bfb13908bf380a25258cd45bcf43f13dc9 15-Jan-2015 Svetoslav <svetoslavganov@google.com> Rewrite of the settings provider.

This change modifies how global, secure, and system settings are
managed. In particular, we are moving away from the database to
an in-memory model where the settings are persisted asynchronously
to XML.

This simplifies evolution and improves performance, for example,
changing a setting is down from around 400 ms to 10 ms as we do not
hit the disk. The trade off is that we may lose data if the system
dies before persisting the change.

In practice this is not a problem because 1) this is very rare;
2) apps changing a setting use the setting itself to know if it
changed, so next time the app runs (after a reboot that lost data)
the app will be oblivious that data was lost.

When persisting the settings we delay the write a bit to batch
multiple changes. If a change occurs we reschedule the write
but when a maximal delay occurs after the first non-persisted
change we write to disk no matter what. This prevents a malicious
app poking the settings all the time to prevent them being persisted.

The settings are persisted in separate XML files for each type of
setting per user. Specifically, they are in the user's system
directory and the files are named: settings_type_of_settings.xml.

Data migration is performed after the data base is upgraded to its
last version after which the global, system, and secure tables are
dropped.

The global, secure, and system settings now have the same version
and are upgraded as a whole per user to allow migration of settings
between these them. The upgrade steps should be added to the
SettingsProvider.UpgradeController and not in the DatabaseHelper.

Setting states are mapped to an integer key derived from the user
id and the setting type. Therefore, all setting states are in
a lookup table which makes all opertions very fast.

The code is a complete rewrite aiming for improved clarity and
increased maintainability as opposed to using minor optimizations.
Now setting and getting the changed setting takes around 10 ms. We
can optimize later if needed.

Now the code path through the call API and the one through the
content provider APIs end up being the same which fixes bugs where
some enterprise cases were not implemented in the content provider
code path.

Note that we are keeping the call code path as it is a bit faster
than the provider APIs with about 2 ms for setting and getting
a setting. The front-end settings APIs use the call method.

Further, we are restricting apps writing to the system settings.
If the app is targeting API higher than Lollipop MR1 we do not
let them have their settings in the system ones. Otherwise, we
warn that this will become an error. System apps like GMS core
can change anything like the system or shell or root.

Since old apps can add their settings, this can increase the
system memory footprint with no limit. Therefore, we limit the
amount of settings data an app can write to the system settings
before starting to reject new data.

Another problem with the system settings was that an app with a
permission to write there can put invalid values for the settings.
We now have validators for these settings that ensure only valid
values are accepted.

Since apps can put their settings in the system table, when the
app is uninstalled this data is stale in the sytem table without
ever being used. Now we keep the package that last changed the
setting and when the package is removed all settings it touched
that are not in the ones defined in the APIs are dropped.

Keeping in memory settings means that we cannot handle arbitrary
SQL operations, rather the supported operations are on a single
setting by name and all settings (querying). This should not be
a problem in practice but we have to verify it. For that reason,
we log unsupported SQL operations to the event log to do some
crunching and see what if any cases we should additionally support.

There are also tests for the settings provider in this change.

Change-Id: I941dc6e567588d9812905b147dbe1a3191c8dd68
ettings.java
b10e33ff804a831c71be9303146cea892b9aeb5d 04-Feb-2015 Jorim Jaggi <jjaggi@google.com> Split up android.policy into framework.jar and services.jar 1/3

Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
ettings.java
a5669730d0910d278fbff062c700cc43ae3c9c39 06-Feb-2015 Bryce Lee <brycelee@google.com> am 4a88acfc: Merge "Make THEATER_MODE_ON a System API." into lmp-mr1-modular-dev

* commit '4a88acfcc30544fa3424020b1c071d2954a47cb2':
Make THEATER_MODE_ON a System API.
e847b5baefa17d39b051a2932c69283be495d275 02-Feb-2015 Bryce Lee <brycelee@google.com> Make THEATER_MODE_ON a System API.

Bug: 19043538
Change-Id: Ibf0d6b45868ca90eb792a40c5d1b1395774486b8
(cherry picked from commit cdfebd60fad097fa58d45f13104990cd323be61b)
ettings.java
2502f1d4142cdd1e2f09384561b28b71237b3a8b 03-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Expose EXTRA_MODE"
029e6819aef8762fa6867730d532c46ac8ab2394 03-Feb-2015 Brian Attwell <brianattwell@google.com> Expose EXTRA_MODE

The ability to set EXTRA_MODE values on QuickContact
intents has existed for ages by setting the extraMode
parameter on showQuickContact().

Now we need a way for QuickContactActivity to read the intent.

Bug: 18777272
Change-Id: If5e4aa5757e62e942926a12a36345512d6fb66ca
ontactsContract.java
bea05cef13cb926beda5b22b31a744c4e33b0928 03-Feb-2015 Bryce Lee <brycelee@google.com> Merge "Make THEATER_MODE_ON a System API."
33984429054646fc125a7426e6f02b88715c1c10 02-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Expose QUERY_PARAMETER_VCARD_NO_PHOTO"
f9fb60a592fb2cc7b68084843648a7bee020eddf 02-Feb-2015 Brian Attwell <brianattwell@google.com> Expose QUERY_PARAMETER_VCARD_NO_PHOTO

QUERY_PARAMETER_VCARD_NO_PHOTO is used to avoid
attaching photos on vcards that get sent over NFC.
Large VCards can't be easily sent over NFC.

I'm deferring writing CTS tests till later.

Bug: 18777272
Change-Id: I6e3a7bf836978023225c709446b9113de05f6cef
ontactsContract.java
462c9f50c3e52fb62287830056d5b1346120a233 28-Jan-2015 Brian Attwell <brianattwell@google.com> Remove NAME_VERIFIED. Part 4

Bug: 18777272
Change-Id: I1579a3122b2d45b80de7106a2b9616e323855045
ontactsContract.java
cdfebd60fad097fa58d45f13104990cd323be61b 02-Feb-2015 Bryce Lee <brycelee@google.com> Make THEATER_MODE_ON a System API.

Bug: 19043538
Change-Id: Ibf0d6b45868ca90eb792a40c5d1b1395774486b8
ettings.java
6e7c2c7ca533195277cb9665d7d71f984129b0c4 30-Jan-2015 Zheng Fu <zhengfu@google.com> Merge "Add backup_id column to raw_contacts, and hash_id column to data"
c0086ea9501a5c409364b1bbb0b27d5af6f205cf 28-Jan-2015 Bryce Lee <brycelee@google.com> am 263987f6: am 2a8ccd4b: am 1061652a: Merge "Revert "Make THEATER_MODE_ON setting a system api."" into lmp-mr1-dev

* commit '263987f6268439af69fcfa66a278103e1efe1343':
Revert "Make THEATER_MODE_ON setting a system api."
263987f6268439af69fcfa66a278103e1efe1343 28-Jan-2015 Bryce Lee <brycelee@google.com> am 2a8ccd4b: am 1061652a: Merge "Revert "Make THEATER_MODE_ON setting a system api."" into lmp-mr1-dev

* commit '2a8ccd4b1f82086f6e38ec32ad084306400dcf93':
Revert "Make THEATER_MODE_ON setting a system api."
034dc3839f2dced12d89e6ebbb93e6e288cfa9bf 28-Jan-2015 Bryce Lee <brycelee@google.com> Revert "Make THEATER_MODE_ON setting a system api."

This reverts commit 35dafda1b0357eb0f2eef766427a2b473967a918.

Change-Id: I76e72592791682e0dbee719fbd518962a1bdcd11
ettings.java
293465a75c1346ae1c0e32570344fb9423177eea 28-Jan-2015 Bryce Lee <brycelee@google.com> am f2d5253b: am fdb8dff5: am d8cb4040: Merge "Make THEATER_MODE_ON setting a system api." into lmp-mr1-dev

* commit 'f2d5253bce5ef69cb6cb4da7697a228a47b55904':
Make THEATER_MODE_ON setting a system api.
f2d5253bce5ef69cb6cb4da7697a228a47b55904 28-Jan-2015 Bryce Lee <brycelee@google.com> am fdb8dff5: am d8cb4040: Merge "Make THEATER_MODE_ON setting a system api." into lmp-mr1-dev

* commit 'fdb8dff54cf9327089e5ee4d5bf461ef42020fcd':
Make THEATER_MODE_ON setting a system api.
63f859b2b703ea9c693e3eb6bf4efdec46a46ecc 27-Jan-2015 Brian Attwell <brianattwell@google.com> Add Insert.EXTRA_{ACCOUNT,DATA_SET} to API. P #1/2

Names are based on recent suggestions from the API council, such as
implemented inside ag/540453.

Bug: 18777272
Change-Id: I17a5b7cb4d4c5a0ba48936a6fc829acaab73f31d
ontactsContract.java
35dafda1b0357eb0f2eef766427a2b473967a918 26-Jan-2015 Bryce Lee <brycelee@google.com> Make THEATER_MODE_ON setting a system api.

This will allow an unbundled home to continue accessing this property.

Bug: 19043538
Change-Id: I845a8726e617ca7b6f7f7347a0ac5aa0620d6658
ettings.java
9ffad071a9956ba2603475b060f271900a4d2e26 22-Jan-2015 Brian Attwell <brianattwell@google.com> Unhide AggregationSuggestions.Builder

Additional unbundling from ContactsContract.

I'm going to remove all parameter types except name.
None of them have been implemented since they were
defined in ICS.

Bug: 18777272
Change-Id: I5c4066d1e933cc4ab18df06809687ee2b7eac91c
ontactsContract.java
4e106cedfecd1f6026a79870c2e427853cba7491 15-Jan-2015 Dianne Hackborn <hackbod@google.com> Bring back voice interaction APIs.

Change-Id: I6039d7c0b188ac342441c56f7d19994b9a80ba17
ettings.java
4bc5b2bce9b1e3483357966f4ef074391565255f 14-Jan-2015 Adrian Roos <roosa@google.com> Merge "LockPatternUtils clean up continued"
9dd16ebcf2a25c189a39b72847d3db2b1189cb4d 08-Jan-2015 Adrian Roos <roosa@google.com> LockPatternUtils clean up continued

- Deprecate Settings.Secure.LOCK_PATTERN_ENABLED
- Remove unused permanent lock out
- Disallow empty/null arguments to saveLockPattern and saveLockPassword
- Refactor repeated quality checks

Change-Id: I6f369eb60f8f6bb1e33384cd06534c713ab52e79
ettings.java
0791e8fb30f52b5cac80547a8eb962af4587f4f4 14-Jan-2015 Adrian Roos <roosa@google.com> Merge "Purge biometric weak and keyguard widgets"
9ea9a1375dc1a99e51c3b84c8585cf7b828820a2 07-Jan-2015 Zheng Fu <zhengfu@google.com> Add backup_id column to raw_contacts, and hash_id column to data

Bug: 18930508
Change-Id: I244734720247c8db08129f7f19e6a5e823db1bb4
ontactsContract.java
cc4b2f731e7b6c45969413505c687272282f14e2 08-Jan-2015 Brian Attwell <brianattwell@google.com> Ubundle from contacts contract Part 1/3

1. Remove Intents.UI
2. Expose Authority
3. Expose ProviderStatus

Discussion: go/contacts-contact-intent-ui

Bug: 18777272
Change-Id: I9c6125cc30710e4637b38f3785608abb9928d1a2
ontacts.java
ontactsContract.java
230635efe7ffb09d6dc56bfd9193aa1d89c8a898 07-Jan-2015 Adrian Roos <roosa@google.com> Purge biometric weak and keyguard widgets

Bug: 18931518
Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
ettings.java
3ce2d52789d02529c58784e2e8b7e535d91fb719 26-Dec-2014 Elliott Hughes <enh@google.com> am f9f41951: am ee435b16: Merge "telephony: Update comments for preferred network mode"
automerge: 38cba11

* commit '38cba11ba98831b0d6a005b7929d49f52259c564':
telephony: Update comments for preferred network mode
38cba11ba98831b0d6a005b7929d49f52259c564 26-Dec-2014 Elliott Hughes <enh@google.com> am f9f41951: am ee435b16: Merge "telephony: Update comments for preferred network mode"

* commit 'f9f41951701f5e47b454b7c3f4e7d4654a9c4a3e':
telephony: Update comments for preferred network mode
ee435b16d89ee9cb65eead9ac7507693342c15b3 26-Dec-2014 Elliott Hughes <enh@google.com> Merge "telephony: Update comments for preferred network mode"
e099ab18e6b54abffd89791f847b810f2f1907fd 09-Jun-2014 Sungmin Choi <sungmin.choi@lge.com> telephony: Update comments for preferred network mode

Change-Id: I4718674ff73116cc6bbec4540c3450ed14663c0d
ettings.java
1eb5ca609a02eaa6ddd86273e60f58782c10f42b 17-Dec-2014 Jeff Davidson <jpd@google.com> am 0b3718d6: Merge "Add global setting for ephemeral network timeout." into lmp-mr1-dev automerge: cc4f183
automerge: 38e8763

* commit '38e8763df55ebedcf65178f8acced806113af4a5':
Add global setting for ephemeral network timeout.
38e8763df55ebedcf65178f8acced806113af4a5 17-Dec-2014 Jeff Davidson <jpd@google.com> am 0b3718d6: Merge "Add global setting for ephemeral network timeout." into lmp-mr1-dev automerge: cc4f183

* commit '0b3718d6b157bf15db9d709d50019f81f06195b9':
Add global setting for ephemeral network timeout.
a20ca67d944a8a015206dcdec41eb87f55165358 16-Dec-2014 Jeff Davidson <jpd@google.com> Add global setting for ephemeral network timeout.

Bug: 18637384
Change-Id: I6bde3c9eef12caf2cc51c449abffc1c69f60c17f
ettings.java
0bf20bea81a9d3218c0c10999a47efe3c30b2725 10-Dec-2014 Erik Kline <ek@google.com> am 34b3b53f: am 33cd463b: Merge "Re-remove CONNECTIVITY_CHANGE_DELAY and supporting functions." into lmp-mr1-dev automerge: 56d2e8f

* commit '34b3b53f9c21346282cb889363024fa4c7bb558d':
Re-remove CONNECTIVITY_CHANGE_DELAY and supporting functions.
34b3b53f9c21346282cb889363024fa4c7bb558d 10-Dec-2014 Erik Kline <ek@google.com> am 33cd463b: Merge "Re-remove CONNECTIVITY_CHANGE_DELAY and supporting functions." into lmp-mr1-dev
automerge: 56d2e8f

* commit '56d2e8fb7b2ab6e32efea59604eb0cd72745df1b':
Re-remove CONNECTIVITY_CHANGE_DELAY and supporting functions.
902cc578a440eb957bc5ef387b8fd0f1c0640bff 09-Dec-2014 Jeremy Joslin <jjoslin@google.com> am d4753450: am c4b2ec1a: am 1edc73aa: Merge "Don\'t send the same PendingIntent more than once." into lmp-mr1-dev

* commit 'd4753450f37d88fec11d1405250529ca794ae70c':
Don't send the same PendingIntent more than once.
0cec63a2832d322ed2dd9345d211d1e02b0a9497 09-Dec-2014 Pavel Zhamaitsiak <pavelz@google.com> am 913c9895: am d89f0d3d: am b81ce34a: Merge "Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"" into lmp-mr1-dev

* commit '913c9895466c6749aa1c41b875d69d5de3e3b66b':
Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"
d4753450f37d88fec11d1405250529ca794ae70c 08-Dec-2014 Jeremy Joslin <jjoslin@google.com> am c4b2ec1a: am 1edc73aa: Merge "Don\'t send the same PendingIntent more than once." into lmp-mr1-dev

* commit 'c4b2ec1a3a808c2dae0894e5f0cfd43d6ec1d5a2':
Don't send the same PendingIntent more than once.
913c9895466c6749aa1c41b875d69d5de3e3b66b 08-Dec-2014 Pavel Zhamaitsiak <pavelz@google.com> am d89f0d3d: am b81ce34a: Merge "Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"" into lmp-mr1-dev

* commit 'd89f0d3d54dec1662b1cfed6c8e574ffcc8032d9':
Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"
8f29dcfb53350cf687112ac79a806e4d34dfa22b 08-Dec-2014 Erik Kline <ek@google.com> Re-remove CONNECTIVITY_CHANGE_DELAY and supporting functions.

Since optimistic addresses are useable upon kernel notification
there is no need for this extra connectivity delay.

---

This functionality was originally submitted in ag/572619. Owing
to issues with bind()ing to optimistic addresses (see b/18609055)
this was reverted in ag/598673.

This reverts the revert. :-)

Bug: 17769720
Change-Id: Ibee490b2af72050693b6bd748193f51e312ca527
ettings.java
7929484dbf0f6eda75641f8b965d3ed5fa1fed52 04-Dec-2014 Jeremy Joslin <jjoslin@google.com> Don't send the same PendingIntent more than once.

Fixing a bug where a NetworkRequest's PendingIntent can be sent more
than once when networks are rematched before the intent completes.

Added a small delay before removing the request to give the receiving
client an opportunity to put in its own request. The delay value is
configurable via Settings.Secure.

Bug: 18614074
Change-Id: Iac7c5e5a04f42f2b6794e9e22349cc631bebeab7
ettings.java
e660e27603e93579b645544ceb9606ded81cea82 05-Dec-2014 Erik Kline <ek@google.com> Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"

This is the revert of ag/572619.

This reverts commit 9261d9d64548f0221de50eb99f3675488a4176a4, reversing
changes made to 32b61ab28f54e5b00f472b2166f9b1100375e4ff.

Bug: 18609055
Bug: 17769720
Change-Id: I122eba200f2071d4e5777ec34c1d04fb567345a8
ettings.java
0f3c0704c5d5e92f6ccb75404982fa7587ac364d 04-Dec-2014 Erik Kline <ek@google.com> am 180a30aa: am 95b5ca90: am 9261d9d6: Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev

* commit '180a30aa57e0790453944533dc442704f7596f65':
Remove CONNECTIVITY_CHANGE_DELAY and friends.
180a30aa57e0790453944533dc442704f7596f65 04-Dec-2014 Erik Kline <ek@google.com> am 95b5ca90: am 9261d9d6: Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev

* commit '95b5ca9019720c4c012ca13791d32aa6d0bb5ba8':
Remove CONNECTIVITY_CHANGE_DELAY and friends.
9261d9d64548f0221de50eb99f3675488a4176a4 04-Dec-2014 Erik Kline <ek@google.com> Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev
64d3c1402aa6abfc9772e8c93a7f0a5b9a9c6c9d 03-Dec-2014 Etan Cohen <etancohen@google.com> am a2ab707c: am 89b55fc5: am 7ab0ad1f: Add a global override for VoLTE calls (which leaves user setting in place)

* commit 'a2ab707c87b8129873078dcea8effdd970de67c3':
Add a global override for VoLTE calls (which leaves user setting in place)
a2ab707c87b8129873078dcea8effdd970de67c3 03-Dec-2014 Etan Cohen <etancohen@google.com> am 89b55fc5: am 7ab0ad1f: Add a global override for VoLTE calls (which leaves user setting in place)

* commit '89b55fc52d0ad20013353af32e7d4823d95db575':
Add a global override for VoLTE calls (which leaves user setting in place)
7ab0ad1ffe858dbf82d5c3b540c02488f31c51f0 24-Nov-2014 Etan Cohen <etancohen@google.com> Add a global override for VoLTE calls (which leaves user setting in place)

Bug: 18446228
Change-Id: I7d07f066e5933c2aeecf9222bb54da69975099bc
ettings.java
d198c3269aac50397c4f284feb99c524a1c8434c 01-Dec-2014 Narayan Kamath <narayan@google.com> am 53651b99: am ff45e7df: am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev

* commit '53651b9982f53236b767d766e85ec0ce3acc6f0f':
Be increasingly aggressive about fstrim if it isn't being run
53651b9982f53236b767d766e85ec0ce3acc6f0f 01-Dec-2014 Narayan Kamath <narayan@google.com> am ff45e7df: am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev

* commit 'ff45e7df8aae0f55ce719de92102c7d522b62048':
Be increasingly aggressive about fstrim if it isn't being run
1d184acefa7105592134edebf7de4d77843d5791 27-Nov-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 7377998d to lmp-mr1-dev

Change-Id: I21870e241de7d992e97d7b91e0058f85b5a25fbe
7377998dac67ce8d486e11b9bd2f159fe0ca501d 26-Nov-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of a42f7c1d to lmp-sprout-dev

Change-Id: I8e53c9d7e0014b4ffc621c561b737aa2dae5460c
7265abe77a76f848a316640b5da106e882bdbc8a 21-Nov-2014 Christopher Tate <ctate@google.com> Be increasingly aggressive about fstrim if it isn't being run

The current heuristics depend on devices being alive at midnight+ in
order to run periodic background fstrim operations. This unfortunately
means that people who routinely turn their devices off overnight wind
up with their devices *never* running fstrim, and this causes major
performance and disk-life problems.

We now backstop this very-friendly schedule with an increasingly
aggressive one. If the device goes a defined time without a background
fstrim, we then force the fstrim at the next reboot. Once the
device hits the midnight+ idle fstrim request time, then we already
aggressively attempt to fstrim at the first available moment
thereafter, even if it's days/weeks later without a reboot.

'Available' here means charging + device idle. If the device never
becomes idle then we can't do much without rendering an in-use device
inoperable for some number of minutes -- but we have no evidence of
devices ever failing to run fstrim due to this usage pattern.

A new Settings.Global element (type 'long', called
"fstrim_mandatory_interval") is the source of the backstop time. If
this element is zero or negative, no mandatory boot-time fstrim will
ever be performed. If the element is not supplied on a given device,
the default backstop is 3 days.

Adds a new string to display in the upgrading dialog when doing
the fstrim. Note it is too late for this to be localized, but since
this operation can take a long time it is probably better to have
it show *something* even if not localized, rather than just sit there.

Bug 18486922

Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c
ettings.java
5c11e41b1af60aaaf606b3a9f190edcaba1c5e41 24-Nov-2014 Wink Saville <wink@google.com> am b4c54109: am 4f1cce63: am 12c2136e: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev

* commit 'b4c5410987a6657b71fb0b86e1ef8337628241dc':
Additional changes to SubscriptionManager API as per API council.
b4c5410987a6657b71fb0b86e1ef8337628241dc 24-Nov-2014 Wink Saville <wink@google.com> am 4f1cce63: am 12c2136e: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev

* commit '4f1cce63061976490e2e2cfc4085e1634d3a02de':
Additional changes to SubscriptionManager API as per API council.
d09c4cad65c708f2c4810d24295456708a2000d2 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
allLog.java
b638b35757021fc605d0891592b70fa42c1fb475 21-Nov-2014 Wink Saville <wink@google.com> am 49414b5b: am 816e19eb: Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev automerge: 1caab41

* commit '49414b5b2129bf72a847c64a9f83e7b7db4511c0':
Revert "Additional changes to SubscriptionManager API as per API council."
771e952ebce561a8f4805611585001433b95e2a4 21-Nov-2014 Wink Saville <wink@google.com> am 07fb2457: am 4a57e908: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev automerge: 68c21d6

* commit '07fb24576a5a425798a2aa004dd49682f414cbf7':
Additional changes to SubscriptionManager API as per API council.
49414b5b2129bf72a847c64a9f83e7b7db4511c0 21-Nov-2014 Wink Saville <wink@google.com> am 816e19eb: Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev
automerge: 1caab41

* commit '1caab41f31b2fd1129dff58fc678361b691af9db':
Revert "Additional changes to SubscriptionManager API as per API council."
07fb24576a5a425798a2aa004dd49682f414cbf7 21-Nov-2014 Wink Saville <wink@google.com> am 4a57e908: Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
automerge: 68c21d6

* commit '68c21d6736a2ec54d36c8b33b815062c568e4707':
Additional changes to SubscriptionManager API as per API council.
f8c36914250a2274ce20102b350915cd6ffaa6eb 21-Nov-2014 Dianne Hackborn <hackbod@google.com> am 42fec57f: am d9968438: Merge "Fix issue with call backs from media process." into lmp-mr1-dev
automerge: 377d6f0

* commit '377d6f00dc2ab42df501fd12b23e1dab54cea6b7':
Fix issue with call backs from media process.
377d6f00dc2ab42df501fd12b23e1dab54cea6b7 21-Nov-2014 Dianne Hackborn <hackbod@google.com> am 42fec57f: am d9968438: Merge "Fix issue with call backs from media process." into lmp-mr1-dev

* commit '42fec57f3addfb1958f814b5d6772ff81341ba20':
Fix issue with call backs from media process.
816e19eb6d5795f98f072494c763b20fe3412c30 20-Nov-2014 Wink Saville <wink@google.com> Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev
2d1ee982276f5dbd0e035778b731b48e4ef34515 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit baf21da1e17ef358632c078128d381b3be218a08.

Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6
allLog.java
4a57e908177c86819ade1ebb813677698f1a526a 20-Nov-2014 Wink Saville <wink@google.com> Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev
d9968438bcf439e7a8c6058a95b85286a632dc1c 20-Nov-2014 Dianne Hackborn <hackbod@google.com> Merge "Fix issue with call backs from media process." into lmp-mr1-dev
baf21da1e17ef358632c078128d381b3be218a08 20-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
allLog.java
ff17024e583b170312d82089fd358d278ce16c9a 19-Nov-2014 Dianne Hackborn <hackbod@google.com> Fix issue with call backs from media process.

All but a few lines of this is for issue #16013164, which allowed
apps to do some operations as the media uid by having it call
back to them to open a file. The problem here is with the tempory
identity stuff in the activity manager, allowing us to make the open
call as the original caller... ideally we should figure out a way
to just get rid of all of that, but the solution here is actually
easier (even though it doesn't look it) -- we now hand a token over
to the openFile() call that it can use when doing permission checks
to say "yes I would like the check to be against whoever is responsible
for the open". This allows us to do the uid remapping for only this
one specific set of permission checks, and nothing else.

Also fix issue #17487348: Isolated services can access system services
they shouldn't be able to. Don't send any system service IBinder objects
down for the first initialization of an isolated process.

Change-Id: I3c70e16e0899d7eef0bae458e83958b41ed2b75e
ocumentsProvider.java
5ed01f6427d9dccaa95bac8c02bd88b83897652b 19-Nov-2014 Amit Mahajan <amitmahajan@google.com> am bb35bbf1: am 6f10d1c3: am b22462c5: Merge "Adding new setting LTE_SERVICE_FORCED." into lmp-mr1-dev

* commit 'bb35bbf198201fc00858ea56cdf97eae8f2cfdbb':
Adding new setting LTE_SERVICE_FORCED.
bb35bbf198201fc00858ea56cdf97eae8f2cfdbb 19-Nov-2014 Amit Mahajan <amitmahajan@google.com> am 6f10d1c3: am b22462c5: Merge "Adding new setting LTE_SERVICE_FORCED." into lmp-mr1-dev

* commit '6f10d1c34efba28856fea162f1d193319cad2576':
Adding new setting LTE_SERVICE_FORCED.
4fea0923be8d961312908aded2f72011a044903c 18-Nov-2014 Amit Mahajan <amitmahajan@google.com> Adding new setting LTE_SERVICE_FORCED.

Bug: 18328639
Change-Id: Icbf9d7987d27af34cbe4ee1b4e9df19e139c2fc7
ettings.java
47acc8f535107a7ed9fd98afc3b07d79a0f43604 18-Nov-2014 Dianne Hackborn <hackbod@google.com> am dde2ecc1: am 7ff92f42: am 9522055f: Merge "Add time estimates to batterystats dump." into lmp-mr1-dev

* commit 'dde2ecc118a56cd4100a29a1dd1c1697b6f56353':
Add time estimates to batterystats dump.
dde2ecc118a56cd4100a29a1dd1c1697b6f56353 18-Nov-2014 Dianne Hackborn <hackbod@google.com> am 7ff92f42: am 9522055f: Merge "Add time estimates to batterystats dump." into lmp-mr1-dev

* commit '7ff92f420e0f32149bcb80698db6108d9e5aaa53':
Add time estimates to batterystats dump.
ad6a99b32a0d062c967019e5cd9858071a9c6617 18-Nov-2014 Dianne Hackborn <hackbod@google.com> Add time estimates to batterystats dump.

Also fix some java docs.

Change-Id: Ie705f236db6f06e34fa5581c20852e5c8f7c2c17
ettings.java
5b7dbca7ca3dc82dc6267eead409e5a2a876c8c5 12-Nov-2014 Junda Liu <junda@google.com> am 829519df: Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev automerge: 2eb5a5f automerge: 5716ebe

* commit '829519dfaab9f2c13492d97556a95300a6908ea4':
Add HIDE_CARRIER_NETWORK_SETTINGS global setting.
829519dfaab9f2c13492d97556a95300a6908ea4 12-Nov-2014 Junda Liu <junda@google.com> Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev automerge: 2eb5a5f
automerge: 5716ebe

* commit '5716ebe50debab01ede01b2f99abde85a250c82c':
Add HIDE_CARRIER_NETWORK_SETTINGS global setting.
2eb5a5f727d4692b70b68cb4b1b7e31bf74f13a4 12-Nov-2014 Junda Liu <junda@google.com> Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev
bbdc1c0e044a505d5a200963319a683e4ef1f967 07-Nov-2014 Junda Liu <junda@google.com> Add HIDE_CARRIER_NETWORK_SETTINGS global setting.

Also remove hidden APIs to get/set the preference.

Bug: b/17673255
Change-Id: I8957b0380bf617c953f6665cbfdcc77c3be78411
ettings.java
0aba408a8148359a6a7505263f7a659e3e7fe2d6 07-Nov-2014 Ignacio Solla <igsolla@google.com> am ad87ec5b: am cf045ea8: am 803908b0: Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev

* commit 'ad87ec5bbaa911c364a1b9626c7e89de71e47552':
[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting.
ad87ec5bbaa911c364a1b9626c7e89de71e47552 07-Nov-2014 Ignacio Solla <igsolla@google.com> am cf045ea8: am 803908b0: Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev

* commit 'cf045ea8e4b91ac662d0aff74df429a2569d8e46':
[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting.
803908b0db0139a2bc3eca2868cad67c9a274d97 07-Nov-2014 Ignacio Solla <igsolla@google.com> Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev
52eb811a441f6d9342e6cd8a039c02058eb55b2f 03-Nov-2014 Jason Monk <jmonk@google.com> am 8efeae7e: am 2e647efe: Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-dev automerge: 5c69f5b

* commit '8efeae7eb4da19bd3dcf1a5013e3011d50f2ca42':
Move LOCK_TO_APP_EXIT_LOCKED from System to Secure
8efeae7eb4da19bd3dcf1a5013e3011d50f2ca42 03-Nov-2014 Jason Monk <jmonk@google.com> am 2e647efe: Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-dev
automerge: 5c69f5b

* commit '5c69f5b276b65bd4b8000d2b6e56baddccf89846':
Move LOCK_TO_APP_EXIT_LOCKED from System to Secure
2e647efe01dcdb82d2d7f8a23540ba6b690a95d6 03-Nov-2014 Jason Monk <jmonk@google.com> Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-dev
b9a7f37e71d1e75344c64cfe8e6f31be9da67153 31-Oct-2014 Amith Yamasani <yamasani@google.com> am 84df64d4: am 8079a812: Merge "Backup and restore battery saver trigger level" into lmp-mr1-dev automerge: 80e5f45

* commit '84df64d4009aa42ccca1bb4c4b03396fe441f990':
Backup and restore battery saver trigger level
84df64d4009aa42ccca1bb4c4b03396fe441f990 31-Oct-2014 Amith Yamasani <yamasani@google.com> am 8079a812: Merge "Backup and restore battery saver trigger level" into lmp-mr1-dev
automerge: 80e5f45

* commit '80e5f45979416c0bee487725eaf4078b6ba42769':
Backup and restore battery saver trigger level
94cfd9d7c42287c18bde29aa1ae34944eb448f45 31-Oct-2014 Jason Monk <jmonk@google.com> Move LOCK_TO_APP_EXIT_LOCKED from System to Secure

To prepare for controlling from settings.

While here, add lock to app settings to backups.

Bug: 16957435
Change-Id: I059140cd07a7a0d5ceb4e0bfe5e0176cb96629d3
ettings.java
94005240ec21792b96e156f12c19a82d09e77e67 31-Oct-2014 Amith Yamasani <yamasani@google.com> Backup and restore battery saver trigger level

Bug: 17836827
Change-Id: Icb6bf071a0966a8fb9a03fadd0f8b3daa5ad11f8
ettings.java
c418f07993d2aa91010f226cede47b9e62a4faa8 31-Oct-2014 Ignacio Solla <igsolla@google.com> [WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting.

BUG:18152150

Change-Id: Id5c788bc766d7c45c3f9c96837d5b2824a601f9e
ettings.java
8e3f4fbdf6e562f4f5731b98e327e8af33b75c4c 22-Oct-2014 Erik Kline <ek@google.com> Remove CONNECTIVITY_CHANGE_DELAY and friends.

Once optimistic addresses become useable upon kernel notification
there will be no need for a connectivity delay.

This change requires kernel changes like:
https://android-review.googlesource.com/#/c/109934

Bug: 17769720
Change-Id: I8510c540aa655aad6a82ee322d591331357ee272
ettings.java
57177c75ea83755a31d3e2fbca2d5c3547b285eb 31-Oct-2014 John Spurlock <jspurlock@google.com> am 68fdbd01: am a0adb0bd: am fc2b9039: Merge "Unhide Settings.ACTION_BATTERY_SAVER_SETTINGS." into lmp-mr1-dev

* commit '68fdbd01798dad380581d02c5b9d229aecb10ef0':
Unhide Settings.ACTION_BATTERY_SAVER_SETTINGS.
68fdbd01798dad380581d02c5b9d229aecb10ef0 31-Oct-2014 John Spurlock <jspurlock@google.com> am a0adb0bd: am fc2b9039: Merge "Unhide Settings.ACTION_BATTERY_SAVER_SETTINGS." into lmp-mr1-dev

* commit 'a0adb0bd46389b7ac0474b7727cdbdb36d0d48a0':
Unhide Settings.ACTION_BATTERY_SAVER_SETTINGS.
e9b498fb41476bd44e8fcb80c5099c33ded3f26d 30-Oct-2014 Chris Wren <cwren@android.com> am e52d0d68: am 402152d6: Merge "Reveal notification listener settings APIs." into lmp-mr1-dev automerge: b3239da

* commit 'e52d0d68c4c192340ef48a2c750babfd48c090e3':
Reveal notification listener settings APIs.
e52d0d68c4c192340ef48a2c750babfd48c090e3 30-Oct-2014 Chris Wren <cwren@android.com> am 402152d6: Merge "Reveal notification listener settings APIs." into lmp-mr1-dev
automerge: b3239da

* commit 'b3239da9a0c3c75e5aea5e961cd8ed4fc627d42b':
Reveal notification listener settings APIs.
e6d4f45611b29d30783659b7fe1dde23423e8ee3 30-Oct-2014 Shishir Agrawal <shishir@google.com> am 060afd45: am c8787bec: Merge "Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37" into lmp-mr1-dev automerge: 47fa171

* commit '060afd455fa8260c7ea262d0c1d2d555bc6771ea':
Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37
060afd455fa8260c7ea262d0c1d2d555bc6771ea 30-Oct-2014 Shishir Agrawal <shishir@google.com> am c8787bec: Merge "Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37" into lmp-mr1-dev
automerge: 47fa171

* commit '47fa1715221b50334ca1df1eab148cd50eeef608':
Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37
734666657f1bb8a74b62cbf13758d8ac5ac98b1d 30-Oct-2014 John Spurlock <jspurlock@google.com> Unhide Settings.ACTION_BATTERY_SAVER_SETTINGS.

Bug: 18186862
Change-Id: I685934118a53ba2135eaf0872564e58069de2a30
ettings.java
402152d6736839d89a9179cd4371201020074797 29-Oct-2014 Chris Wren <cwren@android.com> Merge "Reveal notification listener settings APIs." into lmp-mr1-dev
8326a8a9453be1fa401f187994f7c8fabe68e489 22-Oct-2014 Chris Wren <cwren@android.com> Reveal notification listener settings APIs.

Fix the value of the ACTION_NOTIFICATION_LISTENER_SETTINGS constant
to be the actual value to which the settings app responds.

Bug: 10023397
Change-Id: I80a0ff76406a3b0b893793f9a63ffa563dae103b
ettings.java
1ae88e342081b36e3dd791930cebeccb395cedb8 27-Oct-2014 Shishir Agrawal <shishir@google.com> Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37

The change above deleted these lines by mistake.

Bug: 18153840
Change-Id: I010c36f227e313cdf00a363f1f851e61a4db1af4
allLog.java
6007da7b73e9f8a058ef160e79a568c9c30bb2db 28-Oct-2014 Jeff Sharkey <jsharkey@android.com> am a148a0dc: Merge "Drop DEV network stats to save RAM." into lmp-mr1-dev automerge: 49c1527 automerge: a5921b9

* commit 'a148a0dc667ac35599a35a46f2232f0128269d78':
Drop DEV network stats to save RAM.
a148a0dc667ac35599a35a46f2232f0128269d78 28-Oct-2014 Jeff Sharkey <jsharkey@android.com> Merge "Drop DEV network stats to save RAM." into lmp-mr1-dev automerge: 49c1527
automerge: a5921b9

* commit 'a5921b9b79a1d95e8a41bd74998cab82b153cb0a':
Drop DEV network stats to save RAM.
5274dcc85dc18b524b729ae9a2148c651dc1a654 24-Oct-2014 Jeff Sharkey <jsharkey@android.com> Drop DEV network stats to save RAM.

We migrated to pure XT stats a long time ago, so we no longer need
to keep the DEV stats cached in RAM. This saves ~250KB on a typical
device.

Bug: 18118003
Change-Id: I3d84ba47073fa3500454784afc956c8e53404492
ettings.java
7c06f9b5e1b6dc46d5415f39f06e92e0d65a8217 24-Oct-2014 Pavel Zhamaitsiak <pavelz@google.com> am 34e4dc4b: am b01a5979: am c8a09d54: Merge "Separate VoLTE and VT configurations to enable devices/carriers to have VoLTE without VT." into lmp-mr1-dev

* commit '34e4dc4b09045c882ad7a30b26d78d787d74c264':
Separate VoLTE and VT configurations to enable devices/carriers to have VoLTE without VT.
34e4dc4b09045c882ad7a30b26d78d787d74c264 24-Oct-2014 Pavel Zhamaitsiak <pavelz@google.com> am b01a5979: am c8a09d54: Merge "Separate VoLTE and VT configurations to enable devices/carriers to have VoLTE without VT." into lmp-mr1-dev

* commit 'b01a597924ab7afed689f7710c264684d1fac944':
Separate VoLTE and VT configurations to enable devices/carriers to have VoLTE without VT.
e41a9cf9f71785ec3271f11265cffb4438b26f91 22-Oct-2014 Etan Cohen <etancohen@google.com> Separate VoLTE and VT configurations to enable devices/carriers to have VoLTE without VT.

Change-Id: I233b003af57a550f2f51b12213700ab0451039e5
ettings.java
fb9ac4c2d358278f9387b9518d5d1321f20c0e8c 23-Oct-2014 Bryce Lee <brycelee@google.com> am 1d918403: am 477fa012: am 49cb52e2: Merge "resolved conflicts for merge of f03ba4f1 to lmp-mr1-dev" into lmp-mr1-dev

* commit '1d9184035d5d74c850d688cd269e97ea3f77953e':
[Theater Mode] framework implementation through global setting
1d9184035d5d74c850d688cd269e97ea3f77953e 23-Oct-2014 Bryce Lee <brycelee@google.com> am 477fa012: am 49cb52e2: Merge "resolved conflicts for merge of f03ba4f1 to lmp-mr1-dev" into lmp-mr1-dev

* commit '477fa012865c3c59ebc2dd834c53c7ee33fe3a95':
[Theater Mode] framework implementation through global setting
fb1cf36aa739da5dbebc64e61900e9ff96134e26 23-Oct-2014 Bryce Lee <brycelee@google.com> resolved conflicts for merge of f03ba4f1 to lmp-mr1-dev

Change-Id: I9e4cabd2d8a34a348ae888f096c8d3c35226e960
584a44517950204a04ef01345be70b33d8ba43f9 22-Oct-2014 Bryce Lee <brycelee@google.com> [Theater Mode] framework implementation through global setting

Bug: 17684570
Change-Id: I64a9c9c0620049cdfcca0150648fa201281f7178
ettings.java
0841572b99205680cb1366636af8182424edbb8a 16-Oct-2014 Libin.Tang@motorola.com <w16529@motorola.com> am c2814749: am 4798bca2: am 0499bb5d: IMS:change enhanced 4g setting to store in setting db.

* commit 'c28147490a0f7c5cceaaa4d0746ffa0d4842e8b6':
IMS:change enhanced 4g setting to store in setting db.
c28147490a0f7c5cceaaa4d0746ffa0d4842e8b6 16-Oct-2014 Libin.Tang@motorola.com <w16529@motorola.com> am 4798bca2: am 0499bb5d: IMS:change enhanced 4g setting to store in setting db.

* commit '4798bca2742a3e2ec7e13aa20a61fc447eadf29b':
IMS:change enhanced 4g setting to store in setting db.
0499bb5de45cf5542db7ac42406cd856d3386f1f 10-Oct-2014 Libin.Tang@motorola.com <w16529@motorola.com> IMS:change enhanced 4g setting to store in setting db.

Change-Id: I2ec37478e2bef5b15b157e490f75d5dda5f97117
ettings.java
97f66f6754fc1dd574b3aaca634004aaea712a3e 15-Oct-2014 Jim Miller <jaggies@google.com> am 26e4de2f: am 1a02efb1: am ce711c6d: am 09ba0da8: am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev

* commit '26e4de2ff11c6e055a163fe20249e7f202629cb3':
Add a checkbox option to 'require password to decrypt'
26e4de2ff11c6e055a163fe20249e7f202629cb3 15-Oct-2014 Jim Miller <jaggies@google.com> am 1a02efb1: am ce711c6d: am 09ba0da8: am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev

* commit '1a02efb1247569ae0e133c199295c873e4ad9b52':
Add a checkbox option to 'require password to decrypt'
ce711c6d57732c3582da0828c0361f55381f4223 15-Oct-2014 Jim Miller <jaggies@google.com> am 09ba0da8: am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev

* commit '09ba0da87fa56eac91da5eb2d0a20b7799df66d5':
Add a checkbox option to 'require password to decrypt'
09ba0da87fa56eac91da5eb2d0a20b7799df66d5 15-Oct-2014 Jim Miller <jaggies@google.com> am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev

* commit 'e7c325559d961f13c6df96803bca4747f41b27a4':
Add a checkbox option to 'require password to decrypt'
839685bc57d45d98b88e50a896fb7dc9e150cb7e 15-Oct-2014 Jim Miller <jaggies@google.com> am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev

* commit 'e7c325559d961f13c6df96803bca4747f41b27a4':
Add a checkbox option to 'require password to decrypt'
6848dc8e3b54fb27047836d8026c4c9971754607 14-Oct-2014 Jim Miller <jaggies@google.com> Add a checkbox option to 'require password to decrypt'

Fixes bug 17881324

Change-Id: Id94e593a172d686339c736473226fece1bb749ee
ettings.java
084cd5cdf4c37adba8f89b03eeeab13b2523097e 11-Oct-2014 Tom O'Neill <tomo@google.com> am 2a30585a: am 58d0b623: am 1db0cce0: Merge "Fix a race where NLP consent dialog can be shown unnecessarily" into lmp-mr1-dev

* commit '2a30585a4fa086089478d5068fbf354a8a967c19':
Fix a race where NLP consent dialog can be shown unnecessarily
2a30585a4fa086089478d5068fbf354a8a967c19 10-Oct-2014 Tom O'Neill <tomo@google.com> am 58d0b623: am 1db0cce0: Merge "Fix a race where NLP consent dialog can be shown unnecessarily" into lmp-mr1-dev

* commit '58d0b623f124c9bee3fe6aba33182c0ff6b1c28a':
Fix a race where NLP consent dialog can be shown unnecessarily
d95f1c991cbd7c297c0bb34a3de99ff2efd10b27 10-Oct-2014 Dianne Hackborn <hackbod@google.com> am 75a6e82b: am 36ae48a8: am d83e9e42: am 0761b1b5: am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev

* commit '75a6e82bcc625025c5f48dc6c33d0dd469e9ca61':
Put in real "code" (aka marketing) name.
75a6e82bcc625025c5f48dc6c33d0dd469e9ca61 10-Oct-2014 Dianne Hackborn <hackbod@google.com> am 36ae48a8: am d83e9e42: am 0761b1b5: am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev

* commit '36ae48a850bade17d485cb49dd40a3f11f667ad4':
Put in real "code" (aka marketing) name.
7731a99807728298cd4bbfdc8b577183199bc47e 09-Oct-2014 Tom O'Neill <tomo@google.com> Fix a race where NLP consent dialog can be shown unnecessarily

- Bug: 17908111

Change-Id: If94570861f38b922478d490599ab02cfb86adea6
ettings.java
0761b1b5ebb453a411e3289c1c972dbfddcee880 09-Oct-2014 Dianne Hackborn <hackbod@google.com> am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev

* commit '89b196958fee07475765bd3c458098464ba16f2e':
Put in real "code" (aka marketing) name.
529b78941c20c2b45312eeedbd509d0ded4f7323 09-Oct-2014 Dianne Hackborn <hackbod@google.com> am 89b19695: Merge "Put in real "code" (aka marketing) name." into lmp-dev

* commit '89b196958fee07475765bd3c458098464ba16f2e':
Put in real "code" (aka marketing) name.
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Put in real "code" (aka marketing) name.

Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
ediaStore.java
fcdd68709296ab084436b34b381578d57c5d3f87 02-Oct-2014 Erik Pasternak <roboerik@android.com> am c7cbbe8e: am d68362b9: am c6646b0c: am 739bf81d: am 4d82c46e: Merge "Implement auto-sleep functionality." into lmp-dev

* commit 'c7cbbe8e82b2dda4889a6663a83586f1e6759282':
Implement auto-sleep functionality.
c7cbbe8e82b2dda4889a6663a83586f1e6759282 02-Oct-2014 Erik Pasternak <roboerik@android.com> am d68362b9: am c6646b0c: am 739bf81d: am 4d82c46e: Merge "Implement auto-sleep functionality." into lmp-dev

* commit 'd68362b962be2237418a1a10ebec7a2f75b9b267':
Implement auto-sleep functionality.
4299ae9f50483596fcf55b07b4f1f169234524a4 02-Oct-2014 Hui Shu <hush@google.com> am 0fdb1651: am 724fe35e: am 5f961157: am 888fd710: am 4e0ad44f: Merge "Revert "Remove WebView DRP Setting from Developer Settings"" into lmp-dev

* commit '0fdb165193a032ced17c319eebe6a3b2617b2852':
Revert "Remove WebView DRP Setting from Developer Settings"
9db0d62d96243447960e0d9732e8033ba183b5ce 02-Oct-2014 Hui Shu <hush@google.com> am 30c284fc: am 03e73745: am 7ce8d27f: am 9cd616e0: am aee5c9e7: Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev

* commit '30c284fc460218652ffa89aed3da41225ad9b7cc':
Remove WebView DRP Setting from Developer Settings
0fdb165193a032ced17c319eebe6a3b2617b2852 02-Oct-2014 Hui Shu <hush@google.com> am 724fe35e: am 5f961157: am 888fd710: am 4e0ad44f: Merge "Revert "Remove WebView DRP Setting from Developer Settings"" into lmp-dev

* commit '724fe35eac0afd885f3a20ebf846f0429303c157':
Revert "Remove WebView DRP Setting from Developer Settings"
30c284fc460218652ffa89aed3da41225ad9b7cc 02-Oct-2014 Hui Shu <hush@google.com> am 03e73745: am 7ce8d27f: am 9cd616e0: am aee5c9e7: Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev

* commit '03e73745c69637efb806e174109410b0192536e7':
Remove WebView DRP Setting from Developer Settings
9d96c9fa05d81fc1ffb254453a5e4b570b154d73 02-Oct-2014 Erik Pasternak <roboerik@android.com> am 4d82c46e: Merge "Implement auto-sleep functionality." into lmp-dev

* commit '4d82c46ef5df06e1b92f3574e41b38a62ec0e607':
Implement auto-sleep functionality.
739bf81dd130957c9bc09abc4e25732af2d675c0 02-Oct-2014 Erik Pasternak <roboerik@android.com> am 4d82c46e: Merge "Implement auto-sleep functionality." into lmp-dev

* commit '4d82c46ef5df06e1b92f3574e41b38a62ec0e607':
Implement auto-sleep functionality.
00207f564d9a9256d81f5f9c3daf59909327e445 02-Oct-2014 Hui Shu <hush@google.com> am 4e0ad44f: Merge "Revert "Remove WebView DRP Setting from Developer Settings"" into lmp-dev

* commit '4e0ad44fcac48b2be77bd116ffdb696cb6490829':
Revert "Remove WebView DRP Setting from Developer Settings"
4979a6ade1d46dad1716319725d43b4e9cbb71d3 02-Oct-2014 Hui Shu <hush@google.com> am aee5c9e7: Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev

* commit 'aee5c9e7c1f61126c61722a957daedf57cf26e7e':
Remove WebView DRP Setting from Developer Settings
888fd710cd9ae569d47e1795f47e2ad909b5c8df 02-Oct-2014 Hui Shu <hush@google.com> am 4e0ad44f: Merge "Revert "Remove WebView DRP Setting from Developer Settings"" into lmp-dev

* commit '4e0ad44fcac48b2be77bd116ffdb696cb6490829':
Revert "Remove WebView DRP Setting from Developer Settings"
05af6adb8d4fd5ea069c9aead5a877da9085daa8 01-Oct-2014 Jeff Brown <jeffbrown@google.com> Implement auto-sleep functionality.

Added a new SLEEP_TIMEOUT setting which governs how long the device will
remain awake or dreaming without user activity. By default this
value is set to -1 which maintains today's existing behavior.

We basically represent the time we are allowed to be dreaming as a new
kind of user activity summary state called DREAM, similar to BRIGHT
and DIM. When the sleep timeout expires, the state is cleared and
the dream ends.

Bug: 17665809
Change-Id: I59aa7648dcec215f1285464fc1134934a09230e5
ettings.java
2267177279326b6d499830a2d177eacff6ea50a8 01-Oct-2014 Hui Shu <hush@google.com> Revert "Remove WebView DRP Setting from Developer Settings"

This reverts commit eb487c63017ae5cb0f3f35bf8b17c5f3bbb0f456.

Change-Id: Ie38a24efe2ea015b971cb0a05eca321299898538
ettings.java
9cd616e067b9049c87ad5064d3cf4b8cc380ddfa 01-Oct-2014 Hui Shu <hush@google.com> am aee5c9e7: Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev

* commit 'aee5c9e7c1f61126c61722a957daedf57cf26e7e':
Remove WebView DRP Setting from Developer Settings
eb487c63017ae5cb0f3f35bf8b17c5f3bbb0f456 01-Oct-2014 Hui Shu <hush@google.com> Remove WebView DRP Setting from Developer Settings

BUG: 17730990
Change-Id: Ic4fde9affb2f887329d6b3d2dbe8945959c016d8
ettings.java
d42c1f40225d3701d859ab0dda857d3cf86a5614 26-Sep-2014 Michael Wright <michaelwr@google.com> am 3f0da0bc: am 7d766833: am b5344ce5: am 57bb094b: am 233bbabf: Merge "Specify a device identifier for keyboard layout notification." into lmp-dev

* commit '3f0da0bcb07ed1c7a544cc3cd88b084a42044295':
Specify a device identifier for keyboard layout notification.
2e4c96f879e1ae328cbb069ecc3c53dc636359b0 26-Sep-2014 Michael Wright <michaelwr@google.com> am 7d766833: am b5344ce5: am 57bb094b: am 233bbabf: Merge "Specify a device identifier for keyboard layout notification." into lmp-dev

* commit '7d7668330efa99bdab44e8cc4d240ae0e05a0abb':
Specify a device identifier for keyboard layout notification.
99ef41c47c093e00a936ca668dda46a954c2079a 26-Sep-2014 Michael Wright <michaelwr@google.com> am 233bbabf: Merge "Specify a device identifier for keyboard layout notification." into lmp-dev

* commit '233bbabfe10bbf7190cdf3a6bb44f081a1fa91c7':
Specify a device identifier for keyboard layout notification.
e27380ac46fe7beab8bf0f6409efab0482e2cee0 26-Sep-2014 Michael Wright <michaelwr@google.com> am 233bbabf: Merge "Specify a device identifier for keyboard layout notification." into lmp-dev

* commit '233bbabfe10bbf7190cdf3a6bb44f081a1fa91c7':
Specify a device identifier for keyboard layout notification.
c93fbd1fae3d461f2f8a7c039b15f953ed6a8b50 23-Sep-2014 Michael Wright <michaelwr@google.com> Specify a device identifier for keyboard layout notification.

Bug: 17614683
Change-Id: If53489b09212bfa487d7dc3a7f9b000731d949ac
ettings.java
40aca89a2737b2f7a3c59b2c10956fcc23b3799e 19-Sep-2014 Wink Saville <wink@google.com> am c501947a: Merge commit \'edd57a98\' into fix-conflict

* commit 'c501947a3ebed84792c235f29c73194d095906ed':
9bb67459b623b13483adfbf795811bd40c05c9bd 16-Sep-2014 Wink Saville <wink@google.com> Merge commit 'edd57a98' into fix-conflict

* commit 'edd57a98':

Conflicts:
core/java/android/provider/CallLog.java
telephony/java/android/telephony/TelephonyManager.java

Change-Id: Ia16537ede73f7b2e2c22ca1ff664a32bd6c272fa
6c8d6d74c0ee12e6d57bfaede3f7a713bf82f025 13-Sep-2014 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of 66c16547 to lmp-sprout-dev
Also fixed issue in TelephonyManager.

Change-Id: I4dde45e638c2bcf32f8f929d34d0083966f6761f
cc616bca0dc28774ba76c74fd92d86147c4f68af 13-Sep-2014 Tyler Gunn <tgunn@google.com> am b51263b9: am 21282583: am 66c16547: Merge "Renaming Telecomm to Telecom." into lmp-dev

* commit 'b51263b99fc2c8293e1f0fe844e65ce2afec2089':
Renaming Telecomm to Telecom.
8bc39961896ff6ef98f34bf08eab540b1d9bcd5f 13-Sep-2014 Tyler Gunn <tgunn@google.com> am 21282583: am 66c16547: Merge "Renaming Telecomm to Telecom." into lmp-dev

* commit '2128258322aa2f90d65c1963ede79d1bffb3fce4':
Renaming Telecomm to Telecom.
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
allLog.java
056c6d0e9535d380f23f519880dd87588756e334 12-Sep-2014 Julia Reynolds <juliacr@google.com> am b5f388f8: am a098030f: am 086bf8e1: Merge "Allow device owners to update LOCATION_MODE." into lmp-dev

* commit 'b5f388f8f6b94dae5b8a4d4eb68316d52df4cdcd':
Allow device owners to update LOCATION_MODE.
3fb8348ecd1cc094dd5c259bcc9283713e5e528a 11-Sep-2014 Julia Reynolds <juliacr@google.com> am a098030f: am 086bf8e1: Merge "Allow device owners to update LOCATION_MODE." into lmp-dev

* commit 'a098030f70a4861a4c0f7241d8a95f1d6441e5ed':
Allow device owners to update LOCATION_MODE.
c889315c66bdf6b1f39f78b6983241d25b3accb1 11-Sep-2014 Julia Reynolds <juliacr@google.com> am 086bf8e1: Merge "Allow device owners to update LOCATION_MODE." into lmp-dev

* commit '086bf8e1ef3beac49adea005a1e3275605cd4a41':
Allow device owners to update LOCATION_MODE.
d86734b4695a92359ed38d6053ed1ce16a470634 11-Sep-2014 Julia Reynolds <juliacr@google.com> Merge "Allow device owners to update LOCATION_MODE." into lmp-dev
b6b356c07e92b4d01596be297575dd27d6a25b9e 11-Sep-2014 Adrian Roos <roosa@google.com> am c52a9597: am 99006f6c: am be125380: Merge "Add system trust agents on first boot or when adding user" into lmp-dev

* commit 'c52a95973ebacd5afcd6b2ae4937983726493d25':
Add system trust agents on first boot or when adding user
444c6581efd26ce6118a806d1cfdbd67cd2073e5 10-Sep-2014 Adrian Roos <roosa@google.com> am 99006f6c: am be125380: Merge "Add system trust agents on first boot or when adding user" into lmp-dev

* commit '99006f6cd5d64fa6accd4301646b4a58ac992d62':
Add system trust agents on first boot or when adding user
f1fe1a3ac448f157df1ebbebf6ed0e03091bc2b5 10-Sep-2014 Adrian Roos <roosa@google.com> am be125380: Merge "Add system trust agents on first boot or when adding user" into lmp-dev

* commit 'be12538056cf441f441d42d2bf7d430ecdc3fd4f':
Add system trust agents on first boot or when adding user
3870d451f7d3913a05ffa144d03167bde9221adb 05-Sep-2014 Adrian Roos <roosa@google.com> Add system trust agents on first boot or when adding user

While we're in there also call listeners when they're added
so they know the state immediately.

Bug: 17258031
Change-Id: I5f1186314795f3fafd78e1b3e2d5102cdaec65d6
ettings.java
5782a15f9ca2cb2afa085d657bb5cadb32458277 09-Sep-2014 Yorke Lee <yorkelee@google.com> am 903343c2: am 37a32c03: am af99dec4: Merge "Replace Calls.FEATURES_NONE with 0 (1/4)" into lmp-dev

* commit '903343c228f611b5634cbc22bf000fbf0129d287':
Replace Calls.FEATURES_NONE with 0 (1/4)
b8bf1691cc830f90289d2488a9c42182ec26309b 09-Sep-2014 Yorke Lee <yorkelee@google.com> am 37a32c03: am af99dec4: Merge "Replace Calls.FEATURES_NONE with 0 (1/4)" into lmp-dev

* commit '37a32c038db23533ab1bcc0b14fa48ed61e74a60':
Replace Calls.FEATURES_NONE with 0 (1/4)
8dc2c62821c4e3fbec5d1528874bd244651a632e 08-Sep-2014 Yorke Lee <yorkelee@google.com> am af99dec4: Merge "Replace Calls.FEATURES_NONE with 0 (1/4)" into lmp-dev

* commit 'af99dec488b5eae712253d24ce9f1e85ccfefdeb':
Replace Calls.FEATURES_NONE with 0 (1/4)
e3198b719f3cf68e8e2f3b793bab8cc1e416df05 08-Sep-2014 Yorke Lee <yorkelee@google.com> Replace Calls.FEATURES_NONE with 0 (1/4)

Bug: 17253963
Change-Id: I9e9e56cdf4c9a60ac1e047bef0eba2ba0c8f10fb
allLog.java
a559a68c361340d85600850bbb26471b65e1716d 08-Sep-2014 Elliott Hughes <enh@google.com> am d2f9559a: Merge "resolved conflicts for merge of 2008cff7 to lmp-dev-plus-aosp" into lmp-dev-plus-aosp

* commit 'd2f9559ad7cff93527a05cb85172a7bb29f4d9b2':
Small documentation fixes across many files.
4656e69bf36d42a35c9290ab79eeb33b4cca1d5c 08-Sep-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 2008cff7 to lmp-dev-plus-aosp

Change-Id: I5148eda624e8504f12dbc1288cd4a7a5b7c10850
d0646dca40ff740bd49755ad60751678b0ccca52 28-Aug-2014 Mark Doliner <mark@kingant.net> Small documentation fixes across many files.

Change-Id: I3e8787ce4bc6018ea1dc9aef2a2cd4e0a8dde663
ocumentsProvider.java
085146635adccaddc16c7197311b81540fb84ee0 05-Sep-2014 Yorke Lee <yorkelee@google.com> am 515f49b3: am 159a547b: am 52cd366d: Merge "ContactsContract API changes per API review" into lmp-dev

* commit '515f49b3f34ac3ebe768ab005e9d439886bde921':
ContactsContract API changes per API review
d5005842348efd0f7e86b67692cf0638a10a7fed 05-Sep-2014 Yorke Lee <yorkelee@google.com> am 52cd366d: Merge "ContactsContract API changes per API review" into lmp-dev

* commit '52cd366d9d094af6b8c3b4e91e54d00a88f50cb8':
ContactsContract API changes per API review
78814623e029e34065dc0c39e8eb65ba5afa8abb 05-Sep-2014 Yorke Lee <yorkelee@google.com> ContactsContract API changes per API review

Bug: 17390425
Change-Id: Ia88fb0235a56becc3ec5a770067856311769a68c
allLog.java
ontactsContract.java
82735bcb1400cb5ab2da763a236a55927d87ab00 04-Sep-2014 Julia Reynolds <juliacr@google.com> Allow device owners to update LOCATION_MODE.

Bug: 17388933
Change-Id: If3267aa52c2611cf764a19bee019c312f6ebf5d1
ettings.java
392f24dc8d2a20a8cf5c302528b4c7363ef3da3f 02-Sep-2014 Tyler Gunn <tgunn@google.com> am 51023e0e: am a8c7d1bc: am 78c0d4ab: Merge "Remove "ask each time" SIP call setting. (1/2)" into lmp-dev

* commit '51023e0e394d33773a4dd4650190fd1b41131303':
Remove "ask each time" SIP call setting. (1/2)
43f75b4db15dc6f7bc2f8a4afedeefb51bab3779 02-Sep-2014 Dianne Hackborn <hackbod@google.com> am 347a8167: am 4e784a50: am 4b9a934c: Merge "Hide the interaction part of VoiceInteractionService." into lmp-dev

* commit '347a81674350d3848e513f678cbf689074b935fd':
Hide the interaction part of VoiceInteractionService.
bd4ca2b4b46dfd2bbc1f020036b06317f82ee96d 02-Sep-2014 Tyler Gunn <tgunn@google.com> am 78c0d4ab: Merge "Remove "ask each time" SIP call setting. (1/2)" into lmp-dev

* commit '78c0d4ab75c61efc48af1a698fd7d36620523866':
Remove "ask each time" SIP call setting. (1/2)
8bce896373004f6a3d88957288b10793df7a3d62 02-Sep-2014 Dianne Hackborn <hackbod@google.com> am 4b9a934c: Merge "Hide the interaction part of VoiceInteractionService." into lmp-dev

* commit '4b9a934cef4de4985c0e316ef89ca41b3e720135':
Hide the interaction part of VoiceInteractionService.
4b7498d81fd6bd44eeb77a05d7c3ceccf155ea01 02-Sep-2014 Tyler Gunn <tgunn@google.com> Merge "Remove "ask each time" SIP call setting. (1/2)" into lmp-dev
76a65d5f00679e3a4f40c9509213c49990d60a1c 02-Sep-2014 Dianne Hackborn <hackbod@google.com> Merge "Hide the interaction part of VoiceInteractionService." into lmp-dev
d7c0395d26694c594c3e64b16ab647c971aeb422 30-Aug-2014 Dianne Hackborn <hackbod@google.com> Hide the interaction part of VoiceInteractionService.

Also the ability to start voice activities is turned off,
though for testing purposes it can be turned back on with a system
property.

Change-Id: I867704d32c53beeb851ceea9b45c28bf5c01ef61
ettings.java
2c830a2905b07639984499529f9a19aeb779a539 02-Sep-2014 Tyler Gunn <tgunn@google.com> Remove "ask each time" SIP call setting. (1/2)

1. Removed setting from Settings.System class.
2. Added settings database migration step to change "SIP_ASK_ME_EACH_TIME"
to "SIP_ADDRESS_ONLY" as the "ask me each time" option no longer makes
sense given the new phone accounts settings.

Bug: 17321422
Change-Id: I3df1be4fcda44f2097c49af44508ac1fce72a24b
ettings.java
d6c6cd80f063ff08ceeed123cc98baf0d3cebe9f 02-Sep-2014 Chris Wren <cwren@android.com> am 7c528397: am a69ad7a3: am 7d0a2a7f: Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev

* commit '7c528397b54ca5b6cb865e7ba37754f3a831830c':
Disable lockscreen notifications for secure users on upgrade.
05e6dde3a0b9ba1eb3d13d511fe2e27a0d10c851 01-Sep-2014 Wink Saville <wink@google.com> ksd to lmp-sprout-dev

Change-Id: I94eb65c62231b5831570bb0cbbbd9c916bee0a37
allLog.java
4775109ec1e08092befa836078ecc76eee773e33 29-Aug-2014 Chris Wren <cwren@android.com> Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev
cd8f4f71fc75b4f57d21c4e9f80f1107101ca369 28-Aug-2014 Chris Wren <cwren@android.com> Disable lockscreen notifications for secure users on upgrade.

Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
ettings.java
5fd5d461d2ab2746f1833ff0419de04c4d71f4d2 28-Aug-2014 Julia Reynolds <juliacr@google.com> am e7472cec: am fa39108f: am d266bd44: Merge "Audio/Micrphone user restriction/multiuser updates." into lmp-dev

* commit 'e7472cec1f01174c6dfdbbbd1287dcde56c1a21e':
Audio/Micrphone user restriction/multiuser updates.
a8528c642090525f0e5f3c35dc3ba5a50ff17093 28-Aug-2014 Julia Reynolds <juliacr@google.com> Merge "Audio/Micrphone user restriction/multiuser updates." into lmp-dev
c39c6f06a8119de1e865c6e8ae9038f8c70f4700 28-Aug-2014 Nancy Chen <nancychen@google.com> am a13366b6: am 48add9d4: am 2ead90e0: Merge "Add field for sub_id in call log for sprout database." into lmp-dev

* commit 'a13366b6279b047ad7bb4e0b2e8ef5e997e02b8a':
Add field for sub_id in call log for sprout database.
d1a5a4636847201a5e7812f0069e00526ea1e0a5 28-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Add field for sub_id in call log for sprout database." into lmp-dev
d380f5604ff917c9faa0a4b6575b0acc46d2bf4b 28-Aug-2014 Jeff Sharkey <jsharkey@android.com> am bc55cead: am cb1236be: am 7cb28e7b: Merge "Define EXTRA_SIZE for ContentProviders." into lmp-dev

* commit 'bc55cead16c51a846c3fc1c8afd2aaf3d02e0b25':
Define EXTRA_SIZE for ContentProviders.
ca5186e9d53b81ba74039235827c79911f247aa5 28-Aug-2014 Jeff Sharkey <jsharkey@android.com> Merge "Define EXTRA_SIZE for ContentProviders." into lmp-dev
3a7809212761dcd6e42afe1544a49791d70d140f 28-Aug-2014 Nancy Chen <nancychen@google.com> Add field for sub_id in call log for sprout database.

Adding sub_id as a column in the calls table to make the sprout and
non-sprout contacts databases consistent.

Bug: 14990572
Change-Id: I82d9fe65e6cdf4e10b6115a8565c2be3a6f93562
allLog.java
af74216c4e6f9b8ec7973203016a613153e69e16 28-Aug-2014 Yorke Lee <yorkelee@google.com> am 64c86ede: am 9aedb262: am e4ba7f2b: Merge "Update value of EXTRA_CALL_TYPE_FILTER" into lmp-dev

* commit '64c86edeb93c8b7dcde4c2a6288414e3ab416055':
Update value of EXTRA_CALL_TYPE_FILTER
52e77501845cd472a7aa0bf680efb017fa97cece 28-Aug-2014 Yorke Lee <yorkelee@google.com> Update value of EXTRA_CALL_TYPE_FILTER

Bug: 17253963
Change-Id: I1e98fc2a25b0bc807b0b4d1af2941da6660e09e0
allLog.java
5b836f29a3f56f9d13b6004417330c41ec0c18ae 27-Aug-2014 Jeff Sharkey <jsharkey@android.com> Define EXTRA_SIZE for ContentProviders.

Also make Size and SizeF parcelable.

Bug: 17205016
Change-Id: Ide397b84864f6cad7f8d89e66b6c8697a3ad335b
ocumentsContract.java
ocumentsProvider.java
b53453fae037d67e421011936c8fdffe7ba43922 22-Aug-2014 Julia Reynolds <juliacr@google.com> Audio/Micrphone user restriction/multiuser updates.

1. Persist microphone mute state.
2. Set mute state for correct user.
3. Check for settings restrictions as the correct user.

Bug: 17177502
Bug: 16701642
Change-Id: Id8b6cd90c5caceb67fbec862f90aac7ec7a00b3c
ettings.java
63d3e8fe01624b348307b0c2f2471c7aaf98560a 27-Aug-2014 Makoto Onuki <omakoto@google.com> am a3ed4ae9: am 1a8674f1: am d37368bf: Address API review comments:

* commit 'a3ed4ae9578a49981e40746614940de1b54ccf25':
Address API review comments:
0e917336a2e7ad8191988042800f4be443b5c69a 26-Aug-2014 Makoto Onuki <omakoto@google.com> Address API review comments:

- Rename isCorpContactId() to isEnterpriseContactId().
- Update EXTRA_* constant values.
- Update javadoc on NAME_VERIFIED.

Bug 17253963

Change-Id: I1bef3adbb4125b39129c77cca29c4b8089e1f8cc
ontactsContract.java
2822d16b028778f090979ebdc5ecfc10a85a5aff 27-Aug-2014 Yorke Lee <yorkelee@google.com> am 14407ed0: am cca60741: am 60a3817c: Merge "API changes for ContactsContract" into lmp-dev

* commit '14407ed0cc8d23c4bbf6609611d522c0986894c1':
API changes for ContactsContract
b31c8abdc414b7ee241752072174fb571488f1c5 27-Aug-2014 Yorke Lee <yorkelee@google.com> API changes for ContactsContract

* Hide NAME_VERIFIED
* Add PinnedPositions.pin

Bug: 17253963
Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
ontactsContract.java
e9c13a60c0a32cec42543611f1122547cc609869 26-Aug-2014 Dianne Hackborn <hackbod@google.com> am 11bba84c: am f1bb15d2: am 55953caa: Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev

* commit '11bba84c2da1c30e0d3b67456c04995d16a5db52':
Fix issue #16311398: Limit number of documents a process can open
89ad456ea49cb62615ebdcac83a2515743bbe5fa 25-Aug-2014 Dianne Hackborn <hackbod@google.com> Fix issue #16311398: Limit number of documents a process can open

In application processes, monitor for when we start getting close
to the Dalvik heap limit, and ask the activity manager to try to
prune old activity instances in that case.

Add an explicit API for apps to ask that they have their own
activity instances cleaned up, if they want.

Fix some bugs in launching activities that were not correctly
applying the "multi task" behavior in the appropriate situations
of document-centric recents.

Clean up the activity manager's process removal code to all share
a common path.

Add a new "Spam" option to ActivityTests, which continually creates
new tasks, checking that the activity manager will now prune old
tasks rather than letting the app run out of RAM.

And while I was was doing this, I found problems with the path
for bringing an empty task to the foreground -- it could make
a new task instead of re-starting the root activity in the
existing task. This is fixed, and some code in the recents
UI for working around the bug is removed.

And as long as I am doing that, we now have nice hooks in to
the activity manager for AppTask to give some APIs for better
managing the task, so add those along with more tests for these
APIs in ActivityTests.

We should look at also having the activity manager try to prune
old tasks when it sees app processes being killed, to better balance
memory use across multiple processes when some processes may host
many documents. That however is for another CL...

Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
ettings.java
21a82eba192f1c39cfdbe1d93791411b4e79ed31 22-Aug-2014 Yorke Lee <yorkelee@google.com> am 3eda44ed: am c04818f7: am 82f28d2d: Merge "Update normalized phone number for contact for successful call" into lmp-dev

* commit '3eda44ed63b706dbb5fd919386aaafad71a445ef':
Update normalized phone number for contact for successful call
3dbc1185fb54561ed628554fa0dcb080a9453219 21-Aug-2014 Yorke Lee <yorkelee@google.com> Update normalized phone number for contact for successful call

Bug: 13792353

Change-Id: I6461bd225994160ace45238aee49f39eb13cb702
allLog.java
c8600f9f123d3d954e11096bf03e3d79f2944c28 21-Aug-2014 Jaewan Kim <jaewan@google.com> am fc2dccca: am 48f09811: am 1ca0c4f0: Merge "TIF: Accept any character for custom label." into lmp-dev

* commit 'fc2dcccab58adf2fb6a750e499cec42180806cb2':
TIF: Accept any character for custom label.
c616bcc5cc994303bbd6f5e6111e0609c34b27b8 21-Aug-2014 Kenny Guy <kennyguy@google.com> am c18eec1c: am 676fedb0: am 87c29bd1: Merge "Replicate text and sounds settings for managed profile." into lmp-dev

* commit 'c18eec1c2848c7fab2693de7138034de316eb0fb':
Replicate text and sounds settings for managed profile.
edaece1f30290ac51b478908c80ce24211614ec6 21-Aug-2014 Jaewan Kim <jaewan@google.com> Merge "TIF: Accept any character for custom label." into lmp-dev
f0e530e4eb1d4af7df76fa8d8e75e6783d6e7c29 21-Aug-2014 Jaewan Kim <jaewan@google.com> TIF: Accept any character for custom label.

Bug: 16874696
Change-Id: Idc42853ea7f4b12a2eda1f45319bc31ee1a8c6b7
ettings.java
6460657d0eed0d3a011e9cb273724d3b1f13f13a 21-Aug-2014 Kenny Guy <kennyguy@google.com> Replicate text and sounds settings for managed profile.

Replicate touch sound / vibrate setting and show password
setting between managed and parent user.

Bug: 17064707,17157511
Change-Id: I70ea9f2ac57ba5a8f9619b21eb7adad91011d733
ettings.java
611f8f17f333f7702cd8c60e2f4908ae306a02db 19-Aug-2014 Jon Miranda <jonmiranda@google.com> Merge "Exposes style and theme data, adds developer option." into lmp-dev
836c0a8b949d71293c996761691e065f0651acef 11-Aug-2014 Jon Miranda <jonmiranda@google.com> Exposes style and theme data, adds developer option.

Adds support for a String[] return type in ViewDebug; and in addition to that,
the hasAdjacentMapping method can use the String array as means to map a key to
its value.

Adds DEBUG_VIEW_ATTRIBUTES to Settings so that the heavy per-view
computations only affect those who opt in. This setting is used in
CoreSettingsObserver to avoid impacting start time.

Change-Id: I8f507e4e5361414c30d247e8d9815205feb5e91f
ettings.java
468fef687031f0d4f050bb001392fffc6ccf2c4b 19-Aug-2014 Michael Wright <michaelwr@google.com> Merge "Persist Show IME option." into lmp-dev
7b5a96ba8364d5c180780b2f878f5a2b949cfdac 10-Aug-2014 Michael Wright <michaelwr@google.com> Persist Show IME option.

Add a new setting to persist whether to show the IME when a hard
keyboard is connected.

Bug: 14066881
Change-Id: I2237ded850a0d4ab43ca441d0b7df13e0958e630
ettings.java
b135d06cb83db03b1328b7a82f064de7868fb16f 20-Aug-2014 Jeff Brown <jeffbrown@google.com> Remove incomplete media router API. (DO NOT MERGE)

Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7
ettings.java
49e057d7eedb44f5397781254acab4e0ef08a9cf 13-Aug-2014 Adrian Roos <roosa@google.com> Play "device trusted" sound when onTrustInitiatedByUser fires

Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53
ettings.java
90f58b4447e60c887e2f96be0ff186c23debad1d 16-Aug-2014 Dianne Hackborn <hackbod@google.com> Merge "Make sure we initialize to enable the default voice interaction service." into lmp-dev
16ec0808b5c19f8f33cdacb7b2e444eebfae7d21 16-Aug-2014 Dianne Hackborn <hackbod@google.com> 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
ettings.java
cab3eb0c0b29d8c4b58652c40687a5a4309f94ef 15-Aug-2014 Jeff Davidson <jpd@google.com> Merge "Fix default scorer provisioning." into lmp-dev
4f7e2e334e4ca5f1a67baf4bdd40cd080b954161 15-Aug-2014 Amith Yamasani <yamasani@google.com> Copy certain settings to the managed profile

All reads of those specific settings will go to the primary user.
Inserts to primary also go to managed profiles in order to notify
any observers.

This enables Location settings to be shared by both profiles.
Also some other settings related to IME and Accessibility since
those services are shared across the profiles.

Bug: 16457210
Change-Id: Ib8fd697b5c78027fcbaf245d82dda5e6d6aab4f0
ettings.java
56f9f73a5aad38aa777ec9a42c859e687f2d2af1 15-Aug-2014 Jeff Davidson <jpd@google.com> Fix default scorer provisioning.

Use Settings.Global instead of SharedPreferences (which don't work) to
track whether we've run the one-time provisioning step of activating
the build-time configured default scorer.

Bug: 16980605
Change-Id: I093cdd6f4f1110960078a186191c4e02b5543d6a
ettings.java
34cc4db180c20569e62db5860c0b206be65b5117 13-Aug-2014 Glenn Kasten <gkasten@google.com> Move setting to disable automatic USB routing

This moves the setting from System to Secure per review.

Bug: 16381952
Change-Id: I2497ca66b4f346839490c29295528fac70e94494
ettings.java
a3fb40d5f492825bb86769f541620baca5616e05 13-Aug-2014 Dianne Hackborn <hackbod@google.com> 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
ettings.java
9ee66404b73f46c60905cf538dd6c10e90e53970 12-Aug-2014 Brian Attwell <brianattwell@google.com> Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP

Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
ontactsContract.java
a79e2bedba4b9ce2258410f2edefbf89641dad43 10-Aug-2014 Yorke Lee <yorkelee@google.com> Block access to call logs from the corp profile

Bug: 16812842
Change-Id: Ie4342b5efb2419097c35c0ddebd486a098cea523
allLog.java
b8850040c447236f071b407b9c116bbd400e1536 09-Aug-2014 Barnaby James <bjames@google.com> Remove constants for VOICE_CONTROL_ZEN_MODE.

Change-Id: I197d68e66d9a1b197e7c35fd140101458cf5bfc7
ettings.java
4d933a0ef0b436dc2d1dc79ef7ce4a997616929b 08-Aug-2014 Dongwon Kang <dwkang@google.com> TIF: introducing TvInputSettings for put/getting user preferences from Settings.

Reference:
- Settings.Secure.ENABLED_INPUT_METHODS
- InputMethodSettings

Bug: 16876078
Change-Id: I72c1770517052188694f21c10da383338edc8ee2
ettings.java
5f5163548424ed3a4d7ea259848f82fb74aaf75d 22-Jul-2014 Glenn Kasten <gkasten@google.com> Add setting to disable automatic USB audio routing

Bug: 16381952
Change-Id: I7335ed4c3ec8d5f9cb9a9bd2a9d2f9e0f3a63c43
ettings.java
52e5701eea2da526191e997f9df5c41ef1e1c938 23-Jul-2014 Dan Sandler <dsandler@android.com> Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.

Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
ettings.java
b942035837b5206b232081d724916eabb7dd4c6b 04-Aug-2014 Yorke Lee <yorkelee@google.com> Merge "Update documentation for ContactCounts" into lmp-dev
a4aa9dc6148529e7d0a905a54a2485e79e7a0149 04-Aug-2014 Yorke Lee <yorkelee@google.com> Update documentation for ContactCounts

Change-Id: I71262dbe83ffd258954075103ceb4ef5ae70156e
ontactsContract.java
a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6 04-Aug-2014 John Spurlock <jspurlock@google.com> 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
ettings.java
38e2d104d80e092af7d997db025b2a9b47150470 30-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "ContactsContract API changes" into lmp-dev
94c8761dc56c93324f611e4a513aad1ca2164c26 19-Jul-2014 Yorke Lee <yorkelee@google.com> 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
ontactsContract.java
783645e99f909ffc7a2d5d2fca9324cc0e9b7362 28-Jul-2014 Jae Seo <jaeseo@google.com> 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
ettings.java
2b0e09c59f894b7f49618da142e3af5cfd014ded 27-Jul-2014 John Spurlock <jspurlock@google.com> Settings: Constants for notification settings.

Bug:16208321
Change-Id: Iaf18dfc2edda9d80553f02ea0a74236230f89079
ettings.java
da466e1e91196f1fcad8b97f83e62829d58b179d 26-Jul-2014 Amith Yamasani <yamasani@google.com> 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
23a0f0512afd26fcc10e94300cf86e6195ade87a 25-Jul-2014 Amith Yamasani <yamasani@google.com> 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
ettings.java
486c89842f76f53640aa84028ee2bcc1bbfa7e35 26-Jul-2014 John Spurlock <jspurlock@google.com> am 58981510: am cbdadc7d: am d5410ff7: Merge "Volume: Persist unsafe volume playback time." into lmp-dev

* commit '58981510296ed03f9deee0829461bfe76647996b':
Volume: Persist unsafe volume playback time.
acaf686488d98087a4a571256a4bc3fea1271b9a 25-Jul-2014 Yorke Lee <yorkelee@google.com> 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
bda303319b9684f508f4b7478bdbeae5ad690e56 25-Jul-2014 Paul Soulos <psoulos@google.com> am d6e7338f: am 22a78a16: am 50655afc: Adds getTypeLabel to ContactsContract Event

* commit 'd6e7338f2ae25670e4b4ef4b7f9cda5ac9117449':
Adds getTypeLabel to ContactsContract Event
6b2dd6337e61379705c59466776a5e96b2e583cd 25-Jul-2014 Paul Soulos <psoulos@google.com> Adds getTypeLabel to ContactsContract Event

Bug: 16550284
Change-Id: Ie95093a2c9bca2b9ba130dea470c8beef94cd659
ontactsContract.java
addcf34645b6c23551a192ddf651491f63c42c98 26-Jul-2014 John Spurlock <jspurlock@google.com> Merge "Volume: Persist unsafe volume playback time." into lmp-dev
aa5ee4d65f8788e2a0afcd198367450853fd72ac 25-Jul-2014 John Spurlock <jspurlock@google.com> 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
ettings.java
73b941f761270c71616fe44fa0727aa79345604c 25-Jul-2014 Nicolas Prevot <nprevot@google.com> 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.
77e56a1152eac80deff6cbfb2d1038e129651b60 25-Jul-2014 Yorke Lee <yorkelee@google.com> 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)
d1c99b1fe85ed03261a77a14ae52e7fa3a6e523a 04-Jul-2014 Nicolas Prevot <nprevot@google.com> 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
ediaStore.java
eea3c5d735b33e2ece7f5cdfd2c70ae4e0d5b732 25-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev
7d24679c6cea5d0916fcdfdf629dc2e09707dd42 25-Jul-2014 Yorke Lee <yorkelee@google.com> Update the value of PinnedPositions.UNPINNED to 0

Bug: 16403306
Change-Id: I6ff5a6051694245831db31db9d37ac0793eb0c32
ontactsContract.java
c91079c3c33a5e3efb1c452b6ed81ae15df29545 24-Jul-2014 Yorke Lee <yorkelee@google.com> 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
7a5e5726ab7b2940d45b0651acfa848db57d284c 24-Jul-2014 Yorke Lee <yorkelee@google.com> 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
allLog.java
624d0d64ab545aa91b2cfcf7ec29f0ae45944923 24-Jul-2014 Yorke Lee <yorkelee@google.com> Improve documentation for for CallLog.CONTENT_URI_WITH_VOICEMAIL

Change-Id: I6e1a4811f822f2211070edd7c9aa486005e53cea
allLog.java
4f3afa6039081b32dac15652dfa3592d66f2014e 23-Jul-2014 Brian Attwell <brianattwell@google.com> am 16846152: am 1a038e57: am 41b62ac7: Add PICK_JOIN_CONTACT_ACTION action contact

* commit '16846152b19b9487cf3403b3d3b7e4d4af6e6f46':
Add PICK_JOIN_CONTACT_ACTION action contact
e98a95c156a877213ae1a3e7458ebacebe4a8879 23-Jul-2014 Brian Attwell <brianattwell@google.com> Add PICK_JOIN_CONTACT_ACTION action contact

This ContactsContract change is needed by ag/509090

Bug: 16190113
Change-Id: I0f96286bdf45015148d2e84f7fe7aac5b23e1ba2
ontactsContract.java
301a072c3fae80c571146692c0e67132cfb54fcc 22-Jul-2014 Alan Viverette <alanv@google.com> am 3db52061: am f7b914b8: am a27cc3f4: Merge "Remove unused quick setting display preferences" into lmp-dev

* commit '3db52061967a14a2d197e8850160d5a0a6ec16dd':
Remove unused quick setting display preferences
b38a8d5ec1a5e933138d3797cd2c37368e52c406 21-Jul-2014 Yorke Lee <yorkelee@google.com> 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
a961ff298f0822d480e91366fabd491edb059c2b 21-Jul-2014 Evan Charlton <evanc@google.com> am ae930cb8: am d5d9a4de: am 19e236f5: Merge "Rename PhoneAccountMetadata to PhoneAccount" into lmp-dev

* commit 'ae930cb836c784df45d76e9716610de91747ac24':
Rename PhoneAccountMetadata to PhoneAccount
4373edd648a0b6031cd27a72c64e28f3f7b4b35e 21-Jul-2014 Evan Charlton <evanc@google.com> am 2254cebd: am 144036b8: am 1bb914ea: Rename PhoneAccount to PhoneAccountHandle

* commit '2254cebd48a8702210a1c3fdcc77a5bcc8151f4b':
Rename PhoneAccount to PhoneAccountHandle
6eb262c3515c927df19340b3eee8c74bc9478d16 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccount to PhoneAccountHandle

Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
allLog.java
06da1b1ceb4d043db65da808d62dd7d3ec5d8663 22-Jul-2014 Alan Viverette <alanv@google.com> Remove unused quick setting display preferences

BUG: 16303790
Change-Id: I0772228aac5a743b9780853c5825252c148b8b5c
ettings.java
7bb09336983e97bc613e0c4316d9df3ea1ca4bf9 20-Jul-2014 Winson Chung <winsonc@google.com> 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
8c8a062f521d39ceecc99e8fc6cef9c60b773da5 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccountMetadata to PhoneAccount

Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
allLog.java
56e09b42a0f1670970872bef611a8036904ad6bf 18-Jul-2014 Jason Monk <jmonk@google.com> 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
ettings.java
158c5e41d427171de492492751bf99efeab3c8a4 17-Jul-2014 Yorke Lee <yorkelee@google.com> 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
allLog.java
ace692ef6dcab48aba3552f8d6e398fe590b78e4 18-Jul-2014 Brian Attwell <brianattwell@google.com> 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
c2809b7597e566ac4bbb1faa87656bffc426b59d 18-Jul-2014 Jae Seo <jaeseo@google.com> am cdc49c6c: am b719bf57: am 3245f3d7: Merge "TIF: Add TvParentalControlManager" into lmp-dev

* commit 'cdc49c6c4a9e106b220b29a7da68141489a0d175':
TIF: Add TvParentalControlManager
3a96903be469d9f0af86704cb18456167c11765d 18-Jul-2014 Jinsuk Kim <jinsukkim@google.com> 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
fe61a67bb9a7b82d1fb29c349c9b0b0b245f8c52 18-Jul-2014 Jinsuk Kim <jinsukkim@google.com> Merge "Remove system audio output option for HdmiControlService" into lmp-dev
54a463498316594ba7e0567db5d4f541a7a1e827 18-Jul-2014 Jae Seo <jaeseo@google.com> Merge "TIF: Add TvParentalControlManager" into lmp-dev
6057102dbb746593a7d59cf377c969b62e38c664 15-Jul-2014 Jae Seo <jaeseo@google.com> 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
ettings.java
b7f22787ef9e9c35a2a46faa1407dab6aa9f57d2 17-Jul-2014 Chris Craik <ccraik@google.com> am 3e95764e: am b63869a6: Merge "Add accessibility text contrast setting" into lmp-dev

* commit '3e95764e68ea93918d455b8b2c08d9ff02dc36f8':
Add accessibility text contrast setting
891f5b2638f30479eb8d78ecb28ba0b39808fca4 18-Jul-2014 Brian Attwell <brianattwell@google.com> Merge "Mark social APIs stream APIs as deprecated" into lmp-dev
bdb13c8c07f07d405e74f479068eb972d509cea5 17-Jul-2014 Brian Attwell <brianattwell@google.com> Mark social APIs stream APIs as deprecated

Bug: 14490632
Change-Id: I6b54613514e52f34cfcc37d25493a7ea7d636a86
ontactsContract.java
48f35520931ce6eabeb02fe585155aedafc93a19 16-Jul-2014 Barnaby James <bjames@google.com> Add intents for setting airplane and zen mode by voice only.

Change-Id: I28a262da86eb102d1bd12265f96db0efec5db203
ettings.java
55021797c637c5bd4d828b515b403a29d79ca274 16-Jul-2014 Jinsuk Kim <jinsukkim@google.com> Remove system audio output option for HdmiControlService

Turned out it is not necessary to specify the audio output device
for system audio mode, as it will be chosen based on audio policy.

Change-Id: I611381d38bf188425f0833fe9d1f454400f6c69a
ettings.java
889fc94ffa70633e510e812b9da86723f4eee384 17-Jul-2014 Chris Craik <ccraik@google.com> Merge "Add accessibility text contrast setting" into lmp-dev
cce47eb580d666ead1f6095d1e3b65233592bbaa 17-Jul-2014 Chris Craik <ccraik@google.com> Add accessibility text contrast setting

b/14624452

Adds a feature which draws all text (in the HW accelerated standard
path) in a high contrast mode. Text is drawn at full alpha, and either
white or black (depending on its original color) with a starkly
contrasted outline beneath it.

Change-Id: I943f624b6367de35367cced3b2a8298f2bc62377
ettings.java
95a18a8f961cdd760b667ad975e4c00d7bd713eb 16-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Make ContactPreferences use SharedPreferences instead of System settings (1/5)" into lmp-dev
febcb9d42bb6b458a3bbe59730476518f5a252d7 16-Jul-2014 Jason Monk <jmonk@google.com> Merge "Finalizing lock-to-app UX" into lmp-dev
9b34a4e5d1385140fbddde6b35d7c33a1df3ab58 10-Jul-2014 Yorke Lee <yorkelee@google.com> Make ContactPreferences use SharedPreferences instead of System settings (1/5)

* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186

Change-Id: I14edf1e2277441b2d2a8f004b651ebd97bc06aa9
ontactsContract.java
b99a90227a9ec7a627cebdba5388f688f63d4727 15-Jul-2014 Amith Yamasani <yamasani@google.com> Merge "Introduce a public intent for launching Home settings" into lmp-dev
eb7b94a3885b5e5030f681da4299a1e13b727403 15-Jul-2014 Amith Yamasani <yamasani@google.com> Introduce a public intent for launching Home settings

Bug: 16303152
Change-Id: I47e4461ae246aae7e31c8e06ca9370d6f04f61b4
ettings.java
7779bf1ce8243d9f856c05db3cc5a37a8227a970 14-Jul-2014 Jason Monk <jmonk@google.com> Finalizing lock-to-app UX

Simplifications have happened to remove the enter/exit layouts
and just use a toast to notify the user, and the in text icons
have been removed.

The enter dialog now has a checkbox to see if the lockscreen
should be locked on exit (since it isn't in settings anymore).

Also updated strings.

Bug: 15836599
Change-Id: I3ab685bf3672c8a7f9d83d12e81f0099968cdfde
ettings.java
ea16dec62b92d5e9341c30856d8b7cbb77748cd0 14-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Add TRANSCRIPTION column to Calls table" into lmp-dev
9f41105768535ded165b5abf9490b42e1ad4c47a 14-Jul-2014 Yorke Lee <yorkelee@google.com> Add TRANSCRIPTION column to Calls table

Bug: 10928782
Change-Id: I9ca266247cea0f4ce71576a88801034a6e6ee77b
oicemailContract.java
1a937b04e63539cb1fab1bde601031d415c7156f 02-Jul-2014 Jeff Brown <jeffbrown@google.com> Initial draft of new MediaRouter APIs.

This patch introduces basic infrastructure for the new MediaRouter
API. The code is fully documented but incompletely implemented.
It is being submitted not to facilitate API reviews.

MediaRouter is a new class that applications used to discovery,
connect to, and control media devices as represented by media
destinations and their routes. Routes may offer a variety of
capabilities. This new class is a much more powerful replacement
for the existing MediaRouter.

MediaRouteService is a base class for creating media route services
which third-parties can implement to make routes available to
applications. It is analoguous to the MediaRouteProvider
infrastructure of the old media router support library but it
is designed to be integrated into the framework and enable a
variety of new usages such as remote display projection.

Stay tuned for more...

Change-Id: I2c7c6013d9f751d71e83697e7fc9e49bf7751fef
ettings.java
a2295e65dc0735beee32180ab51b9c0b198287e1 11-Jul-2014 Makoto Onuki <omakoto@google.com> Enterprise caller-id: framework/base/Telephony

It's basically equivalent to http://ag/500455 and http://ag/499160.

Now "Send to voicemail" and the missed call notification uses the enterprise
lookup; they now work with a corp contact too.

Bug 15779911

Change-Id: I8a87f45ba7299cfbc516eb44326e02258e38cf63
allLog.java
b3d91779cb8cbb78d703095e6c880a83ab20133e 09-Jul-2014 Jinsuk Kim <jinsukkim@google.com> Global system settings for HdmidControlService

HDMI CEC/MHL related settings. All the settings are hidden, to be used
by the service and settings UI.

Change-Id: I1113aa5f77189db73acfa5fe36670a3cd621b1c1
ettings.java
e5daf9112daabc1a4bcba326b6ce969cb8028798 09-Jul-2014 Tyler Gunn <tgunn@google.com> Adding features and data_usage columns to call log.

Tracks features of the call (eg video) and total bytes of data
usage.

Bug: 16015261
Change-Id: Icb8ef7559490f26614bc1cfb1f7e2f514ebea30f
allLog.java
83c0fdd10090844f9f241111419d956d37bc79fb 10-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Update SearchIndexablesContract for adding UserId

See bug: ##15837747 Search - update for Enterprise support

Change-Id: I8f2d33e570240ec2f002c74e2a19f675b4d744f8
earchIndexablesContract.java
d6c233ce4d038cb05820abe0abfce10772e19651 10-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Add EXTRA_CALL_TYPE_FILTER"
1854a60351443d0d3a06e561b945a039a5c167e6 09-Jul-2014 Yorke Lee <yorkelee@google.com> Add EXTRA_CALL_TYPE_FILTER

Add an extra to allow the call log to be displayed with a filtered
list of calls

Bug: 15830957

Change-Id: I7104734a1972adf531f1b275347496282fee86a2
allLog.java
80b3ab6a51dfe983c5262b4fb4e0e2de0fccdc8a 10-Jul-2014 Makoto Onuki <omakoto@google.com> Spec change for enterprise lookup

- Stop nulling out most fields.
- Return artificial IDs for corp contacts.
- Add a method to tell if a contact is from the corp profile.

Bug 15779911

Change-Id: I21ab20ad4147b303cd0d49d33b64a38275342dc5
ontactsContract.java
74185a3982491a0072f155079a9f848e7ed677da 10-Jul-2014 Adrian Roos <roosa@google.com> Merge "Add AlarmClock API to AlarmManager"
c42a1e1071937ae48b7aa5d6291a32c29078b74b 07-Jul-2014 Adrian Roos <roosa@google.com> Add AlarmClock API to AlarmManager

Adds a new kind of alarm that represents an alarm clock and
a way to query the next scheduled alarm clock.

Deprecates Settings.System.NEXT_ALARM_FORMATTED.

Bug: 14589952
Change-Id: I297eeeff36d07adcda010afac183d0f5ee37dc99
ettings.java
2331e9ebade7c7ebc55eaed7a642ba0f90fbc0f7 10-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Add userId as a new field for SearchIndexableData

See bug: #15837747 Search - update for Enterprise support

Change-Id: I1231f8870754aafa449a4c17350be70b524da230
earchIndexableData.java
a4c7524b685de8c85d90e1c0e495348527530a85 09-Jul-2014 Santos Cordon <santoscordon@google.com> unhide SHOW_REGULATORY_INFO intent.

Change-Id: If14e6599626f8570087fe56952ac3e9026ec9a94
ettings.java
95a9cfbf14ebeed68fa3eb95452d031a5e860a5c 09-Jul-2014 Makoto Onuki <omakoto@google.com> Update javadoc

Change-Id: I25b51f59e56b571921bad0b790a74c3c0af1a141
ontactsContract.java
521e86f4d77c02405dfc919c7c473ff2cbe17d05 09-Jul-2014 Makoto Onuki <omakoto@google.com> Merge "Add new URI for enterprise caller-id."
31cd6f717e823c96af321fc430bb940e4c06292a 09-Jul-2014 Makoto Onuki <omakoto@google.com> Add new URI for enterprise caller-id.

Bug 15779911

Change-Id: Ic4889ab03343a0e447af830ca383b51ffdcc2c5c
ontactsContract.java
6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8 08-Jul-2014 Yorke Lee <yorkelee@google.com> Rehide some fields in ContactsContract

These fields were supposed to be hidden for L.

Change-Id: If87642f2574eccd7d80fae6f7b0817f777db9cce
ontactsContract.java
ae641c9ccd3f81214cee54a5f13804f1765187ad 01-Jul-2014 John Spurlock <jspurlock@google.com> Implement new volume UI design.

- Add segmented zen-mode picker to the rocker UI.
- Add a new "no interruptions" value to the zen setting.
- Implement expandable condition subpanel on the rocker UI.
- Remove the old circle&slash icons.
- Suppress alarm sounds if in "no interruptions" mode.
- Add warning re: alarms to the condition UI.
- Allow rocker UI to display over the keyguard.
- Remove Notifications QS tile.
- Realign volume rocker to the top of the screen.
- Add support for new "days" sleepMode.
- New icon policy rules for "volume" slot.
- New important icon (star).

Associated Settings change:
I6ed56791784968adfbd684f490dbbebed285a2dd

Bug:15831713
Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
ettings.java
9c3f18846aaa9340cc222f825c9c32ec42f9d0c9 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (1/7)

Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
telecomm/java/android/telecomm/InCallCall.java
allLog.java
eaf09493b3f8801efa8abaace1494dd6ac3c54b8 01-Jul-2014 Yorke Lee <yorkelee@google.com> Clean up SearchSnippetColumns API (1/3)

Renamed SearchSnippetColumns to SearchSnippets to be more consistent
with ContactsContract naming conventions (Data, Groups, StatusUpdates, etc).

Fix some stale documentation, add more documentation and examples

Bug: 6948882

Change-Id: I614e8d7506a4a291a57d693043481557c975f7f7
ontactsContract.java
5ffbfccea007e6aebc9ba53b3666664d08a666b4 25-Jun-2014 Nancy Chen <nancychen@google.com> Add Subscription field to Call-related framework objects

Getter and setter methods for framework objects that will need to pass
subscription information between activities.

Bug: 15473965

Change-Id: If1e33fd1fe13262954572558580cdcda73795dc0
allLog.java
8d3700988eb361aa9bfcb82069227d88ecb2dc58 26-Jun-2014 Yorke Lee <yorkelee@google.com> Unhide more ContactsContracts fields

These are needed for unbundling of Dialer/Contacts

Bug: 6948882
Change-Id: I1640387a44608acc9c737bebea9c4f77e774fab1
ontactsContract.java
13a11d8ead63763dd6dab04b4d20932c798ea7f6 25-Jun-2014 Christoph Studer <chstuder@google.com> Merge "Remove ZEN notification visibility setting"
d1b67bcd4eb2927f23b214029ef4f334ef3549e3 24-Jun-2014 Christoph Studer <chstuder@google.com> Remove ZEN notification visibility setting

Bug: 15286335
Change-Id: I150b13c6c7272db596bee908822760f1fd82b7ed
ettings.java
0c416391d38f1eac40216789d5277db897cf1a18 14-Jun-2014 Amith Yamasani <yamasani@google.com> New setting to suggest skipping first-use hints to users

Useful for temporary users like guests

Change-Id: I3799dbe46c0f153139540254c9fb023c4e7e05af
ettings.java
f8aadf3fdec455373b64038464350abee2f25980 24-Jun-2014 Yorke Lee <yorkelee@google.com> Make some fields in ContactsContract.QuickContacts public

Bug: 6948882
Change-Id: Ia7350c98c71ee30793dd24b8acb35f247619ae4d
ontactsContract.java
b416af13e748aca18a220a9f4a5232306af9c830 20-Jun-2014 Marco Nelissen <marcone@google.com> Fix thumbnail bug

When there was no thumbnail for a given image, the getThumbNail() convenience
method could return a previously-returned thumbnail instead of null.

b/15771860
https://code.google.com/p/android/issues/detail?id=40714

Change-Id: Ibd18e048145bf347469f800afdf436247ea6b693
ediaStore.java
cadbe4ccde15236b415028c4bce1d38b9655ce47 20-Jun-2014 Yorke Lee <yorkelee@google.com> Update PinnedPositions API (2/2)

Remove the now unnecessary UPDATE_API and STAR_WHEN_PINNING fields
Make PinnedPositions public API once more

Bug: 15593967

Change-Id: I5eabee6977b93b5ddbf79ec8c01649f20b02abf1
ontactsContract.java
d3afc9c1d8b1585a1d6e0d3d840e9dd93081ec0c 24-Jun-2014 Marco Nelissen <marcone@google.com> am 909a1b2e: am c4d37f58: am 0eee8ac2: Merge "Fix thumbnail bug"

* commit '909a1b2e73efdb592b5a8f2c2e786f4c6c4bad14':
Fix thumbnail bug
909a1b2e73efdb592b5a8f2c2e786f4c6c4bad14 23-Jun-2014 Marco Nelissen <marcone@google.com> am c4d37f58: am 0eee8ac2: Merge "Fix thumbnail bug"

* commit 'c4d37f58a1b5405812eaf96b4bd3a051d86884eb':
Fix thumbnail bug
858aef2942e3e2b5759a8bc27fc4f1954573da7b 21-Jun-2014 Jason Monk <jmonk@google.com> Merge "Add lock-to-app mode"
62515beee67307d8859beec521b7baedfa54b2b5 21-May-2014 Jason Monk <jmonk@google.com> Add lock-to-app mode

Added a dialog that shows when app has not been authorized by
DevicePolicyManager.isLockTaskAuthorized. This allows any app
to trigger lock-to-app mode. This same dialog is used when
startLockTaskOnCurrent is triggered by the recents long-press.

Can exit the mode by long-pressing recents again.

Keyguard is disabled when lock-to-app is active.

This CL also prevents apps from finishing when they are the root
task in a lock task TaskRecord.

Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
ettings.java
cf9bc5e76d5ecb7e7b8ab3239035217dd93ddc8c 20-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "Add ability to set and get DefaultPhoneApplication"

This reverts commit 8bdb1ff3279ab9fde0499231580c76dc2533f3c4.

Change-Id: Idc6d64820c23a650e5f0113ed8ff0860c61ea6af
ettings.java
42cdda831ddc3731c2753cac0bdaa7710c78e1c8 20-Jun-2014 Paul Soulos <psoulos@google.com> Adds usage stat columns to Entity

Change-Id: I273675ee85aba49440a494e4ae27e9104ffb2fe0
ontactsContract.java
0e040b0ea115dbd218a6fc84f123ddaea885d151 19-Jun-2014 Yorke Lee <yorkelee@google.com> Add UNDEMOTE_METHOD to ContactsContract

Bug: 15593967
Change-Id: I9404107d65a0e6ac5f58dd5dd4b6b5df519ec20f
ontactsContract.java
2aa1549f4dd549cc00f7edee22bf37955b8b1fed 17-Jun-2014 Brian Attwell <brianattwell@google.com> Remove FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET

Reasons

1) Now that QC is no longer a modal dialog, it doesn't make sense for
to use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. We want QC to stick around
inside the back stack.

2) FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is deprecated. It now behaves
completely differently than it used to. It now acts the same as
FLAG_ACTIVITY_NEW_DOCUMENT.

Bug: 15693551
Change-Id: Ia22fe04d7a91876061498bf1f098755b54199704
ontactsContract.java
2e024708b1447b2e7e139ee523673a4c3d589493 13-Jun-2014 Yorke Lee <yorkelee@google.com> Add ability to set and get DefaultPhoneApplication

Change-Id: I8aa8cb16965106175c538f36915a31cf4830cef2
ettings.java
fb40dd4d00bd3361b2535bc866e6c21eadc52558 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
ettings.java
1e9c21871e81642669079cd290ef47818a3165bd 12-Jun-2014 Amith Yamasani <yamasani@google.com> Guest user first iteration

Setting for controlling if guest is enabled on the device.
Setting to hint to apps that they should skip showing first use clings.

User switcher handles creation and deletion of the guest user.
Some tweaks to the user switcher to show some feedback and make the icons
circular.

Change-Id: I187dc381d2ee7c372ec6d35e14aa9ea4dfbe5936
ettings.java
439688cf3940571fde9063a02e5f539857b66142 12-Jun-2014 Dianne Hackborn <hackbod@google.com> am 6d758619: Merge "Implement control of auto power save mode." into lmp-preview-dev

* commit '6d758619d90a0dda7f1136dcd44d0ac02cdada7e':
Implement control of auto power save mode.
14272302a8b635bd8e9267c1411d0a7ef11bff45 11-Jun-2014 Dianne Hackborn <hackbod@google.com> Implement control of auto power save mode.

Follow the setting for auto power save mode in both
battery service and battery UI. Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
ettings.java
69b8b79a4f68643bf1defcdedb935bf7c20f038d 11-Jun-2014 Justin Koh <justinkoh@google.com> am 7b9fa3bd: am b7c39cee: Remove WebIconDatabase calls from android.provider.Browser

* commit '7b9fa3bd11f73bc201a404e8dacf7c02c15290b7':
Remove WebIconDatabase calls from android.provider.Browser
d038666f3c5075fb87f3aa6b4c62b10e7495f42a 11-Jun-2014 John Spurlock <jspurlock@google.com> am 58b243c3: Merge "Saver: Shared resource update and new settings." into lmp-preview-dev

* commit '58b243c37e74d45129071ac55128c16160e6fac8':
Saver: Shared resource update and new settings.
f8f524c80c92df22aa8b280152dd94968dffbb89 10-Jun-2014 John Spurlock <jspurlock@google.com> Saver: Shared resource update and new settings.

Bug:13329308
Change-Id: I9e38f69273a361a8dbd2cdb2385788bd0cdcde38
ettings.java
7b9fa3bd11f73bc201a404e8dacf7c02c15290b7 10-Jun-2014 Justin Koh <justinkoh@google.com> am b7c39cee: Remove WebIconDatabase calls from android.provider.Browser

* commit 'b7c39cee9ef3b6c58987128cef77c75cc2eab215':
Remove WebIconDatabase calls from android.provider.Browser
d734c698e3d0f9e9b6313185af264a2aa786e355 10-Jun-2014 Jeff Sharkey <jsharkey@android.com> am 99f4fe07: Merge "Refactor directory API to "opening document tree."" into lmp-preview-dev

* commit '99f4fe0797adb8350f92c7d1ba11776d1947e768':
Refactor directory API to "opening document tree."
36b0cae9556c2498785f502b4a2004fbdd82d983 10-Jun-2014 Justin Koh <justinkoh@google.com> am 2be4ddc4: am a5de8479: Merge "Fix Browser when running on a platform without webview" into klp-modular-dev

* commit '2be4ddc403b55e3c5107609a2eaeed4ddc0f23f0':
Fix Browser when running on a platform without webview
b7c39cee9ef3b6c58987128cef77c75cc2eab215 09-Jun-2014 Justin Koh <justinkoh@google.com> Remove WebIconDatabase calls from android.provider.Browser

This class has been deprecated, so no need to call it.

Bug: 15088030
Change-Id: I6092a9d5f7a12cc14def0996efff7cb689935acb
rowser.java
b9fbb7290b02de1ce621deaa2d28a5e42f2e0937 05-Jun-2014 Jeff Sharkey <jsharkey@android.com> Refactor directory API to "opening document tree."

Cleans up API so it consistently refers to opening or working with a
subtree of documents. Also separates isChildDocument() support from
the concept of directory tree selection.

Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
ocumentsContract.java
ocumentsProvider.java
2be4ddc403b55e3c5107609a2eaeed4ddc0f23f0 09-Jun-2014 Justin Koh <justinkoh@google.com> am a5de8479: Merge "Fix Browser when running on a platform without webview" into klp-modular-dev

* commit 'a5de8479f442b7e6f8d285db58713e42fb922798':
Fix Browser when running on a platform without webview
b4be02088f221564817b2ac164408cc3eeff118c 09-Jun-2014 Justin Koh <justinkoh@google.com> Fix Browser when running on a platform without webview

Fix Browser: can't access the WebIconDatabase. Added build version checks so
that the icon database isn't used on devices <= KITKAT: the entire class is
deprecated as of JB MR2 anyway, according to the comments.
Bug: 15088030

Change-Id: I4403b1a429c08abb288f5ee3bae7eb2e23303916
rowser.java
de6f4701f8cf2fbc8d51af203bd9f9cbb7233bba 06-Jun-2014 Matt Casey <mrcasey@google.com> Make MediaStore.Audio.Radio not instantiable

Types which only contain constants or static methods should
not be instantiable.

Bug: 15430601
Change-Id: I515740e677ae4c72afc09e943e20a72ea27cb17e
ediaStore.java
b68bf447f67cfedadc88d5e71cb940e5a3227ae9 05-Jun-2014 Yorke Lee <yorkelee@google.com> am d6138017: Merge "API changes per API review for contacts" into lmp-preview-dev

* commit 'd6138017d9d435b176dff424ff75c8e8ea298d06':
API changes per API review for contacts
1ca440b38fe6773ea3a6c5cdf041b0234bc973b9 05-Jun-2014 Yorke Lee <yorkelee@google.com> API changes per API review for contacts

* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
ontacts.java
ontactsContract.java
4c9e57f156d3cbd86b38e9897dfdab81964efe90 03-Jun-2014 Jae Seo <jaeseo@google.com> resolved conflicts for merge of ebe661c4 to master

Change-Id: Ic25dc762ee43654b439de3ec237ead007bee3df4
d5cc4a281e7ce29d1e8687ff3394b57a3a549260 31-May-2014 Jae Seo <jaeseo@google.com> Put TV Input Framework under android.media.tv, including TvContract

Bug: 15345342
Change-Id: I665ca23f0f074ce29cb2e047109b209178532107
vContract.java
a20dda4a6eedeee1dcaf105d76c8d7d126ce0f1b 28-May-2014 Jeff Brown <jeffbrown@google.com> Add support for wake gestures.

Bug: 15137158
Change-Id: I171c3269a7a16a00083e16e1cc4c7c1c2b98c05e
ettings.java
4792881e6f4164b3199db20bda3bb37b5879cd80 29-May-2014 Dongwon Kang <dwkang@google.com> am 3dc91b99: Merge "Fix a typo on TvContract." into lmp-preview-dev

* commit '3dc91b99281d53f414bb4db4bd2e5a61bbb86483':
Fix a typo on TvContract.
f95b1d8d53128b234d70bdfbe39167e3a4050ba0 29-May-2014 Dongwon Kang <dwkang@google.com> Fix a typo on TvContract.

Change-Id: I2558f4d463653c7e35de7dccb60189ee9eb0a307
vContract.java
f4b284554700527079b884b28ac3b29c1d693cec 28-May-2014 Yorke Lee <yorkelee@google.com> Unhide ContactsCount API

Bug: 6948882
Change-Id: Iae639827ddaeecf105c0377c51e3314d742034f8
ontactsContract.java
7752244e47543ccdc8a45c05c769d6cac32b762b 14-May-2014 Jae Seo <jaeseo@google.com> DO NOT MERGE. Add more columns to TV metadata to enable newly requested use cases

Added the following columns to the Channels table:
searchable - Used to hide certain channels from search.
locked - Used to prevent unauthorized users from watching certain
channels by requiring passcode.

Added the following columns to the Programs table:
genre - Used to describe the categorical genre.
audio_language - Used to list up available audio languages.

Bug: 14833588, Bug: 14123945, Bug: 14069779
Change-Id: Id01483f56ecf3b665e3d4dbcea1a4800ff7f031d
(cherry picked from commit 3532899452d62b6f2cd9250cb48ec204862fb3b2)
vContract.java
b138300a275830eb623cae1d88f614de509019f5 22-May-2014 Jae Seo <jaeseo@google.com> Merge "Add more columns to TV metadata to enable newly requested use cases"
9f561c367b9b084222acbe97580dca04f5e469ee 22-May-2014 Jeff Sharkey <jsharkey@android.com> Merge "Support for renaming documents."
b7e1255d5c8d9e4fa8dd389afb9f5aab35434df3 22-May-2014 Jeff Sharkey <jsharkey@android.com> Support for renaming documents.

DocumentsProviders can mark documents as supporting rename, and they
have the opportunity to change the DOCUMENT_ID as a side effect of
the rename. This supports providers that embed the display name
into DOCUMENT_ID. Issues a URI permission grant to the new document,
if any.

Adds renaming support to platform ExternalStorageProvider. Also
adds directory deletion support.

Bug: 12350110
Change-Id: Ica4b1ae6769ee994f70f6b6b2402213eebd064e0
ocumentsContract.java
ocumentsProvider.java
3bdd9f68b56dbcd2703c805cea7400214c3dab7d 21-May-2014 Brian Attwell <brianattwell@google.com> Merge "Remove @hide from IN_DEFAULT_DIRECTORY"
62b25a5bf0750483f36ac79c88177ee2ab630f8e 20-May-2014 Andres Morales <anmorales@google.com> Revert "Adding INfcUnlockSettings and NfcUnlock interface class."

This will be re-added as a Trustlet in a subsequent CL.

This reverts commit 38a7ed05f8fed0aa81f7214d827875f9876ffbe1.

Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
ettings.java
aa036a2db08e19397285062c98aaab7acbf80717 20-May-2014 Christopher Tate <ctate@google.com> Move the non-market install setting from Global to per-user Secure

Bug 13760585

Change-Id: I45b0fa87e72dc5c18d687261fb95cbea5d06163a
ettings.java
74a2e06d831432f27ebd17cf6f1d0086356e7ee0 17-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: frameworks changes to support Settings.

- Pull SeekBarVolumizer out into a separately reusable class.
- Make register/unregisterOnActivityStopListener avail to system code.
- Add new setting for displaying suppressed notifications in zen mode.

Change-Id: Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d
ettings.java
87cd0dc425201d56f1b07fa710d4f44fff4131bc 15-Apr-2014 Tim Kilbourn <tkilbourn@google.com> Add KEYCODE_PAIRING.

Used for initiating a peripheral pairing mode.

Change-Id: I8e172bdda1f3c34eff36f3001c174f7a6b6e6e41
ettings.java
4455f54b5ba98da345c64de1614b0704022d272b 16-May-2014 Selim Gurun <sgurun@google.com> Merge "Add a setting for data reduction proxy key"
178201f7ff829708b6788e6ec6d762a8a3a1fd92 16-May-2014 Selim Gurun <sgurun@google.com> Add a setting for data reduction proxy key

Bug: 12492817
Change-Id: I15c42d631f6ba9ab4dcce38e96f0486efaf3d22f
ettings.java
0880dfd6ac623d3b6695149a866151572bd0a2dd 14-May-2014 Jae Seo <jaeseo@google.com> Add more columns to TV metadata to enable newly requested use cases

Added the following columns to the Channels table:
searchable - Used to hide certain channels from search.
locked - Used to prevent unauthorized users from watching certain
channels by requiring passcode.

Added the following columns to the Programs table:
genre - Used to describe the categorical genre.
audio_language - Used to list up available audio languages.

Bug: 14833588, Bug: 14123945, Bug: 14069779
Change-Id: Id01483f56ecf3b665e3d4dbcea1a4800ff7f031d
vContract.java
8d56ff8b70f4159892e46eb96899360d8ca68397 16-May-2014 Jerome Poichet <jpoichet@google.com> Merge "Adding Activity Action entry"
7974cb36aeaf710304d7027d36e6b7d789e85a67 14-May-2014 Jerome Poichet <jpoichet@google.com> Adding Activity Action entry

In L we're bringing the notion of a device name, which centralizes a
concept that has been used in different part of the system already
(bluetooth and WifiP2p among others)

The settings entry has already been created, but there is no centralized
UI for setting the name yet.

This CL would define the activity action that would have to be
implemented to set the device name.

b/14970370 - Global Device Name

Change-Id: I6876e4ca1ad887fdea1bc88890ddfad547145011
ettings.java
2cf184233ba5a596a4fc187289bba848ff341cf1 14-May-2014 Ed Heyl <edheyl@google.com> merge master nova by hand, skipped translations

Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
3c659dea477fd11fc4a498a0c7bc119fe431ecc8 14-May-2014 Jae Seo <jaeseo@google.com> Merge "Add more columns to help identify TV channels"
147b4d75e1d4ca795d45ffe51d83efd19a754cf2 13-May-2014 Jerome Poichet <jpoichet@google.com> Adding device name

A new global settings to name a device. This will centralize the notion
of device name/nickname and should be used by Cast, Bluetooth, TV Remote and other
advertising applications/services.

Change-Id: I2294deb5c0d1002fb2fc158f62a2d5643d90d749
ettings.java
f5cd0b388ac31104e014f9193d06080851a09e18 13-May-2014 Jae Seo <jaeseo@google.com> Add more columns to help identify TV channels

Also added the prefix COLUMN_ to clearly denote each column of the
tables for TV metadata.

Change-Id: I426e9854da5580066f39d416207abe56baf4de14
vContract.java
e08340645d2539ab13900b5f835b84bcfe8b99e0 13-May-2014 Alan Viverette <alanv@google.com> Simplify accessibility display adjustments

Makes the inversion bit public so apps can be smarter about rendering
images non-inverted (if they are so inclined).

BUG: 14680114
Change-Id: I8ca2b2517af2ffc13446d7e0b4e859c1171e2d0e
ettings.java
66f29aa4a5869a628e45e715f6fc45dc79b55c95 09-May-2014 Martijn Coenen <maco@google.com> am 5aa45ef5: Merge "HCE/SE foreground support."

* commit '5aa45ef5ce6725638425aeeec29ac456f326d4c9':
HCE/SE foreground support.
781a83878ab8f6ba3fa725084a9d1de5a08b5da9 09-May-2014 Martijn Coenen <maco@google.com> Merge "HCE/SE foreground support."
635afd0a80dcced2c6375b16e93e8b4c6332dd0b 08-May-2014 Selim Gurun <sgurun@google.com> am f60667b1: Merge "Cleanup a unused setting"

* commit 'f60667b17423fbf1e03fe26ca04e012391034219':
Cleanup a unused setting
6cab9b38141a18a5a00177638e7ab132dd5d8bd0 08-May-2014 Selim Gurun <sgurun@google.com> Merge "Cleanup a unused setting"
57cee39d764dbf791fcb1ff013268b0f45c70d9d 08-May-2014 Selim Gurun <sgurun@google.com> Cleanup a unused setting

The old webview is not used anymore. Removing this setting.

Change-Id: I3f783eec195a2f11534bcff8243ce4d2c556a416
ettings.java
ce311f62ca5e35f1485257d4fe75f5ae1dc9d58a 08-May-2014 vandwalle <vandwalle@google.com> am 16170143: Merge "initial Best Network Selection implementation"

* commit '16170143a30e9e45f3fbdd8f27037fcbd8f403e8':
initial Best Network Selection implementation
7c3606c103e95d3991267cca2592402a68779caf 01-Apr-2014 vandwalle <vandwalle@google.com> initial Best Network Selection implementation

-add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration
-add default gateway mac address to RouteInfo
-add a Date to the ScanResult
-add BSSID date to the WifiConfiguration
- make framework auto-join into a config option
- add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration

Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821

Changes to be committed:
modified: core/java/android/provider/Settings.java
modified: wifi/java/android/net/wifi/ScanResult.java
modified: wifi/java/android/net/wifi/WifiConfiguration.java
ettings.java
353bda0985af2c250f3a9f1a5e4eae279d1dea0d 07-May-2014 Jim Miller <jaggies@google.com> am d031e36c: First pass at adding FingerprintManagerService

* commit 'd031e36c433c94fc6da3732be7e61aa906e45ec4':
First pass at adding FingerprintManagerService
08fa40c5cb5229b7969b2a5146855a337870f45a 30-Apr-2014 Jim Miller <jaggies@google.com> First pass at adding FingerprintManagerService

This adds a new service for monitoring and enrolling fingerprints
to the platform.

Fixed documentation links.

Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
ettings.java
2f6f3a0181b008f58b18804b749d5ddf1ba73bc8 26-Apr-2014 Martijn Coenen <maco@google.com> HCE/SE foreground support.

Allow apps to tell the OS they prefer a specific
CardEmulation service to handle a transaction
whenever they are in the foreground.

Change-Id: I8489ba6018f62164ed7e3504f31c8d09accf494e
ettings.java
4e4cacd684a9a22b5904e52c0a075d9f0a24d73d 06-May-2014 Selim Gurun <sgurun@google.com> am 234558e8: Merge "Add frameworks/base changes for enabling reduction proxy"

* commit '234558e89565d7310e3c12fe72a51b884876abf6':
Add frameworks/base changes for enabling reduction proxy
a83f1e3d230300fc49aea0fb49f9f1f6bf628764 06-May-2014 Selim Gurun <sgurun@google.com> Add frameworks/base changes for enabling reduction proxy

Bug:12492817

Add an experimental webview setting to developer options to enable
data reduction proxy.

Change-Id: Id73d7f5d655a7de18afff766c5c78209c92964ea
ettings.java
293513a59d36cd96a3e474dde5981380d372d8c9 30-Apr-2014 Bill Yi <byi@google.com> Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEAD
ed1808902516ddf3f2bad1e2b6bcc15289f3ac9b 29-Apr-2014 Jae Seo <jaeseo@google.com> am c1201aa5: Merge "Add more URI patterns for accessing TV metadata"

* commit 'c1201aa56381a548c4d7ce80e7ad47fd832699f0':
Add more URI patterns for accessing TV metadata
994925d666843600b64f75499becd4d4e49608f7 29-Apr-2014 Jae Seo <jaeseo@google.com> Merge "Add more URI patterns for accessing TV metadata"
cdf6bd22e07dc06465060727363e7c6622adaa1e 28-Apr-2014 Jae Seo <jaeseo@google.com> Add more URI patterns for accessing TV metadata

The following URI patterns are added:
content://com.android.tv/input/*/*/channel
content://com.android.tv/input/*/*/channel?browsable_only=
content://com.android.tv/channel/#/program
content://com.android.tv/channel/#/program?start_time=&end_time=

This allows us to disable user-provided selection on query/delete/update to help
avoid SQL injection.

Bug: 14133838
Change-Id: I6c86ac33cb5bc8aaa5248a80ed0f0fe0899a15b8
vContract.java
d9e61018626d3fedc6ab6169d5ad0d228bd71128 28-Apr-2014 Elliott Hughes <enh@google.com> am 05678e17: resolved conflicts for merge of 3ce4f3d0 to master

* commit '05678e17e8c079a1c1c144e23e40a7a644a0b040':
Track libcore.os' move to android.system.
10596fbcce710a76ffc7e917400df13af5c2ebcb 28-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 3ce4f3d0 to master

Change-Id: Id5c5997ad8f801b32e1dbd97413ea42e38c27210
3ce4f3d0af8b20f915631ab927aafa76a6105135 28-Apr-2014 Elliott Hughes <enh@google.com> am 685a0a72: am bbd87eb9: Merge "Track libcore.os\' move to android.system."

* commit '685a0a72d445515167a2071330679cdf9b53a62d':
Track libcore.os' move to android.system.
34385d352da19805ae948215e2edbeedd16b7941 28-Apr-2014 Elliott Hughes <enh@google.com> Track libcore.os' move to android.system.

(This is partial, but should cover everything in AOSP master except
for the zygote.)

Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
ocumentsContract.java
8407fdb37ebb898bcf2ffe5ea86e0ff8385ba2b6 28-Apr-2014 Jeff Sharkey <jsharkey@android.com> am 143ae9f7: Define action used to show regulatory info.

* commit '143ae9f760fd86c8d3f96665268375601beea0b2':
Define action used to show regulatory info.
dd77fdacca19dc28971d443f4e6aea70938767e1 17-Apr-2014 Jeff Sharkey <jsharkey@android.com> Define action used to show regulatory info.

Bug: 13340779
Change-Id: I90abb3574797e4b258d32440a2434ae8a7be2949
ettings.java
ff1005a6f5f3da396da95d1086c03efba33ab651 25-Apr-2014 John Spurlock <jspurlock@google.com> am 7745fb9e: Merge "Introduce condition provider services."

* commit '7745fb9e95b6938591a46ffcaace8db02c93962f':
Introduce condition provider services.
b22aabbbd2801db0be526a64badf2efa208f19f1 25-Apr-2014 John Spurlock <jspurlock@google.com> Merge "Introduce condition provider services."
1b27c34fb6d6dce4e73f513a428d7119f3049b1a 25-Apr-2014 Dianne Hackborn <hackbod@google.com> am ed407e04: Merge "Initial implementation of new voice interaction API."

* commit 'ed407e046e63ca1d22a1d9206e2ad558bf821525':
Initial implementation of new voice interaction API.
7340fc8665ae3f9f1978f42aa0e5e1da85036158 25-Apr-2014 John Spurlock <jspurlock@google.com> Introduce condition provider services.

Add the condition provider interface, base class, and associated
system metadata.

Pull out common service management code into a reusable helper,
used by notification listeners and condition providers. The
helper, ManagedServices, is now completely self-contained - it
has no dependencies on NoMan or NoMan abstractions.

Bug:13743109
Change-Id: I6856d40f0a2ead78ac9b5707568559a57e7eb009
ettings.java
91097de49b0f683b00e26a75dbc0ac6082344137 05-Apr-2014 Dianne Hackborn <hackbod@google.com> Initial implementation of new voice interaction API.

This gives a basic working implementation of a persist
running service that can start a voice interaction when
it wants, with the target activity(s) able to go through
the protocol to interact with it. It may even work when
the screen is off by putting the activity manager in the
correct state to act like the screen is on.

Includes a sample app that is a voice interation service
and also has an activity it can launch.

Now that I have this initial implementation, I think I
want to rework some aspects of the API.

Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
ettings.java
3e5991c1eb3a54960675307335d24fca2fe3fa6d 23-Apr-2014 Jeff Sharkey <jsharkey@android.com> am 21de56a9: Add directory selection to DocumentsProvider.

* commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd':
Add directory selection to DocumentsProvider.
21de56a94668e0fda1b8bb4ee4f99a09b40d28fd 06-Apr-2014 Jeff Sharkey <jsharkey@android.com> Add directory selection to DocumentsProvider.

Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree. Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:

content://com.example/via/12/document/24/

This references document 24 by using a prefix grant given for
document 12. Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12. Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.

Extend DocumentsUI to support picking directories. Expose
createDocument() API to work with returned directories.

Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way. Override openAssetFile()
to pass through CancellationSignal. Move testing code into ApiDemos.

Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
ocumentsContract.java
ocumentsProvider.java
3286df9e0879951354468dd15c4e814d35777f5b 22-Apr-2014 Ruchi Kandoi <kandoiruchi@google.com> am 62b8a498: Adds Content Observer for the Low power mode in developer options.

* commit '62b8a49856cc0822905dcb7a213f082b92fa69e3':
Adds Content Observer for the Low power mode in developer options.
62b8a49856cc0822905dcb7a213f082b92fa69e3 18-Apr-2014 Ruchi Kandoi <kandoiruchi@google.com> Adds Content Observer for the Low power mode in developer options.

Change-Id: Ibed319e734340dfd5348dbeb8fe20c01b1adaac5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
ettings.java
4f3693de49c5afdeccd236cba28436260220b6dd 22-Apr-2014 John Spurlock <jspurlock@google.com> am 860107a2: Merge "Do not disturb: persist user config."

* commit '860107a2cced79f4a19542bfd19676367951ee49':
Do not disturb: persist user config.
056c519df1dfb8fdc57daddfdf09bc0e1ffddac4 21-Apr-2014 John Spurlock <jspurlock@google.com> Do not disturb: persist user config.

Load and store user configuration for do not disturb. Separate
out service-related aspects into new helper. Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
ettings.java
c5697b9a21539109aff54257edaf24f9d7c3f887 21-Apr-2014 Brian Attwell <brianattwell@google.com> Remove @hide from IN_DEFAULT_DIRECTORY

Ran make update-api

Bug: 13173524
Change-Id: I881f365f12445a7260306b97d3623e174ca9a825
ontactsContract.java
c50a14e91aaa18463db97366fd0daec2f3bbe6ce 18-Apr-2014 Ricardo Cervera <rcervera@google.com> am 92f4a346: am fa711a33: am d09e1bff: am ed5b8c06: am 6aeea454: Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs

* commit '92f4a3465ea2521523b5659f8006097e07a9be58':
docs: Added the play from search intent. Bug: 13473141.
92f4a3465ea2521523b5659f8006097e07a9be58 18-Apr-2014 Ricardo Cervera <rcervera@google.com> am fa711a33: am d09e1bff: am ed5b8c06: am 6aeea454: Merge "docs: Added the play from search intent. Bug: 13473141." into klp-docs

* commit 'fa711a33be265d1fcd08efd850085615ec66dd89':
docs: Added the play from search intent. Bug: 13473141.
a3b13847b0c966ab40bad6959380ec02ee17288a 02-Apr-2014 Ricardo Cervera <rcervera@google.com> docs: Added the play from search intent. Bug: 13473141.

Change-Id: Icf483b5e0446e064b32a782717408484d5806859
ediaStore.java
754e3802cd75c8583cf5d6174bed1232c276fe53 16-Apr-2014 Jeff Davidson <jpd@google.com> am 4c37b79c: Merge "Class for managing the active scorer application."

* commit '4c37b79cc9c3af57be4ca7f9ff40bceaad948d95':
Class for managing the active scorer application.
dd6fd1e62b1792d1f96824b2fefb16d894b43197 15-Apr-2014 Jeff Davidson <jpd@google.com> Class for managing the active scorer application.

Allows listing all possible scorer apps, getting the active scorer
app, setting the active scorer app, and determining whether a given
UID is for the active scorer.

Note that setting a default scorer with a system image will be handled
separately - the plan here is to add a read-only build property
containing a package name to use as the scorer out of the box.
When NetworkScorerService is initialized, it will check a provisioning
bit; if that bit isn't set, it will set the current scorer to the
package specified in this build property (if any) and set the
provisioning bit to true.

Bug: 13769362
Change-Id: I18c0b2ba2aceccc88b70c3611a49149e0bf17ecf
ettings.java
225ef788e3f146feff4ed01a1516c8042e63db57 14-Apr-2014 Jae Seo <jaeseo@google.com> am 72139a92: Merge "Add a contract class for the TV content provider"

* commit '72139a92ab7b4e7f986f57a3ac4134fd6c404968':
Add a contract class for the TV content provider
72139a92ab7b4e7f986f57a3ac4134fd6c404968 14-Apr-2014 Jae Seo <jaeseo@google.com> Merge "Add a contract class for the TV content provider"
e3cd5f03af5b604b8cfd19e0b793bfa4dde7d540 14-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 1c3f4092: Merge "SearchIndexablesProvider - support for querying for non indexable data keys"

* commit '1c3f409284b47312c1c7e5d36283df9a05d29dfb':
SearchIndexablesProvider - support for querying for non indexable data keys
97babb1e9a2b859ff01a633edad8e2ac5b02ab8a 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> SearchIndexablesProvider - support for querying for non indexable data keys

SearchIndexablesProvider should be able to send a list of data keys that
should not be indexed (mainly depending on some condition/state from the
device)

- update the contract by adding a new query named queryNonIndexableKeys(...)

Change-Id: Ie720825050acb600dca8ac8fed96fa4f59c3af71
earchIndexablesContract.java
earchIndexablesProvider.java
a0790d3f8eda158e8bea586e0a5207691b196e0e 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am efb40a0d: Merge "Update Javadoc for SearchIndexablesContract"

* commit 'efb40a0dba8874297b4dcf6a41e5d741c7f721e9':
Update Javadoc for SearchIndexablesContract
a8e8f3f647d6d55052d0faef53fc1eeb432f5bd6 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Javadoc for SearchIndexablesContract

- fix typo and update some comment

Change-Id: Id001290aa367ee2b8b0d6d9ca9098710e760ad31
earchIndexablesContract.java
02f80877e2e17a5095e3447f797cbb9f18264121 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 296832e0: Merge "Fix constructors for SearchIndexableData and SearchIndexableResource"

* commit '296832e0e5ac007aecd5824dede840d1f403ced0':
Fix constructors for SearchIndexableData and SearchIndexableResource
773a56bbf48beaa0ee10de55e08387ab1024ae26 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix constructors for SearchIndexableData and SearchIndexableResource

- fix locale initialization
- fix constructor chain

Change-Id: Id072574cca79fd49013e0b796b98a12d0bb8459f
earchIndexableData.java
earchIndexableResource.java
d7b8c5a8c21ee331dca573b93ec991097969390f 11-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 62499493: Merge "Add toString() for SearchIndexableData and SearchIndexableResource"

* commit '624994930adea1158011ff5c8ea1f8bfd700fe0e':
Add toString() for SearchIndexableData and SearchIndexableResource
71b3975c8a9c11a88d18b2851066049dda4000c2 11-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add toString() for SearchIndexableData and SearchIndexableResource

Change-Id: Ie85e0382705e5edb4be50b32370212d470f172d9
earchIndexableData.java
earchIndexableResource.java
3654de0b02098021f1924b57c5b66789dc3c4ff0 09-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 03fee276: Merge "Update SearchIndexablesContract"

* commit '03fee27646564cf1b559b7f8a53d35a1db18d0bd':
Update SearchIndexablesContract
1ecde22134080d7befdd0a01f356c6c47cb1e967 09-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update SearchIndexablesContract

- add indices constants for colums
- add missing properties (entries / key)

Change-Id: Ie6c00abf27aaf0fc27e685c8ee0ff8e1e16b5d52
earchIndexablesContract.java
ff317196cf2ca431c70bafa4ee7422b12a7234a1 04-Apr-2014 Jae Seo <jaeseo@google.com> Add a contract class for the TV content provider

This defines a basic database of TV content metadata such as channel and
program information.

Change-Id: Ice5893eaa11fd6ace003338c838801d5857d09d1
vContract.java
1d6f207c0d5846f1f58f1c17d725580967cf3bb5 08-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 19de4fff: Merge "Add support for key value for SearchIndexableData"

* commit '19de4ffff3c9ebca70694b55b9784afe86f5c11b':
Add support for key value for SearchIndexableData
738691d610c918691b386f332548bbd6abc783f9 05-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add support for key value for SearchIndexableData

- add member "key" which enabled retrieval of the data

Change-Id: Idfa835a5afd6ffa27c7592b79f9da46f0d056c9b
earchIndexableData.java
7d097781f4805c8d7f80a38b36ed2a94a2e29c58 01-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> am 724a4f7a: Merge "Update SearchIndexables contract for allowing summary ON and OFF indexing"

* commit '724a4f7aea3723034d66e45cec538da7ff26fb93':
Update SearchIndexables contract for allowing summary ON and OFF indexing
724a4f7aea3723034d66e45cec538da7ff26fb93 01-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Update SearchIndexables contract for allowing summary ON and OFF indexing"
98274a9714dbfb5982c6e85152610c624e08d8c3 01-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update SearchIndexables contract for allowing summary ON and OFF indexing

- add summary ON and OFF indexing (for CheckBoxPreference)

Change-Id: I634cae653748d29e58fa2e696372efff08ce17d2
earchIndexablesContract.java
198ab3cf6cc4451ae1087a2f4e5e0d506b1df8d0 27-Mar-2014 Matt Casey <mrcasey@google.com> am ca04d718: Merge "Add a mediastore constant for playlists."

* commit 'ca04d7185369073ca0a291f37ec3680037711d44':
Add a mediastore constant for playlists.
1dbf1f81e29405674c5da5baa1ca59c18f54ad87 27-Mar-2014 Matt Casey <mrcasey@google.com> Add a mediastore constant for playlists.

This is a followup to https://googleplex-android-review.git.corp.google.com/415218

I'm writing this change at the request of elmas@.

Bug: 13657009
Change-Id: I970cc59a33af2162c2488c4ddf628f7a73009cd6
ediaStore.java
f811f917ba0c36110a130fb6b6855e0eecafa757 26-Mar-2014 John Spurlock <jspurlock@google.com> am 1dd9c53a: Merge "Zen mode updates."

* commit '1dd9c53a40b7c147767c63e10a47eb5cb6f8e197':
Zen mode updates.
eeb397b77f249045b02fe3014479a9c1bf001d0d 25-Mar-2014 John Spurlock <jspurlock@google.com> Zen mode updates.

- Now only two modes, no more ZEN_MODE_FULL.
- Alarms are allowed by default.
- Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
ettings.java
72a3b9a1361f149fe69bda06c7a7112c49907c34 21-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am 7434fcec: Merge "Add support for enabled state for SearchIndexableData"

* commit '7434fcec6928e9e570f7ab0bf033f04ca5a13ba1':
Add support for enabled state for SearchIndexableData
16f81e75423a9ffa602ad45a679d9e0283f4e499 21-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add support for enabled state for SearchIndexableData

- add "enabled" member which tells if the data will be
included into the search results.

Change-Id: I17f8c4b289b21061f7fc47f4902343fecb5ddc2c
earchIndexableData.java
6926d3a58512bb205eabab2522e7b9f3ef5e4ee0 20-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> am d0abcede: Merge "Introduce the SearchIndexablesProvider and its friends"

* commit 'd0abcedece5c749129af89cf096534c98a716d89':
Introduce the SearchIndexablesProvider and its friends
b49995d4d997bf086c2f3214ca410b2a30861b13 15-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Introduce the SearchIndexablesProvider and its friends

- enable retrieval of search data to be indexed

Change-Id: I4a16408dec3d3305bf20107fb11eb2d1aee7fad5
earchIndexableData.java
earchIndexableResource.java
earchIndexablesContract.java
earchIndexablesProvider.java
4ecd833ee35d1120f8c1ae52367947cacfc263a4 13-Mar-2014 JP Abgrall <jpa@google.com> am 7baa7c80: Merge "ConnectivityService: add support to set TCP initial rwnd" into klp-dev

* commit '7baa7c804501b9cbcb5de281c5ddfaf03ba08f7a':
ConnectivityService: add support to set TCP initial rwnd
3f7f3221dff1a4b2bac3a2dc3e39f732d44fdf2a 21-Feb-2014 JP Abgrall <jpa@google.com> ConnectivityService: add support to set TCP initial rwnd

The value for the TCP initial receive window comes from,
in order,

kernel
/proc/sys/net/ipv4/tcp_default_init_rwnd

init.rc (via properties)
net.tcp.default_init_rwnd

properties
net.tcp.default_init_rwnd

gservices
Settings.Global.TCP_DEFAULT_INIT_RWND

Bug: 12020135
Change-Id: I0e271be19472900fa9f3bab037d53383ec014a9e
ettings.java
3cad2e1608afd8959208ff6b5e2c73014d59d838 05-Mar-2014 Brian Attwell <brianattwell@google.com> am 48d04ec3: Merge "Add IN_DEFAULT_DIRECTORY to contract"

* commit '48d04ec3b7990f3a58d36b23f07b6cf0a0af65db':
Add IN_DEFAULT_DIRECTORY to contract
48d04ec3b7990f3a58d36b23f07b6cf0a0af65db 05-Mar-2014 Brian Attwell <brianattwell@google.com> Merge "Add IN_DEFAULT_DIRECTORY to contract"
2fa85d383d216e1006d4793377cb4a83ae23a5c0 05-Mar-2014 Brian Attwell <brianattwell@google.com> Add IN_DEFAULT_DIRECTORY to contract

I want to expose this flag so that gmail can sort
based on it. Plus, it provides generally useful information.

Bug: 13173524
Change-Id: I93a35f8822b55f97b15e1fbb783110e3674c1622
ontactsContract.java
1f168fd43895e2a84c037df9f3ea54e36f5d0d16 03-Mar-2014 Jay Shrauner <shrauner@google.com> am 4ef0aabe: Merge "Catch ActivityNotFoundException in quick contacts badge" into klp-dev

* commit '4ef0aabe93877b7f30645b873fbc003651151f2f':
Catch ActivityNotFoundException in quick contacts badge
d95655fa1ad0c58b401176ed2837c2b00388f972 03-Mar-2014 Tom O'Neill <tomo@google.com> am 8cf5eee3: Merge "Discourage content observers on LOCATION_PROVIDERS_ALLOWED"

* commit '8cf5eee3425e7ecd2c27ab8ef6a5fcfd2cebb888':
Discourage content observers on LOCATION_PROVIDERS_ALLOWED
923c0dc070aaba6ac1eccc4ce5aa2261ca6176f2 03-Mar-2014 Tom O'Neill <tomo@google.com> Discourage content observers on LOCATION_PROVIDERS_ALLOWED

- Bug: 12176905

Change-Id: I79bfdbba5ad0d11d82169c0897418f5b3963be0a
ettings.java
0ca1d1c49e932e286290bc0105ceb0ccc8a5ec9b 03-Mar-2014 Chris Wren <cwren@android.com> am 10d82dfb: rename heads up global setting: base part

* commit '10d82dfbfb4bcc0899bd1e8dc04e97c2ea39a752':
rename heads up global setting: base part
10d82dfbfb4bcc0899bd1e8dc04e97c2ea39a752 01-Mar-2014 Chris Wren <cwren@android.com> rename heads up global setting: base part

Bug: 13208692
Change-Id: Ia020e4d63552ab4b8cbb8a37622c36776800a790
ettings.java
535c9e74d3d6f336b4775194bfaac984ddd99934 07-Dec-2013 Yorke Lee <yorkelee@google.com> Catch ActivityNotFoundException in quick contacts badge

Bug: 12015287
Change-Id: I2fa5daaa54cc7cc0cad9dee0828d751302cb5be7
(cherry picked from commit 4fc601a650405bfba99bcd40429376113bd9492a)
ontactsContract.java
fb04635270a7ab7216c71a9d7770f5e7b2809184 01-Mar-2014 John Spurlock <jspurlock@google.com> am 454a0384: Merge "Wire up SystemUI zen mode config to new settings panel."

* commit '454a0384708433e165a6340dc98bd060775ec613':
Wire up SystemUI zen mode config to new settings panel.
454a0384708433e165a6340dc98bd060775ec613 01-Mar-2014 John Spurlock <jspurlock@google.com> Merge "Wire up SystemUI zen mode config to new settings panel."
7d1ccd96b4d75429d587d5e205357157c155bf30 01-Mar-2014 Chris Wren <cwren@android.com> am 92aaff8a: Merge "add a setting for the heads up: base part"

* commit '92aaff8a80f455595430c8056d1ada7ddcf6c720':
add a setting for the heads up: base part
de547008d110fc4a23ee5ff6ae6ebba4788cd4bb 28-Feb-2014 John Spurlock <jspurlock@google.com> Wire up SystemUI zen mode config to new settings panel.

Change-Id: I949b31be0b31c02ab736799f9080601fb0fd79d1
ettings.java
7bd2412332f5cf7b22fd730397d1225fbea00cbf 28-Feb-2014 Chris Wren <cwren@android.com> add a setting for the heads up: base part

also fix a crash if the feature is disabled and then enabled
while a heads up is active.

Bug: 13208692
Change-Id: I6847f7a5f275aee2f608de0237dab0e45c39b33f
ettings.java
2f8d4c66406057b5fdd391de376605927a6c22ee 27-Feb-2014 John Spurlock <jspurlock@google.com> am dfae159b: Merge "Introduce zen mode."

* commit 'dfae159bb8a25a84dc24591d791ce1d743ba4252':
Introduce zen mode.
e677d7113f6627161653f686b6381d2eef4d502f 13-Feb-2014 John Spurlock <jspurlock@google.com> Introduce zen mode.

- New global zen mode setting with three values:
ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
- Status bar icon (on lhs) when in _LIMITED / _FULL
- Rules are hardcoded for now:
_LIMITED = intercept all notifications except calls/alarms
_FULL = intercept everything
- UI affordance in shade to set mode
- Only one exit condition: "Until you delete this"
- Intercepted notifications:
- appear darker in the shade
- do not cause sound/vibration
- do not fire fullScreenIntents
- do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
ettings.java
d41b3af056fa7ac1e6e3c12168eb462265943c7f 21-Feb-2014 JP Abgrall <jpa@google.com> am d98fff4a: Merge "ConnectivityService: add support to set TCP initial rwnd"

* commit 'd98fff4a02c50d999190bb68e5a9566f56221848':
ConnectivityService: add support to set TCP initial rwnd
d98fff4a02c50d999190bb68e5a9566f56221848 21-Feb-2014 JP Abgrall <jpa@google.com> Merge "ConnectivityService: add support to set TCP initial rwnd"
32d1ac4d45c25180cb841664986398c7e23995e4 21-Feb-2014 JP Abgrall <jpa@google.com> ConnectivityService: add support to set TCP initial rwnd

The value for the TCP initial receive window comes from,
in order,

kernel
/proc/sys/net/ipv4/tcp_default_init_rwnd

init.rc (via properties)
net.tcp.default_init_rwnd

properties
net.tcp.default_init_rwnd

gservices
Settings.Global.TCP_DEFAULT_INIT_RWND

Bug: 12020135
Change-Id: I0e271be19472900fa9f3bab037d53383ec014a9e
ettings.java
3bb3cd7f789fa79672c36b78330b89d8360fcaef 21-Feb-2014 Matt Casey <mrcasey@google.com> am 59270bff: Merge "Add more MediaStore constants for playback intents"

* commit '59270bffe51de6c9c1ba9e88a6fd5215b717b25c':
Add more MediaStore constants for playback intents
59270bffe51de6c9c1ba9e88a6fd5215b717b25c 21-Feb-2014 Matt Casey <mrcasey@google.com> Merge "Add more MediaStore constants for playback intents"
bd7bcf0fba1a991e80ea279b090aa584707fdabf 06-Feb-2014 Matt Casey <mrcasey@google.com> Add more MediaStore constants for playback intents

Constants are derived from this doc:
https://docs.google.com/a/google.com/document/d/1lmlFcTeefLDRp_bpMrXk3yK9nKxoTVfpcShanpLxiMg/edit#heading=h.b16863tyyjzv

That doc contains the full explanation of these changes.

I'm making this change on behalf of {elmas,pengr} who don't have
android source access but designed this in collaboration with
rharagutchi on the play music team. I'll probably have to route any
significant questions through them.

Bug: 12874557
Change-Id: I85a4bee57a2bde519da0dc6de2cad9d036da225c
ediaStore.java
e515b32dcde3fa70e2f120049574e208a2a71a42 19-Feb-2014 Dan Sandler <dsandler@android.com> am 6c306b8e: Merge "Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS."

* commit '6c306b8e4e1cd1bf303c58676148378116b2e396':
Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.
5d7c3cc66c3dbb8d574adf4649f1dea342364644 18-Feb-2014 Dan Sandler <dsandler@android.com> Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.

$ adb shell settings put global lock_screen_show_notifications 1

Previously a per-user secure setting
(Settings.Secure.LOCK_SCREEN_ALLOW_NOTIFICATIONS), but this
doesn't really make a lot of sense since this behavior
pertains to areas of the system (keyguard, status bar) that
exist outside of any one user.

This setting now effectively enables notifications on the
secure lockscreen for all users.

Change-Id: I9c5179498dbbba9343184efdedb1587ea862cf96
ettings.java
2db7163cf034a8284df4c3a970e2411a88ccbc87 18-Feb-2014 Dan Sandler <dsandler@android.com> am 2b330dde: Merge "Allow a user to elect to see private notifications in public."

* commit '2b330dde2c46e6e94687649b8e888f9a2d9855bf':
Allow a user to elect to see private notifications in public.
fd16d56419649b885f2e18dc37a18add0fe91e01 14-Feb-2014 Dan Sandler <dsandler@android.com> Allow a user to elect to see private notifications in public.

Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, if
set and nonzero, will show that user's notifications on the
secure lockscreen (assuming LOCK_SCREEN_ALLOW_NOTIFICATIONS
is also set). Note that this applies only to a particular
user's notifications, so if multiple users' notifications
are shown at once (currently this only applies to the
current user and USER_ALL) only that user's notifications
are affected.

USER_ALL is assumed to always allow private notifications in
public (because they can't be user-specific).

Change-Id: I32bb7939066c4919191e74161ca48ead01a88c7f
ettings.java
1bd7876d76167922f38d78747c5696c82020c1ea 12-Feb-2014 Sailesh Nepal <sail@google.com> Add Wi-Fi calling state setting to telephony interfaces

Change-Id: I01029ade0eb1ff981cb92a536d042a02129a053f
ettings.java
c6d1c60fb1de5a48e85ddbfe9b66ccc9285df4af 17-Jan-2014 John Spurlock <jspurlock@google.com> Global system setting to override certain window policy.

Specifically, the ability to force immersive-mode-like behavior
on the status bar, the navigation bar (or both) on a
package-by-package basis - and to disable immersive mode
confirmations for specific packages.

Change-Id: I2df7092a91eceeb815367ef917dd7289f4f2b27e
ettings.java
a5e0f415d351ad1a9c0ffde8d93df91a2384591f 23-Jan-2014 Dan Sandler <dsandler@android.com> SystemUI support for notification visibility.

In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

$ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
ettings.java
cc7b04353f432839ff52a3295a5b8c5374e7c8ad 14-Jan-2014 Evan Charlton <evanc@google.com> Allow for a configurable WiFi restore bounce delay

Allow the post-restore WiFi bounce delay to be configured (for
example, allow it to be set to zero).

Bug: 9621727

Change-Id: I0b388aadbe3b45eeb4aa00bbe0e6d86f21731449
ettings.java
0a17393ee6ff5e1a0b1701d38e65c2370bb84dba 13-Dec-2013 Yorke Lee <yorkelee@google.com> Fix SDK build break due to link in hidden field in comment

Change-Id: I10bcfa01d1aea4fd95a99e4230f5c0217ec188ac
allLog.java
833a9e58ce7d4d9778edf7573a980928284a5a8a 13-Dec-2013 Yorke Lee <yorkelee@google.com> Merge "ContactsContract api changes"
6b86518c57b9c637a17e34c16a848464f2bb1941 13-Dec-2013 Yorke Lee <yorkelee@google.com> Merge "Expose CallLog provider fields as public API"
ec31555d8822ad68bed6f478594d65e821b0851b 12-Dec-2013 Andres Morales <anmorales@google.com> Merge "Adding INfcUnlockSettings and NfcUnlock interface class."
55d70620d9fda8afafb2fdec59757a710eec0e89 12-Dec-2013 Alan Viverette <alanv@google.com> Add caption window color attribute

The WebVTT rendering implementation interprets window color as region
color, since there is no window for non-region captions.

BUG: 12020757
Change-Id: Ie891e1343d718783fc32c712860f886de22558ec
ettings.java
38a7ed05f8fed0aa81f7214d827875f9876ffbe1 15-Nov-2013 Andres Morales <anmorales@google.com> Adding INfcUnlockSettings and NfcUnlock interface class.

Change-Id: Ie55a5d4bb58c2944952fc84cce32d3573a3a1a22
ettings.java
4fc601a650405bfba99bcd40429376113bd9492a 07-Dec-2013 Yorke Lee <yorkelee@google.com> Catch ActivityNotFoundException in quick contacts badge

Bug: 12015287
Change-Id: I2fa5daaa54cc7cc0cad9dee0828d751302cb5be7
ontactsContract.java
217d8a79c89222cb411857da9d5cc8f313356110 27-Nov-2013 Yorke Lee <yorkelee@google.com> ContactsContract api changes

Make the following fields in ContactsContract public API:
STREQUENT_PHONE_ONLY
REMOVE_DUPLICATE_ENTRIES
CommonDataKinds.Callable.CONTENT_FILTER_URI
CommonDataKinds.Callable.CONTENT_URI
ContactOptionsColumns.FULL_NAME_STYLE
ContactOptionsColumns.PINNED
Contacts.MULTI_VCARD_URI (and improve documentation)
PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS (and improve documentation)
Preferences.SORT_ORDER_PRIMARY
Preferences.SORT_ORDER_ALTERNATIVE
Preferences.SORT_ORDER
Preferences.DISPLAY_ORDER_PRIMARY
Preferences.DISPLAY_ORDER_ALTERNATIVE
Preferences.DISPLAY_ORDER
PinnedPositions.DEMOTED
PinnedPositions.STAR_WHEN_PINNING
PinnedPositions.UNDEMOTE
PinnedPositions.UNPINNED
PinnedPositions.UPDATE_URI

Change-Id: I1d70654b4a931b88fff7a3a4b5ffc364978c7406
ontactsContract.java
27e72fc0310987ecc4ce115f2c265b7b3f770bb0 26-Nov-2013 John Spurlock <jspurlock@google.com> am 5cd1a87a: am e18b673a: am 330dfa7d: Merge "Fix @see link in DocumentsContract docs." into klp-docs

* commit '5cd1a87a5c94e707f2cbe7d4751fdfeadd7ebbf0':
Fix @see link in DocumentsContract docs.
e18b673a4dc8955dd0ecd53c57bb3f478614a92a 26-Nov-2013 John Spurlock <jspurlock@google.com> am 330dfa7d: Merge "Fix @see link in DocumentsContract docs." into klp-docs

* commit '330dfa7d11c542aa99aa277f75113bfc916d72dd':
Fix @see link in DocumentsContract docs.
4e55a7e8c542c9a4c6d85d10e2ba0f672dba5e69 26-Nov-2013 John Spurlock <jspurlock@google.com> Fix @see link in DocumentsContract docs.

DocumentsContract#createDocument is hidden.

Change-Id: Iae9c4bcd8620c5297d1fc4e2324a8a242ab4b31a
ocumentsContract.java
a5f6a93e8698c1d6f0814c8a1773adf25ffe7c51 23-Nov-2013 Yorke Lee <yorkelee@google.com> Expose CallLog provider fields as public API

Bug: 6948882
Change-Id: I3b398add070b0e3f92f0c80cad566d0a015248dd
allLog.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
ontacts.java
ontactsContract.java
a3da4623b16d9f93efed5d9ec2ee30802840cd2a 14-Nov-2013 Craig Mautner <cmautner@google.com> am 1fbb5da2: am 29bbd570: am 1f0f9fa9: Merge "Add null pointer check." into klp-dev

* commit '1fbb5da29a4ebef1d758dffad9c2704a5932d223':
Fix a JNI local reference leak in JNIMediaPlayerListener::notify.
Add null pointer check.
Import translations. DO NOT MERGE
Small DocumentsProvider doc improvements.
Keyguard isn't visible if it hasn't been drawn.
Enable fast camera transition when launched from navbar
Reduce camera launch time by about 250ms.
camera2: Remove prior repeating request when setting.
529ba10693bbb2d756b2ba6af706accdba64692a 13-Nov-2013 Jeff Sharkey <jsharkey@android.com> am 711d390b: Merge "Small DocumentsProvider doc improvements." into klp-dev

* commit '711d390be96531c5dfadb9a17e373f1e92ef16a1':
Small DocumentsProvider doc improvements.
3b945405cf96eae8b882f87934222a453718a559 13-Nov-2013 Jeff Sharkey <jsharkey@android.com> Small DocumentsProvider doc improvements.

Bug: 11670294
Change-Id: I5fb91c7665fc2a4531059ef9f2de0972ebabe1ea
ocumentsProvider.java
4ee6d87e16ed0e12db7cb07c8cf3b09ef4eeb525 12-Nov-2013 Scott Main <smain@google.com> am 3c95033a: am 7774d8e7: am 44895333: clarify that ANDROID_ID is unique for each user in multi-user environment. bug: 8073630

* commit '3c95033a3854c6d569a8c8849e06298fc842498d':
clarify that ANDROID_ID is unique for each user in multi-user environment. bug: 8073630
7774d8e723774d8523435f34d821a6eff2c1391f 12-Nov-2013 Scott Main <smain@google.com> am 44895333: clarify that ANDROID_ID is unique for each user in multi-user environment. bug: 8073630

* commit '44895333dad66be0ab5350b039d828f3da2a1b73':
clarify that ANDROID_ID is unique for each user in multi-user environment. bug: 8073630
44895333dad66be0ab5350b039d828f3da2a1b73 12-Nov-2013 Scott Main <smain@google.com> clarify that ANDROID_ID is unique for each user in multi-user environment.
bug: 8073630

Change-Id: Iff18e892a1e0422a85edd83f97ba4285f2171f74
ettings.java
8449edb11a2bda56aaa86d68eb226973055dc47e 05-Nov-2013 Jeff Sharkey <jsharkey@android.com> am 2b80a35c: am f5073e71: am 5f4affda: Merge "Clarify DocumentsProvider recents behavior." into klp-dev

* commit '2b80a35cb51e6a4f939bdef0cdf8ab39e3f76905':
Clarify DocumentsProvider recents behavior.
37ed78e504ef3666dd5fce15ff4994f151c44fcd 05-Nov-2013 Jeff Sharkey <jsharkey@android.com> Clarify DocumentsProvider recents behavior.

Bug: 11448309
Change-Id: I17e0ac757e549b251e08d58d5ce7d25fb253883f
ocumentsProvider.java
e11b6b036bb66a72ba2386641811dbd09fe7e5e5 01-Nov-2013 Jeff Sharkey <jsharkey@android.com> am b9c28ce9: am 2903d6fa: am c09b6a46: Merge "Better enforcement in DocumentsProvider.call()." into klp-dev

* commit 'b9c28ce9d4f5539e2118822750fa008d5fe77c29':
Better enforcement in DocumentsProvider.call().
8a2998eade93032a78d681c66ebadbfa6f802f76 31-Oct-2013 Jeff Sharkey <jsharkey@android.com> Better enforcement in DocumentsProvider.call().

Use ContentProvider.enforceWritePermissionInner() to handle all edge
cases around checking if caller has write permissions. This fixes
bug where call() would throw if caller and provider were the same app.

Bug: 11464234
Change-Id: Iace8e0e4243d56ed1cdcc9680383103975107036
ocumentsProvider.java
854419b5c71e42a13c171e1c533c6381a1082a62 29-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 88c84f97: am dd225d28: am 7fbba162: Merge "Suppress OperationCanceledException logging." into klp-dev

* commit '88c84f97186b9f5808949a8b11357f6f8d27f046':
Suppress OperationCanceledException logging.
33819318f61224cdda45e5e9a70dc9cdb9f33911 29-Oct-2013 Jeff Sharkey <jsharkey@android.com> Suppress OperationCanceledException logging.

These exceptions are normal when an app has cancelled an outstanding
thumbnail request.

Bug: 11385378
Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863
ocumentsContract.java
8b5f453a82e4e09933f31630ad7f94e4d81df1cd 26-Oct-2013 Jeff Sharkey <jsharkey@android.com> am de9b66fe: am 3ac436b7: am 80f103ae: Merge "Extra to always show advanced devices." into klp-dev

* commit 'de9b66fee1bdbc914c287fb9a2aa832dc2d3e6f9':
Extra to always show advanced devices.
96c620595bd0585f934b0971b4552c57845e9a78 26-Oct-2013 Jeff Sharkey <jsharkey@android.com> Extra to always show advanced devices.

Also always lower-case extension to extract MIME type correctly,
we may want to fix in MimeUtils at some point.

Bug: 11354402
Change-Id: I77d0c06a663cd0c4320c41553ff1980b6f9a7778
ocumentsContract.java
242f2a736bc7e3a20e004b5a7566a6d0856605ab 23-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 0491eaf6: am 3fa9ce8d: am ca8547b4: Merge "Add notification docs to DocumentsProvider." into klp-dev

* commit '0491eaf621816b00f1f93485d8107ca76256939c':
Add notification docs to DocumentsProvider.
9352c383e95c3e1facd8a7a2d49ff488fb7bbcaf 23-Oct-2013 Jeff Sharkey <jsharkey@android.com> Add notification docs to DocumentsProvider.

Bug: 11272209
Change-Id: I97d67c91c4f4a312cbde82afd9e27509c26517b2
ocumentsProvider.java
3e41d9bf41480f9e36c8af6e99d2be81b56f989a 16-Oct-2013 Jeff Sharkey <jsharkey@android.com> am fc7c4b9d: am 2a48dbce: am 905c50a2: Merge "Improve DocumentsProvider and contract docs." into klp-dev

* commit 'fc7c4b9d7234b645adb31cb819b75ba925adab7a':
Improve DocumentsProvider and contract docs.
e8c00d8ed477e199b7f8d1b1e2f37e9cf8593372 16-Oct-2013 Jeff Sharkey <jsharkey@android.com> Improve DocumentsProvider and contract docs.

Bug: 10567557
Change-Id: I71e7f7ad172e9986e58b9c9533b1c948c5530397
ocumentsContract.java
ocumentsProvider.java
d70d2d8ee3f4c31aa78474fd9efb865395b2249e 15-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 25b99efb: am ac0cb359: am 8e656df0: Merge "Add extras to AFD, send orientation metadata." into klp-dev

* commit '25b99efb3259c9f6d7bcdacd3cb2bafd6b1a0e63':
Add extras to AFD, send orientation metadata.
c1c8f3f97d344a24bfddcb56a8be05e7e2fabe9e 14-Oct-2013 Jeff Sharkey <jsharkey@android.com> Add extras to AFD, send orientation metadata.

AssetFileDescriptor augments a ParcelFileDescriptor with details
about how it should be interpreted, so extend it to support a Bundle
of extras. Then use these extras to share thumbnail orientation
metadata.

The raw image data of EXIF thumbnails matches the orientation of
the enclosing image, but the thumbnail data doesn't repeat the EXIF
flags. This meant that receivers of openDocumentThumbnail() would
get an image that needed to be transformed, but without enough
context to actually transform it.

Instead of transforming and recompressing the image on the fly on
the provider side, send a transformation hint that the receiver
side can interpret.

Bug: 11205688
Change-Id: Ibc5a7ad002377a55e6ffcb5ac5c8829841002e06
ocumentsContract.java
cf2d725b554d1af322e3f2139d52f08b00a47ad3 14-Oct-2013 John Spurlock <jspurlock@google.com> resolved conflicts for merge of f1dd32c8 to master

Change-Id: Ied96bfce952fa95eeceb1b8cf64e53830d4d03ac
f1a36648ca099d7ffa8a19e403673820d4b8417a 12-Oct-2013 John Spurlock <jspurlock@google.com> Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.

Migrate transient bar mode to IMMERSIVE_STICKY, and
introduce new behavior for IMMERSIVE: namely the
opaque bars are revealed by clearing the flags on swipe.

Remove low-profile optimization that confuses api demos
and other apps using low-profile as a signal.

TransientNavigationConfirmation renamed to
ImmersiveModeConfirmation, and its associated resources,
since the confirmation is now shown when the nav bar is
shown in either of the two immersive modes.

Remove unused Toast.makeBar and associated hidden framework
bits now that the confirmation uses a cling instead.

Bug:11062108
Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
ettings.java
6a4991f5ed16f507e8a3f5fac04616a438edbff1 09-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 467b30bb: am d0da14a9: am aa841672: Merge "Support overriding calling package in Documents." into klp-dev

* commit '467b30bb2bb1a2333835dd39b78fcd4b2f240ae6':
Support overriding calling package in Documents.
e8350122294d2e6630f635702bbc518fab2ac1fa 09-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 530fcce7: am 4df901a4: am 7cd3e905: Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev

* commit '530fcce7ca266bbd53653fa2ba912c0a1e864e44':
Drop <meta-data> support for DocumentsProviders.
15be83612c34b65404f15d0feafdb4a329467769 09-Oct-2013 Jeff Sharkey <jsharkey@android.com> Support overriding calling package in Documents.

Calling package is only used to pick the stack to restore, not for
security purposes. This lets other system tools (like Printing)
indicate the real caller.

Bug: 11149540
Change-Id: I155e32577eaeda7dfcb80a7d84ac3b54f281590a
ocumentsContract.java
d2e1e810a79ce0988df57c0bcbcd184e14a067b4 09-Oct-2013 Jeff Sharkey <jsharkey@android.com> Drop <meta-data> support for DocumentsProviders.

Prebuilts have finished migrating to new <intent-filter> based
approach. Also update isDocumentUri() to match new definition.

Bug: 11109484
Change-Id: Ib95e2c3f5a9ff70b8d5e411f68ad49d1990dae8c
ocumentsContract.java
32bc10303c0141eebc4f39298e1b6c4bae058498 09-Oct-2013 Daniel Sandler <dsandler@android.com> am 4be3db70: am f3a56199: am 40bacdf4: Merge "Don\'t wake users up with low battery sounds." into klp-dev

* commit '4be3db7018154406ab74e029482a7d82dbcd3a5a':
Don't wake users up with low battery sounds.
dea6462aab31049d1f1055314491bc33a6f16b0d 23-Sep-2013 Daniel Sandler <dsandler@android.com> Don't wake users up with low battery sounds.

Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

V/PowerUI ( 3161): screen off too long (5779ms, limit
5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681
ettings.java
632b7dc88432b0072f76fb68f37deaaba2a1bfde 08-Oct-2013 Amith Yamasani <yamasani@google.com> am 6db7f39b: am 1eae6109: am 1b5a2e63: Merge "Don\'t backup/restore ringer mode" into klp-dev

* commit '6db7f39ba573fd087c79da9585801c3f277ac8fc':
Don't backup/restore ringer mode
1b5a2e630a3f7e3787dce2cfd27738ff6232e905 08-Oct-2013 Amith Yamasani <yamasani@google.com> Merge "Don't backup/restore ringer mode" into klp-dev
77c8831ff6a17eb322c34c2142c538b2e0379431 05-Oct-2013 Amith Yamasani <yamasani@google.com> Don't backup/restore ringer mode

Backing it up might result in restoring a new device to a silent,
or vibrate-only state, which is not a good out-of-box experience.

Bug: 11025824
Change-Id: I5b63fd3da012ffc4253338aae31527302a2d276a
ettings.java
5b6372171c5ee06dc0ce00644008297e7a14bb38 08-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 9d1383c6: am 5e02e0a9: am bcc77b50: Merge "Add <intent-filter> support to <provider>." into klp-dev

* commit '9d1383c61ca0932cb36b104a89c32db15de6a10e':
Add <intent-filter> support to <provider>.
bcc77b502b56d4b91610adfa10c657003c9c820d 07-Oct-2013 Jeff Sharkey <jsharkey@android.com> Merge "Add <intent-filter> support to <provider>." into klp-dev
85f5f8132015d8a5043ea4413702420d0d157c9f 07-Oct-2013 Jeff Sharkey <jsharkey@android.com> Add <intent-filter> support to <provider>.

For the new documents work, we're only interested in the subset of
ContentProviders that actually implement DocumentsContract. Instead
of returning all providers, add <intent-filter> support to make it
easier to limit the set of returned ProviderInfo.

Define a well-known action for DocumentsProviders, and start using it
when querying for roots. Continue supporting the old <meta-data>
approach until all apps have been updated.

Bug: 8599233
Change-Id: I05f049bba21311f5421738002f99ee214447c909
ocumentsContract.java
0841c51696680da729c5500e0c341fd3ff82d847 05-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 43fac87f: am 77b7f39f: am fc141ef2: Merge "Avoid NPE when ProviderInfo is missing." into klp-dev

* commit '43fac87f2a8f4843614a5784b830801a90f30150':
Avoid NPE when ProviderInfo is missing.
fc141ef20bf871e925fbbbe4bb9af64c67033246 04-Oct-2013 Jeff Sharkey <jsharkey@android.com> Merge "Avoid NPE when ProviderInfo is missing." into klp-dev
9095c5a8236957e677b2b13e42aad71a5b185e4d 04-Oct-2013 Jeff Sharkey <jsharkey@android.com> Avoid NPE when ProviderInfo is missing.

Bug: 11052428
Change-Id: I6cb0cf2030a28f571c3f13cd0b9ba76627974697
ocumentsContract.java
3378384123154ae29b3fb8cc87244ae742fae6bf 04-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am 72566b98: am 1c6fdd6c: am cac2fd30: Merge "Revert "Use a build-specific wifi country code"" into klp-dev

* commit '72566b98dba80f21923cb6b299754d510951d611':
Revert "Use a build-specific wifi country code"
cac2fd302e844a4a46bb1749a2d2ed4739b4dc53 04-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Revert "Use a build-specific wifi country code"" into klp-dev
cf4ed585146518738871cd60c869f60f1c533ae9 04-Oct-2013 Daniel Sandler <dsandler@android.com> am 12aea9d7: am 97bc628f: am 0a660528: Merge "Goo goo ga joob." into klp-dev

* commit '12aea9d7972abad702f9ded550179af722acdf47':
Goo goo ga joob.
3ea0c99b67407bb1612875762b037e50f013fd6d 03-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> Revert "Use a build-specific wifi country code"

This reverts commit c33cd23c17c24df33550a6662cedfe60b323604a.

bug:11064682
Change-Id: I35825a7005e75f3abf02f23f31dee1cb7b101c31
ettings.java
2fdb68b3c2ac5e72fdaa590eb70fca0c6a9f5ef0 03-Oct-2013 Daniel Sandler <dsandler@android.com> Goo goo ga joob.

Bug: 10240151
Change-Id: I7b702c397cb9f5ac3294ae27ffc6185df6a64678
ettings.java
11e9274fc02fafc693a964ef0b4b119fd8f0e2e5 02-Oct-2013 Jeff Sharkey <jsharkey@android.com> am c7ce6985: am 50a8663d: am 437befc1: Merge "Docs change: annotate media intent actions." into klp-dev

* commit 'c7ce69853ad8297ac5cad4a1e91b6f40f0d671d9':
Docs change: annotate media intent actions.
32cd2fb59601432e134e10d2c6720b2e70b6c2fe 02-Oct-2013 Jeff Sharkey <jsharkey@android.com> Docs change: annotate media intent actions.

Bug: 11043141
Change-Id: I66777c5ce25014d8e64da5b4ce3f70334befb0b7
ediaStore.java
b6ab3b982b98a34e6af59adbfb7e85db7da7392c 02-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 7f60e70e: am 666b998b: am 364fc14f: Merge "Detect wedged ContentProviders, treat as ANR." into klp-dev

* commit '7f60e70e815d381035b141843395830407c198d9':
Detect wedged ContentProviders, treat as ANR.
2caf51b5bf78fe91c23a617829a158085f3b3c9c 02-Oct-2013 Svetoslav <svetoslavganov@google.com> am 8fd521c7: am 95b1bbfe: Merge "Fix the build" into klp-dev

* commit '8fd521c7447a6f95006adb56cfa60ff49e1befab':
Fix the build
d29724c640433b82addbdad3a790b75aed2d9dc4 02-Oct-2013 Robert Greenwalt <rgreenwalt@google.com> am 2b6b3d9c: am bad5d694: Merge "Use a build-specific wifi country code" into klp-dev

* commit '2b6b3d9c495d3c8332aad6515a1db06e8fde3848':
Use a build-specific wifi country code
7aa7601c09ab5d87cc15a0ed9a8f511d494a4cbc 30-Sep-2013 Jeff Sharkey <jsharkey@android.com> Detect wedged ContentProviders, treat as ANR.

All ContentProvider calls are currently blocking, making it hard for
an app to recover when a remote provider is wedged. This change adds
hidden support to ContentProviderClient to timeout remote calls,
treating them as ANRs. This behavior is disabled by default.

Update DocumentsUI to use a 20 second timeout whenever interacting
with a storage provider.

Bug: 10993301, 10819461, 10852518
Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
ocumentsContract.java
95b1bbfe6c8fe5072d80e027d4b25319ed6f0411 01-Oct-2013 Svetoslav <svetoslavganov@google.com> Merge "Fix the build" into klp-dev
f43e851f96cd8a0f0d006b21ba6cde349f89ccf3 01-Oct-2013 Svetoslav <svetoslavganov@google.com> Fix the build

Change-Id: I2d701199808b1a0d482b9593c8b0730a408c3e8e
ettings.java
410d4e33c5542ccdeacdc8d0ac4aa0e194da688a 01-Oct-2013 Alan Viverette <alanv@google.com> Add accessibility display adjustments

BUG: 9057596
Change-Id: I5e7cc05159387cb00701e162d015e2f7ca6cbf4c
ettings.java
bad5d694c7d7ae27ca966d6da059f81c5d964748 30-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Use a build-specific wifi country code" into klp-dev
c33cd23c17c24df33550a6662cedfe60b323604a 27-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Use a build-specific wifi country code

This ignores any previous setting and instead uses
a value set at build time. This does not preclude
us from using some other signal to determine country
for wifi channel limits.

bug:10513734
Change-Id: Ib82c07285af70fbd82eb0466b7391979ebc8be10
ettings.java
6efba22ce510352bb84910d6efc42fecafd31ed7 28-Sep-2013 Jeff Sharkey <jsharkey@android.com> New roots UX, async, performance, docs.

Yet another iteration from UX on how roots should be ordered. Since
we no longer categorize by type, remove from public API. Updated
asset drop with new dividers.

Update public API docs to be explicit about required columns. Hide
flags and columns that aren't required for third-party apps.

Move remainder of potentially blocking work to AsyncTasks, including
creating directories, picked root resolution, and creation of new
documents once picked.

Improve performance of layouts by removing baseline alignment and
reduce hierarchy depth. Set alpha on ImageViews directly to avoid
offscreen rendering hit.

Limit returned recents to 45 days. Show load in recents when still
waiting for backends. Show empty message when no recents stacks to
create from. Use unique key when saving recent stacks.

Bug: 10941423, 10819454, 10964412, 10960718
Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94
ocumentsContract.java
ee2f7df9ee8a4f43c3b0858bad08a4f0a59a627f 26-Sep-2013 Jeff Sharkey <jsharkey@android.com> Tighten flags enforcement, API to test Uris.

Check and throw if callers request invalid grant flags. Add API to
test if a Uri is backend by a DocumentsProvider.

Bug: 10919391, 10935608
Change-Id: Ifa6afefb95983558c8c64dc15ddf650e9fe07080
ocumentsContract.java
e66c1778f80f4b18e29e018eca3a338f125f23b9 20-Sep-2013 Jeff Sharkey <jsharkey@android.com> Require that persistable Uri permissions be taken.

Change our Intent flag to indicate that a Uri permission grant is
persistable, but don't actually persist it until explicitly taken by
the receiving app. This prevents apps from spamming each other if
persisted permissions aren't really required.

Remember the last time a persisted grant was taken by an app, and
use this to prune away the oldest grants when the number of grants
grows too large. Allow apps to query persisted grants they are
holding, and allow them to release previously persisted grants. Add
public UriPermission class to return grant details and timestamp.

Track various permission strengths separately, and combine together
after each mutation pass. Persistable grants are currently treated
like global grants, but they could be moved to have owners in the
future. Require that grant holders trying to extend a persistable
permission actually hold a persistable permission themselves.

Bug: 10835779
Change-Id: I95b2f797c04ce7fd2612f9a644685dbd44e03759
ocumentsContract.java
ocumentsProvider.java
b180a65d41adc731cbff1536c7ede15174bc08e1 23-Sep-2013 Jeff Sharkey <jsharkey@android.com> Allow saving to Downloads.

Uses new column to mark writability. Also filter file selection in
create mode to only allow writable files.

Bug: 10667164, 10893268
Change-Id: I90f74efbb7ac634fbdb3cc02a904a96a434d3605
ownloads.java
345d491b77d70942f7a4390645fae7748b418459 18-Sep-2013 David Braun <dabraun@google.com> Merge "Implement new method for handling SMS/MMS on the platform" into klp-dev
d67ec25a9c4bf728e4805248d0b287cc3c3ab8ae 05-Sep-2013 John Spurlock <jspurlock@google.com> Update transient navigation confirmation wording & behavior

1. Decrease transient navigation confirmation annoyance.

- Only use the power-key as a signal if we detect a screen-off
screen-on within a short threshold value.

- Auto-confirm if user performs the indicated gesture.

- Remember confirmation across reboots.

2. Update wording to new final wording. Remove now obsolete
short + long versions. Decrease message font temporarily
until the new platform toast redesign is finalized.

3. Remove pre-ship ImmersiveModeTesting debug helper.

Bug:10602929
Change-Id: I0bff826391058c7b282eeb61817b93b79de84893
ettings.java
f5d831915dd11e77cdcf5669228c55fe17a21c5e 16-Sep-2013 David Braun <dabraun@google.com> Implement new method for handling SMS/MMS on the platform

Multi project change:
The changes in this project add the new (hidden) default sms application
setting to Settings.Secure and updates AppOps to support the concept
of an op defaulting to something other than allowed. OP_WRITE_SMS is set
to default to MODE_IGNORED.

Bug: 10449618
Change-Id: I37619784ac70c27cf9fbcbfcac1b263398bc4e01
ettings.java
f5aba5ad1e09829a13bd0ad4912e45ff3d773176 14-Sep-2013 Maggie Benthall <mbenthall@google.com> Merge "CA cert monitoring: add notifications and actions for dialog" into klp-dev
12c7a0c970dfa56391f1e7f7a8ed41348acb14c4 14-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "More UX updates around picking images." into klp-dev
f6db154975ef575479ba4ab59d80bcf592288252 13-Sep-2013 Jeff Sharkey <jsharkey@android.com> More UX updates around picking images.

When picking images or videos, hide the titles in recents, since the
thumbnails should speak for themselves. Also respect new flag that
allows a directory to request their titles be hidden.

Show directory icon hint in grid mode when showing a thumbnail, to
remind user it's a directory.

Filter directories out of recents. Hide most action bar icons on
phones, even when room. Only show drawer on first launch. Hide most
drawer headers to match spec.

Bug: 10710331
Change-Id: I0ef1973ddd62750f57345336388366eda1449720
ocumentsContract.java
78d47240fb71a55897c1ef2e2d06492acbe29ad6 14-Sep-2013 Zhihai Xu <zhihaixu@google.com> Merge "Fixed review comments" into klp-dev
0469f41010d8001dba5e09606bb631b1d3313021 05-Sep-2013 Maggie Benthall <mbenthall@google.com> CA cert monitoring: add notifications and actions for dialog

In DevicePolicyManagementService, on boot and when certs are installed,
post notification to tell the user that their traffic may be
monitored.
Have QuickSettings use the MonitoringCertInfoActivity instead
of building the dialog itself.

Bug: 10633199

Change-Id: Ie4b97295a9fc25867c87872feccdb17f4bea071d
ettings.java
3e1189b3590aefb65a2af720ae2ba959bbd4188d 13-Sep-2013 Jeff Sharkey <jsharkey@android.com> Move search to roots; Documents root; hide empty.

Documents searches now happen root-wide, instead of only under a
subdirectory. Updates abstract class and flags to match. Add flag
for a root to indicate it's empty, and hide empty roots in UI unless
creating.

Define "Documents" public directory and storage backend to contain
files.

Bug: 10712057, 10710865, 10710758
Change-Id: I8716367568969f9cb1d83927b2bf5a7013809350
ocumentsContract.java
ocumentsProvider.java
0d376053747615ac7c4b45ab7810329ffbdf80d1 22-Aug-2013 Kim Schulz <k.schulz@samsung.com> Fixed review comments

- fixed review comments (internal+google)
- corrected tabs/spaces
- Add connection id header for obex client operations
- added support for implementing ProfileService class

Change-Id: Idab8b4fa54a0f31bec4ffa263a69a9850a07f858

Bug:10692365
ettings.java
357f9e34ca4f0336e406044db35834530379db47 12-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "Handle pipe thumbnails, acquire unstable refs." into klp-dev
de2b22fbc60b29dd8af60cf05862066c04559dc0 12-Sep-2013 Jeff Sharkey <jsharkey@android.com> Handle pipe thumbnails, acquire unstable refs.

Support decoding thumbnails delivered over pipes by wrapping in a
buffered stream. Also switch to using unstable provider references
to avoid crashing DocumentsUI.

Bug: 10516148, 10510851
Change-Id: I85f6eeaca70c97742bf79656d1d0c6da381fdd47
ocumentsContract.java
706113fa2a82e5b613b8555120025b8472ffcbf3 11-Sep-2013 Tom O'Neill <tomo@google.com> Merge "Improve some javadoc related to isProviderEnabled() apis" into klp-dev
d5759437eeb3137e4a05471ff0f4681c0254e81a 11-Sep-2013 Tom O'Neill <tomo@google.com> Improve some javadoc related to isProviderEnabled() apis

- LocationManager.isProviderEnabled() no longer throws SecurityException:
the caller could already circumvent the permission check by calling
Secure.isLocationProviderEnabled()

Change-Id: I5abd04264299671ed35ce4594b5be46d86378767
ettings.java
a0a47c737951db52af4943f5737da48d30adc6fe 11-Sep-2013 Amith Yamasani <yamasani@google.com> Merge "Backup and restore ringtone and notification ringtone" into klp-dev
af4d039fb3a45d4a74683a69ee48071b8338a13d 11-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "More UX work for thumbnails, search, management." into klp-dev
4ec973925fc2cd18f9ec0d0ca5af588564fded27 10-Sep-2013 Jeff Sharkey <jsharkey@android.com> More UX work for thumbnails, search, management.

Hide non-finished downloads from normal picker UI, but keep them
around in management mode. Uses a Uri query parameter and a hidden
API on DocumentsProvider.

Scale thumbnails to fit viewport, always show MIME icon while waiting
on thumbnails, and crossfade between them. Cancel thumbnail tasks
when views are recycled.

Filter directories out of search results for now. Also leave sort
ordering from backend intact, since it's custom ranking. Fix
SearchView interaction to dismiss properly and restore across
orientation and drawer state changes.

Hide most actions when drawer is open. Invalidate RootInfo cache
when locale changes. Apply sort ordering when showing recent create
directories. Hide recent summary string when icon is enough for user
to disambiguate.

Bug: 10667184, 10665663
Change-Id: I331d3272a08c497f88dc659d9e112231cb35aa69
ocumentsContract.java
ocumentsProvider.java
49e1cf946f8e3ae71ec36618756c2eec8fe701b2 10-Sep-2013 Yorke Lee <yorkelee@google.com> Update javadocs for number presentation

Bug: 10461762
Change-Id: Idfd19fb5f522569afa775ce95e0ba975324a0ee2
allLog.java
622bf2220cf7fb9bb526afa39921ee2aa93e32ca 06-Sep-2013 Amith Yamasani <yamasani@google.com> Backup and restore ringtone and notification ringtone

Use the new content provider API to canonicalize Uris.
If the provider doesn't support it, don't save the value,
unless it's a silent ringtone.

Bug: 10130785

Change-Id: Id08bb2812b9b2a7036a25801d1997661b0017629
ettings.java
b7757a6b32edea62a1a9a803ad83579220f26100 10-Sep-2013 Jeff Sharkey <jsharkey@android.com> Rename offer() to add(), remove/hide some APIs.

Change MatrixCursor offer() to add() based on review feedback. Remove
some now-unused XML metadata. Hide document creation, since it's not
supported in initial version.

Bug: 10577809, 10461706, 10678563
Change-Id: I7b3f4c6899c28f633471ef816bee22bf032aa0d2
ocumentsContract.java
d182bb641f228b2d28527a6aa86075f6358ab838 07-Sep-2013 Jeff Sharkey <jsharkey@android.com> Remember mode and sort on per-directory basis.

Persist the last user-selected list/grid mode and sort order for
each directory. Remembered user choice always overrides provider
hinting.

Filter out recent documents that don't match requested MIME type, and
show recents in grid mode when picking images. Hide mode and sort
order in recents.

Add hinting flag for backend to indicate a directory would like to be
sorted by last modified. Include explicit root in DocumentStack and
clearly mark derived fields.

Bug: 10392047, 10608506
Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf
ocumentsContract.java
911d7f411f36f2279aae44c89ff1d33a29140046 06-Sep-2013 Jeff Sharkey <jsharkey@android.com> Provide calling package to ContentProviders.

The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API. Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
ocumentsProvider.java
a61dc8e03e6e863005b3a4629ca8f3801d33d3c4 06-Sep-2013 Jeff Sharkey <jsharkey@android.com> Separate root and document management.

Two hidden intents for managing roots and documents, used to support
Downloads UI. Touching an item tries launching as MANAGE_DOCUMENT
first before falling back to VIEW. Provide MIME type for roots.

Bug: 10446265, 10531347, 10599641
Change-Id: Ia5584bd6ce3e5a9b0048e8caf1447e3053664413
ocumentsContract.java
ocumentsProvider.java
5d7acbd8bedbccfd64d9d790d0b3c2492acdc219 05-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "Filter roots based on supported MIME types." into klp-dev
923396b7720367ec99c889725fddfa556e703971 05-Sep-2013 Jeff Sharkey <jsharkey@android.com> Filter roots based on supported MIME types.

Using flags to indicate supported types isn't very extensible, so
use newline-separated MIME types instead.

Bug: 10514613
Change-Id: I45641fc20b423b2a0bb2df7457c274f42aa6861a
ocumentsContract.java
e8222dddaf2e3da14380101e818d4254899e0c0d 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b
ettings.java
c5c203d6ef8eea46f1c06f52e3ebfcc59c304760 05-Sep-2013 Svetoslav <svetoslavganov@google.com> Merge "Print API updated." into klp-dev
773f54de3de9bce7b6f915aa47ed686b161d77aa 03-Sep-2013 Svetoslav <svetoslavganov@google.com> Print API updated.

1. Removed the updatePrinters API on PrinterDiscoverySession.
Now re-adding a printer updates it.

2. Added getTrackedPrinters() API to allow a print service to
figure out which printers' state should be tracked by the
service.

3. Removed the APIs on PrintDocumentInfo that describe the
layout of the content as they are not needed. For example,
if the print attributes passed in layout require landscape
mode, the the app should just create a PDF page with the
wider side up and draw its content in portrait. The printer
will then rotate the page.

Change-Id: Idd72c6e9c129e8b17eef1236573a99773f8ff0a2
ettings.java
b145ac127ac25abd30597f798612b539107f8368 05-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "Fix document management permission enforcement." into klp-dev
e37ea6123d1aa3cd3e8804988886b1f6046d79d6 04-Sep-2013 Jeff Sharkey <jsharkey@android.com> Fix document management permission enforcement.

Allow both explicit holders of the MANAGE_DOCUMENTS permission and
those holding Uri grants to perform management tasks.

Extend grants for newly created documents when caller doesn't have
permission. Revoke grants when deleting documents.

Test now writes actual content into picked file. Workaround updated
flags for Drive app.

Bug: 10623211
Change-Id: Ia8e90b33e0fac8294b2cacb96d083c43fdf75aab
ocumentsProvider.java
e4bcd1b71408216cc5cdaf8d74001da611828f00 05-Sep-2013 Wink Saville <wink@google.com> am 323af8b4: am aa5b0f8b: am ce1e3798: Add provisioning apn timeout.

* commit '323af8b49df3535977b5aa7f5b31c429d8a50f10':
Add provisioning apn timeout.
323af8b49df3535977b5aa7f5b31c429d8a50f10 05-Sep-2013 Wink Saville <wink@google.com> am aa5b0f8b: am ce1e3798: Add provisioning apn timeout.

* commit 'aa5b0f8bdadcfa1ddb041e09b815ea4b5986e901':
Add provisioning apn timeout.
dbb0b824a7e1dc6909988ec06a46158c05d26a92 05-Sep-2013 Chong Zhang <chz@google.com> Merge "wifi-display: add a global setting to force WPS config method" into klp-dev
ce1e37981caec29df2671a6e2909f00da7f24a00 04-Sep-2013 Wink Saville <wink@google.com> Add provisioning apn timeout.

Bug: 10609993
Change-Id: I2dd4fe23fa2b22ef8f4849c161c630d1a85cdb4b
ettings.java
96661c42d0643c129fed60678aa0b8f99d32b456 03-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "System print service enabled after every system reboot" into klp-dev
7c925042061bf4b80cf80a7e6d94995c62eca7e1 03-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "New recents behavior to match spec." into klp-dev
cd6d7deec8742e257a670db8e027f628afdf337e 03-Sep-2013 Jeff Sharkey <jsharkey@android.com> Merge "Refactoring of DocumentsContract." into klp-dev
6bd20bc46c762860cac852888df5adf718f2be24 03-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> System print service enabled after every system reboot

The system was overriding the user on every boot by turing of all system
print services, i.e. service that are on the system image. Now the system
print service are enabled by default only once per user, the user can later
disable them and the system does not override that. We now have a system
setting with the services we enabled once by default so we never do
default enabling again (unless device is wiped).

bug:10594775

Change-Id: Id3129ccfba95bf57375ea9fec0b5ca0e51bda199
ettings.java
251097b3789632000ccdaf7fb7d66a82ff37d882 03-Sep-2013 Jeff Sharkey <jsharkey@android.com> New recents behavior to match spec.

Updated behavior queries each documents root for recently modified
documents. It uses a new variant of DirectoryLoader which limits the
maximum number of parallel queries to relieve memory pressure. When
first started, it waits up to 500ms for everyone to finish, then
publishes whatever results are ready, and then refreshes results as
each straggler finishes.

New RootCursorWrapper that always blends in authority and rootId
columns, which are used for binding root details from blended cursors.

Bug: 10593596, 10329994
Change-Id: Icc0d4a2f1b6166edc72f78a4c88f444eeba6f2f0
ocumentsContract.java
ae9b51bfa313c51a31af30875a71255d7b6d2e61 01-Sep-2013 Jeff Sharkey <jsharkey@android.com> Refactoring of DocumentsContract.

Combines related columns and constants onto the same class so they
are easier to discover. Move back to surfacing roots with columns
so they are consistent with documents.

Advanced roots are represented with a flag instead of distinct
types. Flags to indicate supporting of well-known media types,
instead of arbitrary an MIME filter. Reintroduce well-formed rootId
to support recents.

Always use the expanded version of "documents" in constants, methods,
and argument names.

Refactor DocumentProvider method names to clearly distinguish if
a single item or multiple could be returned, and of which type. Add
documentation to clearly define which methods have already been
overridden.

Bug: 10567506, 10567557
Change-Id: I981f26ab82f2b520a19aa1ce66f659de50d7fac0
ocumentsContract.java
ocumentsProvider.java
083199efed839274619eb7a003a7d7c9229e5ffc 30-Aug-2013 Alan Viverette <alanv@google.com> Merge "Update captioning APIs" into klp-dev
e38af818b10e1a4927cc3fd69d19c9125d579321 30-Aug-2013 Chong Zhang <chz@google.com> wifi-display: add a global setting to force WPS config method

Bug: 9371882
Change-Id: I7417535f12fa5b75be471974250cfd13e45f87b2
ettings.java
a6dcf1a2d634bd8c26b6a5744fc38874bcac6dd9 29-Aug-2013 Martijn Coenen <maco@google.com> Merge "Add an API for querying HCE service selection mode." into klp-dev
c3f0044abe657d3e6d9cd1f322b419abddeba20c 29-Aug-2013 Martijn Coenen <maco@google.com> Add an API for querying HCE service selection mode.

This allows applications to differentiate between
the case where another app is the default, or the
case where the selection mode is "Ask every time".

Also, parse new requireDeviceUnlock attribute in
ApduServiceInfo.

Bug: 10262585
Change-Id: Icac508fe00054132574731532c05a1138edb24f5
ettings.java
69ce69b0e1500bcf0bfa87eaf0b89ae47f552f5c 29-Aug-2013 Alan Viverette <alanv@google.com> Update captioning APIs

CaptioningManager is now a first-class service in Context and can
have listeners added to it to monitor changes.

BUG: 10260603, 10461210
Change-Id: I2df5b2997537bb343d902b7ace3343ad483f3717
ettings.java
1d04b640ec97e31b8d4fbef134a5b7f083eac9b7 29-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Add ACTION_SHOW_ALARMS to Clock API" into klp-dev
2f7acd19be68e596d84246451de2295dbbd40404 29-Aug-2013 Sam Blitzstein <sblitz@google.com> Add ACTION_SHOW_ALARMS to Clock API

Add in an action to jump to the alarms page of a clock app.
Helpful for quick settings, for example.

Bug: 10506871
Change-Id: Ia18708c7962543911864dfaefa17d5356eed1b45
larmClock.java
9fd81a9008d5c8dd33272b6a451d89fa2fa1841e 29-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Stronger DocumentsProvider contract." into klp-dev
aeb16e2435f9975b9fa1fc4b747796647a21292e 28-Aug-2013 Jeff Sharkey <jsharkey@android.com> Stronger DocumentsProvider contract.

Using a contract class requires that a provider implement it exactly
with little help. This change introduces a DocumentsProvider abstract
class that provides a client-side implementation of the contract that
greatly reduces developer burden, and improves correctness.

This also moves to first-class DocumentRoot objects, and moves calls
with complex side effects to be ContentProvider.call() invocations,
offering more granular permission control over Uri operations that
shouldn't be available through Uri grants.

This new design also relaxes the requirement that root information be
burned into every Uri. Migrate ExternalDocumentsProvider and
DocumentsUI to adopt new API.

Bug: 10497206
Change-Id: I6f2b3f519bfd62a9d693223ea5628a971ce2e743
ocumentsContract.java
ocumentsProvider.java
229ba4974bc7ba7966837842b239d5ca45096491 28-Aug-2013 Sam Blitzstein <sblitz@google.com> Remove EXTRA_DELETE_AFTER_USE and update descriptions accordingly.

As per UX, we're removing the EXTRA_DELETE_AFTER_USE flag. Instead,
apps that pick up these intents should automatically delete alarms
and timers, unless the user is taken into the app to explicicitly
specify the time/length.

Change-Id: Ibd582788c04e121427467f6549759c8b7706df8c
larmClock.java
7f6f45723adea684529dd9b7465d798f10c3acbf 27-Aug-2013 Tom O'Neill <tomo@google.com> Remove or reduce visibility of deprecated methods

- Fix additional getInt() path, restores the location settings screen
functionality.

- Should fix "unresolved link" build breakages in
git_klp-dev-plus-aosp-without-vendor, which is much more persnickety than
klp-dev for some reason.

- Add warning that we may add additional location modes in the future.

- Finish fix for b/10461763 and b/10461474

Change-Id: Id7155e3a0d7526a377d446018ef3bdb057bad3a6
ettings.java
a324ac787564aa4e113dc7905667fd8776f4c406 26-Aug-2013 Tom O'Neill <tomo@google.com> Address API council comments on location mode API council

- Start fixing b/10461763

Change-Id: Ic5305bdca38329765a1de565c0a25da12e8ab19d
ettings.java
5de1faca166e2241cf9ad1981007caa947a1fc1b 24-Aug-2013 Chong Zhang <chz@google.com> Merge "wifi-display: add certification options" into klp-dev
365768fd3533343d6631875d7d46882907f7ab09 24-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Return EXIF thumbnails when available." into klp-dev
98d6212327d1c483894b642d5e24c3aac9fca9cf 24-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Add CancellationSignal support to file operations." into klp-dev
1f3ecaae6303d5ee6c5ca8499262c9962f036365 04-May-2013 Chong Zhang <chz@google.com> wifi-display: add certification options

When certification mode is enabled:

- Pass wfd session info to wifi display settings

- Allow sink to connect to source

- Add interface in display manager for pausing/resuming session

- Add interface in WifiP2pManager for setting lc, oc and starting
autonomous GO

Note that we're compliant regardless of certification mode, but
some confusing options (eg. allowing incoming connection from
sink) we want to hide when not being tested.

Bug: 9371882
Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
ettings.java
6398343e83b3fd11dd6536cf6f390a52c1e19d2e 21-Aug-2013 Jeff Sharkey <jsharkey@android.com> Return EXIF thumbnails when available.

Adds new ExifInterface method to extract the thumbnail range from
a larger image file, and use that to return an AssetFileDescriptor.

When decoding an AssetFileDescriptor thumbnail with offsets, read out
the raw data entirely, since Skia uses lseek() aggressively.

Bug: 10412208
Change-Id: I7906cdf82c0c3794cec7043c801a86f66efeb143
ocumentsContract.java
bd3b902567b09379e1b62c60b3319ad82102efad 21-Aug-2013 Jeff Sharkey <jsharkey@android.com> Add CancellationSignal support to file operations.

Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility. Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
ocumentsContract.java
83e1015d73d80416d514ad40ad871a01f5181eeb 22-Aug-2013 Yorke Lee <yorkelee@google.com> Merge "Remove dialpad_autocomplete system key from settings" into klp-dev
e2a6d3df1257c1c04b1a14777bb7ee65f634bdc3 22-Aug-2013 Vinit Deshapnde <vinitd@google.com> Merge "Introduce network link quality statistics" into klp-dev
8c128abe9c3a945e329f2a7ddf13b8ca879c81c4 22-Aug-2013 David Christie <dnchrist@google.com> Merge "Remove newly added but deprecated master switch location setting methods." into klp-dev
35785bfdd191f29ae0bd1b8eb3a8052f32004cf9 22-Aug-2013 Yorke Lee <yorkelee@google.com> Remove dialpad_autocomplete system key from settings

Bug: 10429771
Change-Id: I6c3721020114733e20d0d620680839e1b958721f
ettings.java
4c18b585e43c391fcd8364cde52e7016147707fb 22-Aug-2013 David Christie <dnchrist@google.com> Remove newly added but deprecated master switch location setting methods.

Change-Id: I5e85a1efafe45cee89e08b97a0dcb016c91fd572
ettings.java
21ea2d0387e07569b3448c1161a3276599b3fbba 22-Aug-2013 Sam Blitzstein <sblitz@google.com> Fix VALUE_RINGTONE_SILENT ref.

Change-Id: I115c8d2e0e972f6d7d732071d26ae5f489b926f3
(cherry picked from commit 044ffbbbaa7dc07c2aa40a35d5d13b1b3e7bd0c0)
larmClock.java
435e7dfd922510bbc081800d0c6092ea52ed9cd1 17-Aug-2013 Sam Blitzstein <sblitz@google.com> Extend AlarmClock API (just slightly)

Add some extras to SET_ALARM action.
Add SET_TIMER action.

Change-Id: I436864ca875a7eb1c424d0d21882d624780d6ff1
(cherry picked from commit fe7dedefe9c146209f73306dbd1584f251f85d1c)
larmClock.java
1f12cb52a494a3eaefc62d03a8d2fdf47a5535e9 21-Aug-2013 Vinit Deshapnde <vinitd@google.com> Introduce network link quality statistics

This change starts tracking traffic quality data for WiFi and mobile
networks. The quality is tracked based on incidental traffic, and not
on specific measurements. Theoretical bandwidths are hard-coded, as
well as sampling interval; although sampling interval can be changed
by setting a system policy.

Bugs filed to remove shortcomings of this change -

10342372 Change LinkInfo name to something better
10342318 Move hardcoded values of MobileLinkInfo to resources
so they can be updated without changing code

Bug: 10006249

Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
ettings.java
e14380a79828f361255c761a4c384e1c2094e056 21-Aug-2013 Mathew Inwood <mathewi@google.com> Remove android.provider.Applications

ApplicationsProvider is going away since it's no longer needed. Remove
the related constants also.

Depends on change I6ee638a3d2b65f092d6f90410156d7cd24436914 in
packages/provider/ApplicationsProvider.

Bug: 10407790
Change-Id: Ib3188612a8713266a77d59d514113ed5d61b0810
pplications.java
fd95299415b0d013ee3c8b79e1398cb85cfa684f 20-Aug-2013 Tom O'Neill <tomo@google.com> Fix build: remove obsolete TODO

Change-Id: Ie8ef50450a8c415deba9b71607bec89e72db9227
ettings.java
f23993fb52bd88c8512588c8a2cb0a53fecb2cf2 20-Aug-2013 Tom O'Neill <tomo@google.com> Merge "Add the API to set and read the location mode" into klp-dev
1f48b78e998615f6974ae5ed21479d2dc3ab30e1 20-Aug-2013 Tom O'Neill <tomo@google.com> Add the API to set and read the location mode

- This will be more future-proof than the current GPS/NLP API

Change-Id: I9defe505e1372d9b601c3190eb49bd71604f04d1
ettings.java
4eb407a832b7d6a2d62a535e5cab70b00a0bc8ed 19-Aug-2013 Jeff Sharkey <jsharkey@android.com> Management actions, invalidate caches.

In manage mode, touching launches a VIEW intent for the file. Also
adds actions for sharing and deleting.

Move roots and thumbnail caches into Application object, and flush
cache when thumbnail size changes. Listen for package changes and
broadcasts that should invalidate our roots cache.

Pick default grid/list mode based on provider hint.

Bug: 10329983, 10330210, 10378834, 10330069
Change-Id: I75afb1c58ab71bb9d55852b1059da7257a376248
ocumentsContract.java
9d0843df7e3984293dc4ab6ee2f9502e898b63aa 07-May-2013 Jeff Sharkey <jsharkey@android.com> Resized thumbnails; async; extend MatrixCursor.

When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure. Load them
async and with LruCache.

Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map. This makes it easier to
respond to query() calls, where the remote side controls the
projection map. Use it to handle custom projections in external
storage backend.

Update date/time formatting to match spec.

Bug: 10333418, 10331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
ocumentsContract.java
ediaStore.java
a5599ef636e37cb0b6474349936999be1afe6987 16-Aug-2013 Jeff Sharkey <jsharkey@android.com> Documents management mode; API adjustment.

Create documents manage mode to support Downloads and transient
storage devices. Locks user into requested backend root, and forces
file sizes on and sorting by last modified.

Separate API constants for Documents versus Roots, and give concrete
MIME types for roots.

Treat null sizes as unknown. Documents are always enabled in list
so that divider is drawn. Mark external storage file as writable.

Bug: 10329983, 10332993, 10332952
Change-Id: I05f4fdf5b04041a38e1ba7fb30202a3b0c615bf6
ocumentsContract.java
54ca29a5b94c2edf461c5433825d4ae17469fd7c 15-Aug-2013 Jeff Sharkey <jsharkey@android.com> DocumentsUI handles GET_CONTENT; hinting, errors.

Document browser now takes over all GET_CONTENT requests that request
openable Uris. It shows both storage backends and includes other apps
that respond to GET_CONTENT. Only grants transient read permissions.

Better guarding against throwing storage backends. Send sort order
and local-only hinting to backends.

Require that OPEN/CREATE_DOC users include openable category.

Bug: 10330112, 10329976, 10340741, 10331689, 10329971
Change-Id: Ieb8768a6d71201816046f4a4c48832061a313c28
ocumentsContract.java
5b83f854d9cbd6dc9e5a31892dbe8515b4c29683 15-Aug-2013 Jeff Sharkey <jsharkey@android.com> Root invalidation, write and grid flags, local.

Flags to indicate write support, and to indicate that a grid view is
preferred. Method to inform system that any root caches should be
invalidated. Methods to mark a Uri as requesting "local only" data.

Helper method for document creation.

Bug: 10330069, 10330108, 10330210, 10329976
Change-Id: I6ce6160f6ce6621e6ea05848a31bbbcb84587671
ocumentsContract.java
998cfa2c63c54a73d0c51d062408d370ed0b3107 12-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "API to discover granted Uri permissions." into klp-dev
08da7a1143b0c9cfb703971d882e0886bbd7d9de 12-Aug-2013 Jeff Sharkey <jsharkey@android.com> API to discover granted Uri permissions.

Now that granted Uri permissions can be persisted across reboots,
offer APIs to discover them. Returns incoming or outgoing grants
matching the requested flags and mask. Add helper method to discover
"open" documents using this new API and filtering for non-documents.

Require that callers own at least of the filtering packages to avoid
exposing all grants. Switch internal grant tracking to use ArrayMap.

Change-Id: I0a755f221d0d160b411f8d3cfc48279b64345733
ocumentsContract.java
4bcc8ee682bb879f1020942be03616b506d2c802 09-Aug-2013 Martijn Coenen <maco@google.com> Merge "NFC: always upper-case parsed AIDs." into klp-dev
62c196abd217c2471dc23d8975f84727560bafb9 09-Aug-2013 Martijn Coenen <maco@google.com> NFC: always upper-case parsed AIDs.

Also added activity intent action for Tap&Pay settings.

Change-Id: I5648e1ded3b79a3363899d1cab8aec55842b3e22
ettings.java
672d323bb49723f843e086dd03ef977f836c5214 08-Aug-2013 Amith Yamasani <yamasani@google.com> Merge "Developer option to force RTL layout" into klp-dev
d8415f4bf061000b049143b4f48b96b2005450bb 08-Aug-2013 Amith Yamasani <yamasani@google.com> Developer option to force RTL layout

Make sure screen layout changes are taken into account in Configuration diffs.
Initialize the SystemProperty from Global settings on startup of
ActivityManagerService.

TextUtils checks the override flag to decide if the default layout direction
should be forced to RTL.

Bug: 10244047
Change-Id: I23a2583d790a355060d0d898ba44e5f7dc896b46
ettings.java
3f7b652cd3ebced09e1d33d7683361bcedef2792 07-Aug-2013 David Christie <dnchrist@google.com> Add helper methods to set/query the location master switch.
Consolidates the logic of exactly what the master switch means
so that if we change in the future, we don't have to find
all the different parts of the code that use it (location
settings, location quick settings, power widget, etc).

Change-Id: Ib918143b82e16541f0873c4d9141adb11fb815fc
(cherry picked from commit db3720d42dcaa1d26022a392d24f60d0b711f3b7)
ettings.java
602b232a06ede86999aa362a12eb28cbc782dc1d 03-Jul-2013 Jason Monk <jmonk@google.com> Add PAC File support for proxy configuration

PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host). It gets called to determine what proxy should be
used for a specific request.

This adds PAC support to the system. The ProxyProperties has been modified
to hold the PAC file when one is present. The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required. This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.

The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.

The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files. The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.

As a fallback to applications that don't use the java ProxySelector, the proxy
is setup to point to a local proxy server that will handle the pac parsing.

bug:10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
ettings.java
72bd06204406e93abc236b91bfafd7d2be368221 08-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Settings, replace files, sorting by size, tweaks."
9fb567b59112f99e64e0bff6f343188331bad28d 08-Aug-2013 Jeff Sharkey <jsharkey@android.com> Settings, replace files, sorting by size, tweaks.

Add settings to show file sizes and advanced storage devices, both
disabled by default. Add sorting by size when enabled in settings.

Always show all documents, but only allow selection when they match
MIME filter. When creating, select entire filename on focus. When
creating, treat selected documents as replacement targets using that
exact Uri unless display name is changed.

Show available bytes for device roots. Show empty text label in
empty directories. Split grid backend and details into two separate
lines. Fix path label ordering when rendering recent directories.

Change-Id: I44c62e8adb8ca7d4355510a13d1ba975196a2d29
ocumentsContract.java
b3316ef7987571661dac47614e311b8eeb45000f 06-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Storage roots in fragment, sectioned."
66516697a29cf00d93893a1011d3befc7c1ee37f 06-Aug-2013 Jeff Sharkey <jsharkey@android.com> Storage roots in fragment, sectioned.

Move storage roots into a fragment, since it's not a drawer on
tablets. Cluster and sort roots when displaying. SectionedListAdapter
to make clustered roots easier to manage. Add docs for root types.

Move roots cache into separate class to make it easier to share.

Change-Id: Ia0b92eade059e816324641f600c08026c0e268c9
ocumentsContract.java
1ea19f4e4959448d3a97adbb7dd055924ec270e9 06-Aug-2013 Yorke Lee <yorkelee@google.com> Merge "Add DEMOTED and UNDEMOTE TO ContactsContract"
12803955396591cb4d348599e49d55dedcccf40e 06-Aug-2013 Wink Saville <wink@google.com> am 9fe49fc5: am 523db46f: Merge "Set subscription_mode in the database to a default value"

* commit '9fe49fc56ef39facf7b3be5f66256bd15a87961f':
Set subscription_mode in the database to a default value
523db46f6981a40e12007dbbe629bbdc47f861ba 06-Aug-2013 Wink Saville <wink@google.com> Merge "Set subscription_mode in the database to a default value"
3585e1a611166a689fcc31bb4eae1293cdd89b2a 01-Aug-2013 Yorke Lee <yorkelee@google.com> Add DEMOTED and UNDEMOTE TO ContactsContract

Change-Id: I060e9ce7d5de3f32fc55ba619b9a931ef938bd7b
ontactsContract.java
2191a0c8570b518c8a62e2a7c5e03a5b32ce0aa0 05-Aug-2013 Alan Viverette <alanv@google.com> Merge "Move caption style to its own class, add presets"
89a8250e242ee1d0b5b853154723b448d732b356 03-Aug-2013 Elliott Hughes <enh@google.com> am 710f3e2c: am 60ae2617: Merge "If frameworks wants ASCII casing, it should explicity ask for it."

* commit '710f3e2cc6bc2cdc2f2cddb2190823ea31efd52a':
If frameworks wants ASCII casing, it should explicity ask for it.
badb063c81ef805377dac69048afaa02cea6593c 03-Aug-2013 Martijn Coenen <maco@google.com> Merge "NFC: Host-based card emulation APIs."
cf9d87c68874e6008399fa1f571dbff34cf3fc82 03-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Track and persist directory stacks; recents work."
dc2963aecaf38bf53d6de82957412a486049c207 03-Aug-2013 Jeff Sharkey <jsharkey@android.com> Track and persist directory stacks; recents work.

Move to manual tracking of directory navigation stack so we have Uri
data to persist, instead of opaque fragment backstack. Remember
directory stacks across launches on a per-app basis.

Start recording recently opened and created files. Uniform Uri
parameter extraction utility methods in contract.

Change-Id: I79ed30ee10272bf7c53d339e797639c993f649bb
ocumentsContract.java
a7397883de67d674970d91f86d46ccf637e5e543 31-Jul-2013 Martijn Coenen <maco@google.com> NFC: Host-based card emulation APIs.

- New INfcCardEmulation interface to allow apps to interface
with card emulation system.
- New BIND_NFC_SERVICE permission to prevent malicious apps
from binding to card emulation services.
- ApduServiceInfo is now in the framework.
- Added constants to Settings.Secure for storing defaults.
- Modified XML grammar a bit.

Change-Id: I56b3fa6b42eb5dc132c91c1386ab1e6bac779059
ettings.java
43a1e3d319d77c251445339bcc8f82c82b097fee 03-Aug-2013 Alan Viverette <alanv@google.com> Move caption style to its own class, add presets

BUG: 9926077
Change-Id: I14e809c5a95103e57d30f4273399e9914af52b56
ettings.java
cb64d430627b71221c588ef5f23599dd34a89ee9 02-Aug-2013 Elliott Hughes <enh@google.com> If frameworks wants ASCII casing, it should explicity ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: Iaab02e718a7be7bda22e626dca05d79bfd2a8fc4
ettings.java
aaabfe9587ac5ca7c973417ed13c20ae655e2fb8 02-Aug-2013 Jeff Sharkey <jsharkey@android.com> Merge "Reference docs by ROOT_ID and DOC_ID; recents."
92d7e697a864a3e18bef4ef256bb3eb339a66b4e 02-Aug-2013 Jeff Sharkey <jsharkey@android.com> Reference docs by ROOT_ID and DOC_ID; recents.

The same document may be present with different sematics under
multiple storage roots, so always reference using both ROOT_ID and
DOC_ID. This enables backends to revoke permissions for an entire
root, such as when an account is removed.

Start building provider to remember recently accessed documents.

Change-Id: I75befa2e61393dec12fcc7fd27f631fcddae46fa
ocumentsContract.java
b4d485c18448eadb92083c74fc84722250daeb5d 04-Jul-2013 Naveen Kalla <nkalla@codeaurora.org> Set subscription_mode in the database to a default value

If ro.telephony.default_cdma_sub is set, use that to set the
default CDMA subscription source in the database. If that is not set
use the default preferred value defined in the source code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d
ettings.java
2aa2bc531b01910893766875882a158a193f638e 30-Jul-2013 Satoshi Kataoka <satok@google.com> Update the comment of Settings.ACTION_USER_DICTIONARY_SETTINGS

to make an implementation of a corresponding activity mandatory.

Change-Id: Ia6bae2ddf0697779e5133464803b0c0e04c2d4c1
ettings.java
a1510c9849d527021b9f14ed3d451bfa8d5f1506 31-Jul-2013 Jeff Sharkey <jsharkey@android.com> Merge "Define storage roots, external GUIDs, creation."
20d96d8aff2193d548977e23ce5158657cac94e0 31-Jul-2013 Jeff Sharkey <jsharkey@android.com> Define storage roots, external GUIDs, creation.

Allow storage backends to publish multiple roots into the UI, which
are defined by a directory GUID, type, and label details. Update
external provider to surface a primary external storage root, and
switch to burning file path into the returned GUIDs so they remain
durable.

Added insert, update, and delete support to external provider. Adds
file extensions to display names when needed to match MIME type.

Add flags for searching and deletion, and extras for Cursor
pagination. Add directory creation dialog to UI. Opening a document
always gives write access.

Change-Id: I9bea1aa0dcde909a5ab86aefeece7451ab920cf1
ocumentsContract.java
6acfa5d567bcee82505d1bd4d039b5fe65411fdd 17-Jul-2013 Yorke Lee <yorkelee@google.com> Add URI and fields for new pinned position API in ContactsContract.

Change-Id: I947e49212750e0042a806d8f16817dc65597f45c
ontactsContract.java
876d100f0234dd111d84abdec8187e6834ee7573 26-Jul-2013 Zhihai Xu <zhihaixu@google.com> Merge "Add debug menu to enable btsnoop"
87c79a18fe03de3b141b95336199b7504ac95c6c 24-Jul-2013 Alan Viverette <alanv@google.com> Merge "Add secure settings for captions"
ef79380d2f57f87c1f6859a6ec6ceb40bcb794ff 23-Jul-2013 Alan Viverette <alanv@google.com> Add secure settings for captions

BUG: 9926077
Change-Id: I202aef88943e1f884e5bd4c112f081b8b4b76ada
ettings.java
9e4b6f5a69600c35a23a1e051ba8b5b90f93b5a2 19-Jul-2013 Christopher Tate <ctate@google.com> Make more calendar alarms exact

Change-Id: I5ef72268b0605ba5a635b70d2b521533d3bd3ef0
alendarContract.java
623a42824c0ba79c7c22d1773b4bf4ca1711af01 24-Jun-2013 William Luh <williamluh@google.com> Add Exploit Detection User Consent to Settings.

Change-Id: I7f6bcaac4730c002a3531ed5f5926e56f86f8ee3
ettings.java
4b9a4d16872bbb50712e007b419ac0b35ff1582d 12-Jun-2013 Svetoslav Ganov <svetoslavganov@google.com> Print - platform APIs

Related changes:
Skia (inlcude PDF APIs): https://googleplex-android-review.googlesource.com/#/c/305814/
Canvas to PDF: https://googleplex-android-review.googlesource.com/#/c/319367/
Settings (initial version): https://googleplex-android-review.googlesource.com/#/c/306077/
Build: https://googleplex-android-review.googlesource.com/#/c/292437/
Sample print services: https://googleplex-android-review.googlesource.com/#/c/281785/

Change-Id: I104d12efd12577f05c7b9b2a5e5e49125c0f09da
ettings.java
5c4541246c6a70f53552423dc35940386788bd5f 17-Jun-2013 John Spurlock <jspurlock@google.com> Introduce SystemUI-managed alternative system bars.

If a service component is defined in a new secure setting,
SystemUI will attempt to use that service as the status bar
provider.

Falls back to the existing in-process implementation configured
in the product config if the setting is missing or invalid.

Nothing changes yet from a permission point of view. Alternative
system bar implementations still require the status bar permission.

Also nothing changes from an api point of view. Alternative
system bar implementations use the existing IStatusBar interface.

This simply enables testing alternative system bar implementations
installed from other trusted, platform-signed packages.

Known caveat: the setting is stored per user, multi-user changes
will be handled in a future CL.

Change-Id: I0413df185f7e75f77ad2ae1bc3689306d5e6e0fb
ettings.java
2b2450702b75ac16d2d7fd170672b2efe32fad03 19-Jun-2013 Jay Shrauner <shrauner@google.com> Merge "Add number presentation column to call log"
d88eb719ace9412c7e21968628206a10ab192be7 10-Jun-2013 Jay Shrauner <shrauner@google.com> Add number presentation column to call log

Change call log so instead of overloading the phone number with special
strings "-1", "-2", etc to denote private phone numbers, payphones, etc,
put presentation type in its own column and expose in the public API these
type values.

Bug:6948882
Change-Id: I230c26aa0428d605a0e83169a635b5bbf1aa4e3f
allLog.java
31b730a009cf439426a865aa428804912e9d7da0 18-Jun-2013 Chiao Cheng <chiaocheng@google.com> Remove un-used snippetize method from ContactsContract.

Bug: 7896653
Change-Id: I5db6f9a58ce747605f66c681036795cdd3ed5d01
ontactsContract.java
af5971ef27557f02f93b399c92d7e67106d825fe 11-Jun-2013 Zhihai Xu <zhihaixu@google.com> Add debug menu to enable btsnoop

bug: 8059358
Change-Id: I2d5f13e68defefb92e0b11b749fe77ad67215f36
ettings.java
2c52b08c3329b6215305316f6465c467abdd4116 31-May-2013 Daniel Sandler <dsandler@android.com> am 491c6075: am 054255c6: Merge "Unhide action to launch Daydream settings." into jb-mr2-dev

* commit '491c607582248590702ce07c0493ff0c39224689':
Unhide action to launch Daydream settings.
f3c1c7ea0a22c09a1212c0377c41f328242eec53 30-May-2013 Daniel Sandler <dsandler@android.com> Unhide action to launch Daydream settings.

Bug: 9088316
Change-Id: I70b87e1f320cef4f53b2610a94be8e552dd3a757
ettings.java
116d791e251994f85d906502806c05217c88da2e 22-May-2013 Adam Koch <akoch@google.com> am 289b14f5: am d51fc576: am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs

* commit '289b14f56c122a75ecbea3d8b878b6f1d424cacc':
Doc change: fix minor typo in ContactsContract.RawContacts.
d51fc5763d3ce7895e168ace65da4c253b16d57e 22-May-2013 Adam Koch <akoch@google.com> am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs

* commit '3e4ea33f087926d9039f7b4428dc967a8e760209':
Doc change: fix minor typo in ContactsContract.RawContacts.
3e4ea33f087926d9039f7b4428dc967a8e760209 22-May-2013 Adam Koch <akoch@google.com> am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs

* commit '4f6d0cbdd9372754b1b5b112e2b724b3852ac12b':
Doc change: fix minor typo in ContactsContract.RawContacts.
95e5a074480cb938bab2a3a7569ac2ea88b5a5bb 21-May-2013 Adam Koch <akoch@google.com> Doc change: fix minor typo in ContactsContract.RawContacts.

Change-Id: I31dbc85449fa81c9f5ea61fdaa0d4a89cf97cd86
ontactsContract.java
fb6dab36d5e867ad6de8c28efd7bdd12da29e1e9 16-May-2013 Robert Greenwalt <rgreenwalt@google.com> am 06433861: am c12783a9: Add min delay between disable and enable of wifi

* commit '0643386128eba71178ee3913e7c76965bd344d73':
Add min delay between disable and enable of wifi
c12783a90e08bd2e20eb75f68192fbf7bad80357 16-May-2013 Robert Greenwalt <rgreenwalt@google.com> Add min delay between disable and enable of wifi

We sometimes have issues if disable, enable seq happens to fast.
This should only slow down those fast cases.

bug:8715336
Change-Id: I4f7fe9708b7c3c2300c441511838e8a70eaad5d1
ettings.java
a67a1f5ae0acae8499c1e6dfe795c92a688f1ada 13-May-2013 Robert Greenwalt <rgreenwalt@google.com> am 23abefef: am 28d3dbf9: Merge "Remove wifi scan-always dialog." into jb-mr2-dev

* commit '23abefef00b4d47bb97b2597f74c9dae6a169286':
Remove wifi scan-always dialog.
aee3d28763230e54d9ce250c17744858e79bf798 13-May-2013 Robert Greenwalt <rgreenwalt@google.com> Remove wifi scan-always dialog.

Removes intent type for dialog and Setting on whether to show
dialog.

bug:8907190
Change-Id: Id37e03126d4afdfd7d921132a57233b84603c8bd
ettings.java
8b70a2166ba0cf2b337c580e3adfa633eea02774 09-May-2013 Yorke Lee <yorkelee@google.com> am 3672624c: am 35b7b0b8: Merge "Add system setting key for dialpad autocomplete" into jb-mr2-dev

* commit '3672624cdc8849f7b4944cff501bddb9a14bbdc0':
Add system setting key for dialpad autocomplete
60307f1ac0a9a148f87a2f19501596561306107a 09-May-2013 Robert Greenwalt <rgreenwalt@google.com> am 27c8b559: am e2322bdd: Merge "Don\'t back up the scan-always setting." into jb-mr2-dev

* commit '27c8b559b6feaa6ea5c44acc476a714487f1eafa':
Don't back up the scan-always setting.
35b7b0b80000774b503f7d06bf3685836f22608f 08-May-2013 Yorke Lee <yorkelee@google.com> Merge "Add system setting key for dialpad autocomplete" into jb-mr2-dev
647f8f3d063a2341272122fffc23c11d0c6fa940 07-May-2013 Yorke Lee <yorkelee@google.com> Add system setting key for dialpad autocomplete

Bug 8840243

Change-Id: Ib1fd631c8717dad2305e3507391cb2d96be2a847
ettings.java
ffff923c748d3c2f9a907fb6b519de526a5cc267 07-May-2013 Robert Greenwalt <rgreenwalt@google.com> Don't back up the scan-always setting.

We ask the user during device setup to configure this setting -
if we then restore from backup we clobber what they just selected.

Instead, just let them chose during setup and don't back it up.

bug:8825150
Change-Id: I3f2b2291c86a4008bb8ea2468164d9c6c673cbb0
ettings.java
9e0036ed7d3260d79cc5f9ffd8e3bbe760699924 27-Apr-2013 Jeff Sharkey <jsharkey@android.com> External storage provider, document picker UI.

Continuing to flesh out storage backends by adding an external
storage document backend. Still rough, but it can traverse files
and directories.

Early pass at OPEN/CREATE_DOC picker UI, which offers to traverse
any known storage backends. Supports opening subdirectories and
returning a picked file.

Change-Id: Idc3554036b3816a93d9b465ee8a620746859d2ae
ocumentsContract.java
9ecfee03fa188aebfbd9778b4e020323903495ee 19-Apr-2013 Jeff Sharkey <jsharkey@android.com> Start fleshing out new storage APIs.

Introduces new DocumentsContract which storage backends must
implement. Backends surface a simple directory-like organizational
structure that enables a document to appear at multiple locations in
that hierarchy. Querying a document or the contents of a directory
will return a Cursor populated with DocumentColumns, which includes
simple metadata.

Adds new OPEN_DOC and CREATE_DOC Intents, and permission to protect
storage backends.

Change-Id: Ib4984bc980182b2cedbe552908e5be94604ef085
ocumentsContract.java
penableColumns.java
853ad6fbe34fa26e81e4b7325309a034d7a1b038 30-Apr-2013 Mike Lockwood <lockwood@google.com> Remove obsolete OMA-DRM support

Change-Id: Ic6008d4c9f8b9cd9fd4efec070260227af70559c
rmStore.java
82d11c847e25fab56f2841bcd622f8f971edc5db 18-Apr-2013 Alon Albert <aalbert@google.com> am d2b8cd75: am adff8b75: Merge "Add Javadoc" into jb-mr2-dev

* commit 'd2b8cd75ed4ec9d9076699792bd78152885e304f':
Add Javadoc
adff8b7577490bbeaedcd584a19eb5310f6ccbc5 18-Apr-2013 Alon Albert <aalbert@google.com> Merge "Add Javadoc" into jb-mr2-dev
d35bf1f5eb26ad36d4bd6ce26d8bd4d79c498575 18-Apr-2013 Alon Albert <aalbert@google.com> Add Javadoc

Bug: 8657225
Change-Id: Id3cc191ea67011460604a691214b9b09075c5938
ettings.java
3569e9e50c3a467e9094d24272b8e1f091ac8d86 17-Apr-2013 Jim Miller <jaggies@google.com> resolved conflicts for merge of 2f6a2526 to master

Change-Id: Ie51d3a63f4d4d5bad7ef16ad84ef6ad5acdaa64a
187ec581c66fec49a5ee7db8edec6d9eb0e209fc 16-Apr-2013 Jim Miller <jaggies@google.com> Move owner info from Settings.Secure to LockSettings

Fixes bug 8512972

Change-Id: Ic046aff0332b78489dda08b1e9e71f4c16154f10
ettings.java
24fafc4cf51248024bcf297aca42f1d48650eaa4 09-Apr-2013 Chiao Cheng <chiaocheng@google.com> am 3e41c7c9: am 2355d131: Adding public api support for finding contact changes.

* commit '3e41c7c9baf58f49f06aec1bb9c3dcaf614e616e':
Adding public api support for finding contact changes.
2355d13154d50687c0d8d74ea1c0e41ab9d88e7e 21-Mar-2013 Chiao Cheng <chiaocheng@google.com> Adding public api support for finding contact changes.

DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
ontactsContract.java
8f6ed23997fbb2eabcb662c8f4a60270d99ac6a2 08-Apr-2013 Yorke Lee <yorkelee@google.com> am 855841cc: am cf837a6e: Merge "Update DataUsageStatColumns" into jb-mr2-dev

* commit '855841cce47bddf5ba758112fcf355a160c7e5f1':
Update DataUsageStatColumns
cf837a6e9034f0af3e58216578a1dad4cb635602 08-Apr-2013 Yorke Lee <yorkelee@google.com> Merge "Update DataUsageStatColumns" into jb-mr2-dev
8740cb1da6adb71a4e195774801c97db5853b097 05-Apr-2013 John Spurlock <jspurlock@google.com> resolved conflicts for merge of 29211d3a to master

Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
ettings.java
60765b285da48e7362b935105036efefbd1d5e58 05-Apr-2013 Ben Gruver <bgruv@google.com> am a1607a8c: am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev

* commit 'a1607a8c62a630150b4e96ec1148e90dc40ab984':
Add a config updater component for the intent firewall
633dc9bcef0935931781d7e4554566271fe9f2c5 04-Apr-2013 Ben Gruver <bgruv@google.com> Add a config updater component for the intent firewall

Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
ettings.java
b471da283e8093d7220a535c18732bf3c041c435 04-Apr-2013 kmccormick <kmccormick@google.com> am b85e328d: am bbcf0852: am 9d936591: am f5726617: am 2144eee3: am 3fb5536d: am 91e01a4d: Merge "Doc update: fix broken code sample" into jb-mr1.1-docs

* commit 'b85e328d380f3cd992302d3d36fbdce454990e64':
Doc update: fix broken code sample
bbcf0852f786ea1c9cf6dca85f45487b7739bfab 03-Apr-2013 kmccormick <kmccormick@google.com> am 9d936591: am f5726617: am 2144eee3: am 3fb5536d: am 91e01a4d: Merge "Doc update: fix broken code sample" into jb-mr1.1-docs

* commit '9d9365916def1a60d98cab7d59a4c98d9e7f6f42':
Doc update: fix broken code sample
9d9365916def1a60d98cab7d59a4c98d9e7f6f42 03-Apr-2013 kmccormick <kmccormick@google.com> am f5726617: am 2144eee3: am 3fb5536d: am 91e01a4d: Merge "Doc update: fix broken code sample" into jb-mr1.1-docs

* commit 'f57266175dffe68c5709f432dd6983c314d164f4':
Doc update: fix broken code sample
e4ce502d77899d273fda6ab79568f112d7d66f0a 03-Apr-2013 kmccormick <kmccormick@google.com> Doc update: fix broken code sample

"Bug: 8537853"

Change-Id: Ieedfd24c39725ce7c6975300b6471ab3ef5884ee
alendarContract.java
5a53d70428ea1ff4124df7161f9f16ef85e2a134 30-Mar-2013 Yorke Lee <yorkelee@google.com> Update DataUsageStatColumns

No longer expose the usage_type column. Instead, we return the
total number of times the data item was used, across all usage types.

Change-Id: I56bef7f1090405d7d0256d0a1c6ca96b38f923d6
ontactsContract.java
77118fb55eb3a0dcccbb8cf7861a96416f552390 27-Mar-2013 Geremy Condra <gcondra@google.com> Add SELinux updater and Settings-based enforcement switch.

Bug: 8116902
Change-Id: Ifac495026a354dac7655c28ea2188499a2a319aa
ettings.java
757ee5272528738fc2597b31a569aeda77b11b18 30-Mar-2013 Geremy Condra <gcondra@google.com> Fix a comment to fix the build.

Change-Id: I9acfef97572bbb0438afbc95df6a718ba506c2c4
ettings.java
4e7f7e839e6adb8986114ee5b619030696f910ca 27-Mar-2013 Geremy Condra <gcondra@google.com> Add SELinux updater and Settings-based enforcement switch.

Bug: 8116902
Change-Id: Ifac495026a354dac7655c28ea2188499a2a319aa
ettings.java
a0735118c6b2b371c7dfb212436faf7d55862bb0 27-Mar-2013 Geremy Condra <gcondra@google.com> Add ConfigUpdater settings values to the global table.

This is a partial fix to a bug caused by not properly migrating
these values from secure: to global:

Change-Id: Iaed77b5ab671f9cd229c7883ae09a0b4a5f3c64e
ettings.java
eff1151d6c66bb7ab4fcf1a2ce0f92c2770ae886 29-Mar-2013 kmccormick <kmccormick@google.com> am 0de7af1e: am c9c63003: am fd245a2e: am 593c0dbf: am 378d4367: Merge "Doc update: misc fixes" into jb-mr1.1-docs

* commit '0de7af1e18a72a979baa9711e4e980b21cf80255':
Doc update: misc fixes
0de7af1e18a72a979baa9711e4e980b21cf80255 29-Mar-2013 kmccormick <kmccormick@google.com> am c9c63003: am fd245a2e: am 593c0dbf: am 378d4367: Merge "Doc update: misc fixes" into jb-mr1.1-docs

* commit 'c9c63003b2e30c068a1bc9eba7683b75ca272180':
Doc update: misc fixes
50e27c813522e1772e3bd406c5e0d6d7dee14cc0 29-Mar-2013 kmccormick <kmccormick@google.com> Doc update: misc fixes

"Bug: 3424410"

Some of these had already been fixed.

Change-Id: I1d0ab3a8fa51aa308186059db4186e7a7d24e9f8
ontactsContract.java
2e73f5b8b7c941e68fec2d763d9455a8d6190e25 27-Mar-2013 Yorke Lee <yorkelee@google.com> Merge "Expose data_usage_stat table in ContactsContract" into jb-mr2-dev
0dc523fa99613d10399eafcf6bf0541a85c2c820 12-Mar-2013 Yorke Lee <yorkelee@google.com> Expose data_usage_stat table in ContactsContract

Bug: 8124079
Change-Id: Ie60e489f08be270b9f3a4866c488a5e0598ceb26
ontactsContract.java
038fbc5d099c6fb8903ccc00c0988d482bfb8046 27-Mar-2013 Yorke Lee <yorkelee@google.com> Merge "Add new apis to CP2" into jb-mr2-dev
c1b40c79beaec77937a58ffab1de9e02d553cd44 22-Mar-2013 Wink Saville <wink@google.com> Merge "Add some new constants." into jb-mr2-dev
dc0299fb2373faddd547d433ffa049fb40d64fac 21-Mar-2013 Daniel Sandler <dsandler@android.com> Merge "Allow whitelisted non-system packages to listen for notifications." into jb-mr2-dev
7b7beb7952440ee2e255694b7b19e60abae93dc0 21-Mar-2013 Irfan Sheriff <isheriff@google.com> Notify user when wi-fi is toggled about scans

We let the user know when he turns off Wi-Fi that scans will continue to
be available.

User has the option to turn off the dialog and not receive this in the future.

Bug: 8141918
Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
ettings.java
75c1e69bd55be1d2e923573f95299afbf554c393 21-Mar-2013 Wink Saville <wink@google.com> Add some new constants.

Add EVENT_DISCONNECT_DC_RETRYING, EVENT_SETUP_DATA_COMPLETE_ERROR
and State.RETRYING to DctContants.

Add MDC_INITIAL_MAX_RETRY to Settings.Global.

Bug: 4772191
Change-Id: Id54a20ab192783c63939158670faaf531a527640
ettings.java
4b749ef5f2d510b84b99aa269d5c77af22457d04 19-Mar-2013 Daniel Sandler <dsandler@android.com> Allow whitelisted non-system packages to listen for notifications.

The allowed packages are listed in
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS. (Don't let
the plural fool you: only one listener will be supported in
the UI.)

Change-Id: Ia69f2ba05d8e555fd4d40b0cc89c62ed14af3cac
ettings.java
11aefad94de6569c4c7394e7bc5fdeb0ae60d5bb 06-Mar-2013 Irfan Sheriff <isheriff@google.com> Add support for scan always available mode

Modify WifiService to add a controller to track the various
desired states and let the WifiStatemachine actually control
the bring up.

Bug: 8141918

Change-Id: I6e98fd5a29b43c3c50c315eff5255cd0a3eaebcd
ettings.java
4f401ebf14f31f411581588c3e649a00c94a06e7 07-Mar-2013 Yorke Lee <yorkelee@google.com> Add new apis to CP2

Add Data.Contactables.CONTENT_URI and CONTENT_FILTER_URI
Add VISIBLE_CONTACTS_ONLY boolean parameters to Data

Bug: 8123918

Change-Id: I8cef7a66d4ab0b910cba7feb158ec007f318f5a8
ontactsContract.java
50359c26e723d81c4c2d5e4e5fd1abfd1de7c53a 26-Feb-2013 Alon Albert <aalbert@google.com> Document extra account_types

The action android.settings.ADD_ACCOUNT_SETTINGS supports an extra
"account_types" (See AddAccountSettings & ChooseAccountActivity) but
that's not documented anywhere.
Oddly, the other 2 places that support the "authorities" extra do not
also support "account_types".

Change-Id: I99b7be0b0d6fff1cbccdf8b8b8e4fd2be9548e6c
ettings.java
ead9389fd2e3e325cbe5bf9bdd896dd7c9113540 14-Feb-2013 Jeff Sharkey <jsharkey@android.com> Remove throttle settings, no longer needed.

Since the throttle feature has been removed, its configuration
settings are no longer needed.

Change-Id: Iaf3cb74a372d43d580f42566d21843a2eb653d3e
ettings.java
005f6f6077f34e0157598882fdc7ddb794cad84e 11-Feb-2013 Craig Mautner <cmautner@google.com> Merge "Reset SensorEventListener when listener reenabled."
eee29c445c38217e83bf421faf0f4075322079a6 17-Jan-2013 Craig Mautner <cmautner@google.com> Reset SensorEventListener when listener reenabled.

- Following disable and reenable of the WindowOrientationListener
the state was the same as before. State should be reset to default.

- Provide a Handler to the sensor task to deliver events on the
same Thread that WindowManagerPolicy operates on.

- Expand lock protection to all of WindowOrientationListener.

- Move WindowOrientationListener to policy package.

- Make SensorEventListenerImpl non-static.

Fixes bug 7964531.

Change-Id: I17cecf3d0b6d125cb3e4d7350c3adb3f62b684bd
ettings.java
70a0327abd80d07432cdad61fd1713a96248abb8 08-Feb-2013 Marco Nelissen <marcone@google.com> am 85a1ee30: am b683f354: am 69abccc3: Merge "MediaStore.Audio.Media.getContentUriForPath() returns unexpected content"

# By Jan Bjernler
# Via Android Git Automerger (2) and Gerrit Code Review (2)
* commit '85a1ee30215190b1782127a6afe323f4df4ef131':
MediaStore.Audio.Media.getContentUriForPath() returns unexpected content
b683f3542a123a07823b51643b1973507bfb57e2 08-Feb-2013 Marco Nelissen <marcone@google.com> am 69abccc3: Merge "MediaStore.Audio.Media.getContentUriForPath() returns unexpected content"

# By Jan Bjernler
# Via Gerrit Code Review
* commit '69abccc3cdacee354dec8867865a0577a4e14e63':
MediaStore.Audio.Media.getContentUriForPath() returns unexpected content
66eb5899574cda2aae905248a58a2bd675247109 30-Apr-2012 Jan Bjernler <jan2.bjernler@sonymobile.com> MediaStore.Audio.Media.getContentUriForPath() returns unexpected content

MediaStore.Audio.getContentUriForPath() returns an uri to
internal storage if anything but /mnt/sdcard/ is sent in.
This fix checks if there is an additional sdcard
(normally called ext_card) or usb mass storage attached to
the device and then returns an uri to the external db.
The extra sdcard name and the usb mass storage name info is read from
the system environment variable SECONDARY_STORAGE so if a customer
chooses to change the name this will work as expected.

Change-Id: Ib78bca929fe382d4770df895149a0132f0e56994
ediaStore.java
2c45e913734a64460c6dcf5b831a32a0af5ba5c1 07-Feb-2013 Alon Albert <aalbert@google.com> Merge "Add Calendar Color Index to CalendarEntity"
0114112203ec55e10c209fded7495a6b70a3e468 07-Feb-2013 Alon Albert <aalbert@google.com> Add Calendar Color Index to CalendarEntity

Change-Id: I8dac2628fce44e37e5df1e19a97fc29934a6ba79
alendarContract.java
0a35dd5660ea3aac7676054fcdb39afadd639f8c 05-Feb-2013 Alon Albert <aalbert@google.com> Copy EVENT_COLOR_KEY as String

Change-Id: I84eda41d0b9c091f3d152cc3e899cb40b52ed949
alendarContract.java
971c28b83109900e36c525bc30c9e9f5397ebb1d 04-Feb-2013 Alon Albert <aalbert@google.com> Add EVENT_COLOR's to Event Entity Iterator

Bug: 8132457
Change-Id: Id6ace96532aa745c1b36290b525dfdf154fe2134
alendarContract.java
54781207d31fd0fb33c6038b6999ba649fc488b2 18-Jan-2013 Jeff Sharkey <jsharkey@android.com> Define failed connections column, and reset.

When retrying a download, always reset the failed connections count.

Bug: 8022478
Change-Id: I0d799d82dc7a04fe788b8c5faee0045d1e1a9c60
ownloads.java
35654b61e8fe7bc85afcb076ddbb590d51c5865f 15-Jan-2013 Dianne Hackborn <hackbod@google.com> More work on App Ops service.

Implemented reading and writing state to retain information
across boots, API to retrieve state from it, improved location
manager interaction to monitor both coarse and fine access
and only note operations when location data is being delivered
back to app (not when it is just registering to get the data at
some time in the future).

Also implement tracking of read/write ops on contacts and the
call log. This involved tweaking the content provider protocol
to pass over the name of the calling package, and some
infrastructure in the ContentProvider transport to note incoming
calls with the app ops service. The contacts provider and call
log provider turn this on for themselves.

This also implements some of the mechanics of being able to ignore
incoming provider calls... all that is left are some new APIs for
the real content provider implementation to be involved with
providing the correct behavior for query() (return an empty
cursor with the right columns) and insert() (need to figure out
what URI to return).

Change-Id: I36ebbcd63dee58264a480f3d3786891ca7cbdb4c
ettings.java
57b59e025bc10056daf42cd741b626843ff344f5 14-Jan-2013 Scott Kennedy <skennedy@google.com> am aebeea4c: am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit 'aebeea4cf39acae833b1b7f27a4c08d3b55dee37':
docs: Fix a bunch of issues
aebeea4cf39acae833b1b7f27a4c08d3b55dee37 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '5d6d6aab255aa17fde979d954c839402837b4243':
docs: Fix a bunch of issues
026f91915f2ad710b93284b9a604d3c39161b2ed 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '083426980dbe6607a0cfc8b4ec5944d5b414ecbe':
docs: Fix a bunch of issues
7ed189e457b16c06b0425bd28aeeb1df5c8ff5b8 12-Jan-2013 Scott Kennedy <skennedy@google.com> docs: Fix a bunch of issues

External tracker 42609
External tracker 42607
External tracker 42604
External tracker 42600
External tracker 42574
External tracker 42450
External tracker 41050
External tracker 40995
External tracker 40970
External tracker 40935
External tracker 40507
External tracker 40481
External tracker 40435
External tracker 40406
External tracker 40297
External tracker 40281
External tracker 39978
External tracker 39929
External tracker 39803
External tracker 39715
External tracker 39441

Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
ontactsContract.java
58f41ecfa57bb1299cf0f8b13f6f5f5b4b7dde91 12-Jan-2013 Christopher Tate <ctate@google.com> Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings

Bug 7273591

Change-Id: I5790f9d18ddf22282144be1c2d96dd4d706caa14
ettings.java
8ac6a63a94494b356b30f076d7ad52fcc6024935 18-Dec-2012 Alon Albert <aalbert@google.com> Put some useful information in User-Agent Header

Put information in User-Agent:
* Build fingerprint
* Calendar or CalendarSyncAdapter package name + version code
* Package name of app making changes to provider for uphill syncs

Example:
google/mantaray/manta:K/MASTER/eng.aalbert.20121217.140040:eng/dev-keys:com.google.android.calendar:201212060:com.google.android.calendar Google-HTTP-Java-Client/1.11.0-beta (gzip)

Change-Id: Ief8f57809ce240df4f5c662c703dcb80dab47367
alendarContract.java
d7337fb97aab0b28c6ca60f6553d03feb1000991 11-Dec-2012 Jeff Brown <jeffbrown@google.com> am 3781523b: am eaae7d97: Merge "Play a tone when wireless charging begins." into jb-mr1.1-dev

* commit '3781523becbb2d576761c2701763ff3588294a97':
Play a tone when wireless charging begins.
84e2756c0f3794c6efe5568a9d09101ba689fb39 07-Dec-2012 Jeff Brown <jeffbrown@google.com> Play a tone when wireless charging begins.

Only plays a tone if the battery level is below 95% which
is the same heuristic used when determining whether to turn
the screen on.

Use new low battery and wireless charging sounds on Mako.

Bug: 7371658
Change-Id: Ia4527ec398d024ee418a4287e1fcbf0ec83bcc24
ettings.java
57b47ae95d87c783b39a8d188c059166c04df72b 30-Nov-2012 Daniel Sandler <dsandler@android.com> am 9e129f37: am 924fc3e6: Merge "Add constant for Daydream settings." into jb-mr1.1-dev

* commit '9e129f37b6dd6f8c3d1a3869ae60285a414c8558':
Add constant for Daydream settings.
924fc3e6ce68f7943f3fd2ced3281c3fd05f2e7f 30-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "Add constant for Daydream settings." into jb-mr1.1-dev
b46857d228edc53878e738ffd484dea1acf44baf 30-Nov-2012 Eric Laurent <elaurent@google.com> am b1f45c4a: am c3eb57b2: Merge "AudioService: improve initial safe volume delay" into jb-mr1.1-dev

* commit 'b1f45c4a587e5adda39774a867c78b56682c5f0d':
AudioService: improve initial safe volume delay
05274f348e12983eb8613cc6eb9ae561e8197e28 29-Nov-2012 Eric Laurent <elaurent@google.com> AudioService: improve initial safe volume delay

AudioService relies on a valid mmc in order to enforce the headset
volume limitation or not. There is a timeout to enforce the limitation
if no mcc is configured after boot.
Until this timeout is reached or a valid SIM is detected the headset
volume is not limited.

This change makes that the last known volume limitation state (enforced or
not) is persisted so that next time we boot, last known state is applied until
a new mcc is configured if any. In most cases, the mcc does not change from one
boot to the next and we do the right thing. If teh mcc does change, the correct
policy will be enforced when the mcc is detected or after the timeout.

Also fix a bug where the volume panel was not displayed if the limitation mechanism
is triggered at the first press on VOL+ key.

Bug 7455275.

Change-Id: Id0f2996d893d38c6a14f4f9e4a0e9e3be17ef127
ettings.java
c08cd02649c04cdc071d63841dfbc3c7c8ff85bb 28-Nov-2012 Daniel Sandler <dsandler@android.com> Add constant for Daydream settings.

Bug: 7480927
Change-Id: I383170c6c543b5ffe81568d273389585498d369b
ettings.java
fcb8042316bad141cab189de6dfacd60e8d09848 09-Nov-2012 Jim Miller <jaggies@google.com> am 8920c259: am 259e3121: am 51117262: Handle DevicePolicyManagement and safe mode when inflating widgets

* commit '8920c259c8f5c63e4fae40f00afb185daa8008fb':
Handle DevicePolicyManagement and safe mode when inflating widgets
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
ontactsContract.java
51117262c8fadb6d227d137e83ad66996b013141 05-Nov-2012 Jim Miller <jaggies@google.com> Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
ettings.java
b2f21c53cf423cad5cf2f5d92579258decb40631 28-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
c99a1107c0d4fdf47595e5072192d647a01e13b3 27-Oct-2012 Eric Laurent <elaurent@google.com> Merge "add settings for dock audio enabled" into jb-mr1-dev
5f050e5c2c1616c7f0795c4f13e42a5d150b8015 27-Oct-2012 John Spurlock <jspurlock@google.com> Use settings to persist sticky widget.

Addressing some comments:
- Sticky widget is now saved in a user-scoped setting.
- Removed multi-user widget from computation (obsolete).
- Removed status widget from computation (just use right-most).
- Removed duplicate isMusicPlaying logic.

(frameworks/base)

Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
ettings.java
7ee1e4ff7346a278a6722108fbc1869240b3e866 27-Oct-2012 Eric Laurent <elaurent@google.com> add settings for dock audio enabled

Add settings dock_audio_media_enabled indicating if dock audio
is enabled for media for docks that do not implement jack detection.

Bug 7302106.

Change-Id: I75766b606ceb870b3f89979c4e3cca88ed197aaf
ettings.java
aa2859ae61098509495b7938e32a6d59d37561be 24-Oct-2012 Michael Jurka <mikejurka@google.com> Adding ability to add multiple widgets to keyguard

Bug: 7381803
ettings.java
8d866e52b209cb683159f2701cc4204163de245c 11-Oct-2012 Dianne Hackborn <hackbod@google.com> More on issue #7318666: hide developer options from user build

The action to launch the developer settings panel is now required
by the platform.

Add a new hidden API to LauncherActivity so I can better integrate
these into the existing Dev Tools app.

Change-Id: I9c082622fd4c8f4a5be51cabb664741a3782ece1
ettings.java
5ed9d680409c83fbfd7b617d7f257305d3c34b62 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move lockscreen to using haptic feedback setting.

This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
ettings.java
16eb7cd4570ca884c03151c4f9e7e32a5f8e4d94 10-Oct-2012 Christopher Tate <ctate@google.com> Back up / restore the "Avoid poor connections" wifi setting

Bug 7318177

Change-Id: I8fdc037f823b8c57727e7d49c5bffdc9b3c10ebb
ettings.java
b711d57ca4e2c6a1befbfa1a41f4b8094755a93f 02-Oct-2012 Victoria Lease <violets@google.com> Multiuser love for LocationManager

LocationManagerService now keeps track of the current user ID and
denies location requests made by all but the foreground user.

Additionally, location settings are now user-specific, rather than
global to the device. Location provider services now run as specific
users, and when the device's foreground user changes, we rebind to
appropriately-owned providers.

Bug: 6926385
Bug: 7247203
Change-Id: I346074959e96e52bcc77eeb188dffe322b690879
ettings.java
66488d64df8c3cf8722b8bf282398617cf3c0551 02-Oct-2012 Christopher Tate <ctate@google.com> Make settings backup/restore work in the new multi-user world

1) Properly handle restores of settings elements that have been migrated
to the new global namespace

1) Back up and restore the new global settings namespace

3) Make sure to back up / restore the global entity
ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED

Bug 7249405

Change-Id: Ibfa9930ea4d0e16c7635697e8c631b155e4c0cb2
ettings.java
6e2bee75cea415621165698fdd9ce857bbb8872e 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Migrate more System and Secure settings to Global.

Includes telephony, WindowManager, PackageManager, and debugging
settings. Update API to point towards moved values.

Bug: 7231764, 7231252, 7231156
Change-Id: I5828747205708872f19f83a5bc821ed0a801cb79
ettings.java
0ac1028b0dc8713296e2face40abe5451ecd479c 01-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move bluetooth priorities from Secure to Global.

Bug: 7231171
Change-Id: I836fdc2cfb8d67f984b4715559b9e92d0dc41c95
ettings.java
925a659d824089d2977b44a6740f793ae65f809a 29-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Use updatable file for premium-sms filter" into jb-mr1-dev
fd4da14c8304912dcb8ee54d4597527c2ee0d2d2 28-Sep-2012 Russell Brenner <russellbrenner@google.com> Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev
9fc6b8c5b78556d571bfaa9aa0a6a5cc499b2a01 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing crash in QuickContacts. (Bug 7252771)

Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d
ontactsContract.java
c6fa237daeaae6107174a9b9d4f591ea8cd26d86 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Use updatable file for premium-sms filter

The data is really to big for a gservices-driven secure setting.

bug:7221402
Change-Id: Ie3d4a1a0aeb69b9ef8fad360fa7ec32e927644e8
ettings.java
7befb7deb2ac15134b3bb190520cba19165d16dd 28-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Global gesture to toggle Accessibility system-wide.

1. This change adds a global gesture for enabling accessibility.
To enable this gesture the user has to allow it from the
accessibility settings or use the setup wizard to enable
accessibility. When the global gesture is enabled the user
can long press on power to bring the global actions dialog
and then hold with two fingers for a few seconds to enable
accessibility. The appropriate feedback is also provided.

2. The global gesture is writing directly into the settings for
the current user if performed when the keyguard is not on. If
the keygaurd is on and the current user has no accessibility
enabled, the gesture will temporary enable accessibility
for the current user, i.e. no settings are changed, to allow
the blind user to log into his account. As soon as a user
switch happens the new user settings are inherited. If no
user change happens after temporary enabling accessibility
the temporary changes will be undone when the keyguard goes
away and the device will works as expected by the current user.

bug:6171929

3. The initialization code for the owner was not executed due
to a redundant check, thus putting the accessibility layer in
an inconsistent state which breaks pretty much everything.

bug:7240414

Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
ettings.java
3a8af8efff93ca8ee80fc8c7841e7bee9a8b7786 28-Sep-2012 Jeff Sharkey <jsharkey@android.com> Merge "Migrate more Secure settings to Global." into jb-mr1-dev
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
ettings.java
efba3235fcd5b71e17de13edd4be9819970014a9 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7217102)

- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
ontactsContract.java
625239a05401bbf18b04d9874cea3f82da7c29a1 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Migrate more Secure settings to Global.

Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
ettings.java
de6ae447b13192de88d3da88d750e49ce9bbafc5 27-Sep-2012 Russell Brenner <russellbrenner@google.com> Add Settings.Secure.USER_SETUP_COMPLETE

To be set for each individual user upon completion of setup wizard.
This complements Settings.Global.DEVICE_PROVISIONED, which is set
upon completion of setup wizard by the primary user.

Bug: 7236987
Change-Id: I22f279e3262504f529345bbce30b39c71a41dce7
ettings.java
4de9936e85696208dfe91d1c40e3e5226e57634a 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Remove unused Secure settings.

Carefully leave default values intact in Watchdog for now.

Bug: 7232007, 7232230
Change-Id: Id944181109305aed41e0766fdd39625b43cb1d19
ettings.java
bdfce2ec05a3e9ca6acd6711de6133e06f2446e6 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> First step towards cleaning up Global settings.

Remove all @Deprecated @hide settings, and clean up any stragglers.

Bug: 7232125
Change-Id: Ibf67093c728d4a28565129b923edb1701d3b2789
ettings.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
ettings.java
d49359631bc2642be73dc162a8a73207df1e0baf 25-Sep-2012 Jeff Brown <jeffbrown@google.com> Handle user switched for settings changes.

Move OVERLAY_DISPLAY_DEVICES to Global.

Bug: 7127417
Change-Id: I632648ac5b01408512f59424f3bb55162431bea4
ettings.java
1b242759763205fa529591738cbe213fcc25150e 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: Ie68309c7525b59f12b7bd22beb06ab5e5e4f05f5
139748fd724b482e2c012a6ec44d1c5abc0c0e97 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7215984: java.lang.RuntimeException: Unable to create...

...service com.android.systemui.SystemUIService: java.lang.NullPointerException

- Don't acquire the activity manager lock in handleIncomingUser(),
there is really no need to do so.
- Rework the settings provider client side cache code to not hold
locks while calling into the provider.

I also changed the way the settings provider uses system properties
so that there is one property for all users. We can't do one per
user, since the system property name space is limited with a fixed
size. And we don't really need to do that; the worse that happens
by combining all users is that if one running user changes one of its
settings, all other running users will think they need to reload
settings when they go to fetch them next.

Change-Id: I13b90b832310d117eb6d721aacd122cfba7d749a
ettings.java
4d6f90ea503c65009b47881ed117f8c15c660cc0 17-Sep-2012 Sara Ting <sarating@google.com> Adding support for new 'uid2445' column in Calendar's Events table.

Bug:7029852
Change-Id: I4fdf86ba44f5c7bdcc55e8c2bdf664dddbe671f5
alendarContract.java
d5111f252b731396293caedbee929856acd6b276 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix the build." into jb-mr1-dev
026efcc0b829ce299d94367fa56cf610b9b746af 24-Sep-2012 Robert Greenwalt <rgreenwalt@google.com> Fix the build.

Other side of change 229425: add the secure settings used to control
the source country used in premium-sms determination.

bug:7205426
Change-Id: I6c8fece4fdea9aeae72da70c5cbe45807197c7bc
ettings.java
0ff65375683f5d5f05c7e1882f758cc93be57c99 24-Sep-2012 Alon Albert <aalbert@google.com> Merge "Add columns to CalendarContract" into jb-mr1-dev
29f5230dc604537a72842a70991bae71019f8c80 23-Sep-2012 Wu-cheng Li <wuchengli@google.com> Merge "Unhide android.provider.MediaStore.ACTION_IMAGE_CAPTURE_SECURE" into jb-mr1-dev
4e5753f5f6c5e0c7f53722e2bfa451ac7f0b27db 20-Sep-2012 rich cannings <richc@google.com> Add setting to skip verifying ADB installs

Create a setting "verifier_verify_adb_installs" to allow developers to control
package verification on ADB installs only. If package verification is enabled,
the setting will:

0, Do not perform package verification on apps installed through ADB/ADT/USB
and perform package verification on all other installs.

1, Use package verification on all installs. (Default)

Bug: 7183252
Change-Id: I9d3eb8abb5ba5e93f8634d3135794e92ff6273b6
ettings.java
b1ac72b54b72cb6bb26f6d2b92335189d8669eb0 21-Sep-2012 Florian Uunk <feuunk@google.com> Add intents to open text and video from search.

We're adding support for searching for text (books, magazines) and video
(tv, movies).

Bug: 7208141
Change-Id: I19dd2f745518a96b22b02a29c1ab9a89d53cc0cc
ediaStore.java
edc1a2bbc545a50f98ee8c9409c1861fe3522b11 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Unhide android.provider.MediaStore.ACTION_IMAGE_CAPTURE_SECURE

bug:7141738
Change-Id: If0109671a072e978501e238fe3d7554693a92157
ediaStore.java
7566abd305a2b3060ae541055ed04f087f5266ec 21-Sep-2012 Michael Jurka <mikejurka@google.com> Merge "Add support for changing status widget on security screen" into jb-mr1-dev
c9cc62b96561933dd9257a78c6749195fbe8fdd3 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add secure version of image capture intent." into jb-mr1-dev
37959ef70f2a0a50e38698cfef1a61fbf8d6b307 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Add secure version of image capture intent.

bug:7141738

Change-Id: I77789ffb53e70efd946f331286a895b7a1239661
ediaStore.java
20c41d5382b70fa5a24e9ef68f19ce0aedea5234 21-Sep-2012 Michael Jurka <mikejurka@google.com> Add support for changing status widget on security screen

Change-Id: I080fd89eb84445604c602b6e807b55153a7ee129
ettings.java
0a9a219c96b0352c5bf6f891e9f4d9ac360792d5 18-Sep-2012 Alon Albert <aalbert@google.com> Add columns to CalendarContract

isPrimary to Calendars
/**
* Is this the primary calendar for this account. If this column is not explicitly set, the
* provider will return 1 if {@link Calendars#ACCOUNT_NAME} is equal to
* {@link Calendars#OWNER_ACCOUNT}.
*/

isOrganizer to Events
/**
* Are we the organizer of this event. If this column is not explicitly set, the provider
* will return 1 if {@link #ORGANIZER} is equal to {@link Calendars#OWNER_ACCOUNT}.
* Column name.
* <P>Type: STRING</P>
*/

Bug: 6888477
Change-Id: Ibc2b3903bc4a18fc1f0d52c1f8c897e2bac0c0d4
alendarContract.java
f9fac2c5fe3f304ee866b1afc3191d36835e96bd 20-Sep-2012 Eric Laurent <elaurent@google.com> Merge "Add multi user volume management" into jb-mr1-dev
89d5546d7fd3a3bb19820c42e8b4527013dd6545 19-Sep-2012 Jeff Brown <jeffbrown@google.com> Add support for remembering Wifi display devices.

Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
ettings.java
c8c083862f6435574e479084d84b149e73795651 20-Sep-2012 Christopher Tate <ctate@google.com> setShowGTalkServiceStatus() is deprecated but tested by CTS

So its implementation has to hang around on that basis.

Bug 7164713

Change-Id: Ibb59932b3b6d275d8ac8e091774b08256a258db1
ettings.java
bc0fab1fc2db832ef86d8a33466ec4d68b103ca0 19-Sep-2012 Eric Laurent <elaurent@google.com> Add multi user volume management

Notification and Alarm volumes are per user: they are saved and restored
when the foreground user changes.
Media volume is global: it is still saved and restored per user for
implentation reasons but is copied from one user to the next to ensure
media playback volume continuity when switching users.

Ringer mode (silent, vibrate...) is now a global setting.

Bug 7128886.

Change-Id: I9f4f5a0a3985552bca61c2cc3bbe5a144db755a6
ettings.java
3809f500c3411af2ab5ab6c706cdb4373940123e 18-Sep-2012 Irfan Sheriff <isheriff@google.com> Disable notification scans when p2p is connected

Also reduce scan interval for STA scans to one minute.

Bug: 7138968
Change-Id: I03620f6d462e4ec90d9bb25bbfe709f63173df21
ettings.java
42af7518f55afebcf9b7656853d1a0e34361c3be 17-Sep-2012 rich cannings <richc@google.com> Merge "Add setting to change verifier visibility" into jb-mr1-dev
4505a43f300568811d3260d25381a61c7fff65ea 16-Sep-2012 John Huang <jsh@google.com> Merge "Add support for per-package policy for sending premium SMS." into jb-mr1-dev
e6686b3e2309cb21cc8fd9a107d524add4b75b92 16-Sep-2012 rich cannings <richc@google.com> Add setting to change verifier visibility

Added a setting that will be used to control whether the user can see the
package verification setting in the Setting app.

Bug: 7022814
Change-Id: Ifa096682e90c83760df5db12c4cf72e2f897db9c
ettings.java
6f5a9a96523ecf97a9828a410dd1226df47ec4e6 15-Sep-2012 Christopher Tate <ctate@google.com> Fix default population of wifi settings

Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service. These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
ettings.java
76a61426876409bc6936697d7560bd8c8a6193c5 07-Sep-2012 Jake Hamby <jhamby@google.com> Add support for per-package policy for sending premium SMS.

The default behavior for sending a message to a premium SMS
short code (or suspected premium SMS number) is to ask the user for
confirmation. Enable the user to set a default policy ("remember this
choice" checkbox) to always/never allow the app to send SMS to
premium short codes in the future. The policy can be changed by
the Settings app in the app info screen.

Bug: 5513975
Change-Id: I15f45f34dc4da4aef7d0efd675be6bc3a4ceb720
ettings.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
ettings.java
78d2a66ac12e4c8f1303225514f573fb53af1dd9 14-Sep-2012 Christopher Tate <ctate@google.com> Fix Settings writes to a different user

Oops. Stacked bugs: first, the desired user handle was not properly
being passed from the call() entry point to the database operations;
then on top of that, the client-side cache management was still
looking in the local user's cache for the data, so a request to read
a different user's settings would return the local user's instead if
that key was already known to the local user's cache.

Reads and writes of a different user's settings are now uncached,
so they're relatively much slower. They're rare, however, so this
is not something to worry about unless we encounter a real world
case where it's a significant factor.

This CL also adds a bit of cross-user settings read/write testing
to the existing provider suite. These new tests caught both the
known wrong-user-write bug and discovered the client-side cache
bug, so yay.

Finally, the existing wholesale mutual-exclusion approach would
deadlock in certain circumstances due to the fact that the
settings database creation code might have to call out to the
Package Manager while populating the bookmark/shortcut table,
and the Package Manager would then call back into the settings
provider in the course of handling that request. The synchronization
regime has been significantly tightened up now: now the database
code [which is known to deal with concurrency itself] is allowed
to cope with multiple parallel openers of the same db; this
allows the settings provider to avoid calling out to other parts
of the system even implicitly while its internal lock is held.

Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed
ettings.java
79cf1a22914aa8ca245a6ca598348bbbb19ff9a6 13-Sep-2012 Christopher Tate <ctate@google.com> Merge "Moved a few telephony settings from Secure to Global" into jb-mr1-dev
c868b645b46685574955eaff9f8d46d9262a3357 13-Sep-2012 Christopher Tate <ctate@google.com> Moved a few telephony settings from Secure to Global

Also tidy up the bookkeeping for a few settings that were earlier
moved to Global without the redirect tables being fixed up.

Change-Id: I69275db3b2636cd6ba9c8c51b88e97d8ba4b7b7d
ettings.java
b11b9fc9972ba0ae7f3d13984c5c61a8d89ca142 13-Sep-2012 Makoto Onuki <omakoto@google.com> Merge "A new broadcast action which is sent when profile changes" into jb-mr1-dev
90ddc9040cbea31e2a91e07d216ef2f1bbccc849 12-Sep-2012 Makoto Onuki <omakoto@google.com> A new broadcast action which is sent when profile changes

Adding it as a hidden API for now. Should be made public later.

Bug 7148705

Change-Id: I6f5fbb8048728f355341ecdc6fd0242b45171d56
ontactsContract.java
d5fe1479248fa597efc7ccb0b36df0b520bbc2a3 11-Sep-2012 Christopher Tate <ctate@google.com> Miscellaneous fixes for Settings

(1) It's okay to write literal null as a settings element value
(2) Properly convey the user handle in the put-for-user variant

Bug 7137201
Bug 7139826

Change-Id: I0ed77d65e8377f0e0580a2668f10b7167ad34928
ettings.java
753e1280cbc3f0006b04f67385f02e1f92019f7d 10-Sep-2012 Wu-cheng Li <wuchengli@google.com> Merge "Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE." into jb-mr1-dev
4d8fc793f044cf2c857ac72ebe51641b8e6c413d 07-Sep-2012 rich cannings <richc@google.com> Move verification settings to Settings.Global

Move Settings.Secure.PACKAGE_VERIFIER_ENABLE,
Settings.Secure.PACKAGE_VERIFIER_TIMEOUT,
Settings.Secure.PACKAGE_VERIFIER_DEFAULT_RESPONSE to
Settings.Global.PACKAGE_VERIFIER_ENABLE,
Settings.Global.PACKAGE_VERIFIER_TIMEOUT,
Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE, respectively.

Bug: 7082362
Change-Id: I21fde031a330563891c0129132f3d6369ac5e7a5
ettings.java
9219874be99cc07660807cc5dc94b0d157ef8808 07-Sep-2012 Christopher Tate <ctate@google.com> Further fixup of migration to global settings

The Settings.System.STAY_ON_WHILE_PLUGGED element should have been
migrated to the global table, but wasn't. This CL does a couple of
things around dealing with this:

(1) Tidies up the migration tables outright, so that they correctly
reflect the intended final state

(2) Introduces the option of doing a key migration only if the element
has not yet been moved to the new table, to allow for safe retry-
-with-ignore. This will make it easy to make any future alterations
to the global vs per-user association of individual elements

(3) Migrates the STAY_ON_WHILE_PLUGGED element if it hasn't been already.

Bug 7126575

Change-Id: Ic5fa9ba45f11b09270bd5bc94c26fbbd84abc749
ettings.java
e590dc6f7dfbd00117acfb7aa2ef35bc94e537bd 07-Sep-2012 Wu-cheng Li <wuchengli@google.com> Unhide INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE.

bug:7053266

Change-Id: I4e00199598f57f11250abeab4ce17ced18f41f14
ediaStore.java
1cf70bbf96930662cab0e699d70b62865766ff52 06-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Screen magnification - feature - framework.

This change is the initial check in of the screen magnification
feature. This feature enables magnification of the screen via
global gestures (assuming it has been enabled from settings)
to allow a low vision user to efficiently use an Android device.

Interaction model:

1. Triple tap toggles permanent screen magnification which is magnifying
the area around the location of the triple tap. One can think of the
location of the triple tap as the center of the magnified viewport.
For example, a triple tap when not magnified would magnify the screen
and leave it in a magnified state. A triple tapping when magnified would
clear magnification and leave the screen in a not magnified state.

2. Triple tap and hold would magnify the screen if not magnified and enable
viewport dragging mode until the finger goes up. One can think of this
mode as a way to move the magnified viewport since the area around the
moving finger will be magnified to fit the screen. For example, if the
screen was not magnified and the user triple taps and holds the screen
would magnify and the viewport will follow the user's finger. When the
finger goes up the screen will clear zoom out. If the same user interaction
is performed when the screen is magnified, the viewport movement will
be the same but when the finger goes up the screen will stay magnified.
In other words, the initial magnified state is sticky.

3. Pinching with any number of additional fingers when viewport dragging
is enabled, i.e. the user triple tapped and holds, would adjust the
magnification scale which will become the current default magnification
scale. The next time the user magnifies the same magnification scale
would be used.

4. When in a permanent magnified state the user can use two or more fingers
to pan the viewport. Note that in this mode the content is panned as
opposed to the viewport dragging mode in which the viewport is moved.

5. When in a permanent magnified state the user can use three or more
fingers to change the magnification scale which will become the current
default magnification scale. The next time the user magnifies the same
magnification scale would be used.

6. The magnification scale will be persisted in settings and in the cloud.

Note: Since two fingers are used to pan the content in a permanently magnified
state no other two finger gestures in touch exploration or applications
will work unless the uses zooms out to normal state where all gestures
works as expected. This is an intentional tradeoff to allow efficient
panning since in a permanently magnified state this would be the dominant
action to be performed.

Design:

1. The window manager exposes APIs for setting accessibility transformation
which is a scale and offsets for X and Y axis. The window manager queries
the window policy for which windows will not be magnified. For example,
the IME windows and the navigation bar are not magnified including windows
that are attached to them.

2. The accessibility features such a screen magnification and touch
exploration are now impemented as a sequence of transformations on the
event stream. The accessibility manager service may request each
of these features or both. The behavior of the features is not changed
based on the fact that another one is enabled.

3. The screen magnifier keeps a viewport of the content that is magnified
which is surrounded by a glow in a magnified state. Interactions outside
of the viewport are delegated directly to the application without
interpretation. For example, a triple tap on the letter 'a' of the IME
would type three letters instead of toggling magnified state. The viewport
is updated on screen rotation and on window transitions. For example,
when the IME pops up the viewport shrinks.

4. The glow around the viewport is implemented as a special type of window
that does not take input focus, cannot be touched, is laid out in the
screen coordiates with width and height matching these of the screen.
When the magnified region changes the root view of the window draws the
hightlight but the size of the window does not change - unless a rotation
happens. All changes in the viewport size or showing or hiding it are
animated.

5. The viewport is encapsulated in a class that knows how to show,
hide, and resize the viewport - potentially animating that.
This class uses the new animation framework for animations.

6. The magnification is handled by a magnification controller that
keeps track of the current trnasformation to be applied to the screen
content and the desired such. If these two are not the same it is
responsibility of the magnification controller to reconcile them by
potentially animating the transition from one to the other.

7. A dipslay content observer wathces for winodw transitions, screen
rotations, and when a rectange on the screen has been reqeusted. This
class is responsible for handling interesting state changes such
as changing the viewport bounds on IME pop up or screen rotation,
panning the content to make a requested rectangle visible on the
screen, etc.

8. To implement viewport updates the window manger was updated with APIs
to watch for window transitions and when a rectangle has been requested
on the screen. These APIs are protected by a signature level permission.
Also a parcelable and poolable window info class has been added with
APIs for getting the window info given the window token. This enables
getting some useful information about a window. There APIs are also
signature protected.

bug:6795382

Change-Id: Iec93da8bf6376beebbd4f5167ab7723dc7d9bd00
ettings.java
06efb530a479ea12398c1b3ee4b80e2ac85a1680 25-Aug-2012 Christopher Tate <ctate@google.com> Per-user settings

Each user has its own Settings.System.* and Settings.Secure.* namespace now. In
addition, this CL introduces the new Settings.Global.* namespace, which contains
a number of previously-elsewhere named settings entities; these Global.* entities
are common to all users. Because these elements have been moved from their prior
existence in the other namespaces, attempts to access them under their old names
and namespaces are detected and redirected (with appropriate compile-time and
logging messages) to their new homes.

The new Global.* namespace can only be written by system-level code, just like
the existing Secure.* namespace. If an app attempts to write a key that was
previously in the System.* namespace but has been moved to the Global.* namespace,
then a warning is logged and no write is performed; the action is a no-op. (The
app is explicitly not crashed, to avoid breaking well-behaved apps that can't
know any better.)

There is also now a hidden API for getting/setting settings entities associated
with a user other than the caller's. Reading/writing data for a user other than
yourself requires the signature-level INTERACT_ACROSS_USERS_FULL permission.

Manipulating data for a different user cannot be done via the ContentProvider
query() / insert() APIs; you must use the Settings.get/put APIs for that degree
of control. In general, use of the get/set API is *strongly* preferred over
query-type access to Settings.

Bug 6985398

Change-Id: Ibee54ddff99fb847c8c2479c23b50f1e7524d724
ettings.java
16e119e798cd1e6dd94114bc910b2c1fd92b88e5 06-Sep-2012 rich cannings <richc@google.com> Add secure setting for package verification

Framework changes to store and read a secure setting for package verification.
Default is on/true.

This setting will be turned on/off via the Settings app.

Bug: 7082362
Change-Id: I6f93d3136add8af0dbbdc664f0473c5f5b7e3fee
ettings.java
bd6e1500aedc5461e832f69e76341bff0e55fa2b 28-Aug-2012 Jeff Brown <jeffbrown@google.com> Add initial multi-display support.

Split the DisplayManager into two parts. One part is bound
to a Context and takes care of Display compatibility and
caching Display objects on behalf of the Context. The other
part is global and takes care of communicating with the
DisplayManagerService, handling callbacks, and caching
DisplayInfo objects on behalf of the process.

Implemented support for enumerating Displays and getting
callbacks when displays are added, removed or changed.

Elaborated the roles of DisplayManagerService, DisplayAdapter,
and DisplayDevice. We now support having multiple display
adapters registered, each of which can register multiple display
devices and configure them dynamically.

Added an OverlayDisplayAdapter which is used to simulate
secondary displays by means of overlay windows. Different
configurations of overlays can be selected using a new
setting in the Developer Settings panel. The overlays can
be repositioned and resized by the user for convenience.

At the moment, all displays are mirrors of display 0 and
no display transformations are applied. This will be improved
in future patches.

Refactored the way that the window manager creates its threads.
The OverlayDisplayAdapter needs to be able to use hardware
acceleration so it must share the same UI thread as the Keyguard
and window manager policy. We now handle this explicitly as
part of starting up the system server. This puts us in a
better position to consider how we might want to share (or not
share) Loopers among components.

Overlay displays are disabled when in safe mode or in only-core
mode to reduce the number of dependencies started in these modes.

Change-Id: Ic2a661d5448dde01b095ab150697cb6791d69bb5
ettings.java
da6da0907b28d4704aabbdb1bbeb4300954670d1 16-Aug-2012 Irfan Sheriff <isheriff@google.com> Captive portal handling

We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.

Also, moved out captive portal handling out of wifi as a seperate component.

Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
ettings.java
d820c38d21c4c6f931785945a36cc82269f63694 24-Aug-2012 Dianne Hackborn <hackbod@android.com> am 513f68bc: am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"

* commit '513f68bc5a5f15d799f8795392d4861a5704fba1':
fix wrong substring
dad32938cd22c82ae54d0555d205f33c8462e3fb 24-Aug-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent." into jb-mr1-dev
513f68bc5a5f15d799f8795392d4861a5704fba1 24-Aug-2012 Dianne Hackborn <hackbod@android.com> am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"

* commit 'bfe20d1aa1b1236e6592914c5682c59d94936432':
fix wrong substring
f88320558fcf39ef23c7d5b63c0ba60e1943d9ff 20-Aug-2012 Wu-cheng Li <wuchengli@google.com> Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent.

The intent is used to launch camera when the device is secured
(e.g. with a pin, password, pattern, or face unlock).

bug:5955016
Change-Id: I5470cf7ee9deab9677665ef0566bac88bdfd80c6
ediaStore.java
08bab56f687a354a436925ec44567da434c10cbb 23-Aug-2012 Masanori Ogino <ogino.masanori@sharp.co.jp> fix wrong substring

The tokenOffsets is the offset from trimed contentLine.
But it is used in substring as the offset from un-trimed contentLine.

How to reproduce bug (ICS and before):
1. Add a contact record with name and a phone number (ex. 090-1111-2222)
2. Search by "0" in Contacts app
3. Contacts shows a wrong number something like "0900111102222"

Change-Id: I1e1cb2f3bd135d98e1573a50aa6ddc021af35b9f
ontactsContract.java
1a868b7981ca5f52e893fdf9f8f538c9d5ce241d 22-Aug-2012 John Spurlock <jspurlock@google.com> Add framework support for multiple dreams.

Bug:7028665
Change-Id: I4fba6b8e39dc07af4490c621ac3bc7b3867371b2
ettings.java
37a37f445cbcd64376af153dd79ea2a123d9405d 15-Aug-2012 Brian Muramatsu <btmura@google.com> add wireless charger support

bug: 6879638

- add new enum value BATTERY_PLUGGED_WIRELESS
- check for sys online file with contents "Wireless"

Change-Id: I22dc3c40f50573c98643e7b5cbcb237d0216530d
ettings.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
ettings.java
9630704ed3b265f008a8f64ec60a33cf9dcd3345 28-Jul-2012 Jeff Brown <jeffbrown@google.com> Power manager rewrite.

The major goal of this rewrite is to make it easier to implement
power management policies correctly. According, the new
implementation primarily uses state-based rather than event-based
triggers for applying changes to the current power state.

For example, when an application requests that the proximity
sensor be used to manage the screen state (by way of a wake lock),
the power manager makes note of the fact that the set of
wake locks changed. Then it executes a common update function
that recalculates the entire state, first looking at wake locks,
then considering user activity, and eventually determining whether
the screen should be turned on or off. At this point it may
make a request to a component called the DisplayPowerController
to asynchronously update the display's powe state. Likewise,
DisplayPowerController makes note of the updated power request
and schedules its own update function to figure out what needs
to be changed.

The big benefit of this approach is that it's easy to mutate
multiple properties of the power state simultaneously then
apply their joint effects together all at once. Transitions
between states are detected and resolved by the update in
a consistent manner.

The new power manager service has is implemented as a set of
loosely coupled components. For the most part, information
only flows one way through these components (by issuing a
request to that component) although some components support
sending a message back to indicate when the work has been
completed. For example, the DisplayPowerController posts
a callback runnable asynchronously to tell the PowerManagerService
when the display is ready. An important feature of this
approach is that each component neatly encapsulates its
state and maintains its own invariants. Moreover, we do
not need to worry about deadlocks or awkward mutual exclusion
semantics because most of the requests are asynchronous.

The benefits of this design are especially apparent in
the implementation of the screen on / off and brightness
control animations which are able to take advantage of
framework features like properties, ObjectAnimator
and Choreographer.

The screen on / off animation is now the responsibility
of the power manager (instead of surface flinger). This change
makes it much easier to ensure that the animation is properly
coordinated with other power state changes and eliminates
the cause of race conditions in the older implementation.

The because of the userActivity() function has been changed
so that it never wakes the device from sleep. This change
removes ambiguity around forcing or disabling user activity
for various purposes. To wake the device, use wakeUp().
To put it to sleep, use goToSleep(). Simple.

The power manager service interface and API has been significantly
simplified and consolidated. Also fixed some inconsistencies
related to how the minimum and maximum screen brightness setting
was presented in brightness control widgets and enforced behind
the scenes.

At present the following features are implemented:

- Wake locks.
- User activity.
- Wake up / go to sleep.
- Power state broadcasts.
- Battery stats and event log notifications.
- Dreams.
- Proximity screen off.
- Animated screen on / off transitions.
- Auto-dimming.
- Auto-brightness control for the screen backlight with
different timeouts for ramping up versus ramping down.
- Auto-on when plugged or unplugged.
- Stay on when plugged.
- Device administration maximum user activity timeout.
- Application controlled brightness via window manager.

The following features are not yet implemented:

- Reduced user activity timeout for the key guard.
- Reduced user activity timeout for the phone application.
- Coordinating screen on barriers with the window manager.
- Preventing auto-rotation during power state changes.
- Auto-brightness adjustment setting (feature was disabled
in previous version of the power manager service pending
an improved UI design so leaving it out for now).
- Interpolated brightness control (a proposed new scheme
for more compactly specifying auto-brightness levels
in config.xml).
- Button / keyboard backlight control.
- Change window manager to associated WorkSource with
KEEP_SCREEN_ON_FLAG wake lock instead of talking
directly to the battery stats service.
- Optionally support animating screen brightness when
turning on/off instead of playing electron beam animation
(config_animateScreenLights).

Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
ettings.java
472f41614044cc40e89b76f2200b57bc28c7ddae 14-Aug-2012 Chiao Cheng <chiaocheng@google.com> Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev
0412423f06ec633203b96f68b51f0720c33a2473 29-Jun-2012 Haoyu Bai <bhy@google.com> Setup idletimer for network interface.

Cherry-picked from commit f71ca8a5728e425de61ba794c9653dd0b04f16e3 in
master. DO NOT MERGE

Change-Id: I6101c7ae041b4cc1237ce7a9983753dbdfa301d3
ettings.java
3fb4ba616edb114b3197936eb67f481eb86b7cae 10-Aug-2012 Irfan Sheriff <isheriff@google.com> Add control to disable suspend optimizations

Add an advanced setting that allows user to turn off power savings at screen off.

Bug: 5885175
Change-Id: I2dd013b86d7500a2ad1f9ec75d86551808f05543
ettings.java
603af61a7cd49f214743b286520419a3fe460774 07-Aug-2012 Subir Jhanb <subir@google.com> Add a new permission to have access to Gal Provider
BUG:6897999

Change-Id: Ie60963b7f3911b402b971e794178754e1b4f0a43
ontactsContract.java
5773bfdb7cd3852d9fedd497e3c22c49c83d0d75 13-Jul-2012 Dianne Hackborn <hackbod@google.com> Add power menu action to take a bug report

Change-Id: I5f58d99e9a27a1fc496fa54e0c0ee333087155da
ettings.java
dde331cebd87982faded6818ad5f9927ff994c96 03-Aug-2012 Dianne Hackborn <hackbod@google.com> We can now (kind-of) change screen density on the fly.

Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
ettings.java
509e1f1a97d65ca3356794ac9a85b5c38329c2ea 02-Aug-2012 Chiao Cheng <chiaocheng@google.com> Adding limit and offset query parameters to CallLog.

Allows clients to paginate through call logs.

Change-Id: Icdd796f990ccf25f5f5e2183412e5391f4572add
allLog.java
5f0a47415cd8d30fd715abf43ee7ecc7e434cb23 25-Jul-2012 Michael Chan <chanm@google.com> am 19a04862: am a13730f4: Merge "Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string." into jb-dev

* commit '19a048626e29524e17bbe30f1f235aa365b6212b':
Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string.
19a048626e29524e17bbe30f1f235aa365b6212b 25-Jul-2012 Michael Chan <chanm@google.com> am a13730f4: Merge "Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string." into jb-dev

* commit 'a13730f42449d97ec7206769ccaad9d95bc2924f':
Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string.
33034b13cae1429d526722374bd39be3f9605ae4 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
allLog.java
elephony.java
a07ea5da0751ca297f9176d9deb2e8af9597dfab 13-Jul-2012 Michael Chan <chanm@google.com> Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string.

Bug: 6798688
Change-Id: Ia3b6ee33110ecc8035c24d6340593160748849fd
alendarContract.java
5362f17ff5e8e06601b172bd86c26027ced9780c 12-Jul-2012 Wink Saville <wink@google.com> Merge commit '1b003ef0' into mit

* commit '1b003ef0':
Create telephony-common and mms-common

Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
allLog.java
elephony.java
b2d8f3f7472a091cf062ed40a8e2f7a387525e2e 29-Jun-2012 Christopher Tate <ctate@google.com> am b69c77cd: am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev

* commit 'b69c77cd194ccbe24a8b1e5d8457b44d150f9a96':
Do not back up / restore the rotation-related settings
596e1917d5fd4697e6a186db422c8221eadb580e 29-Jun-2012 Christopher Tate <ctate@google.com> Do not back up / restore the rotation-related settings

Change-Id: I4c5f8c31fa78acc1dfa2676e89b2c1c7bbd12a06
ettings.java
9b6f53c5447374a0dd21a15d07684772e23157a3 18-Jun-2012 Makoto Onuki <omakoto@google.com> am df6d3eeb: am c4637d3e: Merge "Allow restricting the scope of a phone-filter search" into jb-dev

* commit 'df6d3eebbaa8c0b3cb41aec44b9e212f2d4cdb1a':
Allow restricting the scope of a phone-filter search
1024de59618d6217beac1fc47866baa3741cc27d 16-Jun-2012 Daniel Lehmann <lehmannd@google.com> Allow restricting the scope of a phone-filter search

This also includes a previous change to current.txt that hasn't been
copied to 16.txt yet

Bug:6662259

Change-Id: Iaab5c38ad56882a1270b5276ba7a399bbb8a49f3
ontactsContract.java
1b60e7287723cc03efc4893e3bbf3b9e8ac1cba9 06-Jun-2012 Jeff Brown <jeffbrown@google.com> am eef4bc08: am 615fd3df: Merge "Implement new rotation policy." into jb-dev

* commit 'eef4bc08137f2324e2974c282992ff546df99e54':
Implement new rotation policy.
207673cdbb536b9bdd9ff7f9ce953c5485d11f5a 06-Jun-2012 Jeff Brown <jeffbrown@google.com> Implement new rotation policy.

Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
ettings.java
5d6c1e3dbf1c71fe6974fda2b779c4aebc37917c 31-May-2012 Makoto Onuki <omakoto@google.com> am 46d12127: am bde32efa: Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev

* commit '46d1212704b962df06e0d150a3d81c2c95acd5f5':
Fix bug 6563184: API compatibility issue with quick contact
bde32efa209acb47324add8981577af1fa410574 31-May-2012 Makoto Onuki <omakoto@google.com> Merge "Fix bug 6563184: API compatibility issue with quick contact" into jb-dev
2d9f96bf4584fb99f1e8f06a28a859c53ff50ea4 31-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 191e7c5a: am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev

* commit '191e7c5a4959e4c16154ade5d1ceb277ef31021e':
Ask to enable touch exploration only the first time it enables the feature.
9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18 30-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Ask to enable touch exploration only the first time it enables the feature.

1. Now we are asking the user to grant permission to the service to enable
touch exploration only the first time this service is enabled. If the
service was uninstalled and then later installed we ask the user again.
This avoids the scenario in which rebooting the device or upgrading an
accessibility service leaves the device in a state in which the user
cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
ettings.java
bba33cd86ea73fa26f8ed2e8e69c113c5e15272f 26-May-2012 Makoto Onuki <omakoto@google.com> Fix bug 6563184: API compatibility issue with quick contact

Add FLAG_ACTIVITY_NEW_TASK if the starting contentext is not an activity.

Change-Id: I3c03a1acc12798d846c6f321cf46f77a2833172b
ontactsContract.java
a6cfe52eb83995b124efec5f73bcb179caadf888 22-May-2012 rich cannings <richc@google.com> Allow APKs to install when verifier times out.

When app verfication is enabled and the verifier times out, allow
PackageManagerService to continue with the installation.

Bug: 6531120
Change-Id: Ic6aef755af92588e8887c918b70fb195c683b24c
ettings.java
787c9ec558a06bb8ebcb5a77f5268cedd218fd1b 18-May-2012 Jeff Sharkey <jsharkey@android.com> Merge "Transition from DEV network stats to XT." into jb-dev
172d97edcdfd9b228d8cf96d312b55fb67699fd4 02-May-2012 Jake Hamby <jhamby@google.com> Enable SMS short code patterns to be updated from secure settings.

The premium SMS short code detector loads patterns from an XML resource
by default (frameworks/base/core/res/res/xml/sms_short_codes.xml).
Add support for updated patterns to be loaded on a per-country basis
from a secure setting named "sms_short_codes_" + the country code.
Updated patterns can be pushed to Google devices via Gservices.

Bug: 5513975
Change-Id: Ibfc0be4f12227ba45c28396ec7cdbc307442af81
ettings.java
70c70530bd6793869736ec894498e4ebf5dc9b20 16-May-2012 Jeff Sharkey <jsharkey@android.com> Transition from DEV network stats to XT.

When XT stats are available, transition to prefer them over DEV,
since they aren't subject to hardware driver bugs. Only switches at
the first atomic XT bucket, and adds a Settings.Secure flag to force
back to DEV if needed. Includes tests to cover transition.

Fix tests where device overlay would change which network types
reflected data usage. Test both history and summary APIs. Fixed
collection timestamps to reflect full buckets.

Bug: 6504744
Change-Id: Idd7f3b2fdb064c36547c85c51c214fd938c59b7e
ettings.java
9a9001f008d68d11ba6cd928d20ed63ec5e869d1 15-May-2012 Michael Chan <chanm@google.com> Update docs for launching custom app for calendar events

Change-Id: I0aeeed91cc27f2c4fa9a026371713cb562776fa8
alendarContract.java
f53857716a0db805c51c0cae93550d90e32e4749 11-May-2012 Jeff Sharkey <jsharkey@android.com> Enforce READ_EXTERNAL through Settings.Secure.

Always defers to user-defined setting, when present.

Bug: 6389556
Change-Id: I079d2a41b772facfdac74eefc4c8072fc9284f97
ettings.java
518a3d82f78e5089d0f99e61e46e1e915aea91ab 10-May-2012 Dianne Hackborn <hackbod@google.com> Remove auto-brightness adjustment knob.

Not yet ready for release.

Change-Id: I75bc87f35af47c6baac1f26953d8bf3e38062c92
ettings.java
3c60eeb1332661833638c863b2978422c2846140 08-May-2012 Daisuke Miyakawa <dmiyakawa@google.com> Have a new constant for "vibrate when ringing" setting

Bug: 6036529
Change-Id: I850d27629a75615647883fdaa2933f337c4824d1
ettings.java
bffc3d1bd33eb2d8e00a9f8b6261d815db503311 08-May-2012 Eric Laurent <elaurent@google.com> Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
- presence of a vibrator on the device
- current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
VOL- and volume equals 1: NORMAL => VIBRATE
VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
VOL+ and in SILENT mode: SILENT => VIBRATE
VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
Added dump for stream volumes in AudioService.
Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
ettings.java
e23362a54d4aed4616e6e3a9fd4f70c676dac6ca 07-May-2012 Daisuke Miyakawa <dmiyakawa@google.com> Use callable-filter capability when updating call log

CallerInfo#phoneNumber has a formatted phone number even when contacts
database itself has an unformatted one, so just using Phone.CONTENT_URI
may not be enough to find the relevant contact.

Bug: 6291905
Change-Id: Ie6e40529eb1f9cf98de861601669dbccb718541c
allLog.java
35c29cfce7393ab9f640da60fc8d8b325f02b518 04-May-2012 Makoto Onuki <omakoto@google.com> Remove SocialContract, which was never used.

Bug 6148750

Change-Id: I3061b427ea20c35de826e6c0c7bb8cbe5fa1f04d
ocialContract.java
d52e0c791f83d16cb5de32b6a9a1d785aa56b454 27-Apr-2012 Irfan Sheriff <isheriff@google.com> Merge "Add support for changing p2p device name" into jb-dev
2bdefcab74d4ee21ad4bc1e90b30aeb7eac589e0 26-Apr-2012 Irfan Sheriff <isheriff@google.com> Add support for changing p2p device name

Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24
Signed-off-by: isheriff@google.com
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
ettings.java
46891a8f1cc167d0495031ce534321062b34d8c1 26-Apr-2012 Makoto Onuki <omakoto@google.com> Update streamitems javadoc

ACCOUNT_TYPE and ACCOUNT_NAME query parameters were required in API level 15.
We've removed the check for JB, but in order to keep compatibility with HC
apps still need to add those parameters.

Bug 5135278

Change-Id: Ib9b9751c9017c53905047045816a44c5a279fa64
ontactsContract.java
e5420e9c980ff3c2a32f385a8bc62df4fd9af745 25-Apr-2012 Makoto Onuki <omakoto@google.com> Clearify javadoc on Phone.NORMALIZED_NUMBER.

This column can be null even if NUMBER isn't.

Change-Id: I74698c7caca87b92aee469b8d343c4d20a78f4fd
ontactsContract.java
e272cbe7e6ffad762bad7aad413669716a8899fd 25-Apr-2012 Michael Chan <chanm@google.com> Merge "Add support for custom app and uri in events"
bb9fd4a0c49802e181413c3d2978acc111da673f 25-Apr-2012 Michael Chan <chanm@google.com> Add support for custom app and uri in events

Bug: 6325441
Change-Id: I58e007857fdfc76459ed41c3c8384c85a2260e89
alendarContract.java
619ffd70b112ac60f95f520a33a437721ee95f22 24-Apr-2012 Adam Powell <adamp@google.com> Don't launch ACTION_QUICK_CONTACT activities in a new task.

Change-Id: Ib6ea6da88cd8addbc02398c29bb7a0b455b02bda
ontactsContract.java
f0c4c658488824707c206551fd1ccc0a0781031e 20-Apr-2012 Michael Chan <chanm@google.com> Fix build

Change-Id: I929433778c465bc123d8aafe5e0bbd2fd43f7b53
alendarContract.java
d65c2be5485143a0d489c6dfa24276ae834ccffc 20-Apr-2012 Jake Hamby <jhamby@google.com> Merge "Add ContentProvider for apps to read received SMS cell broadcasts."
27e2fa43dbb4ebf2824a21a6c5f05c8b45513f52 20-Apr-2012 Michael Chan <chanm@google.com> Merge "Added columns to store package name and uri to a custom app"
37960c7f58197404d2331a0ea81194ffc98552c1 19-Apr-2012 Michael Chan <chanm@google.com> Added columns to store package name and uri to a custom app

that provides a richer experience for an event.

Bug: 6325441
Change-Id: I7497a1508d196ec4ef97c60100278a70c424d9e2
alendarContract.java
66e69db6d99dd1c1a3906ae1b941ea13703f73b5 19-Apr-2012 Irfan Sheriff <isheriff@google.com> Merge "Add user control to turn on/off nsd"
3ef889bf561e59561ff2c6c4b2ffb586b9c5af5c 18-Apr-2012 Irfan Sheriff <isheriff@google.com> Add user control to turn on/off nsd

Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
ettings.java
ac13cc06ee35a9890d35af25b6cd2df2841e1384 18-Apr-2012 Wu-cheng Li <wuchengli@google.com> Unhide MediaColumns.WIDTH and MediaColumns.HEIGHT.

bug:5224359
Change-Id: I3dcaa2ed383e12ae308b28db45cbe8e503610cdc
ediaStore.java
c3296ffdfc70c6778b6ae760b812b4e53e335f97 18-Apr-2012 Jake Hamby <jhamby@google.com> Add ContentProvider for apps to read received SMS cell broadcasts.

The CellBroadcastReceiver app will allow apps with the new permission
"android.permission.READ_CELL_BROADCASTS" to read previously received
cell broadcast messages from a new ContentProvider database at URI
"content://cellbroadcasts". This will enable third parties to provide
additional information to users in the event of emergencies without
delaying or interfering with the initial system alert dialog to warn
the user when the alert is received.

Includes a new android.telephony.CellBroadcastMessage class which
can be instantiated from the Cursor retrieved from the ContentProvider.
This was previously a part of the CellBroadcastReceiver app, but can now
be used by third party apps with read permission on the ContentProvider.

Change-Id: I2c31f62b63c050c7946de2d81c28a5f4dc6f00b0
elephony.java
e7d9cd363d6095d37ca25d393c5e86067d3cc5e5 18-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Add ALLOW_METERED column to DownloadManager."
15ec7d6d7f23ec197a88619b5e03320cfebd2240 17-Apr-2012 Jeff Sharkey <jsharkey@android.com> Add ALLOW_METERED column to DownloadManager.

Also allow isActiveNetworkMetered() to inspect networks without
requiring ACCESS_WIFI_STATE.

Bug: 3001465
Change-Id: Ibc23577d4ad941e4f93db417be6b046881dcbfb1
ownloads.java
37f1d29784ecedf8c1f1ac128c72ef3bfb5c7066 18-Apr-2012 Michael Chan <mchan@android.com> Added identity and namespace to Calendar Attendees

Bug: 6353721
Change-Id: I8cf7a5bbeb5380320b9bb11875168bef4e180b31
alendarContract.java
62d52f9ff8b57fcd5f7fc6e2373ec5851eb80757 18-Apr-2012 Michael Chan <chanm@google.com> Fix build

Change-Id: I56d6305b6c28dab8c6d4d04d56df277e0ca39d91
alendarContract.java
4db3ca7f814c54ca80211053c583df5163237a60 18-Apr-2012 Michael Chan <chanm@google.com> Merge "Add support for identity in calendar attendees"
48ec622265b922de08ded4dd0e04281b5cfe2ed9 18-Apr-2012 Michael Chan <chanm@google.com> Add support for identity in calendar attendees

Bug: 6353721
Change-Id: I8667f55e09adf09b070323484342fc296240ff51
alendarContract.java
7f6c231a76f0bedaf9655a24707737d343244312 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Add setting to redirect vibrator to game controller.

Bug: 6334179
Change-Id: I70093e38824ea3e5cf9cf242d1d7b6d26115ed80
ettings.java
e64d187553cb3fa193b5748b5c99ad85cf9ccba1 14-Apr-2012 Makoto Onuki <omakoto@google.com> Merge "Introduce new URI to clear data usage information"
c58a6d2da4790921743bdb4997ee59f8be1632e3 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Merge "Mapping from DownloadManager status to string."
58d9fb6220ea2070b0af5db3031e9cdaead6e36d 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Mapping from DownloadManager status to string.

Change-Id: I159aa5f9c7289d6935436d78523b0628482bdc91
ownloads.java
a1620dc521c338ef6bd2cb8d39548933135ed1fd 13-Apr-2012 Daniel Lehmann <lehmannd@google.com> Depcrecate increment function (should have been done back in ICS)

Change-Id: I5c7d4d80a5d10b6ed2460f6dac30e53cc2714521
ontactsContract.java
7ebbfd0f0cd70e9cd4abbd9eccfc068e5959d94c 13-Apr-2012 Makoto Onuki <omakoto@google.com> Introduce new URI to clear data usage information

We were going to piggyback existing DataUsageFeedback.FEEDBACK_URI,
but decided to introduce a new URI for this.

Bug 5475575

Change-Id: I6d467e5342f551142f047aa1b0b3503c5bf9b7fd
ontactsContract.java
6c70ef1fb2efd705406d73272b87573900812aff 13-Apr-2012 Makoto Onuki <omakoto@google.com> Merge "Add documentation about clearing usage stats"
b0d2299fb031d0bc871ffb07d95646f1cb9405c4 13-Apr-2012 Makoto Onuki <omakoto@google.com> Add documentation about clearing usage stats

Bug 5475575

Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47
ontactsContract.java
b5f15e7fd9a674875053aa250b57144cf566ee4d 10-Apr-2012 Tao Bai <michaelbai@google.com> The new APIs for the bookmarks, history and images.

Private for now while the implementation is worked on, will expose later

Change-Id: Id837b16d835491ae16ed686dd65c2a401d9591c6
rowserContract.java
63c115c4aa2158ea18338a9fb2c2619755958ddc 07-Apr-2012 Daniel Lehmann <lehmannd@google.com> Merge "Expose NORMALIZED_NUMBER in the API"
7ab8c4abca2abb6a5f6d900299365371073bcfd2 06-Apr-2012 Amith Yamasani <yamasani@google.com> Fixes a bug in migration of lock settings to LockSettingsService.

Due to the code to handle backward compatibility, the migration
ended up being recursive.

Change-Id: I1c2cf4a81fbdee6a4b74cafb624625716c88cad3
ettings.java
52c489cd63cca0361f374f7cb392018fabfa8bcc 28-Mar-2012 Amith Yamasani <yamasani@google.com> Lockscreen settings per user

Move all lockscreen related settings to LockSettingsService.
LockPatternUtils uses this through IPC instead of Secure settings.
Migrate old settings to new database managed by LockSettingsService.
Passwords and patterns are stored in a new per-user location, except
for the primary user, for backward compatibility.
KeyguardViewMediator and LockPatternKeyguardView listen for changes
to user and updates the lockscreen.

Settings provider will look for Lock settings in the LockSettings
service now for the entries that used to be stored in Settings.

Change-Id: I956cd5b95e2d9d45a6401af7e270e6a5aa2dcc98
ettings.java
6a8096d7d56ce4c65318f283ef666993f3020745 04-Apr-2012 Justin Koh <justinkoh@google.com> resolved conflicts for merge of bff6a514 to master

Change-Id: I741d5ab8ed0ce25a27330ffb55ba210534d11c3d
57978ed86286a33d5b1a0fd000ca3406ba9d87b3 04-Apr-2012 Justin Koh <justinkoh@google.com> Persists the master mute volume setting.

Persists the master mute volume setting across reboots.

TESTED = runs on Tungsten.

Change-Id: I9628b9369ca528b22413f62a9e7d697bae61d8ac
ettings.java
925a7d8f062c2ef275ccb7579889d6f83d0d378e 19-Mar-2012 Danielle Millett <dmillett@google.com> Added a setting for whether biometric weak liveliness is enabled.

The liveliness setting is represented by a bit in
LOCK_BIOMETRIC_WEAK_FLAGS so that more settings can be added if needed.

Change-Id: Ia6c94396d5b84de61f7eeb9a192d0aa925b13507
ettings.java
948eef82546c15086d0b78ce18ee874aa5c634f7 21-Mar-2012 Jeff Sharkey <jsharkey@android.com> Remove unused android.net.Downloads.

It's another set of constants that can be confused with those in
android.provider.Downloads.

Change-Id: I78ac058fa264d59a81f7655ab101c3fb2c8c17ff
ownloads.java
3e3c3f80a90b156ff500076f8655647dfb317acf 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: I201ecbf11607fd200aaae3cbb32561efabf65672
elephony.java
559c4841a631321efc2284de9187dbaccce50550 10-Mar-2012 Ken Wakasa <kwakasa@google.com> Merge "Fix obvious typos under frameworks/base/core"
db919155a87b4adf44874b817838458e04d9d17c 09-Mar-2012 Daniel Lehmann <lehmannd@google.com> Expose NORMALIZED_NUMBER in the API

Bug:6126736
Change-Id: If9dc84150c58d3968de9c6e4f1e54dab6b611dd7
ontactsContract.java
aa6816a8a0e575059f1e417ba2bbc3c86cc879a3 09-Mar-2012 Irfan Sheriff <isheriff@google.com> Merge "Enhancements for avoiding poor connection on wifi"
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
ontacts.java
ediaStore.java
4c8982ad820007512e4e9cbb7f15925228d70761 09-Mar-2012 Irfan Sheriff <isheriff@google.com> Enhancements for avoiding poor connection on wifi

- Avoid flapping
- Increase thresholds and monitor rssi more closely to detect consistently weak signal

Change-Id: I6139a20b7306839b345146a72ce690020a2e00b8
ettings.java
e61cad321d2888f2b6b7e0322158211e3b3e0c46 08-Mar-2012 Dirk Dougherty <ddougherty@google.com> resolved conflicts for merge of 532679a5 to master

Change-Id: Id60d047c0e1f288acff97526c016cca632873b6b
cd83bf9420a7c4c25d562b197438f532ad897c90 06-Mar-2012 Dirk Dougherty <ddougherty@google.com> am 4d7bc655: Doc change: String changes for Android Market

* commit '4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219':
Doc change: String changes for Android Market
4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219 28-Jan-2012 Dirk Dougherty <ddougherty@google.com> Doc change: String changes for Android Market

Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759
ettings.java
c3898820f61700a5a750b6485856e43eb79e2360 03-Mar-2012 Casey Ho <caseyho@google.com> Fix incorrect javadoc

Change-Id: I7f2cd95ced0f525b2c0ee20b64acbb35893664ed
ediaStore.java
dc927307ec69dcda57a05b51bcab78cb994f350b 02-Mar-2012 Alon Albert <aalbert@google.com> Add a displayColor column to view_events

Change-Id: I0f73685ec75e56929553b01d6ede0ad11fba55f4
alendarContract.java
43d8a95fa8dfd26ba8c56ac7489a8bc77c77034c 01-Mar-2012 Irfan Sheriff <isheriff@google.com> Merge "Improve Wi-Fi hand-off"
07573b32494acbabd21979d8b9584c1ed3f7a6ad 28-Jan-2012 Irfan Sheriff <isheriff@google.com> Improve Wi-Fi hand-off

When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
ettings.java
efba344b5a7b20e400daf5f41b2fbd688337f789 29-Feb-2012 Jake Hamby <jhamby@google.com> Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready.

This reverts commit 0c49f03a0429b5c0c4a619256f7bca86a4997ae8
elephony.java
0c49f03a0429b5c0c4a619256f7bca86a4997ae8 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: Ie3e6af747976ce9b8a3e71e76fec71709cf86545
elephony.java
bd2516165e4d38f1ee7f7f0ceb038ebf7ea1b84a 23-Feb-2012 Alon Albert <aalbert@google.com> Add new Reminder Method: Alarm

Change-Id: I7c0bc3c7eb1cc3b76900a04760ace52a5535b617
alendarContract.java
7bef73900b075fc0a9078d418964ca8e7210d565 20-Oct-2011 Mike Lockwood <lockwood@android.com> SettingsProvider: Add support for overriding lockscreen.disabled default value

Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
8517e46f3d3c2ce11de09aa849a8533ffc1a2026 25-Oct-2011 Mike Lockwood <lockwood@android.com> Save and restore master volume in the settings provider

Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
e7eeace594861365b4b5de08eee2cb4c0abf06b2 09-Feb-2012 Scott Main <smain@google.com> am ec12ae99: am 79cfde69: am 52bfc243: docs: fix misc doc bugs from external issue tracker

* commit 'ec12ae9933e463181338834387caa7c58b330635':
docs: fix misc doc bugs from external issue tracker
dfa926f54bc4a8a154eb5a0a928234073da7d3fd 09-Feb-2012 Scott Main <smain@google.com> am 52bfc243: docs: fix misc doc bugs from external issue tracker

* commit '52bfc243684b2f340da326aaa38e9021e4e3b2e6':
docs: fix misc doc bugs from external issue tracker
52bfc243684b2f340da326aaa38e9021e4e3b2e6 09-Feb-2012 Scott Main <smain@google.com> docs: fix misc doc bugs from external issue tracker

Change-Id: If6ff3476670e42b321d56d4a1482ccff96d4d500
ettings.java
f047c14f23abd94b3fb04f56dded13b66236ca53 07-Feb-2012 Marco Nelissen <marcone@google.com> Merge "Make media scanner use new delete-parameter"
ac259f17a0a6ba9e363bbf0c268c5942aab392c1 07-Feb-2012 Marco Nelissen <marcone@google.com> Make media scanner use new delete-parameter

This speeds up the media scan case where many files were deleted or moved.

Change-Id: I86e6fc6d0968eebf24923c0b5587b90d309721bb
ediaStore.java
895f99e9ca3500ad69e9ae8d1a8f28237075c7c7 02-Feb-2012 Dianne Hackborn <hackbod@google.com> New global setting for developer options.

Change-Id: I3f60538e9f858858501c5b063b0da97675d445a6
ettings.java
c38fa1f63674971f9ac6ced1a449fb81026b62f7 02-Feb-2012 Chet Haase <chet@google.com> Add Developer Option setting for Animator scaling.

This new set