• 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 >>>)
314df160c02edb817cea00dad66a1de4d2122e72 17-Jun-2017 Sujith Ramakrishnan <sujithrk@google.com> Add a new flag to check if provisioning is completed on ATV

- This flag will be set once provisioning is completed
and reset when SetupWizard is re-enabled.

Test: None. Adding a static variable.

Bug: 62419382
Change-Id: Ie3e4c118d26f6bd035a451ed1914e73bdeda4e3f
ettings.java
5d969b9862aefa3ddd8160f12829c22bc86de131 16-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "enable/disable dexopt for instant apps remotely" into oc-dev
133c5da0d972ff8f1676890679f478aa30e08dfd 15-Jun-2017 Todd Kennedy <toddke@google.com> enable/disable dexopt for instant apps remotely

Change-Id: I997b8ae515f7bf2570edca4ed7ab4b46198148a5
Fixes: 62591398
Test: Manual; install instant app and see that it doesn't dexopt
Test: Manua; update gservices flag, install instant app and see that it does dexopt
ettings.java
cb01563d7efa5689abb98fe4e5d8cc86bfc2b6fc 15-Jun-2017 Dianne Hackborn <hackbod@google.com> Work on issue #36891897: Need to ensure foreground services...

...can't hide themselves

Tune the policies for when we tell about apps running in the
background after their services have stopped.

- If it ran while the screen was on, the time we require for it
to be running is much shorter (a couple seconds) as well as the
time we tell about it having run (with another tunable for the
minimum time we tell about this).

- If it has only run while the screen is off and stops a sufficient
amount of time before the screen goes on (currently a second) then
we will not show anything when the screen goes on.

- If it stops when the screen turns on, we will make sure the user
sees about it for a short period of time (currently 5 seconds).

Also includes some improved debug output about handler message
queues.

Test: manual

Change-Id: Iab438410d7182b2dfe4f9c1cce7069b26b34834c
ettings.java
2dcedc1276aee3e4e044b1d4ecafc34462fefb7c 08-Jun-2017 Svetoslav Ganov <svetoslavganov@google.com> Ensure only test print services enabled - framework

Test: cts-tradefed run cts-dev -m CtsPrintTestCas

bug:62232727

Change-Id: I1050272586d1c03dc1b1dfdb8b10e258912a249b
ettings.java
f36d53cbfc34dcadfe156f3037bf40b4908142a8 24-May-2017 Svet Ganov <svetoslavganov@google.com> Prune unused static libs and instant apps if space needed

We are caching unused static shared libs and instant apps
(installed and uninstalled) opportunistically. If space is
needed we delete these to free up space.

Test: manual

bug:62045000

Change-Id: Id992dee5c7c6e36b8e8b81050602dbc4eeafb0f9
ettings.java
931983d6072c1d3e79e7657d9dcda34d70dcb529 28-Apr-2017 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Removing EXTRA_SENDER_ACCOUNT_HASH, needs more work.

Bug 37747843

Test: make -j11 docs

Change-Id: I3046611510f85cf69ceff7c2274cda3b692581b9
(cherry picked from commit 2c4201448eb3c19f9b6d37c8b679f51362cff3a7)
ontactsContract.java
af03e5a322a35f9acd6f6f8d4f53148a9622bd92 15-May-2017 Garfield Tan <xutan@google.com> Specify behavior around DocumentsProvider#openDocument().

Add supported modes and contracts on receiving unsupported modes.
Test: Builds.
Bug: 11279339

Change-Id: I8c403f6168baadb354813d4c1e630bb8662ddb34
ocumentsProvider.java
873b5708d14460360d32cfc98ee48cf62f1ebfa6 02-May-2017 Stanley Tng <stng@google.com> Add Save and Restore of BluetoothOn setting

This change will automatically save the Bluetooth On setting when
the user chooses to backup the phone settings into the cloud. This
setting is restored by the Setup Wizard (SUW) when configuring the
phone and this change will enable or disable the Bluetooth based
on this restored setting.

Bug: 35657817
Test: Manual test with Sailfish
Change-Id: Ie4518593af63f96f8c363f98941ca5260a3ec4bb
(cherry picked from commit 767f05feea67e642a76bd3e2e7633a8f5273f077)
ettings.java
89aa2261903fd09b08a2210a7a1b35d329f8330a 06-May-2017 Chris Wren <cwren@google.com> add a global control for badging

Content observer callbacks don't specify the user,
so scan all the users we know about. User switches
will also trigger an update which will explicitly
check the setting for the (now) current user.

Migrate tests to TestableContext to allow the test
to safely override secure settings.

Bug: 36021111
Test: runtest systemui-notification
Change-Id: I588068382912955da114cc351df7a1e7b4f0733f
ettings.java
b569eedf377fb0339a979d938839e99a735c3013 11-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding a new config and Setting for WiFi Wakeup." into oc-dev
09c529a9bc85bfd0d50b65f447472ad064eac16c 01-May-2017 Makoto Onuki <omakoto@google.com> Reconnect to DAService after binding is dead

- When the DO/PO process crashes twice with a short interval, AM gives up
and the binding will be "died". Once binding is in this state it'll never
be re-connected.

(Still, DO/PO can disable and re-enable their DAS to force DPMS to bind again
though.)

- Detect this and re-connect after one hour.

- Back-off time will be exponentially increased and never reset until DPMS
explicitly re-connects, which happens when:
-- the device rebooted,
-- the user stopped and re-started, or
-- the DAS is disabled and re-enabled.

Test: adb shell am instrument -e class com.android.server.am.PersistentConnectionTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyConstantsTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceDeviceOwnerTest
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceProfileOwnerTest

Bug 37711907

Change-Id: Ie0b227a94e6ce85d72a969a4dea1020baf734e2f
ettings.java
45caa2538e1ef829dc2ac2d154485685d49266e8 04-May-2017 Jeremy Joslin <jjoslin@google.com> Adding a new config and Setting for WiFi Wakeup.

Created a new config for WiFi Wakeup (config_wifi_wakeup_available)
and defaulted it to NOT_AVAILABLE.

Also added a new global Settings constant (WIFI_WAKEUP_AVAILABLE)
and defaulted it to the value of the new config noted above.

Bug: 37987491
Bug: 38036968
Test: Built, flashed and confirmed proper config value.
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/SettingsProviderTest.java
Change-Id: I0cdca4262a0ef473fcbbf7da8d960c41dfafb11f
ettings.java
4d1fb218f48a5170bfb01d9bc32dda6a7c1d2e80 05-May-2017 Ajay Panicker <apanicke@google.com> Merge "Limit btsnoop file size (3/9)" into oc-dev
4d71437598026627af85c576dd53a4247455b34a 18-Apr-2017 Ajay Panicker <apanicke@google.com> Limit btsnoop file size (3/9)

Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Change-Id: I40d5da4c1b1c9b45908e5790d130f1c5e804c773
ettings.java
3c0e3d8a36b6dd797c636ecbd48e5656cb134e20 04-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Developer setting to show toast for notifications without a channel" into oc-dev
d53a71f443381508e45ff0abc27b8875428b68e0 04-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add persistent state for Bluetooth high quality audio support" into oc-dev
4c6eef21fd3cbb74df9d270d9c3f1dbbb33d59b5 19-Apr-2017 Geoffrey Pitsch <gpitsch@google.com> Developer setting to show toast for notifications without a channel

Bug: 37945054
Test: runtest systemui-notification
Change-Id: I264913c3d7ef6fcd83129b0692e96d3218bc7217
ettings.java
e5bb03e2ea8cf0d7ab98fb6e6f8db1007d8d48d2 11-Feb-2017 Christine Franks <christyfranks@google.com> Night display status restores on reboot/user change

Fixes: 30086742
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services
Change-Id: I264be077e607baf8e19496f0c57549a907668005
ettings.java
f5772c6121ee1f5f2aa06711e2762c0f07fb61cc 27-Apr-2017 Antony Sargent <asargent@google.com> Add persistent state for Bluetooth high quality audio support

Defines the flags used in code and the Settings.Global key names for
persisting the following state for Bluetooth A2DP Sink devices:
-Whether the device supports optional codecs or not
-Whether optional codecs should be turned on for the device

For each of these two properties we model the state in the code as
yes/no/unknown, so that we can tailor the UI and behavior
accordingly.

Bug=37441685
Test: manually

Change-Id: I6bcd02fd7c95bef989575f3b13d4788dab61971a
ettings.java
4794cbf57415798628ce004b9d79437d03ecc0cd 03-May-2017 Michael Dooley <mdooley@google.com> Merge "Adding voicemail transcription state to the database" into oc-dev
83b40f69bef4ba17bb63ac30d52f661a12d5b4f4 26-Apr-2017 Dianne Hackborn <hackbod@google.com> Work on issue #36891897: Need to ensure foreground services can't...

...hide themselves

The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user. We ensure they are shown to the user for at least 30 seconds
(configurable). If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.

While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't. By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior. There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.

Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.

Bug: 36891897

Test: manual

Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
ettings.java
408ec0b463a14bb1cb583b29d72c097a7ba0979d 29-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Remove FontVariationAxis.InvalidFormatException." into oc-dev
09d8db03810c6de6e4bebd2fff96aebabe4b1888 29-Apr-2017 Philip P. Moltmann <moltmann@google.com> Merge "Add constant for autofill-service-add URL" into oc-dev
c94ef4ddfd94f0445cd0e7bc1b1ebd0cf9868dcb 24-Mar-2017 Lifu Tang <lifu@google.com> Throttle location update rate in proximity alert

Bug: 36197768
Test: manual
Change-Id: I2427ed7e77e9153c20e7c65e8f861de4c7ffeac6
ettings.java
0f07dd5b14e76695bbae758e948e00b86935232c 28-Apr-2017 Seigo Nonaka <nona@google.com> Remove FontVariationAxis.InvalidFormatException.

Use IllegalArgumentException instead.

Bug: 37769084
Bug: 37765945
Test: am instrument -w -e class android.widget.cts.TextViewTest
android.widget.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.TypefaceTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.PaintTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.FontVariationAxisTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.text.VariationParserTest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner

Change-Id: I50b70e3e7e37585c937dcce2416a83353de62a5d
ontsContract.java
4108aa77e89f7188f3da5aa53afb1777ab475b3a 28-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Expose missing accessibility settings to instant apps" into oc-dev
afd8d9e2b289fe623118e849e0915f940a19bf2f 28-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Throttle wifi scan requests from background apps (1/2)." into oc-dev
a30d6e0d5bf17f0df941f29ff2e25364c23f83ff 28-Apr-2017 Philip P. Moltmann <moltmann@google.com> Add constant for autofill-service-add URL

Mimicing the behavior we have for adding a print service.

Bug: 37735998
Test: Started auto fill picker with add-service-settings set
and unset. Only if set, the preference is added

Change-Id: Ida298afc0cbbdf13bdbeb124f73a603bd39855c1
ettings.java
d9285b5a196ee7294a17496135644b40620591b1 28-Apr-2017 Chad Brubaker <cbrubaker@google.com> Expose missing accessibility settings to instant apps

Fixes: 37631050
Test: EphemeralTest#testWebViewLoads
Change-Id: I9c4c6d5dd4b8f2c1e27009d77f6f11035d4f1667
ettings.java
9610c695318c7e0128a22784e5faeba3b25565fb 27-Apr-2017 Seigo Nonaka <nona@google.com> Remove FontsContract.buildTypeface with weight/italic argument.

Passing weight/italic to the family does not make sense.

Bug: 37750436
Test: N/A
Change-Id: I43a624179338c1f98aad36cfd08daa152e83944c
ontsContract.java
47ed9b00980faf568a8de0153de880465e650b27 18-Apr-2017 mike dooley <mdooley@google.com> Adding voicemail transcription state to the database

The transcription-state column will be used to provide better visual
feedback for users when viewing voicemails. Specifically it will
help disambiguate the cases of transcription-in-progress and
transcription-unavailable.

For now the new public API constants are marked @hide.

This database change involves 2 related cl's, one to define the new
column and one to update the database schema (ag/2129944, ag/2129909)
The cts test will be updated when the column is made public.

Test: run cts -t android.provider.cts.contacts.VoicemailContractTest -m CtsProviderTestCases
Bug: 37340510
Change-Id: I6fd5f52a81f43afda425227394f3e571c072b18f
allLog.java
oicemailContract.java
080b054bddee55428943b821c99887543d1fd290 26-Apr-2017 Seigo Nonaka <nona@google.com> Font API clean up

- Move FontRequest from android.graphics.fonts to android.provider since
this is only used by android.provider.FontsContract and never draw
anything.
- FontRequest is no longer being Parcelable.
- Remove FontSpec.aidl which is not necessary.

Bug: 37326126
Test: am instrument -w -e class android.provider.FontsContractTest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.provider.cts.FontProviderTest
android.provider.cts/android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.provider.cts.FontRequestTest
android.provider.cts/android.support.test.runner.AndroidJUnitRunner

Change-Id: I0eb501844247c2f07eaa1fc7a71f72e404888b5b
ontRequest.java
ontsContract.java
1c661d1943338f96bda3f0e83e8fa36066b83f53 26-Apr-2017 Seigo Nonaka <nona@google.com> Merge "Load font file from remote provider synchronously." into oc-dev
57dc8328f5fb52c621d53d329fcd982b65dea360 26-Apr-2017 Seigo Nonaka <nona@google.com> Merge "Update FontsContract.requestFonts" into oc-dev
d9de8be233d18ccc881cb647a5de2b32ff3e737c 26-Apr-2017 Seigo Nonaka <nona@google.com> Load font file from remote provider synchronously.

Since CancellationSignal is not guaranteed to be handled by remote
process, introduce threaded font loading mechanism.
At the same time, this fixes possible NPE issue in openFont.

Bug: 37552479
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner

Change-Id: Ie235c5a57bd172b0882da5aa27a990d7c6686ff2
ontsContract.java
8ea62b036dd28231cb07beb210d361d9341c618e 26-Apr-2017 Seigo Nonaka <nona@google.com> Update FontsContract.requestFonts

- Change FontsContract.requestFont plural form to meet other method
naming convension.
- Change FontsContract.requestFonts to accept CancellationSignal to
be able to notify to remote.

Bug: 37326126
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner

Change-Id: I154f943eb4e7c91bff8afd86be479f72e66e5cb7
ontsContract.java
d8561a26daa31ef2e617664f35ba82c363b5d498 26-Apr-2017 Svetoslav Ganov <svetoslavganov@google.com> Make sure autofill service is backed up

Test: manual

bug:36638606

Change-Id: I3367b9eb40a542267fb5d49f9a8bb7aa97ca57fa
ettings.java
a00c7c0a9983e30e4dcbc4f7ae847a26d9ea614f 26-Apr-2017 Jeff Sharkey <jsharkey@google.com> Merge "Fix some issues found by new doclava linter." into oc-dev
54084b64b1860b652b1c50ba942b4cfc7fb28805 24-Apr-2017 Seigo Nonaka <nona@google.com> Font provider cleaning ups.

- Remove Columns.STYLE
- Decouple Context from Typeface.
- Make FontsContract constructor private since it is essentially static.
- Removed unused constants.

Bug: 37281200
Bug: 37268410
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.provider.FontsContractTest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Test: am instrument -w -e class android.graphics.cts.TypefaceTest
android.graphics.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: Ic46c256141d27ca28f30023bcc40f4e1161d5338
ontsContract.java
cd68c334bad676e4b29db77c78f61eb48fd75df1 25-Apr-2017 Phil Weaver <pweaver@google.com> Merge "Remove a11y web flags and associated settings" into oc-dev
0f3f60b576aedc78524d50da3dadada2201e63c2 25-Apr-2017 Jeff Sharkey <jsharkey@android.com> Fix some issues found by new doclava linter.

Add missing API annotations for permissions and SdkConstants, and
invoke doclava with new "-android" flag.

Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I970bb2655eb568fd25004636f134c794663a6c33
ontacts.java
ontactsContract.java
ediaStore.java
bad4573bd459c7a0219f56ddc208e84ff45cb7c6 25-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic 'experio-scoring' into oc-dev

* changes:
Remove Settings.CURATE_SAVED_OPEN_NETWORKS
Remove request recommendation from AIDL files.
Remove the recommendation request impl and test code.
Deprecate the recommendation request code.
5a09c64345ba35783b5d24ed7c4ca0ea8afbcc0a 20-Apr-2017 Seigo Nonaka <nona@google.com> Remove Typeface.create

Test: Manually done
Bug: 37514611
Bug: 37463988
Bug: 37281200
Change-Id: Ida704af910e0ae195b96803de506fa1e1d66c9f5
ontsContract.java
db041188bc9ca03bed3c14a7ca1b3eb9524a9287 22-Apr-2017 Felipe Leme <felipeal@google.com> Added APIs that let AutofillService implementations set themselves as such.

Bug: 37576671
Test: manual verification
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I6fd61f8a2826dbf6b6fce831f3deadf6df025386
ettings.java
09d4ff8960cd3d45988b0c3ff0835d281f0e16b5 31-Mar-2017 Phil Weaver <pweaver@google.com> Remove a11y web flags and associated settings

Bug: 35707622
Bug: 28322375
Test: Ran a11y cts. Updated those tests in linked CL to
ignore this feature.

Change-Id: I1dccb3ae4e1f4d6bb832ae1b0edd4dad4a54289e
ettings.java
f277ccbca694cf02370ae818dbd77aea9a8d21da 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Renaming intent action for unknown sources" into oc-dev
daa8dfc690c4755510ccc15da5ed5bbdd9731fa4 19-Apr-2017 Seigo Nonaka <nona@google.com> Cache the Typeface based on the FontRequest.

Bug: 37471729
Test: FontsContractE2ETest
Change-Id: Ifb1bd2b50077471404f5f1dffc01e7697d7042e6
ontsContract.java
337be5a12fd6ef76f78da70cc1e83233788156dd 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update Typeface callback docs about error codes" into oc-dev
89aae4463a2af0166ef16c710c3bdf6a7d33b8fc 21-Apr-2017 Suprabh Shukla <suprabh@google.com> Renaming intent action for unknown sources

Renaming to maintain consistency with neighboring constants

Test: gts-tradefed run gts GtsExternalSourcesTestCases

Bug:37515311
Change-Id: I5e153d93fce01633ee69363c0725b026f1551b1e
ettings.java
4e45b1491a11edd85213eee1a3323505a1f7ac2e 20-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Stop fetching font data if the context is restricted." into oc-dev
1321dda19ff8c2c1cf7e16ae2b018f2f9497e4c5 14-Apr-2017 Amin Shaikh <ashaikh@google.com> Remove Settings.CURATE_SAVED_OPEN_NETWORKS

Bug: 37356724
Test: make
Change-Id: I2763b3cfc4e1ebe38135a35e8fd36fee9750ba6b
ettings.java
b1a0139590448d706c778d22891efe80b05f11f2 14-Apr-2017 Jeremy Joslin <jjoslin@google.com> Remove the recommendation request impl and test code.

Removing most of the platform side request recommendation code and
its tests.

Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 37357264
Change-Id: I36e592c5c82c38aa2174a51cf02c6e9825ef4f11
ettings.java
06a53d4729a679be5b3b716b31a62a112b45ff59 20-Apr-2017 Abodunrinwa Toki <toki@google.com> Merge changes from topics 'smartselectconfig', 'langidconfig' into oc-dev

* changes:
SmartSelection Config installer.
LangId Config installer.
1ef45a8bedc4f0212dfd47082d52ea58f513086c 20-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Api Council: hide FontsContract.Columns constructor" into oc-dev
5706a1b12dd891098fb7bf479623d42979171144 12-Apr-2017 Clara Bayarri <clarabayarri@google.com> Update Typeface callback docs about error codes

As requested by API council, mention that the provider may
return its own error codes within the positive int range.

Bug: 37084803
Test: none
Change-Id: Ia8ee99432cc5025a12d43049e327605095dd2b57
ontsContract.java
7fea2e264e2e793586bb999ee80897d488e62141 20-Apr-2017 Clara Bayarri <clarabayarri@google.com> Api Council: hide FontsContract.Columns constructor

Bug: 37515256
Test: none
Change-Id: I2a9de7ea30ffa39af5104977f6604ce3bda220fb
ontsContract.java
cdbffa986dfa0a26ebcde6409f0131754889c88f 18-Apr-2017 Wei Wang <weiwa@google.com> Throttle wifi scan requests from background apps (1/2).

Bug: 37320631

Test: Manual test on Sailfish. Unit tests using runtest.sh.

Change-Id: If7c0206df29aea15089eba335d5b4e82f066eed9
ettings.java
bb957d12ba96f3a1afcecbcdae8040dcaf35d35e 12-Apr-2017 Abodunrinwa Toki <toki@google.com> SmartSelection Config installer.

Test: none
Bug: 34780396
Change-Id: I9cb04e7b20b565ac5d128475a90bd065c805e95e
ettings.java
51c4203ab4223b5cc601dbca2755bbe76082f455 02-Apr-2017 Abodunrinwa Toki <toki@google.com> LangId Config installer.

Test: none
Bug: 34780396
Change-Id: I6cdd608ea9a41041d03640997c076c6e6fea0129
ettings.java
0d277a7b189c8807d142b69dd8d00b17978a49a5 13-Apr-2017 Chad Brubaker <cbrubaker@google.com> Change ANDROID_ID for Instant Apps

ANDROID_ID for Instant Apps now has the following properties:
1) per-app scoped
2) reset if the user clears the Instant App
3) remains the same if the Instant App gets upgraded to an installed
app.

Note that if the user goes instant -> installed_1 -> uninstall ->
installed_2 the ANDROID_ID at installed_1 will not be the same as
installed_2. This was deemed better than the id changing on the upgrade
step.

Test: manual
Change-Id: I532975c50049c94ff80902a897e001dd35a69f9f
ettings.java
aa00896b8dda3b73e8ce73b5caa9308af7e89fa8 18-Apr-2017 Felipe Leme <felipeal@google.com> Clone autofill service settings on managed profile.

Test: manual verification
Change-Id: I9d13e4230265b18444bfd30fd403c5fb98b88159
Fixes: 37351722
ettings.java
ebecd7e802cd65bfc5cf1d8de1e6ea031580ae79 14-Apr-2017 Seigo Nonaka <nona@google.com> Stop fetching font data if the context is restricted.

Bug: 35763094
Test: android.provider.cts.FontsContractTest passes
Change-Id: I6b1a27c2a4898966b558ff98b0023670da6769dc
ontsContract.java
5b06dbd12bcd28fbc051c88c3ea7f31bcf20d1f8 17-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Make NETWORK_RECOMMENDATIONS_ENABLED hidden." into oc-dev
cf00adebec29d4cdbec5bc0f004b26a09327c236 10-Apr-2017 Eugene Susla <eugenesusla@google.com> API for notification listener for Companioon apps

Test: 1. Trigger the confitrmation dialog.
Ensure it looks exactly like the one from settings.
2. Call an API without associating the appa first
Ensure exception is thrown with a message mentioning the need to associate 1st
Change-Id: I94d4116e1988db869ed445ae3fd018c50590e3f4
ettingsStringUtil.java
509352d475ddb120249f5b0626ff9071d20c22dc 14-Mar-2017 Joe LaPenna <jlapenna@google.com> Make NETWORK_RECOMMENDATIONS_ENABLED hidden.

This value is necessary to easily look up the availability of a
recommendation (nee, scoring) provider; however it is only used by
bundled apps to monitor its availability, so hide the setting itself.


Test: make update-api; make; flashall
Bug: 34715823

Change-Id: Idf4591fd03d90207ef525f584793db65a1f6597c
ettings.java
35025da6696d4eb69d6705441cabffa644c0c7f7 10-Apr-2017 Hugo Benichi <hugobenichi@google.com> Captive portal: rotate fallback urls

This patch introduces a new settings value to specify more than one url
for the fallback http probe in addition to the existing settings value.
If more than one url exists, a network will rotate urls for the fallback
probe one by one everytime the fallback probe is sent.

Test: built, flashed, tested manually with various portal networks.
Bug: 36532213
Merged-In: I3c010bfee5b99db03a500776fbf47959a29d0578

(cherry picked from commit eef918a66c984ac7bb1f541665f4dc9bb88ea7ac)

Change-Id: If4d9a091c3a04a33895032d9b0d05c1dc66968e7
ettings.java
076a0bd0bf4be3cb9743365eef31911a82e7f8e5 13-Apr-2017 Jean-Michel Trivi <jmtrivi@google.com> Merge "Fix A11y volume persisting/restore" into oc-dev
729a515e5ebcf38e3472bb8fee4e9400745c400c 13-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce setFallbackTypeface" into oc-dev
a53b7051a2d2d2ff9bddba0a12d2e8dcd0d5c620 13-Apr-2017 Jean-Michel Trivi <jmtrivi@google.com> Fix A11y volume persisting/restore

When the accessibility volume is enabled, its value wasn't persisted
when changed because it was still using the persisting name from
its alias (music).
When enabled, notiify the volume controller that a11y volume has
changed so the UI also reflects the new value, now updated from
the persisted settings.
Do not persist volumes for streams that don't have a setting name.

Test: enable Talkback, set a11y volume at a different level than media \
then disable Talkback. Reboot and enable Talkback, verify a11y is \
restored.
Bug: 36286073

Change-Id: Ic6c30364e164b856fc10fbf6b22c09a7b5561be1
ettings.java
5b6347a6af668ba47b3fab14cefbe03cc440c3a4 31-Mar-2017 Seigo Nonaka <nona@google.com> Introduce setFallbackTypeface

setFallbackTypeface is returned by Builder.build() method when the
provided font is not loaded due to some reasons.
The fallback family is resolved with width/italic passed to Builder.

Bug: 36794225
Test: android.graphics.cts.TypefaceTest passes
Change-Id: I65e220aca823fd815a52437b11c8e6dc952de8e2
ontsContract.java
0b73a4287e8f630c45bf7ef0a7e0b2541d6b4067 12-Apr-2017 Seigo Nonaka <nona@google.com> Introduce FontsContract.requestFont and deprecate Typeface.create

Since background fetch should be synchronized with life cycle of
Activities, so should not create new background thread inside this
method. Not to break existing apps, mark as deprecated and will be
removed from public API untile next release.

New API accepts Handler so that the developer can pass their own thread
.

Test: TBD
Bug: 37253785
Change-Id: I87fdc6a354a829db679253824f42489f25698fa0
ontsContract.java
061db23b79b0f07b3b843e081420fbbcc606b451 13-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev
055b51af2860c4457041582233c9cdf9b34e1487 13-Apr-2017 Chad Brubaker <cbrubaker@google.com> Merge "Expose more settings to Instant Apps" into oc-dev
69754bf66dae9d047d5a0ff2c71820aa35b9cc70 05-Apr-2017 Seigo Nonaka <nona@google.com> Introduce FontsContract.fetchFonts and expose URI for watching.

FontsContract.fetchFonts provides a low level font access with fonts
provider.
This CL also includes:
- Introduce new class FontFamilyResult/Font as the inner static class
of FontsContract which are used to for result value of fetchFont..
- Introduce a functionality to FontsContract to be able to create
Typeface from an array of FontResult.
- Expose URI of each file entries to be able to register ContentObserver

Bug: 36494487
Bug: 36085028
Test: android.provider.FontsContract passes
Test: android.graphics.cts.TypefaceTest passes
Test: android.graphics.fonts.cts.FontResultTest passes

Change-Id: Id6f85039d0e86be063ef099d7ec6bfd97e4424c5
ontsContract.java
684b5381e9d469b9ce00451747f7e3eb0c84b5c6 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev
562afaf1e7f77120d05994ac99e46599c7e85270 10-Apr-2017 Chad Brubaker <cbrubaker@google.com> Expose more settings to Instant Apps

Test: Settings are accessible from an instant app
Change-Id: Ib6e5f603184bc94c8a47f010e1609b3021765403
ettings.java
33aae89f292b4fe15c01dc9fb93af7e23d6ba6ea 12-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce FILE_ID for TTC fonts and variation fonts." into oc-dev
43c20cf6d4bd661d85bed76c78953aa656dbcc62 10-Apr-2017 Seigo Nonaka <nona@google.com> Introduce FILE_ID for TTC fonts and variation fonts.

A single TTC font or variation font can be used for multiple entry
of FontResult. To share the file contents, assign same URI for those.

Bug: 36494487
Test: android.provider.FontsContractTest passes
Change-Id: Ibf24f216179a6481dee1801cd2dfb68c4bb38fac
ontsContract.java
fc1bfc442cb52d4f904e6bf946f191bcf007277a 08-Apr-2017 Jesse Evans <jsje@google.com> Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED

Renames the instant apps setting to reflect what it is for.

Adds the SystemApi annotation to make this field visible
to the resolver and installer.

Test: existing tests

Change-Id: I1651bb101d69bdfdaa63c004435025c68a33cd8e
ettings.java
a609bbc9c4e1614eca7e70cb90739486f745e5c7 12-Apr-2017 Suprabh Shukla <suprabh@google.com> Merge "Renaming intent action for unknown sources" into oc-dev
8d7b36f0ec49f615e061881ad15382d33ae07c4f 07-Apr-2017 Chad Brubaker <cbrubaker@google.com> Expose package_verifier_user_consent to Instant Apps

Test: manual
Bug: 37119785
Change-Id: I0a6deb96f1267f3f80bcf017d898fcf365515353
ettings.java
a1300c84f63f6288616f8532f9cb3373ad130c7f 07-Apr-2017 Suprabh Shukla <suprabh@google.com> Renaming intent action for unknown sources

Renaming action MANAGE_EXTERNAL_SOURCES to MANAGE_UNKNOWN_APP_SOURCES to
be clearer about its purpose

Test: adb shell am instrument -w -e class \
com.android.settings.applications.ExternalSourcesSettingsTest \
com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner

cts-tradefed run singleCommand cts -m ExternalSources

Bug: 35812498
Change-Id: If38349f349781541673f93638e536a4f2a184bf6
ettings.java
b4e3b344faa6c18b6dc0c6f1dfd989bd6d30e587 05-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Pass weight/italic pair instead of style." into oc-dev
8d5d065cdf4cbd141eb1d57cb9fc7216a807d5d1 04-Apr-2017 Jeff Sharkey <jsharkey@android.com> Add legacy DownloadManager actions to SystemApi.

They're still used by at least one bundled app.

Test: builds, boots
Bug: 35256608
Change-Id: I45966b3e0ed506ead4544bbbfc9d82b7f9d5205d
ownloads.java
fe04aa840e0682e9813e1ac4958772f898eb02ca 02-Apr-2017 Seigo Nonaka <nona@google.com> Pass weight/italic pair instead of style.

Typeface.NORMAL/BOLD/ITALIC/ITALIC_BOLD is used for specifying relative
from current Typeface. For example

Typeface face = Typeface.create("serif");
Typeface thickerFace = Typeface.create(face, Typeface.BOLD);
Typeface moreThickerFace = Typeface.create(tickerFace, Typface.BOLD);

For the purpose of providing font information, we should use weight/italic
value instead of style in Typeface.
The Columns.STYLE field was kept for preventing runtime crash of demo
apps.

Test: Manually
Change-Id: I732e8ee04a66f61321fc0a98dbfb8fdc0a4dd7a4
ontsContract.java
91d2e2832ce01edb06ddf5631710d0f77cc0ee5f 03-Apr-2017 Chad Brubaker <cbrubaker@google.com> Expose animator settings to Instant Apps

Bug: 36861394
Test: Instant Apps can access the settings
Change-Id: I0e414cb068a47e9a6f62239ffcb922de54586a71
ettings.java
4ff933afe7d3a20686eccbfe4d3674d195aa0235 01-Apr-2017 Daniel Cardenas <danielcar@google.com> Add documentation about Android TV devices may not support the alarm
intents.

Bug: 36003137

Test: Build
Change-Id: Ia469f6e066c7aa9ed1ebcda3ea12fb3254654fb6
larmClock.java
b4df7b2d9eac1883a3ad9b355b12477d0ec7e341 31-Mar-2017 BIN ZHOU <xqc387@motorola.com> Add feature constants in Call Log provider to identify HD and WIFI calls.

Makes use of existing features column in the provider.

Test: Manual
Bug: 35359461
Change-Id: I405893771a2dac2bb25a54065238917ac2d515c8
allLog.java
dfbc8517eef28a4beab3ccc32c8f94bbb1b1daf5 30-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Rename ACTION_VOICEMAIL_SMS_RECEIVED" into oc-dev
9408d51fbe23a655b95aed639dfdd7e0df8ea0e4 29-Mar-2017 Chad Brubaker <cbrubaker@google.com> Expose ACCESSIBILITY_CAPTIONING_* to Instant Apps

Fixes settings issues seen in Webview startup.
Bug: 34087569
Test: SecurityExceptions go away

Change-Id: I0e3c55e7dc1c17f445d9dc514682e12dad9dc247
ettings.java
a302ac69e438f9df4e9ff32c016c4cabe9b64a85 23-Mar-2017 Ta-wei Yen <twyen@google.com> Rename ACTION_VOICEMAIL_SMS_RECEIVED

Hidden API should not use the android.* namespace.

This CL also make SHOW_VOICEMAIL_NOTIFICATION protected broadcast.

Change-Id: I9e5459632d0e826274fd60a4cfbf73c0ea87d29f
Fixes:35269913
Fixes: 36201216
Test: CtsSignatureTestCases
oicemailContract.java
15e3d0dba862d27ac8b55ff1da8f96b3c3b0e9f0 28-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove ACTION_CONFIGURE_WIFI_SETTINGS and ACTION_WIFI_SAVED_NETWORK_SETTINGS."
31417b3ebf8ccbfff990659bce6f62ec984b2228 28-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Deprecate Setting that is no longer used."
31484af10181a60785287b25bc3970446c3e3253 22-Mar-2017 Stephen Chen <stewchen@google.com> Remove ACTION_CONFIGURE_WIFI_SETTINGS and ACTION_WIFI_SAVED_NETWORK_SETTINGS.

ConfigureWifiSettings page will instead use WIFI_IP_SETTINGS intent.
Intent for SavedAccessPointsSettingsActivity is unused and can be
removed.

Bug: 34392691
Bug: 36516068
Test: make
Change-Id: I86547df387b41241d531e361014581d0763008ee
ettings.java
d292c1555875e3e2c134f8d477b2a77d27df55d4 25-Mar-2017 Sudheer Shanka <sudheersai@google.com> Merge "Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid."
5e8b980c5d6bc282b51b3ddfc8722ff973c7e885 24-Mar-2017 Casey Burkhardt <caseyburkhardt@google.com> Target selection for Accessibility button

Allows for selecting a single accessibility service or feature
to be triggered by the accessibility button in the navigation bar

Bug: 34720082
Test: Manual
Change-Id: I320febede0398b1eff38a87d4db31fd7dfc53062
ettings.java
3087e323eabc612e3ec4d3284cb68cae7e941bb2 25-Mar-2017 Amin Shaikh <ashaikh@google.com> Deprecate Setting that is no longer used.

Bug: 36526645
Test: make
Change-Id: I11cc75916c4721a8bfbe5e5f0b0f0e7baf0c4a90
ettings.java
582fae1cf46dfe3ea63e1ba1123575467c70a221 24-Mar-2017 Phil Weaver <pweaver@google.com> Merge "Restructure a11y shortcut settings"
5918c6700bd8e660abbf2c8f78cac5ea6a947374 22-Mar-2017 Sudheer Shanka <sudheersai@google.com> Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid.

And add global setting WAIT_FOR_NETWORK_TIMEOUT_MS.

Bug: 27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests
runtest -c android.provider.SettingsBackupTest frameworks-core
and manual

Change-Id: I6949cd517255670e2ce21ab2de24271082461b11
ettings.java
a25c24d882aa590422987b919b06f7a550864ded 24-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Some logging for settings reset"
0e74c95c0cb2be2dc82598fc6529883c90678f99 24-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unhide FLAG_SUPPORT_EJECT and related methods."
3945202dc861cf0cadea3dbe22ccd37a31ae055b 21-Mar-2017 Amith Yamasani <yamasani@google.com> Some logging for settings reset

If settings db gets reset because it disappeared/got corrupted,
then write the Build.ID of the OTA, so we know when it was reset.

Bug: 36365648
Test: manual
Change-Id: I499a7f65f07a61c0e4651dbd046fc5b16408c09d
ettings.java
8787703ae057b6df3691036d667fab0859be92d9 22-Mar-2017 Garfield Tan <xutan@google.com> Unhide FLAG_SUPPORT_EJECT and related methods.

Test: Builds and CTS tests pass. Some manual tests as well.
Bug: 36483910
Change-Id: Idd9b1c9d9573222ee12127044ff11b9ab2487f0a
ocumentsContract.java
ocumentsProvider.java
f26f5c7e66511ad528bb3c9fe2aeb25adcde585a 23-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce AuthenticationRequiredException, and @hide RecoverableSecurityException."
2204284fffe9edfa3c69524b40ed096d5027d16f 23-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Cleanup passing emails for Web Links API."
ce687c5e4a0ce27e9190fb5c823ec4649fbc3712 15-Mar-2017 Phil Weaver <pweaver@google.com> Restructure a11y shortcut settings

Separating the shortcut on/off from the shortcut service.
Enabling the shortcut to work from the lock screen if the
user wants it to.

Bug: 35872328
Bug: 35219988
Bug: 35443593
Test: Adjusted tests for shortcut controller, manually
activated shortcut in a variety of conditions.
Change-Id: Id39d33ec62eb5f11b76b2972089167dc7d4c625b
ettings.java
df6d37e50442cb453a7e0d9e383c45bba848db70 21-Mar-2017 Ben Lin <linben@google.com> Introduce AuthenticationRequiredException, and @hide
RecoverableSecurityException.

Test: CTS tests in changes in same topic.
Bug: 36482356
Bug: 36482258
Change-Id: I44b3407746006d8709e4a3f3ca2950c61fa0be95
ocumentsProvider.java
fb483cc90c27a9c0fcafa28343a8fd644f8384a4 21-Feb-2017 Clara Bayarri <clarabayarri@google.com> XML Support for non system font providers

The certs needed to identify non preinstalled providers
can now be declared in XML, using a resources array.

Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java
Bug: 35025705
Change-Id: Ibf12ad409aa5a873ddb32b1383c147728e664c23
ontsContract.java
463b686abc18bc2bb95d1577604ba1b2ab885dec 22-Mar-2017 Tomasz Mikolajewski <mtomasz@google.com> Cleanup passing emails for Web Links API.

Test: CTS test.
Bug: 35813086
Change-Id: Ic65f1ec99492618effc60475f8746a98026e6e0a
ocumentsContract.java
419acc38a314984d720ef9831c4db02dd4630a25 22-Mar-2017 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API."
93615419983fba9b2221b4eb02598d791fc44a04 21-Mar-2017 Garfield Tan <xutan@google.com> Add special URI to MediaStore for directories.

Bug: 36048049
Bug: 31001477
Change-Id: I69032481271b7f53c22403c3526560e6830bd9e8
(cherry picked from commit 1ca2837111c8383f9c8daf1420356998f4fb218f)
ediaStore.java
45030ba62bcf898aa3cf29a275b1b5b801f635a4 20-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Expose AIRPLANE_MODE_ON to Instant Apps"
c8076f164a1ce4c07dd16352d88635e08aaeacac 20-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Expose Android ID to Instant Apps"
1f6a266398930c4e8be4119c7d487bb7823b579c 20-Mar-2017 Chad Brubaker <cbrubaker@google.com> Expose AIRPLANE_MODE_ON to Instant Apps

Test: AIRPLANE_MODE_ON is accessible from Instant Apps
Bug:36444225
Change-Id: I9ab2c89844d2bd202924156a5e44ef40075fd467
ettings.java
1bed93742fc06ee285dcce0af926336f7f484d9e 20-Mar-2017 Chad Brubaker <cbrubaker@google.com> Expose Android ID to Instant Apps

Android ID in O is scoped per-app but persistent across
installs. Since Instant Apps can use the cookie to implement similar
functionality its fine to expose.

In a follow up the Android ID generation will be made to depend on the
cookie so that clearing the cookie also breaks the persistence.

Bug: 36385889
Test: Manual
Change-Id: I09b993bb4153179b80eebe0da8dac3fad7b9c779
ettings.java
6418d0b8905c0bbbe65f01d60d3925d197f26cd8 13-Feb-2017 Christine Franks <christyfranks@google.com> Add color temperature preference for Night Display

Bug: 32463283
Test: adb shell settings put secure night_display_color_temperature
XXXX, where XXXX is {0, 2900, 4000, 7000}, and the temperatures
outside the valid range are capped at the min/max, respectively.
Change-Id: I322c0a907b30742fc312a9938fd0c47f679e580b
ettings.java
c74d85fee82d5b938f54f96d8ddadb555d1e7a05 16-Mar-2017 Robin Lee <rgl@google.com> Make SYNC_PARENT_SOUNDS a @SystemApi

Since there is a CTS test depending on it which is currently hardcoding
the string. Let's not do that.

Bug: 30658854
Test: make full -j30
Change-Id: I6f6b1044ac664589b8fe76ced9961e80024b0b29
ettings.java
c4a6d29ac6d8e7652c599c495ea83844e118119f 16-Mar-2017 Clara Bayarri <clarabayarri@google.com> Merge "Provide ApplicationContext to Typeface for font requests"
98d1dba2abfc1a257a82e40962900506602648fb 16-Mar-2017 Casey Burkhardt <caseyburkhardt@google.com> Merge "Display magnification via the nav bar Accessibility Button"
5cac923d1e8f8027c0793ca4c3dc5d817493b069 16-Mar-2017 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Additional clarifications for the EXTRA_SENDER_ACCOUNT_HASH.

Bug 35920443

Test: make -j11 docs

Change-Id: I5c772912a0d9fa5e5c50c73a7a009cbb4d56705d
ontactsContract.java
bfd10ebcb44187064d74f5e502917f9d48e1c2e6 16-Mar-2017 Okan Kolak <okan@google.com> Merge "Voice Messaging Intent API."
74922c63e1dfba074aa9219034e48a161bdfba5b 13-Feb-2017 Casey Burkhardt <caseyburkhardt@google.com> Display magnification via the nav bar Accessibility Button

Adds support for invoking display magnification by first selecting
the Accessibility Button, then touching an area of the screen to
magnify.

Bug: 30960346
Test: Manual
Change-Id: Ifd8a355562f204182e34bd37f71a3637d85cf0e1
ettings.java
ff221613ec1c328489a303491e1aa88850e4a273 15-Mar-2017 Clara Bayarri <clarabayarri@google.com> Provide ApplicationContext to Typeface for font requests

We were using a generic context that caused crashes for
the content providers.

Bug: 34657204
Test: manual, calling getCallingPackage() from the provider
doesn't crash anymore.

Change-Id: I2b61e6510d8c6647007987373d03ee5dc97c0889
ontsContract.java
4bd73c3f6223e0cc7d45e228a8678dea00274db4 14-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix whitespace."
9e9f86199ae919ded4658999d9c79ae434c32311 14-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS"
f24d7255c299e9b94cd14dab8344b93f90aac19b 14-Mar-2017 Donghyun Cho <donghyun@google.com> Merge "CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED"
058760737f91ee2f6fafd6a0058d15de096156bd 16-Feb-2017 Justin Klaassen <justinklaassen@google.com> Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS

Bug: 35356645
Test: adb shell am start -a "android.settings.NIGHT_DISPLAY_SETTINGS"
Change-Id: I8f725c4e4190e849d9160f09d2ca79f1987fc93a
ettings.java
813fb1e9bd3939366c2e54c371a5ed2c043ef5a0 10-Mar-2017 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Adding optional extras for specifying sender's account.

Bug 35920443

Test: make -j11 docs

Change-Id: I8460087a7e4059f8b73c57d96c20a06d3bd8029b
ontactsContract.java
227e6e838786535b2ed27d1280fa68cda393e8c2 13-Mar-2017 Ben Lin <linben@google.com> Fix whitespace.

Change-Id: Ie37dc21c629e1bccaed5e338bd8381aa82bc1aec
ocumentsContract.java
fa71ecb08aef3a7fd200de5a54f912f251ed16d1 13-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move battery percent constant to Settings"
bcf631d48bed2da32b59d550ee6ea34179fc83c1 10-Mar-2017 Evan Laird <evanlaird@google.com> Move battery percent constant to Settings

This switch is moving to system settings so it should also be declared
by Settings. Also changed the constant's name to make sense in the
System context.

Test: runtest systemui
Bug: 32539932
Change-Id: I7cce21b50702f31465328dd8faed3fbac47528ea
ettings.java
3e575956741704944f1608f0fec401aba06585f0 13-Mar-2017 Ben Lin <linben@google.com> Merge "Stop DocumentsContract from consuming Exceptions if app is targetting O or above."
c1fa9afbcd1cafd205d46b2fd0bdaadccb7d29ea 27-Dec-2016 Donghyun Cho <donghyun@google.com> CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED

Currently the system setting, HDMI_SYSTEM_AUDIO_ENABLED, is used to
store the latest system audio mode status so that TV can keep this
status over reboot. But because the name is a little confusing and the
behavior isn't intuitive, it is likely to use this in a wrong way.
This change renames this setting to HDMI_SYSTEM_AUDIO_CONTROL_ENABLED
and tweak the purpose of it. Now, it will act more like a switch for
System Audio Control feature, so user can disable or enable this feature
entirely. With this way, implementation of audio output option will
also become easier.

Bug: 31449672
Test: Tested on archer
Change-Id: Ice8717135272d4b86665a3452bfe7527c0d6c08b
(cherry picked from commit 7b7aa8fb31ccf0cd3f36162a52f080263dd89e77)
ettings.java
3eaef5434901971168a4488727e34855a118b132 13-Mar-2017 Tomasz Mikolajewski <mtomasz@google.com> Merge "Fix documentation for the Web Links API."
80274caf49f0b0d204693318facde0e9feb779bf 03-Mar-2017 Philip Quinn <pquinn@google.com> Add Secure setting for the assist gesture's sensitivity.

Test: make
Change-Id: I458419fce5ef092780220cdef99621d5eb251623
ettings.java
8ea8200fedb3b0b9d508289782cb2ba5d7fe0d5f 09-Mar-2017 Ben Lin <linben@google.com> Stop DocumentsContract from consuming Exceptions if app is targetting O
or above.

Test: Builds properly.
Bug: 36023174
Change-Id: I455d358672f35fbeb5678c965b25268229ed4882
ocumentsContract.java
ocumentsProvider.java
a2b2a290785f126bfd0ed24f9bb6856dc62bf9af 10-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow Font providers to return status codes"
bacf2352ab892724551431551ae973ae3b68db35 10-Feb-2017 Clara Bayarri <clarabayarri@google.com> Allow Font providers to return status codes

This was requested by the current users, need to state
that a font is unavailable (needs downloading) or that
the query is unsupported.

Also add tests :)

Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
Also CTS attached to topic
Bug: 35097775
Change-Id: Ib15bf4c70185d81a4c20426722eb44c4210771c2
ontsContract.java
642028fccd655d6c9dc8fd0865cd526c694993ab 10-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Replaced auto-fill by autofill to keep it consistent with API style."
05eb84582e92feedc893c482cecbaf3a6bc9b068 10-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Address comments from API council."
640f30a7763b0a4b80c767acb84c740aac04768b 07-Mar-2017 Felipe Leme <felipeal@google.com> Replaced auto-fill by autofill to keep it consistent with API style.

This change will affects 2 types of apps: autofill service implementations
and apps that use autofill APIs.

Since just the former is known to be used at the moment, we're not trying
to keep backward compatibility with the latter.

Bug: 35956626
Test: CtsAutoFillServiceTestCases pass
Test: android.provider.SettingsBackupTest pass

Change-Id: Ia720083508716deae9e887f9faa7ae7c5a82f471
ettings.java
fe0103861684fcf883b13ce9fb75dc321881b77a 09-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Updated javadoc for ACTION_MANAGE_EXTERNAL_SOURCES"
30d69eaf868d2c8a9440f49b9a611c40a9f1ac1d 08-Mar-2017 Lei Yu <jackqdyulei@google.com> Merge "Add BatterySaverPolicy for power save mode"
455e90add22835d0744fc0f5c2feb5fcaf03b28f 10-Feb-2017 jackqdyulei <jackqdyulei@google.com> Add BatterySaverPolicy for power save mode

The BatterySaverPolicy is designed to consolidate all battery saver
knobs into a central location. Usually it is consistent to
mLowPowerModeEnabled unless it gets different data for specific
service. By adding these knobs, we can effectively tune the battery
saver.

This cl sets up the framework for BatterySaverPolicy and updates
following service to get battery saver data from BatterySaverPolicy

1. GnssLocationProvider
2. VibratorService
3. WindowManagerService
4. BackupManagerService
5. SoundTriggerService
6. NetworkPolicyManagerService

Screen brightness will come in a following cl.

Bug: 34693888
Test: FrameworksServicesTests

Change-Id: I6b040e93391614b44d136a485faa4a332c396e51
ettings.java
84d11b4716818584d774b0100b5dc0cdcf04e1da 08-Mar-2017 Suprabh Shukla <suprabh@google.com> Updated javadoc for ACTION_MANAGE_EXTERNAL_SOURCES

Added an optional parameter that can be passed as data to directly open
the app specific page

Test: N/A

Bug: 35487166

Change-Id: Ib20fe902670d98d949c5776cd633c38a5332b751
ettings.java
1966cccd321b9f7342226cb09f210cbdb083a1de 08-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Keep Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED updated."
9925c6a7e703a1267aef47d4b17c494d1fedb162 06-Mar-2017 Jeremy Joslin <jjoslin@google.com> Keep Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED updated.

Make sure Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED reflects
the current active scorer state. When valid the setting will have a
value of 1, when invalid it will be 0 (or more
accurately not 1, see below).

Introduced a new valid setting value, -1, which indicates the feature
has been forced off.

Test: runtest frameworks-services -c com.android.server.NetworkScorerAppManagerTest
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 35896421
Change-Id: I271725f798e5d0acc7c08c79678dba5115f8faad
ettings.java
3c4be77db95ea716889568bde853be082e764da9 07-Feb-2017 Clara Bayarri <clarabayarri@google.com> Support non-system Font Providers

To do this, the developer must specify the set of certificate
hashes that represent the authority's app. This allows us to
verify that the authority we find is indeed the one intended
by the developer.

Bug: 35025705
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java
CTS attached to topic
Change-Id: I605f9a93bbca8705936ead08efb4a5b4fdcc4882
ontsContract.java
25e333cb3ca65dde8d3b448d119180918d2f7356 06-Mar-2017 Santos Cordon <santoscordon@google.com> Merge "Add VR_DISPLAY_MODE settings to be backed up."
f1d5540045e977d33123e3bcf2c7f54eb184471d 03-Mar-2017 Tomasz Mikolajewski <mtomasz@google.com> Fix documentation for the Web Links API.

Per API council feedback.

Test: None
Bug: 35812888
Change-Id: I18e7bf931a74772e315b359cf0d72d2129c0b90c
ocumentsContract.java
40d7b35fdd287c305cfdfef5d86dafc12b980f5c 03-Mar-2017 Garfield Tan <xutan@google.com> Address feedback from API council for INITIAL_URI.

Test: It builds.
Bug: 35813138
Change-Id: Ia30032fb9c556547a8249c2d2ec96cf4cc5a7d90
ocumentsContract.java
b690b4de06385a821aed3442e10058986c03badc 02-Mar-2017 Garfield Tan <xutan@google.com> Address comments from API council.

Test: Code builds and tests pass. Also some manual tests around ESP.
Bug: 35813037
Bug: 35812990
Change-Id: Ia9d3a3964e9a83d0c1c08e5db4c2e231504aa99a
ocumentsContract.java
ocumentsProvider.java
5d3b37b947ea55901cd19bd058f5379736c31c47 01-Mar-2017 Garfield Tan <xutan@google.com> Remove DocumentsContract.ACTION_BROWSE.

Test: It builds.
Bug: 35760993
Change-Id: Icdd125d6e6329f703c4682b47b5b9fb80d7e1f27
ocumentsContract.java
5bce494b93f83bec7fd59ce8e11774264631fcc4 27-Feb-2017 Santos Cordon <santoscordon@google.com> Add VR_DISPLAY_MODE settings to be backed up.

Test: use adb backup to backup/restore and verify value is carried over.
Bug: 34437367
Change-Id: Icefc6bb1ae2f6410580214d0fe4fe4bd40038f46
ettings.java
a11d0b18ec9275ed8d633e4508074226b7372474 16-Feb-2017 Julia Reynolds <juliacr@google.com> Api review feedback.

Change-Id: I4628fcec43ec5dbacd208401d9ace2dbe658da64
Fixes: 35812235
Fixes: 35812334
Fixes: 35812179
Test: make
ettings.java
d3c8193093741bababda8ff3f0090d72a2860480 07-Feb-2017 Amin Shaikh <ashaikh@google.com> Setting for RecommendedNetworkEvaluator cache TTL

Bug: 19948759
Bug: 33694078
Test: runtest frameworks-core
Change-Id: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
ettings.java
a585180c75df228e3138a46eb8c7bef38603e6da 25-Feb-2017 Jack Yu <jackyu@google.com> Merge "Added a settings for CMAS message broadcast"
3902857290e1f32365a0945c0245f329d5d278db 23-Feb-2017 Jack Yu <jackyu@google.com> Added a settings for CMAS message broadcast

This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Change-Id: Ic29be11b641f185219146d7fbb05561f5907ea76
ettings.java
798cccb659321dc60ef4dab87e64834b6c891620 23-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't copy ringtones when profile sync goes off"
7af9a7443162d78ea6b1df5fc7a6362d7e6e72b5 20-Feb-2017 Robin Lee <rgl@google.com> Don't copy ringtones when profile sync goes off

Experimentally, it makes more sense to more people to have the parent
setting as an overlay not a concrete thing.

Test: make cts -j30 && cts-tradefed run cts --module CtsDevicePolicyManagerTestCases --test 'com.android.cts.devicepolicy.ManagedProfileTest#testRingtoneSyncAutoDisableRingtone' </dev/null 2>&1
Bug: 34730524
Change-Id: I5f804713def9e54921b90e4f5cea742ba8aaa685
ettings.java
0e9acb53bdd0386358218c798501b71e0d28d972 23-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add "Use open Wi-Fi automatically" setting."
5840f4238fa51442dcc87a651e4f7ac39171f29f 23-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Add a flag to enable/disable the cache quota calc."
f764962b0d58008530955b70af1ebf68beb8d4ba 22-Feb-2017 Sudheer Shanka <sudheersai@google.com> Merge "Revert "Ensure network connectivity on app start.""
bc9a8e6f5ba404261c6a7a7e49a529661e05e910 03-Feb-2017 Amin Shaikh <ashaikh@google.com> Add "Use open Wi-Fi automatically" setting.

- Add constant in NetworkScoreManager for the meta-data key required
for NetworkRecommendationProviders to specify which package provides
this feature.
- Add Setting to specify which package is enabled for providing this
feature.

Bug: 34773276
Test: make
Change-Id: I3f8209c21b8b219c242650f97ba407b5985a5250
ettings.java
c9d9407e8ec10a56a4caa3c84122d1c6a1fedaab 22-Feb-2017 Sudheer Shanka <sudheersai@google.com> Revert "Ensure network connectivity on app start."

This reverts commit 27e693158398059d00ff20e60640cb105e255625.

Change-Id: I4c41ce7c1839d3b91931bc8a8f117f32bf6cd381
ettings.java
9857ab99e417a55141bc8362a5b85d336cfc11f4 22-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unhide root MIME type."
0f703e64e3e111048acb7abf5792d589ce1e3eb7 22-Feb-2017 Daniel Nishi <dhnishi@google.com> Add a flag to enable/disable the cache quota calc.

Bug: 34770259
Test: ServicesTests
Change-Id: I74155203c4802b1a3b89117859002bf40b1ca435
ettings.java
fb924fa981f79dac7719a35b63fcfae81bdd421a 22-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'"
0b1356ff1f3cd2fd06d770af1ad466822173cc3a 21-Feb-2017 Suprabh Shukla <suprabh@google.com> Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'

The previous change was reverted as it broke work profile provisioning.
Clearing binder calling identity before calling into settings provider
should fix the issue.

Test: runtest managed-provisioning
Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: Manually tested that work profile is inflated with expected values
of install_non_market_apps

Bug: 33947615
Bug: 35590590

Change-Id: I3c31a73fef0c25c0e682e18f637272adad39b28d
ettings.java
385912ee2d78e0e557704cfd5f8c7dbe2b7fd280 10-Feb-2017 Phil Weaver <pweaver@google.com> Deprecate "speak passwords" setting.

This will now be controlled by individual accessibility services.
We'll provide the password information to them, and they can
present or hide the information as it makes sense for their users.

Password information was anyway provided when a headset was
connected.

Bug: 28139568
Test: Manually verified that TalkBack now speaks passwords on the
lock screen and in text views. Since I'm removing functionality
that didn't have tests, it's tricky to have specific tests.
Change-Id: Ic3c724ccce5762ee9dcd9e7dcbd4eae6734dd05e
ettings.java
a7e852ef7b22f2588bf46f8781d39f54e7d48c4c 21-Feb-2017 Garfield Tan <xutan@google.com> Unhide root MIME type.

Caller can then call setDataAndType(Uri, String) to indicate it's
passing a root URI for a performance shortcut.

Test: It builds.
Bug: 34944388
Change-Id: I4de49171b822d19f1794c7c413078a78396a7c03
ocumentsContract.java
830d4b422db2f2ae4af17403ccd1d34fd6f0bd6f 21-Feb-2017 Jeff Sharkey <jsharkey@google.com> Merge "Clear cache space when allocating bytes."
d5d5e926eb8ff2541a845d6a5657cee5e5c6e7b6 21-Feb-2017 Jeff Sharkey <jsharkey@android.com> Clear cache space when allocating bytes.

Fleshes out remainder of allocation implementation, where we offer
to clear cached data to satisfy the allocation request. To prevent
abuse, we never let apps allocate into either the minimum cache space
or low storage space.

Clean up quota APIs to require the caller to pass in the path they're
interested in, and we resolve the underlying filesystem for them.

Defines settings that can be used to tweak the minimum cache space.

Test: builds, boots
Bug: 34690590
Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4
ettings.java
5663e051099cdf442bc3316a88e1a7600c58aaaa 20-Feb-2017 Victor Chang <vichang@google.com> Revert "Modifying dpm.setSecureSetting call for install_non_market_apps"

This reverts commit 2e7d6d64b9b16ea27634bc0e8843717a465142b4.

Bug: 35590590
Fix: 35590106
Test: runtest managed-provisioning
Test: manual verified that work profile can be inflated
Change-Id: Ie780b94053e65bca2f96b32055937c0c9e8beae8
ettings.java
dd903d4f0ee4cebcef03e54f5b07f4bcc14c5dbc 18-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Modifying dpm.setSecureSetting call for install_non_market_apps"
2e7d6d64b9b16ea27634bc0e8843717a465142b4 10-Feb-2017 Suprabh Shukla <suprabh@google.com> Modifying dpm.setSecureSetting call for install_non_market_apps

Starting from O, install_non_market_apps is deprecated and will not be
checked by the package installer. Device admin apps should be using the
user restriction instead.
Since on managed profiles, the default value blocked install from
unknown sources, the system will set the user restriction on behalf of
the profile owners (if the profile has one).
For non-managed profiles, the user had access to the settings to change
the value of install_non_market_apps. So going forward, any request to
change it's value by dpm#setSecureSetting in such users is going to be
ignored.

Test: Manually tested that:
1. For a profile with PO, when install_non_market_apps was set to 0,
user restriction is set on upgrade
2. For a profile with PO, when install_non_market_apps was set to 1,
user restriction is not set on upgrade
3. After upgrade, newly created managed profiles with PO have user
restriction set

Bug: 33947615
Change-Id: I063e9ee608b52086ffdf8ed2b24e2928574c58cd
ettings.java
8c9a6b0089ff712df4e06454ade1443b77a4a9f4 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Revert "Per user setting for instant app"""
a093a89b17d398ff2f32997ecaca13295485f35a 17-Feb-2017 Santos Cordon <santoscordon@google.com> Merge "Back up VR screen brightness setting."
bd9dd552e494c63bf8932443d2a0ab52c779fd88 13-Feb-2017 Santos Cordon <santoscordon@google.com> Back up VR screen brightness setting.

'adb help backup' to see how to do backup/restore to a file.

Verified value did not backup prior to change and that it did afterward.

Bug: 34437367
Testing: Set to 30%, do backup, set to 100%, do restore, should be 30%.

Change-Id: I43ce31bf50bc4608e8ce9b87ea0bdb83bac52e61
ettings.java
d2bd42e736804aeed687fb82bba707ba8819b8a1 17-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add Secure setting for the assist gesture."
be0b8896d1bc385d4c8fb54c21929745935dcbea 15-Feb-2017 Todd Kennedy <toddke@google.com> Revert "Revert "Per user setting for instant app""

This reverts commit be9ffa15af9e1906e9ffb505768328d62d4a3793.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: Ib21321cf157a79890de487060a093840f7182047
ettings.java
28217a4ca271c262dd00167728d510a60c2bdabf 15-Feb-2017 Winson Chung <winsonc@google.com> Ensuring that there are per-user last stack active times.

- This fixes an issue where the last stack active time would be clobbered
when switching between users. With the policy in the phone/stack
recents, this is fine, but with the grid recents, it no longer only
applies when out of the historical window, so it is always wrong (it
would normally be wrong if switching back from another user after the
historical time of six hours).

This CL will migrate the last stack active time to a per-user secure
setting, which will be used going forward.

Bug: 35375206
Test: On the Ryu, launch some tasks, switch users, launch more tasks, and
return to the original user

Change-Id: I9941526de5d1dd52d1f9003e795995389064b19d
ettings.java
c3f157492d440c8d95befecfd4148117940ff82c 14-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix colon-separated string lists"
806456f0978218f96a9bf24b80a281e9c5e68805 14-Feb-2017 Phil Weaver <pweaver@google.com> Fix colon-separated string lists

The first item in such lists was improperly generated and
included type information.

Bug: 35209951
Test: Looked at enabled_accessibility_services after performing
accessibility shortcut

Change-Id: I715ea6276a23e421e4c0611a4b66af5566db90bc
ettingsStringUtil.java
89c376ed66ba65b7878719efbbc0ec603441f520 14-Feb-2017 Ricky Wai <rickywai@google.com> Merge "Change "Long pressing work mode in quick settings" to managed profile settings"
c4cc308c85b8bc5cc97b7ab412c4b2ea30524527 14-Feb-2017 Philip Quinn <pquinn@google.com> Add Secure setting for the assist gesture.

Test: make
Change-Id: I21c88c0b91043db3de46830044c434a21a0e6cc0
ettings.java
27e693158398059d00ff20e60640cb105e255625 23-Jan-2017 Sudheer Shanka <sudheersai@google.com> Ensure network connectivity on app start.

Bug: 27803922
Test: cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests
Change-Id: Ifd7a52924cd6bbc809c9a3f92d52fe2df09b7fe2
ettings.java
e767e087d571d877ae16bf8b3f288ce76ad28eb0 10-Feb-2017 Daniel Nishi <dhnishi@google.com> Merge "Add storage management days to retain to settings for backup."
b23cd8ece5dcd584959ccee52e25f4eb2fdc7084 10-Feb-2017 Makoto Onuki <omakoto@google.com> Merge "Stop using IntentService and use async receiver (2/2 - contract)"
71b60b86e30e29d344747acf75f6098a99814343 10-Feb-2017 Julia Reynolds <juliacr@google.com> Merge "Let apps link to noti settings and vice versa."
b63830a7241a0bb9cb7b3d512138713449b62af2 10-Feb-2017 Makoto Onuki <omakoto@google.com> Stop using IntentService and use async receiver (2/2 - contract)

Also:
- Set FLAG_RECEIVER_INCLUDE_BACKGROUND for ACTION_EVENT_REMINDER
- Remove the wake lock; with goAsync() now it's not needed.

Test: Manual test with: adb shell am broadcast --receiver-include-background -a android.intent.action.EVENT_REMINDER -d content:
Bug 35207106

Change-Id: I9e456f473f13b71df6e0dd1a1abdb0df8c26e6c7
alendarContract.java
c6ba07d3b68d6e451e65f402cdd7ea4201ec4cdb 09-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove downloads backup related Settings."
c9eb3c46511a80a7ad9d297d232c579886d55a97 08-Feb-2017 Jeremy Joslin <jjoslin@google.com> Add a new setting to store the network recommendation app.

Test: manual
Bug: 35095406
Change-Id: I3d0b7f3b977c0862969d61a4e46f12151eb15417
ettings.java
2619b5e6633bce05422a40205811bdc55a7abb2c 09-Feb-2017 Julia Reynolds <juliacr@google.com> Let apps link to noti settings and vice versa.

Test: manual
Change-Id: I3536099fdea1c7a8ddbe38b223fc99b9fef9197a
ettings.java
c12a9bd14858d241c46d148de026edcc3a2f9f47 08-Feb-2017 Daniel Nishi <dhnishi@google.com> Remove downloads backup related Settings.

Bug: 32338407
Test: Coretest doesn't fail
Change-Id: Idc28db30af9228e57c6bc775a15d703fbe25798a
ettings.java
444eb97c0c430b626eef8fd57cbe6ff15f1a5474 06-Feb-2017 Eugene Susla <eugenesusla@google.com> Merge "CompanionDeviceManager"
6ed45d8cd33c297e608aba94fc1f61dace7a7cca 22-Jan-2017 Eugene Susla <eugenesusla@google.com> CompanionDeviceManager

This introduces an API for apps that support companion devices to provide a
more streamlined flow for pairing and setting up the device

Bug: 30932767
Test: Using a toy app, invoke the newly introduced API (CompanionDeviceManager),
and go through the flow. Ensure filtering works, and device is returned to
the calling app. Ensure the calling app can pair to the selected device.
Change-Id: I0aeb653afd65e4adead13ea9c7248ec20971b04a
neTimeUseBuilder.java
ettingsStringUtil.java
5483cea67a60d3c5012fa7120f62e6eacc6ad3ba 02-Feb-2017 Justin Klaassen <justinklaassen@google.com> Remove experimental twilight-based automatic brightness

Bug: 31602449
Test: verified adaptive brightness no longer varies with twilight with
"brightness_use_twilight" set to "1".

Change-Id: I6b5f7310020b2128c2b292414a205b6052270a0a
ettings.java
38bb832e7d1238d85760de75efa17e8bc2e2ccec 01-Feb-2017 Ricky Wai <rickywai@google.com> Change "Long pressing work mode in quick settings" to managed profile settings

Test: Long pressing work mode can go to managed profile settings now.

Bug: 34189626
Change-Id: Ic2260aa9dbf9e42f7e3c532aca329d2ba3cd1421
ettings.java
2de4925f5cc64aeb92e02a8f740d3ff20f36dddd 24-Jan-2017 Lorenzo Colitti <lorenzo@google.com> Add an API hint for metered multipath traffic.

This allows an application that knows how to provide seamless
network connectivity (e.g., using QUIC multipath) to find out if
doing so is desired.

Test: builds, boots, runtest frameworks-net passes.
Bug: 34630278
Change-Id: Ic7fd0b9e1cd879fdfaf84009d7125391895e9087
ettings.java
465099ce2d00433305a9662fd86499a649d4e106 01-Feb-2017 Makoto Onuki <omakoto@google.com> Merge "API change for: Revive CONTACTS_DATABASE_CREATED, and..."
9deb6b5a3a1ee9ed0eaa646e918ac131fb50b19c 31-Jan-2017 William Mee <williamm@google.com> Merge "Added a new wifi_badging_thresholds setting to Settings.Global"
096d304ae3d85c1bfcda1a1d9cd4eb13d0815500 31-Jan-2017 Svetoslav Ganov <svetoslavganov@google.com> Add instant cookie APIs

This change adds APIs for instant apps to store cookie data
that is presisted across instant installs and across the
upgrade from an instant to a standard app. Standard apps
can use the cookie APIs but when they are uninstalled the
cookie is also deleted. The cookies are kept longer than
the instant apps as they are much smaller - 16KB by default.
We can change the cookie size via a system setting i.e.
after we ship we can increase size if needed.

We also add internal APIs to surface information about
installed and uninstalled instant apps which should be
used for showing them in the UI. For this puporse we store
the icon, permissions, and label of uninstalled apps. If
the app is re-installed we drop this meta-data but keep
the cookie around. If we have cookie data stored and the
signing cert of the app changes when it gets re-intalled
we wipe the cookie.

Test: CTS tests pass; hiddent APIs tested manually

Change-Id: If145c0440cc61a5303e2cbb70228d235d36037a5
ettings.java
ad3190beccf2369947bfb8b3cf8a33eccd6819ad 30-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow ephemeral apps to access SOUND_EFFECTS_ENABLED"
2a61537b392c838f1515464d8a7442cd9e4466a4 30-Jan-2017 Makoto Onuki <omakoto@google.com> API change for: Revive CONTACTS_DATABASE_CREATED, and...

Remove STATUS_CHANGE_NOTIFICATION_CONTENT_URI.

Bug 33390320
Test: adb shell am instrument -w -e size small com.android.providers.contacts.tests
Test: adb shell am instrument -w -e size medium com.android.providers.contacts.tests
Test: adb shell am instrument -w -e size large com.android.providers.contacts.tests
Test: cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -m CtsContactsProviderWipe

Change-Id: I2162aa846c089b6979b68afcca4897dfc1dabade
ontactsContract.java
bb656a2dbeb05ca6a395ed6fde60cb10fe01fc77 30-Jan-2017 Chad Brubaker <cbrubaker@google.com> Allow ephemeral apps to access SOUND_EFFECTS_ENABLED

Test: Manual
Change-Id: I9e574f35b5f007cf62665a60f075fc8ee5096158
ettings.java
eb70ad490aaa84d1707de86655671a1af93accc6 27-Jan-2017 Daniel Nishi <dhnishi@google.com> Add storage management days to retain to settings for backup.

Bug: 34440059
Test: None
Change-Id: I308e9c6c4536f11ab55e7b3d367b6cee5c5a5bea
ettings.java
6321bdce1846f5fd20a7add51d53639a1a175e33 27-Jan-2017 Daniel Nishi <dhnishi@google.com> Add a flag to enable/disable the diskstats logging service. am: 88e45dcd1f
am: 2297fd2946

Change-Id: I15391057ae632e36f05231a1d188dd01c1e5da90
2297fd29462c73045a2902d53a36f9488015cb56 27-Jan-2017 Daniel Nishi <dhnishi@google.com> Add a flag to enable/disable the diskstats logging service.
am: 88e45dcd1f

Change-Id: Ie822eea68dc0a02c8fad1a838ff9bf23f738106f
6c72a326bb944840bdf587a11dc4ce54855c821e 26-Jan-2017 Soonil Nagarkar <sooniln@google.com> Merge "Add background location throttling whitelist support."
88e45dcd1f8827f1eec399b7a0e1b38d44dd7747 25-Jan-2017 Daniel Nishi <dhnishi@google.com> Add a flag to enable/disable the diskstats logging service.

Bug: 34704947
Test: Service tests
Change-Id: I224cfb38682f1fd2bd33750b664bd3aacdaa4bde
ettings.java
5c7700f8b73e7076de738605621359bfd577a9b0 26-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Create Settings Flags to Disable Scoring UI changes."
b3ecbe1fa108d21b3daec789b4186a5fe4b56ff8 26-Jan-2017 Jeff Schumacher <jeffschu@google.com> Merge "Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi"
e869d83ea8558e70682c4c42674097040c7eb966 26-Jan-2017 Sundeep Ghuman <sghuman@google.com> Create Settings Flags to Disable Scoring UI changes.

When disabled, this will prevent badges from being shown in the status
bar or wifi picker as well as prevent access points in the picker from
being rearranged based on ranking scores.

Fix missing permission dropped from previous CL to run
NetworkControllerWifiTest and refactored tests to enable new setting.

Bug: 34712533
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
and runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java

Change-Id: I79c97f2205ebb70c0f7f5b1f66f7207055e5769b
ettings.java
825f69a5e6204c2cb8c6cfc58ad00336770e3027 19-Jan-2017 songchenxi <songchenxi@google.com> Add a hidden flag to control Settings UI

This flag is to enable link to permission in location settings UI
Test: A new string value added

Bug: 34400189
Change-Id: Ie2adeba9634a0e2426b28683da09ad1765b25a3d
ettings.java
bcf3b70371a98878bcad088914a886df4217f555 26-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding an api for apps to check whether they can install apps"
51a403525f5305d02029d86568c17d58f19ca870 26-Jan-2017 Ta-wei Yen <twyen@google.com> Merge "Add getVisualVoicemailPackageName() Make NMR2 voicemail columns public"
dc53009845037adb721126889ce37d41fab046fa 26-Jan-2017 Jeff Schumacher <jeffschu@google.com> Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi

Bug:33022750
Test: Manual
Change-Id: Ia01a5ac3ea4ca0c59516ec47185740869aeb984a
ettings.java
aef2513c7157a28236d097a81fe74d7ba6b710c9 24-Jan-2017 Suprabh Shukla <suprabh@google.com> Adding an api for apps to check whether they can install apps

Some apps may want to check whether they are trusted to install apps on
the device, so they can prompt the user to go to settings and mark them
as trusted before they do an intensive operation like downloading an
apk.

Test: cts-tradefed run cts -m CtsExternalSourcesTestCases

Bug: 31002700
Change-Id: Icd9d04daa157e6733decba245ec251ce4acd4122
ettings.java
cd62f3aed68b35ac6e1f4f7b0594c695663fc8ba 25-Jan-2017 William Mee <williamm@google.com> Added a new wifi_badging_thresholds setting to Settings.Global

Requirement is to have a defined default, to be able to override
using GServices, and to access from both platform and GMSCore.

Bug: 34052475
Test: compiles
Change-Id: I1aaa146ea654c3fcef3fdad5084f7bea9fd341ed
ettings.java
c5d458930ca4f69cf2d976ffd65a8679328de62c 25-Jan-2017 Dianne Hackborn <hackbod@google.com> Merge "Add some new experiment constants for activity and power manager."
142cbdd474539626db7e4cb875c055df158b467b 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Expose intents for launching channel settings."
2f1f7e8d68a5408b0fd1967b15b0766ba3318f5d 24-Jan-2017 Soonil Nagarkar <sooniln@google.com> Add background location throttling whitelist support.

Test: manually

Change-Id: I6754fbb8f5eaf7bec3e469a9f25ac4a77965ea50
ettings.java
9ba0c613a5ee23d70b87bb65cb4638c5afeec6b1 25-Jan-2017 Julia Reynolds <juliacr@google.com> Expose intents for launching channel settings.

Test: manual
Change-Id: I86e12b0ed6b60660b9f6bd1015c186897418560e
ettings.java
0ef403e53e2762d077750dd0a50b73c2125cadb0 25-Jan-2017 Dianne Hackborn <hackbod@google.com> Add some new experiment constants for activity and power manager.

Activity manager now has constants, starting with two: bg check
and process limit.

Power manager now has constants, starting with one: controlling
disabling of wake locks from cached processes.

Test: manual

Change-Id: I05db42e2104e9d31584f85251412df2d5efb34b6
ettings.java
b87834838270798119bc02f22a6f467d91db56c4 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't mark query+cancellationSignal final."
13c8c869d209e540e5c41f3be43ece77e784efa9 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Enabled backup/restore of Wifi Wakeup and Network Recommendations Settings."
0bb25299ca01561eb3a8e69b042f8f16dc440882 24-Jan-2017 Steve McKay <smckay@google.com> Don't mark query+cancellationSignal final.

Bug: 34517733
Test: None.
Change-Id: Iff281c676b928859c0e2e975d9f0cfabb36479d9
ocumentsProvider.java
d3902a342e3e152e82f4d86e109ce88ed4da08ec 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Introduce Fonts Content Provider"
42f5f2943952bf849b8e31484afe3a9b7d9aeebe 20-Jan-2017 Stephen Chen <stewchen@google.com> Enabled backup/restore of Wifi Wakeup and Network Recommendations Settings.

Bug: 34430370
Test: make
Change-Id: I8838eace4cac6a02d580d73a5700ca4e3f368bf6
ettings.java
e4910cc70aa5cfffd5cd4c57b89c6123bbc50e27 24-Jan-2017 Andrew Sapperstein <asapperstein@google.com> Add Settings.Global configs to high temp warning.
am: 63db9254cf

Change-Id: I63de4c9648158d8b19ed5d7eac1e75ca9b68d355
0a26aa9b31647de85122a47349d66fd67171a688 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev
b0812a30499376e09e2deb5995e998c629f24985 20-Oct-2016 Clara Bayarri <clarabayarri@google.com> Introduce Fonts Content Provider

This change exposes to developers the ability to request fonts
from a provider via Typeface.

Until further security is implemented, only system apps can
provide fonts.

Test: See topic for CTS change
Change-Id: Ic7d5e2648340ee561f4d4c2d73a673748d2af076
ontsContract.java
589d3673dc1887440cef210f1ae0c2ed6e89fdbd 24-Jan-2017 Android Build Merger (Role) <android-build-merger@google.com> Merge "Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4 am: e696c3d911"
ea0a8bddec51d5d35f3650f080b16cf87c208ddd 24-Jan-2017 Ta-wei Yen <twyen@google.com> Fix typo in the IS_OMPT_VOICEMAIL field. am: 57365441d4
am: e696c3d911

Change-Id: I380e1a15f1c13009b876dd0347ef811cd3f70aed
d2b93464da0e45a6acadb2e8effc74ecf263d05a 24-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding AppOps setting for entering PiP when hidden."
59fda9e2175742d86fa982600dd1cf09d8151180 21-Jan-2017 Winson Chung <winsonc@google.com> Adding AppOps setting for entering PiP when hidden.

- In O, apps can request to enter picture-in-picture when the user
effectively leaves their activity for another task by default. To
prevent this from being abused, we need to add a setting for the
user to disable this behavior per-package in the system level.
When disabled, any activity from that package will only be able
to enter picture-in-picture when it is visible and resumed.

Bug: 34520451
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testAppOpsDenyPipOnPause
Change-Id: Ib3a993e99ffb071706c6b7d3fb1c882b74acc5d7
Signed-off-by: Winson Chung <winsonc@google.com>
ettings.java
e696c3d9114c301b78be760700f3c570eb70701f 24-Jan-2017 Ta-wei Yen <twyen@google.com> Fix typo in the IS_OMPT_VOICEMAIL field.
am: 57365441d4

Change-Id: I060ed862bd929875848753d77e6fc3ff8a48e32c
63db9254cf29236517b7493a6167022050f38939 21-Jan-2017 Andrew Sapperstein <asapperstein@google.com> Add Settings.Global configs to high temp warning.

Test: manual
Bug: 34480261
Merged-In: Icfd08c1c7dae456920b3978918ee01469e1dec95
Change-Id: I9ed444dfb89f86d94f3a0db699324318f5bf78d0
ettings.java
e33525615e890f13e242bf55f5c220f117ba6250 21-Jan-2017 Andrew Sapperstein <asapperstein@google.com> Add Settings.Global configs to high temp warning.

Test: manual
Bug: 34480261
Change-Id: Icfd08c1c7dae456920b3978918ee01469e1dec95
ettings.java
57365441d41ab914ef3e19044ec537bfb64d442c 23-Jan-2017 Ta-wei Yen <twyen@google.com> Fix typo in the IS_OMPT_VOICEMAIL field.

This cause the voicemail content provider to crash on query.

Bug: 34610526
Change-Id: I561ae6616fe66ea49630fa6c4eb9280fdc24b153
Fixes: 34610526
Test: VoicemailContentProviderTest
oicemailContract.java
086ab84878b4439576c147792595aafb283beff3 23-Jan-2017 Soonil Nagarkar <sooniln@google.com> Merge "Add background location throttling to LocationManagerService"
17a040d48e4879a7f1304ff01e631710f8f24184 21-Jan-2017 Amin Shaikh <ashaikh@google.com> Merge "Add Setting for curating saved open networks." am: b3b665de22 am: 2aec2f7a9c
am: 835db7f6b6

Change-Id: I5a8e3a4fc0198dbb7bf88e2bbcf0152b0b82a7fc
835db7f6b62b8417b0facbe018c8fe610ef4acd4 21-Jan-2017 Amin Shaikh <ashaikh@google.com> Merge "Add Setting for curating saved open networks." am: b3b665de22
am: 2aec2f7a9c

Change-Id: If61be9f8e71bb89a8714c3f4a5eb10b04982cdf7
2aec2f7a9c0c8240fab29a43bff16cfa73a627ae 21-Jan-2017 Amin Shaikh <ashaikh@google.com> Merge "Add Setting for curating saved open networks."
am: b3b665de22

Change-Id: I3c65f39dc4f38f1c6c00a240f519cb0b0cf1a916
8533622ae7dfced7f33909cb206d78b9035f2476 20-Jan-2017 Amin Shaikh <ashaikh@google.com> Add Setting for curating saved open networks.

Bug: 34392914
Test: make
Change-Id: Icd17753af6b0efdb35d1060b16029a53fdf4e605
Merged-In: Icd17753af6b0efdb35d1060b16029a53fdf4e605
ettings.java
885019151dd3749d9c461970cbe92d9534a1c12f 21-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add Setting for curating saved open networks."
812188ad06660ec1b3b2b027ccfa291335021664 20-Jan-2017 Ta-wei Yen <twyen@google.com> Add getVisualVoicemailPackageName()
Make NMR2 voicemail columns public

getVisualVoicemailPackageName() and the IS_OMTP_VOICEMAIL is used by
the voicemail UI to filter out voicemails not from the current visual
voicemail app, for example legacy telephony voicemails or previous
default dialer. These voicmails all represent the same source and are
likely duplicates.

BACKED_UP and RESTORED are used by the system dialer voicemail back
up and restore feature in NMR2. Since there are no API bump, it was
hidden and made public in this CL instead. See ag/1803794

ARCHIVED is used to prevent locally saved voicemails from being
deleted during a sync because it does not exist on the server.

Bug: 34463609
Fixes: 34463609
Bug: 32414216
Test: cts test android.provider.cts.VoicemailContractTest
android.telephony.cts.VisualVoicemailServiceTest

Change-Id: Iec1e499e763ad92f4a822715b6022e9cbe557c11
oicemailContract.java
6ba5dccd50d098d8ae1c5fac8e83be7f61c70018 20-Jan-2017 Chad Brubaker <cbrubaker@google.com> Merge "Add ephemeral whitelist for SettingsProvider"
97bccee6d640a62c78676b5e2a1eb3bbe29072af 06-Jan-2017 Chad Brubaker <cbrubaker@google.com> Add ephemeral whitelist for SettingsProvider

Currently the list is small, only whats required to launch a basic
ephemeral app. It will expand in followup CLs.

Note that the goal of this is not to completely shut down all ways that
an ephemeral app could learn the value (or part of) of a setting not in
the set. The goal is to limit the raw access to settings to a small set that
includes settings that ephemeral apps should have access to directly
System APIs that are exposed to ephemeral apps may allow for
ephemeral apps to learn the value of settings not in the directly
exposed set and that is OK and _not_ a security issue.

This contains a hack to support code in system system server that in
the process of a binder transaction reads a setting using a
ContentReceiver with a system package name. This was previously not an
issue but causes an exception to be thrown from getCallingPackage which
reading a setting now calls.

Bug: 33349998
Test: Boots, functions as normal for regular apps.
Test: cts-tradefed run cts -m CtsProviderTestCases -t
android.provider.cts.SettingsTest

Change-Id: Icc839b0d98c725d23cdd395e8cb76a7b293f8767
ettings.java
2d7a496e0abb1730e301e9d36157e1deadefd825 20-Jan-2017 Ta-wei Yen <twyen@google.com> Add voicemail backup/restore columns am: f48d5ce630
am: 1f296f7793

Change-Id: I38e6e33438500a0815bb1b87dc21617213f42637
1f296f7793bb65cbf5e87325c65ae369f341e7d3 20-Jan-2017 Ta-wei Yen <twyen@google.com> Add voicemail backup/restore columns
am: f48d5ce630

Change-Id: I2dd76b4107b9e7c75595fa3c49dcda74cebd2a09
c1a1348b998afd706093e86433f3438c86630772 20-Jan-2017 Ta-wei Yen <twyen@google.com> Merge "Add voicemail backup/restore columns" into nyc-mr2-dev
2f34b1a67835307c9d8b6d966e0ae216ce4cc6ca 16-Dec-2016 Suprabh Shukla <suprabh@google.com> Adding app op and intent action for external sources

Added an app op to control which package and uid can install apps on the
device and an intent action to launch the settings fragment.

Test: Will include in follow up CL, tracked in b/33792674

Bug: 31002700
Change-Id: Ic073495759d9867f8001a6c712e402398c53dfc9
ettings.java
f48d5ce63095524724f084183d97453f943ff453 20-Jan-2017 Ta-wei Yen <twyen@google.com> Add voicemail backup/restore columns

BACKED_UP and RESTORED are required for dialer voicemail backup/restore
feature for N MR2. As there are no API bump the fields will be hidden
in NMR2. These fields will be made public in O.

ARCHIVED and IS_OMTP_VOICEMAIL is not used for NMR2, but added in
advance to avoid multiple database upgrades.

IS_OMTP_VOICEMAIL will be used in O to dedupe multiple apps implementing
VisualVoicemailService. All voicemail inserted by the service should
set this field to 1. The UI should only display voicemails with this
field set to 1 when the source_package is also the current active
VisualVoicemailService, as other sources represents the same source of
truth(the carrier) but is outdated.

For example, the query should be
WHERE (is_omtp_voicemail == 0) OR
(is_omtp_voicemail == 1 AND source_package = "current.vvm.package")

Test: VoicemailProviderTest
Bug: 34463609
Change-Id: I0f3e58fabff2102adf5bc29d81dac46c7e71d410
oicemailContract.java
0027121964eae632309980cb9ae5f2173e491f43 20-Jan-2017 Amin Shaikh <ashaikh@google.com> Add Setting for curating saved open networks.

Bug: 34392914
Test: make
Change-Id: Icd17753af6b0efdb35d1060b16029a53fdf4e605
ettings.java
9971919b6403161a1a9ba81f0e343bebce46c0e8 20-Jan-2017 Jeremy Joslin <jjoslin@google.com> New setting for recommendation request timeout. am: 44e2b84b27 am: 820ad03ba8
am: 00ccf31dbd

Change-Id: If14705a0e4c41dbd40ae90b46b37e5ad2b6e5c4b
00ccf31dbdd8e6837f087cfe932337234264caf9 20-Jan-2017 Jeremy Joslin <jjoslin@google.com> New setting for recommendation request timeout. am: 44e2b84b27
am: 820ad03ba8

Change-Id: Ib4999e09073c74bb4594ce2e744032d3349dce94
820ad03ba8c91cd7647a11edc3df2fe51ec55e0e 20-Jan-2017 Jeremy Joslin <jjoslin@google.com> New setting for recommendation request timeout.
am: 44e2b84b27

Change-Id: I8fd6e0c75d22d0f83db414a389c4d8caaf745469
7decfb6b76f73505946a3da32faa7b36d77e87c4 18-Jan-2017 Soonil Nagarkar <sooniln@google.com> Add background location throttling to LocationManagerService

Test: manual tests
Change-Id: I27f060d2f5338a8750dcbe5cbe4cfadb4edb0464
ettings.java
44e2b84b27dea139796299528e5cdd3abc4640f7 04-Jan-2017 Jeremy Joslin <jjoslin@google.com> New setting for recommendation request timeout.

Added a new global setting, NETWORK_RECOMMENDATION_REQUEST_TIMEOUT_MS,
to control the maximum amount of time a recommendation request can
take.

Updated the NetworkScoreService to monitor the value and to update
its cached copy on observed changes.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34060959
Change-Id: I6ff80178440794e4a5da39ee7b5164621316e7bd
Merged-In: I7650ee024e53dbc856cf20d7520a6eb252c73bdf
ettings.java
03e59f6e3f4c2d9e8ebbbdcaac8fe6a2a9758dde 19-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Merge "Add Web Links API to framework."
cf31656cf402844b283610e131e54124078c7799 24-Oct-2016 Tomasz Mikolajewski <mtomasz@google.com> Add Web Links API to framework.

Test: CTS in a separate CL.
Bug: 30152711
Change-Id: Ia256422d50110d6adcd1984f6481ab825dbf30b1
ocumentsContract.java
ocumentsProvider.java
106fe732050f3d75a08c3bc48fdbcf84cac20b41 23-Nov-2016 Phil Weaver <pweaver@google.com> New accessibility shortcut.

Removing accessibility gesture from power dialog.

Adding new accessibility shortcut activated by holding both volume
buttons down. This shortcut is configurable by OEMs and users to
work with any installed accessibility service.

Bug: 30160335

Test: Added automated testing for the EnableAccessibilityController.
Manually toggled various services on and off.
Change-Id: I546bd29a2ab1ba64a0cbfd11e2004cdf85ee6cfd
ettings.java
ca66f302a0aa660d7e5cd0f94828304d9a84eede 18-Jan-2017 Makoto Onuki <omakoto@google.com> Merge "Add ProviderStatus.DATABASE_CREATION_TIMESTAMP"
729a87b09ea844f8c7c23a45e636db2dca2cc7c7 11-Jan-2017 Makoto Onuki <omakoto@google.com> Add ProviderStatus.DATABASE_CREATION_TIMESTAMP

Bug 33390320
Test: Adding a constant only; "m -j32"

Change-Id: Ie601978afd1f6da0e3fecd50e64d8af1f84a94af
ontactsContract.java
cb594f363dd10a203a90fd5ee2a02f44dbc40454 04-Jan-2017 Jeremy Joslin <jjoslin@google.com> New setting for recommendation request timeout.

Added a new global setting, NETWORK_RECOMMENDATION_REQUEST_TIMEOUT_MS,
to control the maximum amount of time a recommendation request can
take.

Updated the NetworkScoreService to monitor the value and to update
its cached copy on observed changes.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34060959
Change-Id: I7650ee024e53dbc856cf20d7520a6eb252c73bdf
ettings.java
7d13f29b128b1cc572025a5f248559bb50c4be3a 17-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add constant for package verifier state."
9343f57d8e0a53014a373de3af5e9fe9433b8493 12-Jan-2017 Shahriyar Amini <samini@google.com> Add constant for package verifier state.

Add a constant to be used as the key to obtain package verifier state from
Settings.Secure.

Bug: 31002801
Test: runtest --path frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/SettingsProviderTest.java

Change-Id: I57b635e212dfb2906eb439afeca0647b4781c087
ettings.java
fac595ae56badaee5ad52f1d47aaa98d8bafb432 13-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add activity action for Configure Wi-Fi settings."
07323a98242b45a47a3ae9a34fdca98d6bdbcd06 12-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add structured sort data to ContentResolver.query."
29c3f68cfab3dd4f7f96e54be8eabd9a4d677c5e 16-Dec-2016 Steve McKay <smckay@google.com> Add structured sort data to ContentResolver.query.

Update DocumentsProvider to override
ContentProvider#query(Uri, String[], Bundle, CancellationSignal);
Added an otherwise unneeded import to pass doc check
on DocumentsProvider.

Bug: 30927484
Change-Id: I295c21f53901d567455286f22439f21d22a8a25a
Test: Build and run. Test from DocsUi.
ocumentsProvider.java
f85ab8306f21f1cf62a1083a7f4caedc1bcff7cf 11-Jan-2017 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.
am: d6a5660a2c

Change-Id: If371f485471eb1ab0a3e07964c197cb9b8ef1c9f
a00c2356009e1f93c1f86974048e49b69e4ab7a4 11-Jan-2017 Santos Cordon <santoscordon@google.com> Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev
e89ba5222c0fb84da85adabcb0d98e3a60180a04 11-Jan-2017 Santos Cordon <santoscordon@google.com> Merge "Add Brightness setting for VR Mode."
3107d29c8f6f40b98533978a7e19e5c328f73d24 21-Sep-2016 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Test: runtests frameworks-core
Test: Turn vr mode on and change brightness (should remain separate from
normal brightness)

Bug: 30984614
Change-Id: If3c3e81b592e0c6fd037e5783559683e5cb58379
ettings.java
1ba3ac92818701c89e031e40215d89cad38cbc34 05-Dec-2016 Sean Stout <sstout@google.com> Add AlarmClock#SHOW_TIMERS

Test: run cts -m CtsContentTestCases
Bug: 31228110
Change-Id: Ia291a890b83996d6edf7b75afa52e44557a9117b
larmClock.java
d6a5660a2c9f70c9a363d388a091542a378d57d1 21-Sep-2016 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Change-Id: If3c3e81b592e0c6fd037e5783559683e5cb58379
ettings.java
30162889e9cd29bf416b915d3cea63c066a075e7 07-Jan-2017 Amin Shaikh <ashaikh@google.com> Add activity action for Configure Wi-Fi settings.

Bug: 34135303
Test: manual
Change-Id: Ib9e36b614534f3c45c9261cb328850be4ee25ab1
ettings.java
3a1ff62e5a7d885a7fa84b469a276b6ec5a39510 29-Dec-2016 Ruchi Kandoi <kandoiruchi@google.com> nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.

Bug: 32881476
Test: Manual; backup, change settings, restore

Change-Id: Ibc31b23f632c50a2c7120734fc96e7d855df062e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
ettings.java
bc1d78606c40470e6064a1323d64489535d5553b 06-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b am: 388980d88f am: c1db6c05d0
am: bbc00c877f

Change-Id: I1a84b4ce4215136f30ce7936581ee80230c8abbc
bbc00c877f61252eff29c7545c298811fc4f58db 06-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b am: 388980d88f
am: c1db6c05d0

Change-Id: I874bc8b70d34ce2b579ff34eda0fd90c0284661d
c1db6c05d03cb6e6b81bb23cc7869b4034df6883 06-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b
am: 388980d88f

Change-Id: I8d5498492cae8ffe9048422720427855eaad5ca8
388980d88f4ac3fcafc582ebb151095cc6ed3ad1 06-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."
am: cc4203221b

Change-Id: I4add3ce1cf3170aff887865302964b4425094692
104e0b43995bc30c30aad1d76e12fe5e58b81e53 29-Dec-2016 Ruchi Kandoi <kandoiruchi@google.com> nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.

Bug: 32881476
Test: Manual; backup, change settings, restore

Change-Id: Ibc31b23f632c50a2c7120734fc96e7d855df062e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
ettings.java
bb983d20d2cacebdf81efe88f8ff4aa7304fbff7 06-Jan-2017 Julia Reynolds <juliacr@google.com> Use internal volume controller and status bar.

Remove code that let these components be replaced by external
processes.

Bug: 33006669
Bug: 34106436
Test: manual. reboot device, play music, change volume,
view notifications
Change-Id: I458f11537ab9db6f23735487513815553004613f
ettings.java
ccd496043dfc703cf9ee2011cee4b3534beed7b7 05-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Merge "Update API documentation about virtual files."
ca9eed431525a98e781e3ba99abce6612ae972db 28-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add VisualVoicemailService"
7e5cff01679ad79e037e0694a6290db4a1d3fcce 27-Dec-2016 Selim Cinek <cinek@google.com> DO NOT MERGE Revert "Add Brightness setting for VR Mode."
am: 966045d070

Change-Id: Ib1be78a47f5947f4fcc6eabc2f6af76523690ed9
cbb057d3daee8e784a4bf2909f7a39033cb7b479 27-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "DO NOT MERGE Revert "Add Brightness setting for VR Mode."" into nyc-mr2-dev
966045d0702ca36df6e8c1e4597aaeb37436ca2f 27-Dec-2016 Selim Cinek <cinek@google.com> DO NOT MERGE Revert "Add Brightness setting for VR Mode."

This reverts commit 84980c7a93e93e7134c0198212e222e11eb5ccbd.

Bug: 33895226
Bug: 30984614
Change-Id: I2652e77512bc870190e2172a629abac9341b2c4f
ettings.java
7e96654f1b2e7c97f52cdc68d343139a5186d54d 27-Dec-2016 Ian Pedowitz <ijpedowitz@google.com> Revert "Add Brightness setting for VR Mode."

This reverts commit c7e853f51110b9b6893d526f1f7340b2966f928a.

Bug: 33895226
Bug: 30984614
Change-Id: Icca320e02651b7dd7b8db84ab414f41edee32760
ettings.java
84334e25cd96916b5497a584748d0dc8e8968280 23-Dec-2016 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.
am: 84980c7a93

Change-Id: I4a9c3db7bdf73e673cf8b2409404339df94086c2
cfdf27f24bf58c6dce0ed842b351edc032511a7c 23-Dec-2016 Santos Cordon <santoscordon@google.com> Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev
84980c7a93e93e7134c0198212e222e11eb5ccbd 21-Sep-2016 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Merged-In: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
ettings.java
21f8870abc5aae673fc4d2ae683151b84f430b21 22-Dec-2016 pkanwar <pkanwar@google.com> DO NOT MERGE: Add UI toggle to control connections to carrier networks.
am: 57f383709b

Change-Id: Ieb3aa3a0755bcd16759d91852980bcdf5373eaa8
c7e853f51110b9b6893d526f1f7340b2966f928a 21-Sep-2016 Santos Cordon <santoscordon@google.com> Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
ettings.java
57f383709b765e531f9bf7f521d93d2a2fee9f4a 22-Dec-2016 pkanwar <pkanwar@google.com> DO NOT MERGE: Add UI toggle to control connections to carrier networks.

Bug: 31003437
Change-Id: I6cf32ae4d376eb65f80492da0922dbecb762c9da
ettings.java
37d37f0fa9f033d74b3c8d01bd0a0538359e2071 22-Dec-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Settings recovery support"
e080da9ee027fcd030aa92ea26fd0ed9f031674f 22-Dec-2016 Svetoslav Ganov <svetoslavganov@google.com> Settings recovery support

This change allows the system to perform iterative reset
of changes to settings in order to recover from bad a
state such as a reboot loop.

To enable this we add the notion of a default value. The
default can be set by any package but if the package that
set it is a part of the system, i.e. trusted, then other
packages that are not a part of the system, i.e. untrusted,
cannot change the default. The settings setter APIs that
do not take a default effectively clear the default. Putting
a setting from a system component always makes it the
default and if the package in not trusted then value is
not made the default. The rationale is that the system is
tested and its values are safe but third-party components
are not trusted and their values are not safe.

The reset modes from the least intrusive are: untrusted
defaults - reset only settings set by untrusted components
to their defaults or clear them otherwise; untrusted clear
- clear settings set by untrusted components (or snap to
default if provided by the system); trusted defaults - reset
all settings to defaults set by the system or clear them
otherwise.

Also a package can reset to defaults changes it made to
the global and secure settings. It is also possible to
associate a setting with an optional token which can then
be used to reset settings set by this package and
associated with the token allowing parallel experiments
over disjoint settings subsets.

The default values are also useful for experiment (or
more precisely iterative tuning of devices' behavior in
production) as the stable configuration can be set to
the "graduated" safe defaults and set the values to the
experimental ones to measure impact.

Test: tests pass

Change-Id: I838955ea3bb28337f416ee244dff2fb1199b6943
ettings.java
1bf4a521443543779afbf540709244eb1c736bea 21-Dec-2016 Fyodor Kupolov <fkupolov@google.com> Merge "Revert "Settings recovery support""
e7b416e4ed3338e19a4096b32130ad12b0cdc328 21-Dec-2016 Ben Lin <linben@google.com> Merge "Add DocumentsContract#ACTION_DOCUMENT_SETTINGS and Documents#FLAG_SUPPORTS_SETTINGS."
457608986ca2e44cbe1677523d1892f1d8c8f985 21-Dec-2016 Fyodor Kupolov <fkupolov@google.com> Revert "Settings recovery support"

This reverts commit aa31697424064f823019c068d66fac704e5a2fc1.

Fixes: 33799277
Change-Id: I438e97c6a81512c673f20f6a01d3b9715c2dbf8a
ettings.java
c8ae220ea574be60c98e40650fa245c31c04d21c 21-Dec-2016 Julia Reynolds <juliacr@google.com> Merge "Expose hidden constant."
e886405dbee28726eca4d4fcb5dd73a6aaa68c12 20-Dec-2016 Julia Reynolds <juliacr@google.com> Expose hidden constant.

Change-Id: If86f23ada967047dc63256d9c2675e1c2b229e48
Fixes: 29103412
Test: n/a
ettings.java
aa31697424064f823019c068d66fac704e5a2fc1 07-Nov-2016 Svet Ganov <svetoslavganov@google.com> Settings recovery support

This change allows the system to perform iterative reset
of changes to settings in order to recover from bad a
state such as a reboot loop.

To enable this we add the notion of a default value. The
default can be set by any package but if the package that
set it is a part of the system, i.e. trusted, then other
packages that are not a part of the system, i.e. untrusted,
cannot change the default. The settings setter APIs that
do not take a default effectively clear the default. Putting
a setting from a system component always makes it the
default and if the package in not trusted then value is
not made the default. The rationale is that the system is
tested and its values are safe but third-party components
are not trusted and their values are not safe.

The reset modes from the least intrusive are: untrusted
defaults - reset only settings set by untrusted components
to their defaults or clear them otherwise; untrusted clear
- clear settings set by untrusted components (or snap to
default if provided by the system); trusted defaults - reset
all settings to defaults set by the system or clear them
otherwise.

Also a package can reset to defaults changes it made to
the global and secure settings. It is also possible to
associate a setting with an optional token which can then
be used to reset settings set by this package and
associated with the token allowing parallel experiments
over disjoint settings subsets.

The default values are also useful for experiment (or
more precisely iterative tuning of devices' behavior in
production) as the stable configuration can be set to
the "graduated" safe defaults and set the values to the
experimental ones to measure impact.

Test: tests pass

Change-Id: I8c23b145d4f8ee0de2f29dedaa4641ac59343d6a
ettings.java
485d6dec93579d2186a3ecd57c2b5af4ce8e622b 16-Dec-2016 Ta-wei Yen <twyen@google.com> Add VisualVoicemailService

VisualVoicemailService can be implemennted by the default dialer to
provide a visual voicemail client similar to the OMTP visual voicemail
spec.

Other APIs such as the SMS filter and hidden text SMS sending are made
public and consolidated into the service interface.

Test: make. CTS tests in a follow up CL
Change-Id: Ib5e9aa15fc098f4c13b15e5dbecf9ab646e0e400
oicemailContract.java
bd036d827d6b8948d77908c75a1bdb1c8970ee90 16-Dec-2016 Ben Lin <linben@google.com> Add DocumentsContract#ACTION_DOCUMENT_SETTINGS and Documents#FLAG_SUPPORTS_SETTINGS.

Test: Constants introduction only, no new methods.

Bug: 33668998
Change-Id: Ie322acb931d9267306ec67c99f013f4118e92cd0
ocumentsContract.java
fbbf03a3c2c5132423e84a5d5b19efe836db8139 13-Dec-2016 Hugo Benichi <hugobenichi@google.com> DO NOT MERGE IpConnectivityMetrics reads buffer size in settings
am: ff0b58627f

Change-Id: I5c433faa0d43202ae1169fdba4c42c09dd9c17dd
ff0b58627f8a0c54c057d828eaee36dd0cc68d76 19-Oct-2016 Hugo Benichi <hugobenichi@google.com> DO NOT MERGE IpConnectivityMetrics reads buffer size in settings

Test: IpConnectivityMetricsTest passes. Also manually changed the new
setting and verified the buffer size is as expected after flushing the
buffer.
Bug: 32198637

(cherry pick from commit 05686dbb6b965eb1a54591d2ed2334337886c6ee)

Change-Id: Ie7ca1638533479601c5983bb6e54705003561b6c
ettings.java
ea93fe75396465b26429cfe1c1dcfadf7351354f 02-Dec-2016 Steve McKay <smckay@google.com> Replace ContentProvider SQL args w/ Bundle & Constants.

Test: cts-tradefed run cts-dev -m CtsContentTestCases
Bug: 30927484
Change-Id: Idb9dbc2b80896e9f8474a0db71353b7a3810d597
ettings.java
8c9e4b68f09c92f7f1d26916bbac7014c45f5d49 19-Oct-2016 Hugo Benichi <hugobenichi@google.com> DO NOT MERGE: IpConnectivityMetrics reads buffer size in settings

Test: IpConnectivityMetricsTest passes. Also manually changed the new
setting and verified the buffer size is as expected after flushing the
buffer.
Bug: 32198637

(cherry picked from commit 05686dbb6b965eb1a54591d2ed2334337886c6ee)

Change-Id: Iefbeac3a688b260fb3f92dfe0bfd9db28e26749d
ettings.java
099f95181d5fdf905d4a77c9a364c458030064b1 09-Dec-2016 Tomasz Mikolajewski <mtomasz@google.com> Update API documentation about virtual files.

To say that virtual files must have at least one streamable type.

Test: None
Bug: 33463773
Change-Id: I9094686cb95ee0af1c01b2bf88550cd3bbfe572d
ocumentsContract.java
ocumentsProvider.java
b92aa5bdfde63e56f1e1e63fbe913638c440ffba 08-Dec-2016 Lorenzo Colitti <lorenzo@google.com> Merge changes from topic 'framework-net-aosp'

* changes:
DO NOT MERGE: [CS] Remove timeout event after first available
DO NOT MERGE: ApfTest: tag tests with @SmallTest or @MediumTest
DO NOT MERGE: Unbreak TetherInterfaceStateMachineTest.
DO NOT MERGE: Move the connectivity tests to frameworks/base/tests/net.
DO NOT MERGE: De-guava BroadcastInterceptingContext and move it to testutils.
DO NOT MERGE: Move FakeSettingsProvider to a common location.
DO NOT MERGE: ConnectivityServiceTest: mark flaky test as such
DO NOT MERGE: Add option to skip and avoid captive portals.
DO NOT MERGE: ApfFilter: use elapsedRealTime for RA lifetime
DO NOT MERGE: Do not synchronize boolean reads/writes
DO NOT MERGE: ApfFilter: systematically use u8, u16, u32 getters
DO NOT MERGE: Add fuzzing tests to ApfFilter RA processing
DO NOT MERGE: Support timeouts for requestNetwork() invocations.
DO NOT MERGE: Silence the obnoxious MTU 0 error message that occur when no MTU is specified for a given network.
1f64f3fd14caca5ace9bfdbb036e3711d5484de3 12-Oct-2016 Calvin On <con@google.com> DO NOT MERGE: Add option to skip and avoid captive portals.

Test: ConnectivityServiceTest updated with test cases.
Test: Manually tested against att-wifi in B42.
Bug: 30222699

(cherry picked from commit be96da11ccb5dd500f920c3ba90d350857293b3d)

Change-Id: I90c0f97fe0e41de4059bceae7b56ab3a70145696
ettings.java
4aef203cb84ea81eca5e24814a298c9a912b094a 08-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Clarify doc on NETWORK_RECOMMENDATIONS_ENABLED and WIFI_WAKEUP_ENABLED." am: faf3aa697f am: fe9a20c980 am: 609711bbd5
am: 357483f41e

Change-Id: I4cb930396651b86d9a786b9b0abe807c300cd526
609711bbd5379a01f701d736d48964537a5a50df 08-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Clarify doc on NETWORK_RECOMMENDATIONS_ENABLED and WIFI_WAKEUP_ENABLED." am: faf3aa697f
am: fe9a20c980

Change-Id: I7bba392e349525dd55bb8b251554e81967424136
faf3aa697fc569180cc029c09affe08ade9c5e82 08-Dec-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Clarify doc on NETWORK_RECOMMENDATIONS_ENABLED and WIFI_WAKEUP_ENABLED."
13b50bde4b5fef5cf843b6550646238132ee7be5 07-Dec-2016 Matthew Fritze <mfritze@google.com> Merge "Update SearchIndexablesContract"
af534b111ccdb8c7c963ed49438332a7a05dcedc 06-Dec-2016 Matthew Fritze <mfritze@google.com> Update SearchIndexablesContract

Add Payload and PayloadType to the SearhIndexablesContract to support
the new Search architecture in Settings Search.

Change-Id: I07e411ead11d420c19c737fad79d459f44288681
Test: SettingsUnitTests
Bug: 33390556
earchIndexablesContract.java
f1b75647a3d8b51abdc3064445db4f6e40617cb8 07-Dec-2016 Stephen Chen <stewchen@google.com> Clarify doc on NETWORK_RECOMMENDATIONS_ENABLED and WIFI_WAKEUP_ENABLED.

Bug: 32913919
Test: n/a
Change-Id: Ied075bdcc1ebb8f0a4bc0d3bf9758fa6719ce0b9
ettings.java
79046ce039b973025180eac2d19ec5e72bdaa55b 06-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED flag." am: 70ae1bf4db am: 45fdf32038 am: e70ef235fb
am: 70889ff69f

Change-Id: If076123dc3874615b058bbddfd3c4810f54b303d
e70ef235fbe4f38ab2c76da45027b16fe4635210 06-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED flag." am: 70ae1bf4db
am: 45fdf32038

Change-Id: I141248962fc0ce710b6860f3f67ca156ecdab46e
45fdf320381637ed60b6a78a0af58c8e9ce8f60a 06-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED flag."
am: 70ae1bf4db

Change-Id: If3d13f94a131188ddbebc7a35c82ea357b37e022
46bea2e685915fe45d372389b0a90815e6067feb 06-Dec-2016 Bartosz Fabianowski <bartfab@google.com> Link from Quick Settings to Enterprise Privacy page

This CL updates the information shown in Quick Settings when a device
is managed by a Device Owner and adds a "learn more" link that takes
the user to the Enterprise Privacy page in Settings.

Bug: 32692748
Bug: 25779452
Test: runtest --path frameworks/base/packages/SystemUI/tests &
runtest --path frameworks/base/core/tests/coretests

Change-Id: I8cbb6f2bb5c6da29ae581b6dcf7a01b1a4f2af2b
ettings.java
6a0c879de30e8e1a3ad23748a4ba9dde10bba75c 17-Nov-2016 Stephen Chen <stewchen@google.com> Add Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED flag.

This flag enables the NetworkScoreService.requestRecommendations API,
defined in b/32909424.

Bug: 32913919
Bug: 32909424
Test: runtest --path
frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/SettingsProviderTest.java

Change-Id: If592e4a2ec574929aa0c829c39ad4ce9b0317805
ettings.java
c837ebb2c155bd2e0cd6a3203051770c7746ce4b 03-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag." am: d758ce1586 am: d738140b8d am: a4d7d45df9
am: 50905a474f

Change-Id: Idc7bc3e35343b06adebb035cc00b555db54289c5
a4d7d45df936ec35e9663e15da8abc0e6432ceb5 03-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag." am: d758ce1586
am: d738140b8d

Change-Id: Icb8eb81b2021ee12eccd9158974353120228e7c0
d738140b8d8868c0c295fdab97b3a5998c9aa2f7 03-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag."
am: d758ce1586

Change-Id: I1bf1effbb635d57980728555587e8056f630edb9
6dbcefeea6356860c5b2c765240cdc9ff904f649 02-Dec-2016 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE. Retain DownloadManager Uri grants when clearing. am: 6eee8e37fd
am: 6795459a80

Change-Id: I2ca4cd7315a5e22c0bc53519b3705248ebf924ed
6795459a80c536e9c7858e5b7fb2519c795506f3 02-Dec-2016 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
am: 6eee8e37fd

Change-Id: I431b334bbf3580f51fc8e31da28c9c9d6f5944ee
6eee8e37fd06bd47dd19b8503bc30cc8ccaf72a7 01-Dec-2016 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE. Retain DownloadManager Uri grants when clearing.

As part of fixing a recent security issue, DownloadManager now needs
to issue Uri permission grants for all downloads. However, if an app
that requested a download is upgraded or otherwise force-stopped,
the required permission grants are removed.

We could tell DownloadManager about the app being stopped, but that
would be racy (due to background broadcast), and waking it up would
degrade system health. Instead, as a special case we now only
consider clearing DownloadManager permission grants when app data
is being cleared.

Bug: 32172542, 30537115
Test: builds, boots, app upgrade doesn't clear grants
Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
(cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)
ownloads.java
8ca96c1f3c89181119919eaab3b81322d3988e66 17-Nov-2016 Stephen Chen <stewchen@google.com> Add Settings.Global.WIFI_WAKEUP_ENABLED flag.

Set the flag default to false. This addition is for the
Android Wi-Fi Snooze project:
https://docs.google.com/document/d/1zewDZ6Ne-qH7zKFDtcSx55f9jPauZwT5VvOs1uVNXf8/edit#

Bug: 32920000
Bug: 32913119
Test: runtest --path
frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/SettingsProviderTest.java

Change-Id: I597d5dd643e8044315cc6d7553ae5740485a0552
ettings.java
6d7e85cb6b21e027a677ed2e207c8ff73ed35e24 01-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings." am: 6e54c31f0a
am: 6ef2ec0d80

Change-Id: I2f36c6d7dc284605b490f9793f17d713bc622063
6ef2ec0d80fc7a02e61f2847f77736ce7b271437 01-Dec-2016 Stephen Chen <stewchen@google.com> Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings."
am: 6e54c31f0a

Change-Id: Ie3b4a3ed5e2858ce2b3446c300c984875201205c
afd52a7ad42d36e04cfc2a1d3d1e717d4a58169d 30-Nov-2016 vinodkrishnan <vinodkrishnan@google.com> Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"
am: 7b62df8556

Change-Id: I7c8d922fb125bf786990642679ebdd17ba589a54
7b62df8556ff6febd8137b9a8bcd755b1f93a1f9 30-Nov-2016 vinodkrishnan <vinodkrishnan@google.com> Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"

This reverts commit 8500f26d51e2ba0de7b6cd18bec5f85e5ca40e1d.

Change-Id: I6408fa3f307d7611443e26b24d3876c1a1f92fdc
ettings.java
767e453cdfd1a8acbab526536675f8b09c9dbcc2 15-Nov-2016 Stephen Chen <stewchen@google.com> Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings.

Exposes an activity that deep links into saved network Settings.

Bug: 32738882
Test: gts test
Change-Id: Ic639b7543439bbe52941fa58a74a767a4a0f8a76
ettings.java
b1df48d32632d0ba5a2389fb9fad2943dcb55562 23-Nov-2016 Baligh Uddin <baligh@google.com> Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger

Bug: 32849428

* goog/cw-f-dev: (98 commits)
Revert "Catch KeyStoreException for setting profile lock"
Fix createConfirmDeviceCredentialIntent for wear for CTS.
Fix default dialog background colour for watch devices.
Catch KeyStoreException for setting profile lock
Add cross-links between FINE and COARSE location permissions. bug: 25371600
Fixed a bug with the emergency affordance in multi user
Zygote: Additional whitelists for runtime overlay / other static resources.
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Zygote : Block SIGCHLD during fork.
colors: add missing accent_material_{700,50} resources.
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Zygote : Block SIGCHLD during fork.
DO NOT MERGE ANYWHERE Revert "DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous"
...

Change-Id: I63468da5bfa21ed9ac5985bbdbf3a61d4c389aa0
fdd3cb50815bfa58d3a2dde12fa88cddb7a3d314 22-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings."
28d89393140143dc5c7847b10fcbd3aa741e2eab 15-Nov-2016 Stephen Chen <stewchen@google.com> Add ACTION_WIFI_SAVED_NETWORK_SETTINGS to Settings.

Exposes an activity that deep links into saved network Settings.

Bug: 32738882
Test: gts test
Change-Id: Idfd45a8ab424a5508012675058e3498ebbc5e228
ettings.java
2250d56a0b47b93016018340c8f4040325aa5611 08-Nov-2016 Sudheer Shanka <sudheersai@google.com> Rename MountService to StorageManagerService.

Bug: 30977067
Test: Existing tests pass
Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
ettings.java
368d703d7d75799d6e00da1d42035a0bc36861e6 15-Nov-2016 Garfield Tan <xutan@google.com> Merge "Add internal support to convert a file system path to document URI."
92b96ba8fc51fab4f146900089a82415c01103aa 01-Nov-2016 Garfield Tan <xutan@google.com> Add internal support to convert a file system path to document URI.

Test: Manual tested with a new sample app in development/samples.

Bug: 30261615
Change-Id: I498a22b248fbc55b33d3efb4aa3183207cfb7bab
ocumentsContract.java
ediaStore.java
e07641d4fbdd0528c18305213e861a6e1aff4a3b 10-Nov-2016 Dianne Hackborn <hackbod@google.com> Start implementing background restrictions for eph apps.

This implements the additional intended path for checking
allowed background operations, APP_START_MODE_DISABLED, which
doesn't allow an app to launch in the background at all.

Also change the semantics of delivering broadcasts to manifest
receivers to always restrict those, not changing based on
whether the app is currently idle. This is the desired intended
behavior for apps as they explicitly update to work with
bg check.

And now that we have ephemerality associated with the uid state
in the activity manager, we can propagate this through the
relevant callbacks in IUidObserver so things watching these
changes can immediately determine whether they should do their
more aggressive shut down work for the uid rather than having
to walk through all their state looking for package associated
with that uid and whether they should be shut down.

Also remove the "lenient" bg check mode, since that was
just an early experiment that we won't actually use.

Add a new "make-idle" activity manager command to immediately
put a uid into the idle state (if possible) to make it easier
to test.

Test: manually against an eph app
Change-Id: I43a138ff281f69a9251d3f29ab6e13f48cff8ad6
ettings.java
67c8e1e61f289ff51382c372452071eebca2104c 09-Nov-2016 Julia Reynolds <juliacr@google.com> Merge "Ranker --> Assistant."
00f42c3b28b6535274ff94fa6ed1a076d5f1d734 09-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Initial implementation of the Auto-Fill Framework classes."
d0ac9d3bac179d2787ebfc11fe0d9c3d7e6d425e 09-Nov-2016 Jeff Sharkey <jsharkey@google.com> Merge "Detect non-oneway calls leaving system_server."
77b2cc920fb27adaa156b463dccb0bd1b5c87eb9 08-Nov-2016 Julia Reynolds <juliacr@google.com> Ranker --> Assistant.

Rename ranker to assistant and make some of the methods public.
Delete the ext services ranker and restore the listener-type
lifecycle to the assistant.

Test: manual. add a notification assistant and verify it gets
assistant and listener callbacks.

Change-Id: Ia3406c8c14d923426c1b8a6d8b5187efe64c31c3
ettings.java
5381aa4b585f3fa2a315d88e910111173e2ef77d 13-Oct-2016 Felipe Leme <felipeal@google.com> Initial implementation of the Auto-Fill Framework classes.

This CL provides the initial, skeleton implementation of the Auto-Fill
Framework classes:

- Defines the system service and app-based
AIDL (IAutoFillManagerService.aidl and IAutoFillService.aidl respectively).
- Defines the 'adb shell cmd' interface.
- Defines the permission required to access the service.
- Registers the service on SystemServer.
- Adds the code to bind the app-specified service to system_server.
- Defines the service class (AutoFillService) required by providers.
- Implements the initial startSession() method.

This is still a very early, "work-in-progress" change:
- It has many TODOs.
- It does not have unit or CTS tests yet.
- It does not provide a callback method to auto-fill the fields.
- In fact, it has a lot of TODOs.

Despite these adversities, it can be tested by following the steps
below:

1.Create an app with a service extending AutoFillService

2.Implement the onNewSession() method

3.In the manifest:
- Listen to android.service.autofill.AutoFillService intents.
- Require the android.permission.BIND_AUTO_FILL permission.

4.Explicitly set the app as an autofill-service by running:
adb shell settings put secure auto_fill_service MY_APP/.MY_SERVICE

5.Start a session against the top activity:
adb shell cmd autofill start session

BUG: 31001899
Test: manually built and ran it

Change-Id: I00f4822159b31ddddba8f513e57c4474bc74eb89
ettings.java
e5195dd17c5e1d8538049a5282c0d988988f63c8 20-Oct-2016 Todd Kennedy <toddke@google.com> Implement new API

This is the first swack at the new, 2-phase API. Adds the new methods
to the resolver service and makes the split name explicit on the
installer intent.

The 2nd phase will not yet be invoked; that's coming in a follow-on
change.

Bug: 25119046
Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"'
Change-Id: I2df6fa64d46f17a86a2e32b19417632c594fb10f
ettings.java
b44ae61e01b1ca9cda789903f09ad771500534c1 08-Nov-2016 Garfield Tan <xutan@google.com> Add an extra to pass initial location URI for file choosers.

Test: It builds.

Bug: 30031881
Change-Id: I64e9392b0aec75baee13039642316f7e50494567
ocumentsContract.java
0a17db1cc5942ea000ca87bb72853de57a15ec64 04-Nov-2016 Jeff Sharkey <jsharkey@android.com> Detect non-oneway calls leaving system_server.

To protect system stability, any Binder calls leaving the
system_server must carefully be performed using FLAG_ONEWAY (or
the 'oneway' verb in AIDL) which prevents the call from blocking
indefinitely on the remote process.

In this CL, the system_server uses the new Binder.setWarnOnBlocking()
method to enable detection by default for all remote Binder
interfaces. It can also use Binder.allowBlocking() to allow
blocking calls on certain remote interfaces that have been
determined to be safe.

This CL adds the 'oneway' verb to several interfaces and methods
where it should have been added, and marks a handful of system
ContentProviders as being safe to call into. Also, we assume that
any services obtained from ServiceManager are part of the core
OS, and are okay to make blocking calls to.

Test: builds, boots, runs with minimal logs triggered
Bug: 32715088
Change-Id: Ide476e120cb40436a94b7faf7615c943d691f4c0
ownloads.java
bdd90c8e5ed2f70cc51cd875681da12652392490 04-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unhide findPath() API. Add JavaDoc to related features."
a46f009bbfc693319290c273b4e647dea2eebe10 04-Nov-2016 Phil Weaver <pweaver@google.com> Merge "Add tests for MagnificationController."
0b3cf666d01e20b4801df71a67fbfac6f4b6f713 31-Oct-2016 Garfield Tan <xutan@google.com> Unhide findPath() API. Add JavaDoc to related features.

Also remove comments that disallow folders in search results.

Test: It builds.

Bug: 30948740
Bug: 32512923
Change-Id: I72706b69163aa98ee9568939e09e5048b6e8f9f8
ocumentsContract.java
ocumentsProvider.java
89e3ffc66c5a05f188ff9748b48abebc247f664b 19-Sep-2016 Phil Weaver <pweaver@google.com> Add tests for MagnificationController.

Also refactoring the class to make it easier to test and
chaning behavior where the current behavior seemed poorly
defined.

Refactoring:
- Combined all handlers into one.
- Simplified animation to use a ValueAnimator.
- Eliminated ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
setting. Move rest of settings reading into mockable class.
- Move callbacks from WindowManager into the main class.
- Pulled out my instrumented Handler from the
MotionEventInjectorTest into its own class so I can reuse
it.

Behavior changes:
- Always constraining out-of-bounds values rather than
refusing to change them.
- Constraining offsets on bounds changes. We previously
left them alone, even if they were out of bounds.
- Keeping track of the animation starting point. We were
interpolating between the current magnification spec
and the final one. This change means the magnification
animates to a different profile.

Test: This CL adds tests. I've also run a11y CTS.

Bugs: 31855954, 30325691

Change-Id: Ie00e29ae88b75d9fe1016f9d107257c9cf6425bb
ettings.java
24b4a13b8633366fdee38eea08c1005daefa3cbb 02-Nov-2016 Garfield Tan <xutan@google.com> Merge "Iteration on findDocumentPath() API."
fe9368afe82f3009c7653e97df931073860b42ec 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE am: 631768d814 am: d94c280a7f am: c412914520
am: fb70d77f64

Change-Id: Ia56f6ca01a4d92b24f192102917950a10b6cb05d
fb70d77f64da2cb36035eb6ac61ed36011990eb7 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE am: 631768d814 am: d94c280a7f
am: c412914520

Change-Id: Ia56d131194075795c55c899dfbebbe3c2feb1584
c4129145203039072541e4415cb20c2103ca34f2 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE am: 631768d814
am: d94c280a7f

Change-Id: I6a765b9a07204afca2763fb98fdb2e92e08292e5
d94c280a7f28f0f87ccd2a72b5814f5962756007 02-Nov-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE
am: 631768d814

Change-Id: I155fd0e8b44539bf79cec2c6ddb2a4d71b0c23d9
631768d81469f83552de05bf0ec839d1cd6eab04 01-Sep-2016 Joseph Pirozzo <pirozzoj@google.com> MAP MCE

Add MAP client code into packages/apps/Bluetooth. Changes here are to
define the MAP MCE interface and enable its selection when running on a
device that is also running a PBAP client (Car Kitt).

Bug: 30467210
Change-Id: Ifa2cdea7d67f63a2b5f3d971df8ec6d321dc5fee
(cherry picked from commit 433b3054847951e8e7b3864d11990604a66b8651)
ettings.java
166b0ad28f03806112a2385dee9bca27576c089b 02-Nov-2016 Vinod Krishnan <vinodkrishnan@google.com> DO NOT MERGE Wear Fwk: Disable Animations for A11y am: 8500f26d51
am: 305187983b

Change-Id: Ifb4eea689ded623034d5f8aa3158c814620e9de9
3f6b68a69724983095f93ea073a0a102aecc41fb 01-Nov-2016 Garfield Tan <xutan@google.com> Iteration on findDocumentPath() API.

Rename findPath() to findDocumentPath() per comment in ag/1588156.

Bug: 30948740
Change-Id: I84ef4d9c0ed1f854e0e33f3552a1805b944c2791
ocumentsContract.java
ocumentsProvider.java
ebea7a7e56937fbbb18cb0bfcd871af2ee4605fe 26-Oct-2016 Adrian Roos <roosa@google.com> AmbientDisplay: Add always on prototype

Test: adb shell settings put secure doze_always_on 1
Change-Id: I3f293b3ef43847b7848af416b44f212fc40514d4
ettings.java
1a845e3637ef1d246a7c49c2e313919c21346146 31-Oct-2016 Sanket Agarwal <sanketa@google.com> Merge "Configuration for priority/auto-connection for PAN." am: ba63f32ed5 am: 50cc13cc18 am: 9e33f453a3
am: 502e3e53ec

Change-Id: I8211babdceb7228c74232c15dfbc51d9f771d674
9e33f453a3af6700c20f1503aa7714ef91fbbea1 31-Oct-2016 Sanket Agarwal <sanketa@google.com> Merge "Configuration for priority/auto-connection for PAN." am: ba63f32ed5
am: 50cc13cc18

Change-Id: I6725098623dba530db325f6b12d5193f9f2629e7
50cc13cc18935745968987ca20e62cbffba9cb95 31-Oct-2016 Sanket Agarwal <sanketa@google.com> Merge "Configuration for priority/auto-connection for PAN."
am: ba63f32ed5

Change-Id: I00ecde6e7f1c64f704341c7a96e476f1a11bdaea
773297a83e4fe09be911fcf4598e030cc4b72e68 05-Aug-2016 Sanket Agarwal <sanketa@google.com> Configuration for priority/auto-connection for PAN.

We protect the auto-connection via a flag so that it is only enabled on
some devices.

Bug: b/30679978
Change-Id: I5b7f273e09a659b561913d5c6f3a76feb245e6ce
(cherry picked from commit 1f09d5f255980488cabd55a5c44a5737e24541d8)
ettings.java
0fbdbce598ac197750917c8a21669143fee1a6c9 31-Oct-2016 Steve McKay <smckay@google.com> Merge "Remove the EXTRA_FANCY_FEATURES flag..."
8500f26d51e2ba0de7b6cd18bec5f85e5ca40e1d 27-Oct-2016 Vinod Krishnan <vinodkrishnan@google.com> DO NOT MERGE Wear Fwk: Disable Animations for A11y

- When Accessibility is turned on, Android Wear devices become unusable.
Add an option to disable animations, will be disabled in an overlay.

Bug: 24985771

Change-Id: If5fc44705d56579b305abd48a0d820f306b9be10
ettings.java
e5a8a17ed2bb3ecf9665bcbc2232774f7f5d89f4 29-Oct-2016 Steve McKay <smckay@google.com> Remove the EXTRA_FANCY_FEATURES flag...

Which is no-longer necessary.

Test: build and run.

Change-Id: I515c4a1bf78cbf4d54304bf4ebe1059a596c95a0
ocumentsContract.java
5f2148077ab80e5e9e1698a6033fb83b6cfe90ee 26-Oct-2016 Garfield Tan <xutan@google.com> Iteration on findPath API. Address Jeff's comment in ag/1542773.

* Add @Nullable to rootId in Path constructor.
* Erase rootId if findPath() doesn't return null rootId.
* Use Log.wtf() instead of throwing.

Bug: 30948740
Change-Id: I38354c5ac49aaa7e31a3ae56cd3379ffb19918c9
(Cherry picked from commit 04fdf6e18c97c2bf6ed58f8de9ba6723fa8c1613)
ocumentsContract.java
ocumentsProvider.java
1815241e78bcb206ebcd878ba5fe3d255e39a65c 27-Oct-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Remove no longer used FLAG_ARCHIVE."
03db8e4b58342d5ada64f29b049cf30da0ba9369 24-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes I1a544a8d,Ie78d3fb0

* changes:
IpConnectivityMetrics: rate limit ApfProgramEvents
IpConnectivityMetrics reads buffer size in settings
05686dbb6b965eb1a54591d2ed2334337886c6ee 19-Oct-2016 Hugo Benichi <hugobenichi@google.com> IpConnectivityMetrics reads buffer size in settings

Test: IpConnectivityMetricsTest passes. Also manually changed the new
setting and verified the buffer size is as expected after flushing the
buffer.
Bug: 32198637
Change-Id: Ie78d3fb03cea7883585549dac4f2063f0a8d9f4b
ettings.java
909bbd31177ebc131f91453a9aa206baec4afb9a 21-Oct-2016 Vinod Krishnan <vinodkrishnan@google.com> Fwk: Only chime when docked and accessbility is on am: cf11ceab65
am: ccf3baf6c5

Change-Id: I685dc2ef179087600e4d3c5776448ece338901b7
ccf3baf6c5ee78dd19290591408025e116c5c97e 21-Oct-2016 Vinod Krishnan <vinodkrishnan@google.com> Fwk: Only chime when docked and accessbility is on
am: cf11ceab65

Change-Id: Ief29ef6f325a8248843faa9fbe9ae6ff893a6918
088f73a9e903ef7127d70b24176b4d44b79176b9 21-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev
cf11ceab652a146c72fde1fef53d69ceee9bf651 21-Oct-2016 Vinod Krishnan <vinodkrishnan@google.com> Fwk: Only chime when docked and accessbility is on

Bug: 32036947

Change-Id: I5786abe827735cc3a4bc1d52baacaa19bccaae77
ettings.java
4a048f99649c425a8fa5acfab0d9f46d2623530e 20-Oct-2016 Calvin On <con@google.com> Add option to skip and avoid captive portals.
am: 4bc78eba6f

Change-Id: Id38d5c03d06822f9b20abd65db9dd04c90110b63
4bc78eba6f16ef84206aaed9edd5ca4bb4f6c420 12-Oct-2016 Calvin On <con@google.com> Add option to skip and avoid captive portals.

Test: ConnectivityServiceTest updated with test cases.
Test: Manually tested against att-wifi in B42.
Bug: 30222699
Change-Id: Ibe63942da04748ab0406e24e0f44be31d47710a0
(cherry picked from commit be96da11ccb5dd500f920c3ba90d350857293b3d)
ettings.java
be96da11ccb5dd500f920c3ba90d350857293b3d 12-Oct-2016 Calvin On <con@google.com> Add option to skip and avoid captive portals.

Test: ConnectivityServiceTest updated with test cases.
Test: Manually tested against att-wifi in B42.
Bug: 30222699
Change-Id: Ibe63942da04748ab0406e24e0f44be31d47710a0
ettings.java
04ad536e054b0b013c875dfd68ff709692137d39 18-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Iteration on findPath API."
cf6782c9409f98404302eba22c891072291e73b3 17-Oct-2016 Makoto Onuki <omakoto@google.com> Merge "Don't expose raw usage stats to clients; return "low-res" values."
06940e1246467e96392ae2b7effcb1f9d3e4d273 08-Oct-2016 Garfield Tan <xutan@google.com> Iteration on findPath API.

* Extend this API to take tree URI
* Add toString(), equals() and hashCode() to Path
* Address Jeff's comments in ag/1513538
* Add unit tests for findPath

Bug: 30948740
Change-Id: Iaf852d0e40fae37623e9bb9ffa1c6fbe334c1b21
(cherry picked from commit d4ab7ade7171a4382ef4f61f2a5f078a17800e83)
ocumentsContract.java
ocumentsProvider.java
f38aac7fc0033a0b2227638fe4a6ccf985a59579 13-Oct-2016 Greg Plesur <plesur@google.com> DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade. am: 3514404984
am: 43ed3a5b6a

Change-Id: I20248c835034935c25ee6fa25f8eeeb9125f121e
43ed3a5b6af89da9a89c5876fde6e4d343bd2652 13-Oct-2016 Greg Plesur <plesur@google.com> DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade.
am: 3514404984

Change-Id: I8d24007831ba030af0d84f717802c79172db970f
216ee1f0e76f6a36bebb5490c951db2a5513ae03 13-Oct-2016 Greg Plesur <plesur@google.com> Merge "DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should return 'false' for Wear devices after pairing/upgrade." into cw-f-dev
35144049846e115b7d1e03fb6c935ed497d83cb2 10-Oct-2016 Greg Plesur <plesur@google.com> DPM.isProvisioningAllowed(ACTION_PROVISION_MANAGED_DEVICE) should
return 'false' for Wear devices after pairing/upgrade.

BUG: 32019375
Change-Id: I2563efe58c98c5dd8440891e478c89e093d8d9ac
ettings.java
296a5fd5b921d68c2bdeae33f95f24255b6bbae1 12-Oct-2016 Makoto Onuki <omakoto@google.com> Pass client package name to GAL providers (framework)

Test: Manually tested with a corp account and verified with the log

Bug 32072962

Change-Id: I3575b277973263171288fc8665a830f4b83064ab
ontactsContract.java
44761c81eb16ec6b8ecdd8b047e67d92e837c1a1 11-Oct-2016 Nick Kralevich <nnk@google.com> Delete "Show CPU usage" am: fc4a5c2d85 am: f0c0188a8a
am: 34547a8dc2

Change-Id: I410846d3ff6856e5f9dee2efd551af8b9d1d94dc
34547a8dc216b2a9aabb1a6bf9ed016dbde415a0 11-Oct-2016 Nick Kralevich <nnk@google.com> Delete "Show CPU usage" am: fc4a5c2d85
am: f0c0188a8a

Change-Id: If33e6687d3ec83904ab6ddbeb008c7b9c8130e7a
f0c0188a8a7732a0acc3822ddde0a2c19b25639b 11-Oct-2016 Nick Kralevich <nnk@google.com> Delete "Show CPU usage"
am: fc4a5c2d85

Change-Id: I4da784d136601fb3458b8697a0a27a232cd89111
fc4a5c2d85eea5650cc722c1f3e7ab026accd624 11-Oct-2016 Nick Kralevich <nnk@google.com> Delete "Show CPU usage"

This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5
ettings.java
c54b8b11af3e55dbc4e9e4616024334c0a945289 30-Sep-2016 Tomasz Mikolajewski <mtomasz@google.com> Remove no longer used FLAG_ARCHIVE.

Change-Id: I4e5da71e5269b639e9f00080c949681a60f53a57
Test: Compiles.
Bug: 31783726
ocumentsContract.java
203145e52481dea30587960690ea8fc5dacd9145 29-Sep-2016 Makoto Onuki <omakoto@google.com> Don't expose raw usage stats to clients; return "low-res" values.

Test: run-all-tests.sh
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check \
com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a \
-m CtsProviderTestCases

Bug 31753890

Change-Id: Ie71af1ab31d74fed69342f91304d3718e3ccd133
ontacts.java
ontactsContract.java
e0c3c660a78350e0c3946efd11121a0231e51aab 14-Sep-2016 Selim Cinek <cinek@google.com> DO NOT MERGE - Added Emergency affordance feature

Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Bug: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
ettings.java
aba97f3c37a1e2ac90a6b0ca5e5c2b773ceed36d 06-Oct-2016 Garfield Tan <xutan@google.com> Add findPath API to SAF.

Implement it in ExternalStorageProvider.

Bug: 30948740
Change-Id: I1b7717a794ae3892cd1be5ed90ca155adf9a64f4
(cherry picked from commit 51efc73f3f341393cf93f71604be791205021b69)
ocumentsContract.java
ocumentsProvider.java
ab52ea019453fe31d91a5f9afc227c4caa77e884 06-Oct-2016 Garfield Tan <xutan@google.com> Revert "DO NOT MERGE ANYWHERE: Add findPath API to SAF."

This reverts commit 2f6d0d6db3af4451ae209a07c7dd7ee089cc5653.

Change-Id: I0b8581c6d5edb2a47ddfb75afaaa52c43964087b
ocumentsContract.java
ocumentsProvider.java
2f6d0d6db3af4451ae209a07c7dd7ee089cc5653 23-Sep-2016 Garfield Tan <xutan@google.com> DO NOT MERGE ANYWHERE: Add findPath API to SAF.

Implement it in ExternalStorageProvider.

Bug: 30948740
Change-Id: I03241cdfa561ef2fc0a0b829c9a59ad845e8f844
(cherry picked from commit 51efc73f3f341393cf93f71604be791205021b69)
ocumentsContract.java
ocumentsProvider.java
502fd881a7b1edad9645a80c6ed13c6b8f36ebd7 01-Oct-2016 Suprabh Shukla <suprabh@google.com> Adding a setting to toggle WAL mode for contacts

Bug: 1492819
Change-Id: I577b4950c57fb4cd85bd6cfc9d3ae05fdcbefda5
ettings.java
76982f55881597bae97f46deb281f58e6b25591a 29-Sep-2016 Hugo Benichi <hugobenichi@google.com> New Settings symbols for captive portal detection am: 92eb22fdd2 am: 5e666029f9
am: 9cd1a35660

Change-Id: Iad6840b4edd243a77fe65a69a2f4dcba28e0a7cb
587a5f9c7f4f16d671d032f3f08abed2af9d0e18 29-Sep-2016 Meng Wang <mewan@google.com> resolve merge conflicts of 68b84f73 to master

Change-Id: If4d5647d199050846aaf250c4341657440dafb78
9cd1a3566035d3e6f84d236e5fdac638f5665bd1 29-Sep-2016 Hugo Benichi <hugobenichi@google.com> New Settings symbols for captive portal detection am: 92eb22fdd2
am: 5e666029f9

Change-Id: I6e965696ed03b0eb4a49db3b21ad6a382ba1d081
5e666029f97b95ad674285a4ac0b199432c62427 29-Sep-2016 Hugo Benichi <hugobenichi@google.com> New Settings symbols for captive portal detection
am: 92eb22fdd2

Change-Id: Id8c19f16c50b22034278c00b55c5431d892f8a95
3fc76c4669f083ef46b122ec59279803ca3cf184 29-Sep-2016 Hugo Benichi <hugobenichi@google.com> Merge "New Settings symbols for captive portal detection" into nyc-mr1-dev
68b84f7301f394e50bf9dfdbf154eb111fb3a90c 29-Sep-2016 Meng Wang <mewan@google.com> Support WFC roaming preference am: 2c25e4a96b
am: 6db4fbecf8

Change-Id: Idff74a470e26b6c14ba1203290f533813740e192
6db4fbecf8872cf82d54208b06972645be41a46f 29-Sep-2016 Meng Wang <mewan@google.com> Support WFC roaming preference
am: 2c25e4a96b

Change-Id: I8a1af9756ddf5a4359cfd94aa6eebfdcb87b9e13
cfe950f6bedee35f20e38c6374a873fc3ba0166c 29-Sep-2016 Meng Wang <mewan@google.com> Merge "Support WFC roaming preference" into nyc-mr1-dev
92eb22fdd2e5e2d99ca0b2c14e68dfd632323a90 27-Sep-2016 Hugo Benichi <hugobenichi@google.com> New Settings symbols for captive portal detection

This patch defines new Settings symbols for
- setting the probe urls for captive portal detection.
- setting which User-Agent to use for captive portal detection.

The existing default values for these settings are not changed, i.e:
- HTTP and HTTPS probes urls are unchanged.
- the fallback probe is not used.
- User-Agent is empty by default.

Bug: 29367974
Change-Id: I6e4b3b172e56b8b67fffa4b51f776d68d5851f25
ettings.java
2cae5760c69cfdba0e20a0bd0e58bcce6e3d0cbf 26-Sep-2016 Selim Cinek <cinek@google.com> Added Emergency affordance feature am: 705442fa7d am: 0e1f78da65
am: 10691456b8

Change-Id: Ieb3a0da5d5693a186c92ab1c21ba189558207ae3
e58d2a72b30391665a273a5775250db6515b6302 21-Sep-2016 Daniel Nishi <dhnishi@google.com> Add a hidden action to trigger the storage manager settings.

Bug: 31621740
Change-Id: I3ad0b65b0810d468e1f297c7ad312ea8a919ea2a
(cherry picked from commit 4bd88df1fbe2840f584cee2d426d2e6805967fa9)
ettings.java
3ece845253feb0dac947bd804684e0b3642413fb 24-Sep-2016 Daniel Nishi <dhnishi@google.com> Add a hidden action to trigger the storage manager settings. am: 4bd88df1fb
am: c5cd99dd09

Change-Id: Ic89ef70c64b3841beaab6e039f3b5c5fa1f7cc82
c5cd99dd091d36b26223f29774308cb05ba9b4de 24-Sep-2016 Daniel Nishi <dhnishi@google.com> Add a hidden action to trigger the storage manager settings.
am: 4bd88df1fb

Change-Id: Iad3223793afb9ee0fe3de65baf91373160f163a9
83479600cb524f677ce7e547e711000daed547ee 24-Sep-2016 Daniel Nishi <dhnishi@google.com> Merge "Add a hidden action to trigger the storage manager settings." into nyc-mr1-dev
10691456b8ac6e3f6d7821cdb9f99936cffbd2c7 24-Sep-2016 Selim Cinek <cinek@google.com> Added Emergency affordance feature am: 705442fa7d
am: 0e1f78da65

Change-Id: I6f8220b18bce7889e3b9efe1b075a680a0ae7187
0e1f78da65eb57f249e00a6af4d6ad9298cca803 24-Sep-2016 Selim Cinek <cinek@google.com> Added Emergency affordance feature
am: 705442fa7d

Change-Id: I03ebb84119f9cb310882ba9ea90ee1e1d7118d03
a05719a27878cf7184af848cac16d98ca0211e2b 23-Sep-2016 Selim Cinek <cinek@google.com> Merge changes If7c3a55e,I68dcba41,Ib96a15da into nyc-mr1-dev

* changes:
Fixed a bug where the dimmed background could be invisible
Fixed an issue where the inline controls where not usable
Added Emergency affordance feature
2c25e4a96bf5fd4439f11ab1c4319c8fc2240247 19-Sep-2016 Meng Wang <mewan@google.com> Support WFC roaming preference

Added keys in CarrierConfig and Settings.Global

Bug: 31492826
Change-Id: Ice33f6ee5c42b92ed2f7258ff8b28c50510cde31
ettings.java
20cb45c465532dfbe0e597371b60a2a4d754cc71 23-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps am: d15bb75af6 am: f308ffc915
am: 6f38e68456

Change-Id: I4e2344f16a82008023c63f278bce7e215d0874b8
6f38e684567c640fb9dbac55e1b3aab2b78c7a95 22-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps am: d15bb75af6
am: f308ffc915

Change-Id: If7a6884bb896c1bab38c7d0fe963c06125a44c26
f308ffc915254644f339df23fb300c961c14e84a 22-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps
am: d15bb75af6

Change-Id: I0433b101966f65daeb5d1d2ea04cf648572a8e58
705442fa7dcbf1bf92595fdaca6cc888810931d8 14-Sep-2016 Selim Cinek <cinek@google.com> Added Emergency affordance feature

Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
ettings.java
03779f227af426058760fdc3cc40bedefaaa6179 22-Sep-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add remote control of Instant Apps" into nyc-mr1-dev
458ea2c05be80b7b47d6be76eec4cf93c1b06579 21-Sep-2016 Doris Ling <dling@google.com> Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f am: 6591ac6381
am: 4c25818533

Change-Id: I7e956c18c51eb1db10324ebb5f4d6b8ae9630c2d
f700a6e87fe4d2e6657f98953b56afa0bdecbe25 21-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195 am: 63275aba54
am: 3f67cbec46

Change-Id: I60ebe27ec892658c5a051457b13506e59ba33824
4bd88df1fbe2840f584cee2d426d2e6805967fa9 21-Sep-2016 Daniel Nishi <dhnishi@google.com> Add a hidden action to trigger the storage manager settings.

Bug: 31621740
Change-Id: I3ad0b65b0810d468e1f297c7ad312ea8a919ea2a
ettings.java
4c25818533567da4f2b4ad3511cf733e4f9a5789 20-Sep-2016 Doris Ling <dling@google.com> Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f
am: 6591ac6381

Change-Id: I67f40251da88b4e2161a1ff591cc1383079013c0
6591ac6381e753da6d3f9ff6a09863ab284922db 20-Sep-2016 Doris Ling <dling@google.com> Add secure settings for Ambient Display pick up and double tap gestures.
am: 6403b4050f

Change-Id: I35832dc785c1570b5243910309d029ce3c8af2bc
b4b96040e0b2c0e2b05cfdbd44229cbdfe7abd2b 20-Sep-2016 Doris Ling <dling@google.com> Merge "Add secure settings for Ambient Display pick up and double tap gestures." into nyc-mr1-dev
3f67cbec46dea1134bca4d7985dc7d8a15ee267d 20-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195
am: 63275aba54

Change-Id: I7d8d9f91208bcbe3ff625acf20d943b13f813d8e
63275aba540111a7e3c5964c35f17711f4158fd2 20-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb
am: aab02df195

Change-Id: Id9c694b14085b1959348ddfa91127cbb33f5e785
aab02df1957927797ba745e5a2b42df0722f076b 20-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Support "don't ask again" in the avoid bad wifi dialog.
am: 165c51c0eb

Change-Id: Ic6a1917a83e2d847bd673790e2c36f7316ca7acd
165c51c0eb9834a3d95ce0b31b07c7c8975a54d7 18-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Support "don't ask again" in the avoid bad wifi dialog.

This contains the following changes:

1. Make NETWORK_AVOID_BAD_WIFI a tristate: 0 means never avoid
bad wifi, unset means prompt the user, 1 means always avoid.
2. Look at NETWORK_AVOID_BAD_WIFI only if the carrier restricts
avoiding bad wifi (previously, we relied on the setting being
null and defaulting to the value of the config variable).
3. Add an avoidUnvalidated bit to NetworkAgentInfo to track
whether the user has requested switching away from this
unvalidated network even though avoiding bad wifi is generally
disabled. This is set to true when the user selects "switch"
in the dialog without setting the "Don't ask again" checkbox.
4. Add a hidden setAvoidUnvalidated API to ConnectivityManager to
set the avoidUnvalidated bit.
5. Additional unit test coverage.

Bug: 31075769
Change-Id: I1be60c3016c8095df3c4752330149ce638bd0ce1
ettings.java
d15bb75af67df53f7335bdb7d7468f387848d6fe 14-Sep-2016 Todd Kennedy <toddke@google.com> Add remote control of Instant Apps

Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c
ettings.java
744c370b7c58c33d9bfd15e331142879eb72449e 15-Sep-2016 Hugo Benichi <hugobenichi@google.com> Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8 am: edabb8e617
am: 9ae080aa9d

Change-Id: I995c1adc61263a0536704fd32bd89efe1a8ec42b
9ae080aa9d42add3d57d8fa5b3c7cfd2c0648403 15-Sep-2016 Hugo Benichi <hugobenichi@google.com> Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8
am: edabb8e617

Change-Id: Ib9a60eb528eb62ebf26d5d5a1941bfed0bb21163
edabb8e617333a31e8623b6e0e78731b6bb19a6f 15-Sep-2016 Hugo Benichi <hugobenichi@google.com> Support ignoring penalty for bad wifi networks am: c8e9e1229a
am: c53b5964f8

Change-Id: Ideee96cc5fc1631cfbc90cd9a59f34a2d5fde160
c53b5964f8ef8a583dfa0f7bf537804b8d84ea65 15-Sep-2016 Hugo Benichi <hugobenichi@google.com> Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec
c8e9e1229a91e22d6ab32d491d4c60086fbc9199 15-Sep-2016 Hugo Benichi <hugobenichi@google.com> Support ignoring penalty for bad wifi networks

This patch adds a way to configure devices so that a validated network
that becomes unvalidated is not penalized in the network scoring and
selection logic.

The intent is to prevent devices configured to do so from switching to a
lower scoring network such as cellular networks when a higher scoring
network such as wifi networks loses internet connectivity.

Bug: 31075769
Change-Id: Ie7e0f2607d214a178367fedfbef6c44768fa00a4
ettings.java
6d5ad4c0ebe070308de4e94710acb97684c28263 14-Sep-2016 Bryce Lee <brycelee@google.com> Support telecom related operations for watch back button usage. am: db776ce7f9
am: 9b2027a71c

Change-Id: I62a31f771ea390c59a4fafc4763a9ca3ec7c3228
bdff0542ecfcf689a73779e94bcbdb5999d74ed0 13-Sep-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Implementing ContactNameColumns in PhoneLookup too"
9b2027a71cf53751538808c7bd65aa5f89900603 11-Sep-2016 Bryce Lee <brycelee@google.com> Support telecom related operations for watch back button usage.
am: db776ce7f9

Change-Id: I713a2c9b5c1a1bfb5bd498997ff6680f1e89764d
a480d0d81f18e5e945f9c0c18db3ae7b00c2d9f6 11-Sep-2016 Bryce Lee <brycelee@google.com> Merge "Support telecom related operations for watch back button usage." into cw-f-dev
6403b4050f057659bd22f8e7d76d2d0978d9d296 09-Sep-2016 Doris Ling <dling@google.com> Add secure settings for Ambient Display pick up and double tap gestures.

Splitting Ambient Display pulse configuration to have separate control
for incoming notification, pick up gesture, and double tap gesture.
Adding separate secure settings for the separate control.

Test: make SettingsTests and verify read/write of the new settings.

Bug: 30595437
Change-Id: Ic301c3234689d9132c283edf86962d1cfb640a28
ettings.java
9bf04523b49bd4493b5bb1dcdfb3bfcc60e62e41 09-Sep-2016 Winson <winsonc@google.com> Merge commit 'e0b767153ef978a4ca841c9891074717fd979400' into manual_merge_e0b7671

Change-Id: I6b6810db33e4b244cc872abd69d5b18a90547b35
e0b767153ef978a4ca841c9891074717fd979400 09-Sep-2016 Winson Chung <winsonc@google.com> Revert "Fixing issue with old tasks being visible in Overview" am: 36f3f0337d
am: 4a8a09d1ab

Change-Id: Iac7a2c68ffcb154d2009e5700c2d12958374f549
4a8a09d1aba286a36eceaad62f33a57727974e58 09-Sep-2016 Winson Chung <winsonc@google.com> Revert "Fixing issue with old tasks being visible in Overview"
am: 36f3f0337d

Change-Id: Ic89b6a3b204a6f55667df5c1459449092930d859
99cf874cc37727d0a4f5d167a9f0c730860e5ebd 09-Sep-2016 Winson Chung <winsonc@google.com> Merge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev
36f3f0337de86baf8cf8a5fdd67a95e61dff4bcd 09-Sep-2016 Winson Chung <winsonc@google.com> Revert "Fixing issue with old tasks being visible in Overview"

Bug: 28908500

This reverts commit b258f6a4bd685e5efcb36c02d5817f659e10479b.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
ettings.java
db776ce7f9f19341f31c6623fdd24fbae28f3091 04-Sep-2016 Bryce Lee <brycelee@google.com> Support telecom related operations for watch back button usage.

This change allows for the back button to hang up or silence calls when
set through accessibility.

Bug: 30039247
Change-Id: Iff0e67180e1180c9bb8b27df023d7a7a64783543
ettings.java
2c3fb3fcabc404c03bf944a7dee1134fa11a7ac5 07-Sep-2016 Suprabh Shukla <suprabh@google.com> Implementing ContactNameColumns in PhoneLookup too

PhoneLookup queries did not have the column display name alternative.
Adding the ContactNameColumns to the list of columns in phone lookup.

Bug: 25022549
Change-Id: I4f534f406cf4cd0fcc2f735b83a37253d7089a96
ontactsContract.java
70f21570bfeae8ac7b6d5e670be1e20d144f7805 03-Sep-2016 Winson <winsonc@google.com> Fixing issue with old tasks being visible in Overview am: b258f6a4bd am: f4806c80ca
am: 2a4cd1518e

Change-Id: I8a229f3515bebca4cd8456afae963bb97dac96d6
2a4cd1518e088099840abe41a79c0751860be2ce 03-Sep-2016 Winson <winsonc@google.com> Fixing issue with old tasks being visible in Overview am: b258f6a4bd
am: f4806c80ca

Change-Id: I87bb9656b8d766ea4b2763f529bbf1d8873479f4
f4806c80ca1d9f8d275f7c81cd339c27b9c9635a 03-Sep-2016 Winson <winsonc@google.com> Fixing issue with old tasks being visible in Overview
am: b258f6a4bd

Change-Id: I27ba3d057147b5200ac75b9f079d26423c9d0b05
a8c0fe6606dcd5f494cfb7963f12bf2301a2c8a0 02-Sep-2016 Winson Chung <winsonc@google.com> Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev
034de15cb6c6adcfc667df5f344773d8cdbbca5c 01-Sep-2016 Makoto Onuki <omakoto@google.com> Update CP2 javadoc am: 93d94ebac2 am: e3972019dc
am: e08b704cb7

Change-Id: Ie9e3aea4157d848044254a779b2d3a3df0f8152d
e22143e85544295ff518c3977161f71bdcc358a8 01-Sep-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits am: 84e6f1232c am: 858499b2c0 am: 2c535a4f7c
am: 98ed392cf7

Change-Id: I0c067ec355eb2a50af3c828b1fe3ee8a78e44536
8402d225c0ef0ff7088c18d603c68c58edc844f6 31-Aug-2016 Todd Kennedy <toddke@google.com> Enable web action apps based on system setting am: efc1c4d501 am: 742f4de6cf
am: 66db34fbe2

Change-Id: Ic1726786e0baeaf758381f3a9a9324ea39b921be
e08b704cb7ca6dbb72630a4b04f520abb43dc198 31-Aug-2016 Makoto Onuki <omakoto@google.com> Update CP2 javadoc am: 93d94ebac2
am: e3972019dc

Change-Id: Ia988c68813311b042c6ba9fbaa3c486935e5566b
e3972019dca4d3fa252c177b78dc4b1e6cfa2d45 31-Aug-2016 Makoto Onuki <omakoto@google.com> Update CP2 javadoc
am: 93d94ebac2

Change-Id: I2b1cddae5407257aaad84f4b9dd492fe69ae5d27
82babe050a08101ee716ad22608bd21a6c112eff 31-Aug-2016 Makoto Onuki <omakoto@google.com> Merge "Update CP2 javadoc" into nyc-mr1-dev
b258f6a4bd685e5efcb36c02d5817f659e10479b 26-Aug-2016 Winson <winsonc@google.com> Fixing issue with old tasks being visible in Overview

- This CL does two things, firstly, it ensures that all first & last
active times are monotonically increasing and independent of the
current system time. This allows us to better keep track of which
tasks are historical and should be hidden, and which are not.
Secondly, this CL moves the tracking of the last visible active time
into the system (per user) where it can be adjusted along with the
task active times when they are loaded.
- Following this CL, all active times in the future will be adjusted on
boot such that old tasks are made relative to the current boot time.
It’s not important exactly what time they are, only that they are
adjusted along with the last visible task active time so that we
always keep track of what is visible.

Bug: 28908500
Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
ettings.java
98ed392cf714e66e8c011bb89d11655600de0da9 30-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits am: 84e6f1232c am: 858499b2c0
am: 2c535a4f7c

Change-Id: I166dd693345ed9a63411f5f1ed6bdf33015b1957
2c535a4f7c9a17decf5e42db0f6d67e77291f3cb 30-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits am: 84e6f1232c
am: 858499b2c0

Change-Id: I9cf27874626c3034ef4fb4fc23ec75f3e1ac5f3f
858499b2c017d9df23a54c7dd058314f59bcab72 30-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits
am: 84e6f1232c

Change-Id: Ibf6fa695c5f8ef11c99fe075b59a36f52c5c177b
84e6f1232c92988617a1155fd7356f90e6c84b4e 29-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits

This patch adds a daily limit to the maximum number of notifications
shown when switching networks.

It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.

Bug: 31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85
ettings.java
90a788e29bc940dd12bcdc2c7e40192292223273 30-Aug-2016 Jason Monk <jmonk@google.com> resolve merge conflicts of d70ed99 to master

Change-Id: I3a8d3708e050b3fb963dd057c0be9d2d249d037a
f0963f82fa8b116327f344c96f4d1f2efe245af6 29-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Polish MemoryIntArray"
9d723d3d573a53173bd8210be20f0ec622eef8fd 27-Aug-2016 Svet Ganov <svetoslavganov@google.com> Polish MemoryIntArray

1. Add close guard
2. Adopt instead of clone the ahsmem fd to fix a dangling fd
3. Clear only the return flag when writing fd to parcel
4. Immediately destroy remote MemoryIntArray if stale
5. Throw Java exception if someone closed the fd under us

Change-Id: I85533fec336c40e3380e10d5448e18c9616ec341
ettings.java
66db34fbe25ad1759c27af2ecc721e24adcf62ca 27-Aug-2016 Todd Kennedy <toddke@google.com> Enable web action apps based on system setting am: efc1c4d501
am: 742f4de6cf

Change-Id: I86aef56f2cf9caf8a7e5b54e78a3ec7de855c796
742f4de6cffc6b49b317756c8e48dbadf8d3bee4 27-Aug-2016 Todd Kennedy <toddke@google.com> Enable web action apps based on system setting
am: efc1c4d501

Change-Id: I2c8c12aebddecb920d1924c4a04f96acdcd3cc02
93d94ebac2a267616b3ef20640320b1052a4ecb4 25-Aug-2016 Makoto Onuki <omakoto@google.com> Update CP2 javadoc

Bug 30895732
Bug 30063194
Bug 30254247

Change-Id: I6af160daf06a52bd96db8f1dd1aa0c3bf3646fa1
allLog.java
ontactsContract.java
046249d9dcfd79e7013b9c17438849b3df910f3b 27-Aug-2016 Svetoslav Ganov <svetoslavganov@google.com> Store the event of settings db downgrade am: 264c7a90c7 am: f813a5a1c4
am: 11bd5718a1

Change-Id: I8831eac6d99ba00a80f6e9064b0cc09143b3f9d8
5fafa3cb86afc746926a67c2138cf1c1f14b380c 27-Aug-2016 Doris Ling <dling@google.com> resolve merge conflicts of 7eeeb0d to master

Change-Id: I11a7b51612a4cfb98b5776d098ca0ec43a75259b
efc1c4d50104e9b9a7581c9b60703727805897f0 21-Jul-2016 Todd Kennedy <toddke@google.com> Enable web action apps based on system setting

Bug: 28140107
Change-Id: I4cff49165be6432404b9a616ca35bee249daab2a
ettings.java
d70ed997cd11b62739510efa5c5d938a71821ba5 26-Aug-2016 Jason Monk <jmonk@google.com> Backup system QS tiles am: baade7573f am: 9813cb61dd
am: 8ed8f1e6a1

Change-Id: I74b572422c0e3b3b90c85df036c8593e49db58f7
8ed8f1e6a1e6637516a56e98e539ccf7ffa667f4 26-Aug-2016 Jason Monk <jmonk@google.com> Backup system QS tiles am: baade7573f
am: 9813cb61dd

Change-Id: Ia0ba996f6b0a889ba7469a2272a6fe0c235b15d5
9813cb61dd07e7d59f88a554d9a05c5b779fa8d8 26-Aug-2016 Jason Monk <jmonk@google.com> Backup system QS tiles
am: baade7573f

Change-Id: Ie601a706cbdcfdb1e836117d02fec914b4acbab1
baade7573f35a5de0779dbe052c9963a8d447422 25-Aug-2016 Jason Monk <jmonk@google.com> Backup system QS tiles

Add QS tiles to the backup list. Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
ettings.java
11bd5718a139e3917f720b713761dedb3bd21f99 25-Aug-2016 Svetoslav Ganov <svetoslavganov@google.com> Store the event of settings db downgrade am: 264c7a90c7
am: f813a5a1c4

Change-Id: I21a6ebdde23a0df93872105d91a54d64a2e6adf4
f813a5a1c4e155dd238ea1661f2d0de20f959d07 25-Aug-2016 Svetoslav Ganov <svetoslavganov@google.com> Store the event of settings db downgrade
am: 264c7a90c7

Change-Id: I5b9d5a9bd3c2df337776921a34960ceef8fda1ce
49af952a92d204ef48a285c00fe13d8aa33e2e62 25-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Store the event of settings db downgrade" into nyc-mr1-dev
7eeeb0d90e4c02bb1ec0a90134533d0d0154f074 25-Aug-2016 Doris Ling <dling@google.com> Add the Moves setting values to the backup list. am: 8a33273620 am: cdc758d555
am: b790a1e6ab

Change-Id: I440af4d5aafdc48e4d4333a5f708c86f97ffe556
b790a1e6abe4e5ec41092d37b8f342d7e8c37064 25-Aug-2016 Doris Ling <dling@google.com> Add the Moves setting values to the backup list. am: 8a33273620
am: cdc758d555

Change-Id: I8fd42b0b5e9f9471a659f6ae0205482ad0c800e8
cdc758d555db2f3085cd3f0e4ace64dee3bf4a77 25-Aug-2016 Doris Ling <dling@google.com> Add the Moves setting values to the backup list.
am: 8a33273620

Change-Id: I8f64074acbe6d85a0f2402695925e7f75c20569b
8a332736202338a1a3c3021f9e4e78dcebf26980 25-Aug-2016 Doris Ling <dling@google.com> Add the Moves setting values to the backup list.

Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED,
Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, and
Secure.SYSTEM_NAVIGATION_KEYS_ENABLED (used by Settings->Moves)
to Secure.SETTINGS_TO_BACKUP, so that they will be backed up and
restored automatically.

Fixes: 31023788

Test: Manual - Setup device using "Copy your data", verify that
Settings->Moves toggles are set to previous selected values.

Change-Id: I509c997641bb693009bec703e5272b5aad517f0f
ettings.java
264c7a90c7c18acb8e884f2fcd63759a030eb141 25-Aug-2016 Svetoslav Ganov <svetoslavganov@google.com> Store the event of settings db downgrade

bug:30561721

Change-Id: I8f2252bbf99603976c7efc32c54aa88b314ba815
ettings.java
8fdf26ecfb3be5254ddebd61ff7ededfe6f37b7a 24-Aug-2016 Adrian Roos <roosa@google.com> Merge "Ambient: Pulse for every noisy notification exactly once" into nyc-mr1-dev am: bd43552975 am: 24eaf0c700
am: 7dd485d858

Change-Id: I6854beaa24a24fff06523ae76fd207d5783f77e9
7dd485d858c2c22948b18480e283a5e34508d049 23-Aug-2016 Adrian Roos <roosa@google.com> AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set am: 6a7e08920c
am: 5a461b65d0

Change-Id: I2915c6ee2408dbe5942e77d26acdf47e478ee8c0
5a461b65d001736efd2dc1e8352486ea25bd66de 23-Aug-2016 Adrian Roos <roosa@google.com> AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
am: 6a7e08920c

Change-Id: I0a3713010a0c6e487257995bd34165348f5fc2a4
374f9a690b89a0b0f6ca5db68cf189ddb687db03 23-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set" into nyc-mr1-dev
9a107a2df0c549f4cac6661a3f74f7c921960792 19-Aug-2016 Ta-wei Yen <twyen@google.com> Add carrier regex config values for VisualVoicemailSmsFilter

Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.

EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.

Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0
(cherry picked from commit ad31603b80e13e914ff4c3a41b5c04558d04d3ca)
oicemailContract.java
607c51aadb839583322f819931af1cbc54af56c3 23-Aug-2016 Sailesh Nepal <sail@google.com> resolve merge conflicts of 2cff241 to master

Change-Id: Ide7a24bb36c51a24bd4107c3042efc3117ea76f6
2cff2417cd3176f2fca92ba263e97277cb591172 23-Aug-2016 Sailesh Nepal <sail@google.com> resolve merge conflicts of ad31603 to cw-f-dev
am: bbfb97461d

Change-Id: I8c497533297df55ef4aac85ca2d0d981a057b9d4
bbfb97461d556db66f71fcb1d9353281361ea82c 23-Aug-2016 Sailesh Nepal <sail@google.com> resolve merge conflicts of ad31603 to cw-f-dev

Change-Id: I970fe17c234f9b99142980f685c3c4efee4767fc
6a7e08920c6c7d88352f66df6ba923b9156feb36 23-Aug-2016 Adrian Roos <roosa@google.com> AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set

Change-Id: Ie6013013ff4e23e51e471e97d15e113cc759657e
Fixes: 30929056
ettings.java
6dcbcc9f9b62fc887576a49fa43b5d887eab99b3 22-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove EXTRA_SHOW_FILESIZE."
0a38e2318b809dfbd4704705fcf3410d542edfe3 22-Aug-2016 Steve McKay <smckay@google.com> Remove EXTRA_SHOW_FILESIZE.

DocumentsUI will always show size.

Bug: 31016724

Change-Id: I19150332529c4699f00f7f239f775e89025f1c3f
ocumentsContract.java
5647c93e9edf26f06789265976b1118c13d07026 21-Aug-2016 Sailesh Nepal <sail@google.com> Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev
ad31603b80e13e914ff4c3a41b5c04558d04d3ca 19-Aug-2016 Ta-wei Yen <twyen@google.com> Add carrier regex config values for VisualVoicemailSmsFilter

Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.

EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.

Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0
oicemailContract.java
3fa139c7b2fc638424955d0bb07d692f576cccb5 04-Aug-2016 Andre Lago <andrelago@google.com> [media] Separate ringtones for managed profiles

Separate the default system ringtone settings for managed profiles,
which previously used the same default ringtones as the personal profile
they belong to

Bug: 30658854
Change-Id: I22c69c7b8d31c7c424f5e00a3d9febac98b93d74
ettings.java
ea35e07e1b71dd22309baefdd1d621f6f91ad2f0 04-Aug-2016 Andre Lago <andrelago@google.com> [Settings] Added setting SYNC_PARENT_SOUNDS

Added a setting that specifies wether a managed profile's ringtones
should be the same as its parent

Change-Id: I90e20cee111640404c3758030f41d5b2b5af1c28
ettings.java
1fafcc6f64a2decba39ddf399923839914923949 14-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation am: 2335bd6787 am: 57d1601849
am: ae96089711

Change-Id: I3d086e48a7ea312ae972495a157f18b62bc36e13
ae96089711131337b3d66add9a4b4dc1db09ae75 13-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation am: 2335bd6787
am: 57d1601849

Change-Id: I5954913f4f210e47d5e3a297f25d3f646cdd2a4b
57d16018497592746be7b1acde5b13ee0470a145 12-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation
am: 2335bd6787

Change-Id: I2a88e088da3062b7bd10581650de526629973c67
2335bd67876e5346acef8db2fc2f58fb2adb465e 12-Aug-2016 Adrian Roos <roosa@google.com> Assist: Allow disabling the disclosure animation

Change-Id: I6e7ed00f066fda7cc268119e7aa4133010aa69c1
Fixes: 30809067
ettings.java
f0976121d91744ea98651de073b6eee2b55ede18 05-Aug-2016 Anthony Hugh <ahugh@google.com> Add panic detection to back button am: 96e9cc5700
am: c1de1b6dde

Change-Id: I523e7719483840c4fb4fe39827b3a6652bdc1a39
c1de1b6dde21dda28176a4e0b086ad71c2c122f5 05-Aug-2016 Anthony Hugh <ahugh@google.com> Add panic detection to back button
am: 96e9cc5700

Change-Id: I60553d88e1e1c42c11dae92d35c4ad761d188fda
87c7fad58017499d1bae9fd896aefabd4896281c 04-Aug-2016 Tom O'Neill <tomo@google.com> Resign ourselves to using legacy storage of location setting

- Too many apps assume the storage is based on the legacy storage
mechanism, it's not worth changing.

- Bug: 10491283

Change-Id: I287b1c70c30e74f3f1140b6ee3398900ebf305bb
ettings.java
96e9cc5700c63c872f29f488129daf34f95292d2 13-Jul-2016 Anthony Hugh <ahugh@google.com> Add panic detection to back button

Adds "panic" detection to the back button. Implemented solution
uses 4x button presses in a short duration to detect for "panic".
The value used to determine the duration between key up and key down
that still count as a multi-button press is configurable via the
Settings Provider.

BUG: 28027764

Change-Id: Ibf1370ff3cb539a9a54002a8704922744a3ca5d7
ettings.java
539d36f23ba3e34a9bfada8d5fffba62ed0053a0 28-Jul-2016 Fyodor Kupolov <fkupolov@google.com> Set secure setting when all preloaded apps are installed

Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
ettings.java
892f55e7ad77bf8e81c6b90c2b0b419de26acb16 29-Jul-2016 Fyodor Kupolov <fkupolov@google.com> Set secure setting when all preloaded apps are installed am: 51ce8ee3b1
am: 65d5e75895

Change-Id: I0413cdb3dd7139066712caab59a5593d866ac2a7
51ce8ee3b1b95dfca1da05dbce74ba0096dd988f 28-Jul-2016 Fyodor Kupolov <fkupolov@google.com> Set secure setting when all preloaded apps are installed

Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
ettings.java
2862ed2541411ea864505b8234da3e789dd104db 27-Jul-2016 Jeff Davidson <jpd@google.com> Add support for carrier \\"associated\\" apps. am: 24b9d96007
am: 19af77d2cb

Change-Id: I089db772e37b7d07a5423793aced78f2b3a9a1ae
19af77d2cb3d96cd5ef1c3c157522e9f05fe979d 27-Jul-2016 Jeff Davidson <jpd@google.com> Add support for carrier \"associated\" apps.
am: 24b9d96007

Change-Id: I1de92977f3a0635d88e6517210f6bbb06ab3d0f0
94ae1e739fd84a308609fff3b913d0963900ed6e 27-Jul-2016 Jeff Davidson <jpd@google.com> Merge "Add support for carrier "associated" apps." into nyc-mr1-dev
b91285fd326e731ac0d6cbf10cc1095682b7da47 27-Jul-2016 Daniel Nishi <dhnishi@google.com> Merge "Add a flag to toggle how much downloads to retain."
24b9d960071ecf24f1b7edf799f6a4edf20f2b95 21-Jul-2016 Jeff Davidson <jpd@google.com> Add support for carrier "associated" apps.

The platform currently supports the notion of default carrier apps.
These apps are set to DISABLED_UNTIL_USED until a SIM is inserted
which grants them carrier privileges, at which point they are enabled.
Apps are not touched if they have been updated from the version on
/system or if their state has been modified externally (e.g. by the
user).

This CL extends this notion to associated apps, which may not have
carrier privileges themselves, but should be enabled/disabled
alongside a particular carrier app. This should include helper apps
that should not be visible to users who don't use the given carrier
unless the user explicitly enables the app.

As additional protection, we add a check to ensure that we never
disable apps after the first time we've run. Since we need to store
this information in secure settings, we also move the call site from
PackageManagerService#main() to PackageManagerService#systemReady(),
which enables use of secure settings but still occurs before
third-party apps can be started.

Bug: 30141427
Change-Id: Iee72ba4e70e5ca97999c9147a65af82c670a23e8
ettings.java
fc9243b60ff72af10f367b4cd891999327c67584 23-Jul-2016 Justin Klaassen <justinklaassen@google.com> Add Settings#ACTION_NIGHT_DISPLAY_SETTINGS am: 06c0cb7acd
am: 194b3c49cb

Change-Id: Ic9a2a904d8ccb0a8ec807c045efca82bf525f6d9
194b3c49cb25cb6172c63ceda33f3551297e9ff9 23-Jul-2016 Justin Klaassen <justinklaassen@google.com> Add Settings#ACTION_NIGHT_DISPLAY_SETTINGS
am: 06c0cb7acd

Change-Id: I7ea6ce28be43d519144ec9311e15334d35e2702f
237c7072c2c879d6f6a83ce590d81ee87289eb31 22-Jul-2016 Daniel Nishi <dhnishi@google.com> Add a flag to toggle how much downloads to retain.

This flag will be used to set how many days of downloads the storage
manager will retain while clearing data.

Bug: 30304998
Change-Id: I188f4ed3aaebde62d0bf4fe2838d171f0594895c
ettings.java
06c0cb7acdc07344463d8b9022c69125b14adb16 22-Jul-2016 Justin Klaassen <justinklaassen@google.com> Add Settings#ACTION_NIGHT_DISPLAY_SETTINGS

- The ACTION_NIGHT_DISPLAY_SETTINGS action can be used to launch
Night display settings directly.
- Updated NightDisplayTile to use ACTION_NIGHT_DISPLAY_SETTINGS.

Bug: 30291948
Change-Id: I6d912cf481f72ef5b52f53fa23942071fc795452
ettings.java
06b8aa7199830464a5f9256dfd6ecdd7aca8dcbf 22-Jul-2016 Allison Babick <ababick@google.com> Merge "Add user-modifiable downloads backup conditions."
3fac1a8c5cac31fb4cb92aa826a1b389f8ffbcd5 19-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \\"Cleanup TwilightService\\" into nyc-mr1-dev am: e5aeca3dc9
am: 6c02076e73

Change-Id: Ib3aad9f409c01338ce9be5d433db55d87d511daf
6c02076e738a82b46281c8397554a4965eaec7c0 19-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \"Cleanup TwilightService\" into nyc-mr1-dev
am: e5aeca3dc9

Change-Id: Iac61d988c3432b8f78eb7d06dd3bb8d706fec621
6384878d69d3deb4a7c314f611ee62a634f21411 12-Jul-2016 Justin Klaassen <justinklaassen@google.com> Cleanup TwilightService

TwilightService now just reports the current twilight state, it's up to
clients to provide their own locking mechanism (e.g. always day or
night).

Bug: 29620105
Change-Id: I2a8bb544eab0f44d269c59f36a53fbdf842b423a
ettings.java
b933b9acd63154de9a8d1d864ab490045aedea1e 16-Jul-2016 Mike Tsao <miket@google.com> Merge \\"Back up Night Light settings\\" into nyc-mr1-dev am: 9a0e444c22
am: d4584a8fb5

Change-Id: I15db4e270c6306fc666c9f33914f242e9e21a1fd
d4584a8fb5d09dab4e7c416632f14223e7a5d009 15-Jul-2016 Mike Tsao <miket@google.com> Merge \"Back up Night Light settings\" into nyc-mr1-dev
am: 9a0e444c22

Change-Id: I4bc968dfced4671fecb140c50ce759b02d78c4a1
fc47ba75e47bae52894aa7d973470e544f9dc2bd 15-Jul-2016 Mike Tsao <miket@google.com> Back up Night Light settings

Bug: 30150787
Change-Id: I79697b41b68e0f123de20e7b8782c6058bef7977
ettings.java
f0bc8660d2b2e746f884f89324104a8420818d80 12-Jul-2016 Allison Babick <ababick@google.com> Add user-modifiable downloads backup conditions.

Add the user-modifiable fields to Settings.Secure.

Bug: 29829743
Change-Id: Ic56523948974974b11b114fb5fca1517414f3728
ettings.java
290c38567e48ba960e05da4d4ef5648c89e224ff 14-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \\"Refactor display color transforms\\" into nyc-mr1-dev am: 94673f0b7c
am: 5f3bf63121

Change-Id: I06a60ef4a1fa23e0c1f5b6ab97462811b6aaf239
5f3bf63121e5cd6ceb4e8924986bf021987141aa 14-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \"Refactor display color transforms\" into nyc-mr1-dev
am: 94673f0b7c

Change-Id: I7fdf83db6cbf26cdc5b8a9971fa48b7f8458474d
22eb19939d815856887f1329f41aa04b397505ff 12-Jul-2016 Justin Klaassen <justinklaassen@google.com> Refactor display color transforms

- Removed Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX, it's not desirable
to persist the actual color transformation matrix.
- Refactored all SurfaceFlinger transforms to DisplayTransformManager,
which allows color transforms to be set independently from the a11y
manager service.

Bug: 30042357
Change-Id: Iefa477dedb66aac90e1218e327802a3fab6899ed
ettings.java
af885e9fa28449b3fb1457f8a06453374f0f606d 14-Jul-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge \\"Fix javadoc broken links in DocumentsContract.\\" into nyc-mr1-dev am: 0e7bb571fd
am: 0f2a7ca01e

Change-Id: I219e199647533a22eecf9cb0cdf29057f37798e6
0f2a7ca01e21d083e7147de5b9d03443fe516bb7 14-Jul-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge \"Fix javadoc broken links in DocumentsContract.\" into nyc-mr1-dev
am: 0e7bb571fd

Change-Id: I45a178f0897fd837307131007529286ca4af0025
0e7bb571fd91a82d6e4d06a2997766c18d7b8e31 14-Jul-2016 Tomasz Mikolajewski <mtomasz@google.com> Merge "Fix javadoc broken links in DocumentsContract." into nyc-mr1-dev
e4ffde9cacfefb6d3e93ed07497d245c476cb1bc 13-Jul-2016 Mahaver Chopra <mahaver@google.com> Merge \\"Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED.\\" into nyc-mr1-dev am: 695a1c50a2
am: e64f60a455

Change-Id: Iedc9544179d3c3de8616375e51f7a60ddd1c8c3b
e64f60a455f19180a56577ed2d55cc01578657a9 13-Jul-2016 Mahaver Chopra <mahaver@google.com> Merge \"Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED.\" into nyc-mr1-dev
am: 695a1c50a2

Change-Id: I8976511deb994983abbb17b2830b98878c92631b
90a753330d1cccdb844cedcb3e01ad642f2a5542 13-Jul-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix javadoc broken links in DocumentsContract.

Bug: 30074847
Change-Id: I187ac7b8055be4bb313b2fea68c101d84e586b5d
ocumentsContract.java
3d9805d50281882b4420ee2d4ede8a8bdd94d455 07-Jul-2016 Mahaver Chopra <mahaver@google.com> Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED.

Currently we used global setting to restrict user from enabling oem
unlock. As global settings can be chagned using adb, using user
restrictions instead.

Bug: 29893399
Change-Id: Ic83112a4838b8279bf50408a29ae205e0b8639ee
ettings.java
531eb4e9f6a12b7246acd0fe5a9b12f7908fade6 12-Jul-2016 Doris Ling <dling@google.com> Merge \\"Add a secure setting for double twist gesture for camera flip.\\" into nyc-mr1-dev am: 3e869587e8
am: b8d3caf4b8

Change-Id: I9265956ac2253f8a19c3a7f4dc8e6d9ada97f931
f3fbe392d4b7f67ce09e482e62a69cd504415c60 11-Jul-2016 Jorge Gil <jorgegil@google.com> Merge "Add DOWNLOADS_BACKUP_ENABLED key to SettingsSecure"
b8d3caf4b899908d620ad93a6330d8c3a3208b82 09-Jul-2016 Doris Ling <dling@google.com> Merge \"Add a secure setting for double twist gesture for camera flip.\" into nyc-mr1-dev
am: 3e869587e8

Change-Id: If64a188d45beea48d264219df8a9c7bce63bcecf
029c2f4e3f9be621d7f82361decbbcdabeff9861 08-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \\"Add Night display feature\\" into nyc-mr1-dev am: 76262b8e14
am: 1228803cde

Change-Id: I855bf48a271b15f671957b1451caab24d08d8293
a60d31d70f3b9c2a08e38b3487b6c9a6314e0b5b 06-Jul-2016 Doris Ling <dling@google.com> Add a secure setting for double twist gesture for camera flip.

Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED to control whether the
double twist gesture should flip the camera between front and back mode
is enabled or not. Also move SYSTEM_NAVIGATION_KEYS_ENABLED from
Global to Secure.

Bug: 29869445
Change-Id: I614289e6de7b1ee4221de7047a5e0dd784607bed
ettings.java
1228803cde9fa6bbcf69880aab74d2787ddb7f58 08-Jul-2016 Justin Klaassen <justinklaassen@google.com> Merge \"Add Night display feature\" into nyc-mr1-dev
am: 76262b8e14

Change-Id: I03912016390820f61fb515b1f206edd9bfea9ccf
911e88939cbe5a8607c230e061ba1da5f187cf69 22-Jun-2016 Justin Klaassen <justinklaassen@google.com> Add Night display feature

Bug: 28615069

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

Change-Id: Ie56b4eed88cc2fcbae88002492b1edad5820b6b1
ettings.java
1404b099380d41ef61be2b4d7dbeffecb04e2877 08-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Docsui-level work for implementing Eject on Roots list."
8a6b090fd49789a63775f52dc4966a82bae76747 08-Jul-2016 Suprabh Shukla <suprabh@google.com> Merge \\"Making timeouts configurable through Settings\\" into nyc-mr1-dev am: 33fa5dfa1d
am: 087d33febf

Change-Id: If1bb99b356d4b6fdf3471e1ccccc2c6ebf8ace43
087d33febffdd28d85021800aa42a51b94b64f4a 08-Jul-2016 Suprabh Shukla <suprabh@google.com> Merge \"Making timeouts configurable through Settings\" into nyc-mr1-dev
am: 33fa5dfa1d

Change-Id: Ife69e438d83ddfb75433f92c6c5521ae4c3f82cc
33fa5dfa1d0bcd27ac3a2db8ce72f430c5a3204b 08-Jul-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Making timeouts configurable through Settings" into nyc-mr1-dev
d7d1487ec8d27336ba49a300e2eed39c3835c47e 29-Jun-2016 Ben Lin <linben@google.com> Docsui-level work for implementing Eject on Roots list.

1. Added Eject Icon for Roots that support eject
2. Added Context Menu for RootsFragment (Settings and Eject)

Bug: 29584653
Change-Id: I97f582de05763e3f0327bc0d2dc6d4e2222e047c
(cherry picked from commit d96661f8b0f613b40f2bdfc178bbe06022b5f76c)
ocumentsProvider.java
6825a77f6651bbdfa88dea8752038726462c0bbd 30-Jun-2016 Jorge Gil <jorgegil@google.com> Add DOWNLOADS_BACKUP_ENABLED key to SettingsSecure

Bug: 29829743
Change-Id: I3883015a615191bb6d737989b24c485c3c6b6256
ettings.java
dbbc7af06363435492410227c3c2b703ebda80e4 07-Jul-2016 Suprabh Shukla <suprabh@google.com> Making timeouts configurable through Settings

Adding a global setting for timeouts used in retail demo mode.
Also renaming the protected intent ACTION_RESET_DEMO to reflect proper
owner package.

Bug: 29917613
Change-Id: I9a174503626ab28cceb5024a8e63d27612439b92
ettings.java
f1d788adee4ee2242e36e76072be290466b00b63 07-Jul-2016 Svet Ganov <svetoslavganov@google.com> Merge \"Merge \\"Merge \\\"Use proper lock when accessing the generation registry\\\" into nyc-dev am: dcf2e205bf\\" into nyc-mr1-dev am: d0302f579b\" into nyc-mr1-dev-plus-aosp
am: f910dab5f7

Change-Id: I86bda42056b6af37febccf48ebe09ee6363b50d0
eabaf266f8156fe95fe532a820320701296d02bd 07-Jul-2016 Svet Ganov <svetoslavganov@google.com> Merge \"Merge \\"Use proper lock when accessing the generation registry\\" into nyc-dev am: dcf2e205bf\" into nyc-mr1-dev
am: d0302f579b

Change-Id: I8cd55faa5e8c788752ae411f29f29d9261f327c0
84954568db33c36572833f0eba4a2e2e32ade6f1 07-Jul-2016 Svet Ganov <svetoslavganov@google.com> Merge \"Use proper lock when accessing the generation registry\" into nyc-dev
am: dcf2e205bf

Change-Id: I00b1a6aba01fd9155e4b0db17e9bd65d31425489
51b839544b7bc8f7285baa3b405ab7b28172b470 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
eeabaa9394f44d356bed01e99aaaad2a6ba91c30 30-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \\"Add counters for the automatic storage manager.\\" into nyc-mr1-dev am: d9f0e37dc1
am: f38d4bb413

Change-Id: Ia595b77f85f4b665cf7b20930544f046ea22b919
f38d4bb413eb36bed211d06094f6da2eccdc5905 30-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \"Add counters for the automatic storage manager.\" into nyc-mr1-dev
am: d9f0e37dc1

Change-Id: I00bcd2808aba694d66f1db689acebea26ed5eeee
d9f0e37dc108c018843d3e7d68c636c3313e98d9 30-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge "Add counters for the automatic storage manager." into nyc-mr1-dev
e7822fb76791e3951502e759e2b11204869d532a 25-Jun-2016 Ben Lin <linben@google.com> Provider-level changes for implementing direct eject of a root in Files app.

Several changes at different levels:
1. Introduction of ejectRoot(String) for DocumentsProvider
2. Introduction of ejectRoot(ContentResolver, Uri, String) for
DocumentsContract
4. Additional permission for MOUNT_UNMOUNT for ExternalStorageProvider
5. Implementation of ejectRoot(String) for External StorageProvider

Bug: 29584653
Change-Id: I28557af63259548784cf24d5b051eb06ad5193ca
(cherry picked from commit 2ccc18357d6741dde56edc4d5a2608f15f4b9078)
ocumentsContract.java
ocumentsProvider.java
f06f1b81807337ea4551afb9241c552a71fa75bf 29-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \\"Use the Deletion Helper when system storage is low.\\" into nyc-mr1-dev am: 6401217532
am: b8a7ddad7e

Change-Id: I3d51bb6934e4a42ec8e9d7f37d460b780a5941fe
b8a7ddad7e4e611edabf3e75618a53135488c061 29-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \"Use the Deletion Helper when system storage is low.\" into nyc-mr1-dev
am: 6401217532

Change-Id: I9d8645a32185a8749edeeee654ee81bdd00f240f
6401217532e5357549988182b90bea28a86691e2 29-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge "Use the Deletion Helper when system storage is low." into nyc-mr1-dev
690346b145b77b13951fbf27cbc792195f975b6a 17-Jun-2016 Daniel Nishi <dhnishi@google.com> Use the Deletion Helper when system storage is low.

A notification is posted when the system storage gets too low.
Currently, it redirects into the Storage Settings. Instead,
it should redirect into the Deletion Helper to directly let the
user clear out their storage.

Bug: 29437277
Change-Id: I4e35adf300d5e479d4171f1e6f090f2a757400f2
ettings.java
f678cc9c2bcee846b67a9b345fc88002b0e58981 25-Jun-2016 Daniel Nishi <dhnishi@google.com> Add counters for the automatic storage manager.

In order to attribute storage savings, we log how much data has
been freed and the last time that the automatic storage manager
has run.

Bug: 29643106
Change-Id: Ibb57b44b5e7550d4ab11e95b47db2f5d6599a96f
ettings.java
abcc4392e9c085ff1c28c7849e2d2aa7a9a4aa29 24-Jun-2016 Dmitri Plotnikov <dplotnikov@google.com> Merge \\"Unhiding DEVICE_NAME\\" into nyc-mr1-dev am: b1ca092db8
am: 89858c58af

Change-Id: Id7ccc6d627574bb1a1d0198f72ab70f921d8c9d9
89858c58af8ed0c606f2f03bcd1dea9a1afa9e8b 24-Jun-2016 Dmitri Plotnikov <dplotnikov@google.com> Merge \"Unhiding DEVICE_NAME\" into nyc-mr1-dev
am: b1ca092db8

Change-Id: Icdb1cef5802c4d2b22292874ab3139a132fe7bd0
b1ca092db8766c8819f0c99feede8c8d63907ad5 24-Jun-2016 Dmitri Plotnikov <dplotnikov@google.com> Merge "Unhiding DEVICE_NAME" into nyc-mr1-dev
e18f55e2ac03ea6c808bd605b52b8847ce0f6631 23-Jun-2016 Chris Manton <cmanton@google.com> Merge \\"Add global settings for cell radio state\\" into nyc-mr1-dev am: d4ac4c7786
am: 8bfefbbb53

Change-Id: I44d2ab2580ebbb395ebc511a1be61fc46a2c1d4f
8bfefbbb53914fc5667c0ca5f73179edc7c2da83 23-Jun-2016 Chris Manton <cmanton@google.com> Merge \"Add global settings for cell radio state\" into nyc-mr1-dev
am: d4ac4c7786

Change-Id: I5698d08dcc6854ceffb08debecf3fa443750fab0
d4ac4c7786787384029b9b73de31e74617eced3d 23-Jun-2016 Chris Manton <cmanton@google.com> Merge "Add global settings for cell radio state" into nyc-mr1-dev
3bfaeb7c6f748dd1fe0691336b86c3922964f01d 23-Jun-2016 Ta-wei Yen <twyen@google.com> Merge \\"Add more configuration state for visual voicemail\\" into nyc-mr1-dev am: fbb87a0591
am: 6b4c1e2d9b

Change-Id: Ic927f2b9a0ef6e55614bd6ea7b62793a6d10bf36
6b4c1e2d9bc0d991207ec08372011c2745dc9720 23-Jun-2016 Ta-wei Yen <twyen@google.com> Merge \"Add more configuration state for visual voicemail\" into nyc-mr1-dev
am: fbb87a0591

Change-Id: I2e1e11c5ef9ec8a166d232efd4f167de6a4d55f2
1121017213ca3a0761dd2128ffb0f48cb80acb36 23-Jun-2016 Ta-wei Yen <twyen@google.com> Add more configuration state for visual voicemail

Bug: 26944391
Change-Id: I7e0c2649097edca96d6a78fe2dc250a4b4855133
oicemailContract.java
95a6c899d6625ec2b1a0cdca4934debff88da86d 15-Mar-2016 Chris Manton <cmanton@google.com> Add global settings for cell radio state

Provide persistable state for cell radio
to handle airplane mode similar to any
other radio in the system.

Change-Id: I87398fe84de3f6a10b0e1002e9e5bf7e61f9441f
ettings.java
f19b6ec8bb6ef65b889e40572e6eedc16e571a9a 22-Jun-2016 Dmitri Plotnikov <dplotnikov@google.com> Unhiding DEVICE_NAME

Bug: 28439637
Change-Id: Iea9efbaf18b2110c21f0d27a3e44fd6590f2d372
ettings.java
1b288ed19771dbbb4f5c8695a46c42e8d4efb34e 18-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge \\\"Fix a race in local settings caches\\\" into nyc-dev am: f4ddb7ce30 am: ee4c0a3c7e
am: 235411a3bc

Change-Id: Id4d016ea2963b000d0a401eeb22a1740f012794b
8011f5ed1ce3374bf6ce0d4952df54dc923a2b2e 18-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge \"Fix a race in local settings caches\" into nyc-dev
am: f4ddb7ce30

Change-Id: If28342d6deab7d0b7e89029229bad060ce7c8a8d
235411a3bcc57aab979bdc7e8102602dcce66154 18-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge \\"Fix a race in local settings caches\\" into nyc-dev am: f4ddb7ce30
am: ee4c0a3c7e

Change-Id: If795ce9ea8fe36c9919170d0ded12bf488fb8a49
ee4c0a3c7eeeb459aed6d24bb3745a8e53fd97c5 18-Jun-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge \"Fix a race in local settings caches\" into nyc-dev
am: f4ddb7ce30

Change-Id: Ia973ef68382ac359908b83be3dbca485c91d5cd6
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
20c0209e2f2b54a412331a673eb728ed6e03ed6a 15-Jun-2016 Todd Kennedy <toddke@google.com> Merge \\"New API w/ multiple prefixes\\" into nyc-mr1-dev am: d07b87cb1c
am: 162b74a6fd

Change-Id: I81d79930c6d3d42be61a9ab1cdb5f29d677cd3de
162b74a6fdaa3cd4da58f307eff08fd98b0a3222 15-Jun-2016 Todd Kennedy <toddke@google.com> Merge \"New API w/ multiple prefixes\" into nyc-mr1-dev
am: d07b87cb1c

Change-Id: I3296ac4343cfedb5b88470963cb4671e9e3427f6
a97045b2456b63a9c699a8cc8af66b0e8e95c519 11-Jun-2016 Todd Kennedy <toddke@google.com> New API w/ multiple prefixes

Use the new API that contains multiple hash prefixes and a mask. Also
do some small refactoring necessary to handle multiple prefixes and
use a common implementation of the hash generation

Change-Id: Ib52f767ea6aadc30c67c5bdee949e9f9c5f04e44
ettings.java
8cdceba0dc7b921ff7c83512ebe287353f4b6004 15-Jun-2016 Doris Ling <dling@google.com> Merge \\"Added config system navigation keys.\\" into nyc-mr1-dev am: 32300db186
am: 4be6c44ee2

Change-Id: I45ff845e5cf67d738c1f25b26bcd7acfe50ea9eb
4be6c44ee2eeb38f383d1d34090cccd5e7e3ae76 15-Jun-2016 Doris Ling <dling@google.com> Merge \"Added config system navigation keys.\" into nyc-mr1-dev
am: 32300db186

Change-Id: I9de582c7ae95aa36fbae75be6b72b4ffc01ae695
32300db1862432644c61bb9d21618e0da154daa9 15-Jun-2016 Doris Ling <dling@google.com> Merge "Added config system navigation keys." into nyc-mr1-dev
b382bb2c2fdd1df87ee3e1147c60c0c45fa0daf4 14-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \"Merge \\"Add a flag to toggle how much the storage manager should retain.\\" into nyc-mr1-dev am: 7374971c28\" into nyc-mr1-dev-plus-aosp
am: 5fdb94ce1e

Change-Id: I30188ebb95237cc3fa43533d1b5c1df08f8cf4dc
d630a5b9a411cae35e7c76fa5842ac0cac68bc80 14-Jun-2016 Daniel Nishi <dhnishi@google.com> Merge \"Add a flag to toggle how much the storage manager should retain.\" into nyc-mr1-dev
am: 7374971c28

Change-Id: I17595b0268e73d9b3193eb81f6779278d2502efa
c535be179a06916ee12c7d1184ef70129d6ba76a 10-Jun-2016 Daniel Nishi <dhnishi@google.com> Add a flag to toggle how much the storage manager should retain.

This flag is used to set how many days of storage the automatic
storage manager will retain when clearing data.

Bug: 28965462
Change-Id: I87afafb7d3252d8c390ea43b7c45fd923f911e4e
ettings.java
628cea45e231a6bdda0e66940f5059b8b3b8fadd 09-Jun-2016 Doris Ling <dling@google.com> Added config system navigation keys.

1. Added config_supportSystemNavigationKeys to config and symbols
2. Added SYSTEM_NAVIGATION_KEYS_ENABLED to Settings.Global
3. Updated PhoneWindowManager to check for the system navigation keys enabled
flag before expanding or collapsing the notification panel.

Bug 29120082

Change-Id: Ia73078520474ce5a1cbf2256c0d793ed74bbf589
ettings.java
0a86dd61209c3bef46336717bb570f9c7b411cbd 02-Jun-2016 Makoto Onuki <omakoto@google.com> Merge "ShortcutManager: Implement max # of shortcuts" into nyc-mr1-dev am: a9f262d649
am: 4169184518

* commit '416918451846518d1ff42d45ad361a7b9df19934':
Don't back up/restore the "automatically restore app data" setting

Change-Id: Ie88b05c3997045bed66fc72b115f6f7e48b5d970
416918451846518d1ff42d45ad361a7b9df19934 02-Jun-2016 Chris Tate <ctate@android.com> Merge "Don\'t back up/restore the "automatically restore app data" setting" into nyc-dev am: 453951d077
am: 4872e3df96

* commit '4872e3df962a386576b51e03a26add0ceb700698':
Don't back up/restore the "automatically restore app data" setting

Change-Id: Idabd2988d6b63e06a018c24c1b3a9e17514596b3
0cd6ca14eb8fbfbca9602067c93a4c6bd619ddbe 02-Jun-2016 Christopher Tate <ctate@google.com> Merge "Don\'t back up/restore the "automatically restore app data" setting" into nyc-dev
am: 453951d077

* commit '453951d0777b1421e95bbcac501fb8b091c0f6a3':
Don't back up/restore the "automatically restore app data" setting

Change-Id: Ia950b6992e76d05bccd5773cdda04308ddb054c0
4872e3df962a386576b51e03a26add0ceb700698 02-Jun-2016 Christopher Tate <ctate@google.com> Merge "Don\'t back up/restore the "automatically restore app data" setting" into nyc-dev
am: 453951d077

* commit '453951d0777b1421e95bbcac501fb8b091c0f6a3':
Don't back up/restore the "automatically restore app data" setting

Change-Id: Ia04215f6597dc3221bda438feb4921d53c1725fc
453951d0777b1421e95bbcac501fb8b091c0f6a3 02-Jun-2016 Chris Tate <ctate@android.com> Merge "Don't back up/restore the "automatically restore app data" setting" into nyc-dev
3a716c735b40280f8f585738bafb22aac96607de 02-Jun-2016 Chris Wren <cwren@android.com> resolve merge conflicts of 43c3a7e5 to nyc-mr1-dev am: d958f83a01
am: be2da62d11

* commit 'be2da62d11227c564817906c5df0ceb151ed2436':
make the notification enqueue rate threshold a setting

Change-Id: I499087166d900cfbd4675e54382117c530e0e3ed
be2da62d11227c564817906c5df0ceb151ed2436 02-Jun-2016 Chris Wren <cwren@android.com> resolve merge conflicts of 43c3a7e5 to nyc-mr1-dev
am: d958f83a01

* commit 'd958f83a017dde230203d91c8daedf36d40c22a6':
make the notification enqueue rate threshold a setting

Change-Id: I5172c1a0f0832f3b93d05f0ab7b7b1ab7233d334
d958f83a017dde230203d91c8daedf36d40c22a6 02-Jun-2016 Chris Wren <cwren@android.com> resolve merge conflicts of 43c3a7e5 to nyc-mr1-dev

Change-Id: I85619e6d8176bf23b6f4090c4573e5d9c248b585
35f49c5968775ea30fdcb859e94e1c816edfcb0d 02-Jun-2016 Chris Wren <cwren@android.com> Merge "make the notification enqueue rate threshold a setting" into nyc-dev
am: 43c3a7e5a7

* commit '43c3a7e5a781640b862cf6f51805b3823f46fd02':
make the notification enqueue rate threshold a setting

Change-Id: I3e8c37aead7e1f2d5dc9fc89b72f82294bd16cfe
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
9e4df538effa394c17e38af80e67ce298133f26d 02-Jun-2016 Ta-wei Yen <twyen@google.com> Merge "Add support for source-specific VVM state in VoicemailContract" into nyc-mr1-dev am: 912e2b2c80
am: cbf3aa8789

* commit 'cbf3aa8789341c60b1db6cfaaa7033e3623db810':
Add support for source-specific VVM state in VoicemailContract

Change-Id: I196ff66863f852808ffbe2d67e5878f049b15a75
cbf3aa8789341c60b1db6cfaaa7033e3623db810 02-Jun-2016 Ta-wei Yen <twyen@google.com> Merge "Add support for source-specific VVM state in VoicemailContract" into nyc-mr1-dev
am: 912e2b2c80

* commit '912e2b2c80ba7641f649ae7e130d9febc4caac44':
Add support for source-specific VVM state in VoicemailContract

Change-Id: I0d0555fc9d2d4dfcee9a8cfb29acfe3a109be094
912e2b2c80ba7641f649ae7e130d9febc4caac44 01-Jun-2016 Ta-wei Yen <twyen@google.com> Merge "Add support for source-specific VVM state in VoicemailContract" into nyc-mr1-dev
c75b215eb308ba200ef6c6b3fff38a59aaef8f66 01-Jun-2016 Ta-wei Yen <twyen@google.com> Add support for source-specific VVM state in VoicemailContract

Negative values of the field CONFIGURATION_STATE, DATA_CHANNEL_STATE,
NOTIFICATION_CHANNEL_STATE is reserved to voicemail source for its'
specific errors. SOURCE_TYPE can be set to help interpret the error
codes.

Typically the OMTP visual voicemail source will set SOURCE_TYPE to the
same value of visual voicemail type set with
CarrierConfigManager.KEY_VVM_TYPE_STRING, such as "vvm_type_omtp".

For example, the OMTP visual voicemail source could set
CONFIGURAITON_STATE to -5 and SOURCE_TYPE to "vvm_type_foo", and the
client can find -5 for "vvm_type_foo" means "PIN is not set by the user"

+ Field SOURCE_TYPE
+ Docs to specify negative values are reserved for the source
- Removed hidden helper method SetStatus() and SetQuota(). The 'ignore'
value is conflicting with reserved values.

Bug:26944391
Change-Id: I0930f684dadd25ae94e3ea68a7658c7ae423e3e3
oicemailContract.java
5101b957105570b43ac7d5eea826871517266200 01-Jun-2016 Dianne Hackborn <hackbod@google.com> resolve merge conflicts of e174476 to master

Change-Id: I4005cf91b8a6bf3faa2301d8ce97ab1ad5eed94f
e174476b70c2416ef7ce45d3e8bff68d5807da67 01-Jun-2016 Dianne Hackborn <hackbod@google.com> Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev am: 438693dd6c
am: 576430f36a

* commit '576430f36ac04843fed5697ecae1716489c164bb':
Work on issue #28942589: Tune job scheduler

Change-Id: I101010ff1d7d88c2ccac14d095df7722569cf549
576430f36ac04843fed5697ecae1716489c164bb 01-Jun-2016 Dianne Hackborn <hackbod@google.com> Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev
am: 438693dd6c

* commit '438693dd6cc4e3fe2ffb336d551c0d69e9546102':
Work on issue #28942589: Tune job scheduler

Change-Id: I9e4ddcc64d84a8d943128d8bd8ebf158743c5549
0e443c132092fc028227297aa71ed4a35729c71c 01-Jun-2016 Dianne Hackborn <hackbod@google.com> Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev
am: 438693dd6c

* commit '438693dd6cc4e3fe2ffb336d551c0d69e9546102':
Work on issue #28942589: Tune job scheduler

Change-Id: I8264ce4204762358ccbf893e7846434eed258a22
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
6afa2e1d1d4ba9bae912c675f018ba78a7d86804 28-May-2016 Felipe Leme <felipeal@google.com> Merge "Allow apps to bypass Power Save restrictions when launched from a Notification\'s PendingIntent." into nyc-dev am: efa291a860 am: 8c8ea506d9
am: d786355405

* commit 'd786355405dfb50b1e6eb0bb8628276b9b2823c6':
Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

Change-Id: Ic8f6cbfce572c54d7124a508af12043a58d5bc66
d786355405dfb50b1e6eb0bb8628276b9b2823c6 27-May-2016 Felipe Leme <felipeal@google.com> Merge "Allow apps to bypass Power Save restrictions when launched from a Notification\'s PendingIntent." into nyc-dev am: efa291a860
am: 8c8ea506d9

* commit '8c8ea506d91db44de1d312612a8f63ab107af799':
Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

Change-Id: Iaffe5981b299eca5756666bd03c67a84c8e15283
feaa8982fcd19ec9dbaa2eb5cd19dcfd349dfebf 27-May-2016 Felipe Leme <felipeal@google.com> Merge "Allow apps to bypass Power Save restrictions when launched from a Notification\'s PendingIntent." into nyc-dev
am: efa291a860

* commit 'efa291a8605e91d775faf46ada349ec7f81fcdb9':
Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

Change-Id: I11bf96280ac5e143d5260cb20238da38b4e0eaa3
8c8ea506d91db44de1d312612a8f63ab107af799 27-May-2016 Felipe Leme <felipeal@google.com> Merge "Allow apps to bypass Power Save restrictions when launched from a Notification\'s PendingIntent." into nyc-dev
am: efa291a860

* commit 'efa291a8605e91d775faf46ada349ec7f81fcdb9':
Allow apps to bypass Power Save restrictions when launched from a Notification's PendingIntent.

Change-Id: Ibd09b082140b66d25bd8583040761581bb20af76
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
a0cb2c49316ed518377ed638ddf7364d0b31c425 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev am: ce9f5e3657 am: b03e7217f3
am: d34ca400c6

* commit 'd34ca400c6f8cd25827e0278dd9062d82b0fbf08':
Fix system locale propagation during user creation.

Change-Id: I41229dce52266d59c3b3334e2d4ae390b75bbe20
d34ca400c6f8cd25827e0278dd9062d82b0fbf08 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev am: ce9f5e3657
am: b03e7217f3

* commit 'b03e7217f3fa3144f69119a4e109cce934d6065a':
Fix system locale propagation during user creation.

Change-Id: I6955bad489926525f6b50709bcf14b829ca9392d
b03e7217f3fa3144f69119a4e109cce934d6065a 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev
am: ce9f5e3657

* commit 'ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8':
Fix system locale propagation during user creation.

Change-Id: If31dcbe28d108ec12aa9f4aef4382dcb2da90aaf
005ef10518adb9768ad6569f0c6b42db949083d4 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev
am: ce9f5e3657

* commit 'ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8':
Fix system locale propagation during user creation.

Change-Id: I020babcf2ce1aa632099457f2baf3497f5ac2946
ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8 26-May-2016 Seigo Nonaka <nona@google.com> Merge "Fix system locale propagation during user creation." into nyc-dev
e1b53d7caba4e6c8e0367e4d33f5dd3b816a6606 25-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add missing @Deprecated annotations."
15d6c4bf7c5feb1e77a50ae014e3e2c27740c898 25-May-2016 Daniel Nishi <dhnishi@google.com> Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev
am: 9746deefbb

* commit '9746deefbbfa3f6561bdf27e7d697cc352853f13':
Add a flag to toggle the automatic storage manager on and off.

Change-Id: Icd5688b8ea9c72c6bab9dbb0eedd895bd0b09aca
514c5ef8d5774d8820ed1bf90fe53af1606cf106 25-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Deprecated annotations.

Add missing @Deprecated annotations for methods with @deprecated tag
in javadoc.

Change-Id: I35b78ccb97832d86b914c21a300444ba29e33844
ontacts.java
ettings.java
yncConstValue.java
395d387c2cf6f92b3758262349be8a59a7850126 23-May-2016 Daniel Nishi <dhnishi@google.com> Add a flag to toggle the automatic storage manager on and off.

This flag will be used in both Settings and Setup Wizard to enable
and disable the automatic storage manager.

Bug:28905328
Change-Id: Iafc374448d96171ad0a4c36f6fea5e0118105a8c
ettings.java
461e71472df1942936c27fb65f46b72c3eb4ab1b 20-May-2016 Roozbeh Pournader <roozbeh@google.com> Merge "Clear locales without changing layout direction." into nyc-dev am: 6686711ba2
am: 18bf0e2ad2

* commit '18bf0e2ad22a28060e9cbd1516b1c36236c5b557':
Clear locales without changing layout direction.

Change-Id: Ia3925ac1adbf3e5cdaa45c1d88f9fc50483765cb
18bf0e2ad22a28060e9cbd1516b1c36236c5b557 20-May-2016 Seigo Nonaka <nona@google.com> Merge "Clear locales without changing layout direction." into nyc-dev
am: 6686711ba2

* commit '6686711ba289740a20dc15133aed4a2b5bac5d44':
Clear locales without changing layout direction.

Change-Id: Ifa6124e9b772b54355b696aa4df1ca94950c64c5
5ac2c3b4a0e646884b6998fbccf538145cf70e7a 20-May-2016 Seigo Nonaka <nona@google.com> Merge "Clear locales without changing layout direction." into nyc-dev
am: 6686711ba2

* commit '6686711ba289740a20dc15133aed4a2b5bac5d44':
Clear locales without changing layout direction.

Change-Id: I5c7714d3ef54fc7caf6580837d48a1b79e56a892
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
1500a27af2e4daede64b938cf4207748c283654a 20-May-2016 Chris Tate <ctate@android.com> Merge "Back up / restore the \'mono audio\' setting" into nyc-dev am: a3aaa5ee25
am: 36b03ec9f0

* commit '36b03ec9f0cd6466f2bd9517a72438e446033685':
Back up / restore the 'mono audio' setting

Change-Id: I0947760de027c0dfa1fd5f66ea7adfcae9d965a0
d33151bf4fe0da6b64abb995deedaa6622560545 20-May-2016 Christopher Tate <ctate@google.com> Merge "Back up / restore the \'mono audio\' setting" into nyc-dev
am: a3aaa5ee25

* commit 'a3aaa5ee2558ac5a6b6ca0b309dc9eea4c51bf14':
Back up / restore the 'mono audio' setting

Change-Id: Ieb242d2d382218b6090acf0e72c33c865fb0994b
36b03ec9f0cd6466f2bd9517a72438e446033685 20-May-2016 Christopher Tate <ctate@google.com> Merge "Back up / restore the \'mono audio\' setting" into nyc-dev
am: a3aaa5ee25

* commit 'a3aaa5ee2558ac5a6b6ca0b309dc9eea4c51bf14':
Back up / restore the 'mono audio' setting

Change-Id: Ie20918c1a8306342de7a5e2201d3e55fff39500c
a3aaa5ee2558ac5a6b6ca0b309dc9eea4c51bf14 20-May-2016 Chris Tate <ctate@android.com> Merge "Back up / restore the 'mono audio' setting" into nyc-dev
df858672ba24abe743f47e4c161b8e5b940b3751 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Hide VoicemailContract.setQuota()" into nyc-dev am: 4f2a1d0913
am: 93ad8c6b2f

* commit '93ad8c6b2f9b6610989ef8d37e62f7b66e6f6c11':
Hide VoicemailContract.setQuota()

Change-Id: Ibce8e2d08074ea44e22a0b3a9fc596ebdb78740e
f652b1ec426b0d8141cd5860a8ddd0985cb1c08b 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Rename visual voicemail sync intent value" into nyc-dev am: 0f712b164f
am: 621b68a213

* commit '621b68a2136b644734292655228503c42a541576':
Rename visual voicemail sync intent value

Change-Id: Ia517f7c596e8d1d1dc055ea081950328faf4f34f
ba9b910bbcb9297a962734fdd5eea11f9d180d71 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Hide VoicemailContract.setQuota()" into nyc-dev
am: 4f2a1d0913

* commit '4f2a1d09133f133ac23b99485713a5ea5b7ea43c':
Hide VoicemailContract.setQuota()

Change-Id: I11017309443435f9fe840c72deada0c7984f5ce9
93ad8c6b2f9b6610989ef8d37e62f7b66e6f6c11 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Hide VoicemailContract.setQuota()" into nyc-dev
am: 4f2a1d0913

* commit '4f2a1d09133f133ac23b99485713a5ea5b7ea43c':
Hide VoicemailContract.setQuota()

Change-Id: Ifc1365650a981130a376ef253e96331595475510
7220c75f65b615999d2d555024aab6a324b0f376 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Rename visual voicemail sync intent value" into nyc-dev
am: 0f712b164f

* commit '0f712b164fa24efdf5c5c2b20d939c3e7affbfe3':
Rename visual voicemail sync intent value

Change-Id: I677dcd6e8261dfdbf4ab203ef1232f9f599a0687
621b68a2136b644734292655228503c42a541576 20-May-2016 Ta-wei Yen <twyen@google.com> Merge "Rename visual voicemail sync intent value" into nyc-dev
am: 0f712b164f

* commit '0f712b164fa24efdf5c5c2b20d939c3e7affbfe3':
Rename visual voicemail sync intent value

Change-Id: I3c842deef20bcc0258affa2ca7d2241502ec49f6
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
4ced2b0732881084236dabb9758fd145e1ae4bd8 20-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract javadocs." into nyc-dev am: 07abc7f813
am: 99d1fd935e

* commit '99d1fd935e7d8c8f3b27c41d1a7ebe7ffa0dbe63':
Update BlockedNumberContract javadocs.

Change-Id: I7bf4ac0a54b69fb2c4084eeac3de2f7de94b102a
99d1fd935e7d8c8f3b27c41d1a7ebe7ffa0dbe63 20-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract javadocs." into nyc-dev
am: 07abc7f813

* commit '07abc7f8139e012f8a92d74448db357446ab4664':
Update BlockedNumberContract javadocs.

Change-Id: Id8d90f28d56223ab1d01be634e83df2ee4dd9e93
cd44b983fed7431ab930852ddd3a22c0d3b19a90 20-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract javadocs." into nyc-dev
am: 07abc7f813

* commit '07abc7f8139e012f8a92d74448db357446ab4664':
Update BlockedNumberContract javadocs.

Change-Id: I88cd7749894dc531fb793e800528af7a686076f5
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
22e9213a1c903a4eda75fb09603735753a131c05 19-May-2016 Robin Lee <rgl@google.com> Merge "Lock down networking when waiting for always-on" into nyc-dev am: d171df660e
am: 77ab7fc8d4

* commit '77ab7fc8d4f4596b1275a7065f05380e22da3a1a':
Lock down networking when waiting for always-on

Change-Id: I4160a61ca437d20df4342a44ed24fc6ad47962c6
77ab7fc8d4f4596b1275a7065f05380e22da3a1a 19-May-2016 Robin Lee <rgl@google.com> Merge "Lock down networking when waiting for always-on" into nyc-dev
am: d171df660e

* commit 'd171df660e19bdba4d188beeb8b6023874712413':
Lock down networking when waiting for always-on

Change-Id: I7be0a85597936421750d1da0fde3d55d7d4fabc5
43fbfbf94c5b8ae4353b73c36d85ff02fd36fc67 19-May-2016 Robin Lee <rgl@google.com> Merge "Lock down networking when waiting for always-on" into nyc-dev
am: d171df660e

* commit 'd171df660e19bdba4d188beeb8b6023874712413':
Lock down networking when waiting for always-on

Change-Id: I34fffb119eecef0052be673f307ef63c94fc58ee
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
1ab19ea6e6575a578244eecbae61d46150bec392 18-May-2016 Amith Yamasani <yamasani@google.com> Merge "Retail mode flag and some clients for it" into nyc-mr1-dev
am: dbf0dbd8c2

* commit 'dbf0dbd8c216e801b3d95f83d13ae05c1ba0ea39':
Retail mode flag and some clients for it

Change-Id: I5f9e7c49759154925c6f20ab3fd647d84259b1bb
dbf0dbd8c216e801b3d95f83d13ae05c1ba0ea39 18-May-2016 Amith Yamasani <yamasani@google.com> Merge "Retail mode flag and some clients for it" into nyc-mr1-dev
bf4c8f730b167e5ee65ed7c59dfa1d7867b63fcc 18-May-2016 Yohei Yukawa <yukawa@google.com> Merge "Move LocaleList to avoid layering violation." into nyc-dev am: 31884efd13
am: ddaf3f4681

* commit 'ddaf3f468195e5aa47617317c08e9e2c35bcfeee':
Move LocaleList to avoid layering violation.

Change-Id: I7dbe5c3d552a7350ab61c929f431e2a3cffdee5b
ddaf3f468195e5aa47617317c08e9e2c35bcfeee 18-May-2016 Yohei Yukawa <yukawa@google.com> Merge "Move LocaleList to avoid layering violation." into nyc-dev
am: 31884efd13

* commit '31884efd13b3ac60078edaa0b7e8a4b75d995538':
Move LocaleList to avoid layering violation.

Change-Id: I9132fe456a8d79569c651dac0a0bce0153444767
13fa6b7c4811ca19f86c40ad7bfab86abafa4887 18-May-2016 Yohei Yukawa <yukawa@google.com> Merge "Move LocaleList to avoid layering violation." into nyc-dev
am: 31884efd13

* commit '31884efd13b3ac60078edaa0b7e8a4b75d995538':
Move LocaleList to avoid layering violation.

Change-Id: I45e9b7e834d2c5e515eb6c60885296358e7d786e
eb437d4dffb310857e19bb619778dc5b6b7febff 29-Apr-2016 Amith Yamasani <yamasani@google.com> Retail mode flag and some clients for it

Bug: 27280140
Change-Id: Ide33e941b9c71eb925b5977d0b0d62198537ca14
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
655041ef5acbaf1f04ee0ca37391bafda535e2da 16-May-2016 Ta-wei Yen <twyen@google.com> Merge "Add visual voicemail SMS filter APIs" into nyc-mr1-dev
am: ca2da6dc33

* commit 'ca2da6dc3332bb657e4927b837e5bc15a6e119cb':
Add visual voicemail SMS filter APIs

Change-Id: I8b124c6a22e473f760e29be8d79843ec55122bb7
349f4eddf76d1f16966a7ae7b599e984f599cf2e 14-May-2016 Ta-wei Yen <twyen@google.com> Add visual voicemail SMS filter APIs

Added the following APIs to the framework:
VoicemailContracts.ACTION_VOICEMAIL_SMS_RECEIVED
VoicemailContracts.EXTRA_VOICEMAIL_SMS_TYPE
VoicemailContracts.EXTRA_VOICEMAIL_SMS_DATA
VoicemailContracts.EXTRA_VOICEMAIL_SMS_SUBID

TelphonyManager.setVisualVoicemailSmsFilterEnabled()
TelphonyManager.isVisualVoicemailSmsFilterEnabled()
TelphonyManager.setVisualVoicemailSmsFilterPrefix()
TelphonyManager.getVisualVoicemailSmsFilterPrefix()
TelphonyManager.setVisualVoicemailSmsFilterOriginatingNumbers()
TelphonyManager.getVisualVoicemailSmsFilterOriginatingNumbers()
TelphonyManager.setVisualVoicemailSmsFilterDestinationPort()
TelphonyManager.getVisualVoicemailSmsFilterDestinationPort()
TelphonyManager.VVM_SMS_FILTER_DESTINATION_PORT_ANY
TelphonyManager.VVM_SMS_FILTER_DESTINATION_PORT_DATA_SMS

These values are required to implement the VisualVoicemailSmsFilter in
frameworks/opt/telephony

All of the APIs are hidden.

Bug:27816386
Bug:27817303
Change-Id: I07736785da5fece84d1f3d27f270ac6fa94c1c56
(cherry picked from commit ecbcce11cecc26d124adac8016f63667d01f3ab1)
oicemailContract.java
057a101453ea46a6207588b53952d78c2a80898c 14-May-2016 Daniel Nishi <dhnishi@google.com> Merge "Add an Activity action to go into the Deletion Helper." into nyc-mr1-dev
am: e8ed2ed331

* commit 'e8ed2ed331a056fe2262ac649f71d781df25f363':
Add an Activity action to go into the Deletion Helper.

Change-Id: I09b09f645b455c8a2cde7bd0eadb34b2cc704178
ac62b4b3605062bb46873b0f69dd940d09884fad 05-May-2016 Daniel Nishi <dhnishi@google.com> Add an Activity action to go into the Deletion Helper.

Applications may want to jump to the Deletion Helper to free up
storage when the device is under storage pressure.

Bug: 28675265
Change-Id: I709c39f3e699ab5f51f4ad1272468583276ff050
ettings.java
7cd6a970c047c06c196cb351d00584180806351e 14-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make settings cahches generation mechanism robust." into nyc-dev am: b35301e421
am: d361bbd0db

* commit 'd361bbd0dbb87d00c6e4abbe32c7866f90ff56bd':
Make settings cahches generation mechanism robust.

Change-Id: I5c3d4e6b0998396b37506d6842f8b37bb5d76460
d361bbd0dbb87d00c6e4abbe32c7866f90ff56bd 14-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make settings cahches generation mechanism robust." into nyc-dev
am: b35301e421

* commit 'b35301e421bb08c28425c49ad46a277c96ccb411':
Make settings cahches generation mechanism robust.

Change-Id: I59566be20a76084f409f0dd57c70337b60339c87
1ba77621c6a802b7f243846a1e6ffa2fb4042dcf 14-May-2016 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make settings cahches generation mechanism robust." into nyc-dev
am: b35301e421

* commit 'b35301e421bb08c28425c49ad46a277c96ccb411':
Make settings cahches generation mechanism robust.

Change-Id: Ided07e935f83e96edfec9217bfad9ae2da1fc6fb
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
b8995b7abc9cbaa1dcb363c68535a63f4e8768a3 13-May-2016 Steve McKay <smckay@google.com> Merge "Don\'t show new-window item in Downloads per Gabe." into nyc-dev am: fec0d188c1
am: 6fdaf2f2cf

* commit '6fdaf2f2cf0d060c7f99baa28ff0514c31faa84f':
Don't show new-window item in Downloads per Gabe.

Change-Id: If6dbf8d3d23f3e97fcf2db9ad7261c9217bfa631
6fdaf2f2cf0d060c7f99baa28ff0514c31faa84f 13-May-2016 Steve McKay <smckay@google.com> Merge "Don\'t show new-window item in Downloads per Gabe." into nyc-dev
am: fec0d188c1

* commit 'fec0d188c166e5a2c517f4494e83c1db11b31c68':
Don't show new-window item in Downloads per Gabe.

Change-Id: Ic8d6afb5e38c1ded0ca7750be4ac4822aefbe6c1
270539c6d01eb82bf4113c43dcf0a6862eb780c6 13-May-2016 Steve McKay <smckay@google.com> Merge "Don\'t show new-window item in Downloads per Gabe." into nyc-dev
am: fec0d188c1

* commit 'fec0d188c166e5a2c517f4494e83c1db11b31c68':
Don't show new-window item in Downloads per Gabe.

Change-Id: I3e7b11561ad3d6a3407119428a2e20709072f53a
fec0d188c166e5a2c517f4494e83c1db11b31c68 13-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't show new-window item in Downloads per Gabe." into nyc-dev
a62fc512dae936ec1d8573cacbd4e649ecd9be1f 13-May-2016 Steven Ng <stevenckng@google.com> Merge "Add a Global setting for disabling OEM unlocking setting" into nyc-mr1-dev
am: e333b2eb81

* commit 'e333b2eb81958cc8d27eb687ebd84844a84919ea':
Add a Global setting for disabling OEM unlocking setting

Change-Id: I625b51c1e257afa095dfacb3bcf481fb2068b56f
e333b2eb81958cc8d27eb687ebd84844a84919ea 13-May-2016 Steven Ng <stevenckng@google.com> Merge "Add a Global setting for disabling OEM unlocking setting" into nyc-mr1-dev
c8242b22ab12e0ee5d6c3fd5672bf8b5dd7ac101 12-May-2016 Tingting Wang <tingtingw@google.com> Merge "Rename CONTACT_METADATA_SYNC GService Flag." into nyc-dev am: 752129929f
am: 2fc6bf3936

* commit '2fc6bf3936951764569bef3256bf41823f3986d4':
Rename CONTACT_METADATA_SYNC GService Flag.

Change-Id: Ib348fbd43a4071156894045e301554ac2631127f
7531057944a71455ef37a34621a163bb28faee57 12-May-2016 Tingting Wang <tingtingw@google.com> Merge "Rename CONTACT_METADATA_SYNC GService Flag." into nyc-dev
am: 752129929f

* commit '752129929fcbe8d7740d25014f7878e835d4f4ef':
Rename CONTACT_METADATA_SYNC GService Flag.

Change-Id: I93f0b86af829eafa6e8425b360a323c48df67776
2fc6bf3936951764569bef3256bf41823f3986d4 12-May-2016 Tingting Wang <tingtingw@google.com> Merge "Rename CONTACT_METADATA_SYNC GService Flag." into nyc-dev
am: 752129929f

* commit '752129929fcbe8d7740d25014f7878e835d4f4ef':
Rename CONTACT_METADATA_SYNC GService Flag.

Change-Id: Ibef9e072b3ff5216de1802558d93e66661bd7764
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
824697c33929648e4afec5db69dc85824b2888a4 09-May-2016 Tyler Gunn <tgunn@google.com> Merge "Un-@hide multi-endpoint APIs." into nyc-mr1-dev
am: b6029e3ba5

* commit 'b6029e3ba54a73bd95ef63caa337e00b8951e024':
Un-@hide multi-endpoint APIs.

Change-Id: I9f8e5f933b12b523a81c40e8ff5ac4b8b972228f
b6029e3ba54a73bd95ef63caa337e00b8951e024 09-May-2016 Tyler Gunn <tgunn@google.com> Merge "Un-@hide multi-endpoint APIs." into nyc-mr1-dev
a31f37dc1ceec990e54ba839a876714a060148e2 06-May-2016 Tony Mak <tonymak@google.com> Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev am: 13532bdd2e
am: ecab71c9f7

* commit 'ecab71c9f77cb0386a1be1c78e73bedf2524a536':
Fix enterprise contacts APIs naming and docs

Change-Id: Idad8e3ee643ba955951a58185f4a8640579db206
de1e4a1048137f910b91dce8b724e8724b1c0811 06-May-2016 Ricky Wai <rickywai@google.com> Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev
am: 13532bdd2e

* commit '13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5':
Fix enterprise contacts APIs naming and docs

Change-Id: I22bd5f8f3d71ae19a2fcac139531243f2546033e
13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5 06-May-2016 Tony Mak <tonymak@google.com> Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev
2cbe2b5816c3a6b55144a3a731cab894761c780d 04-May-2016 Tyler Gunn <tgunn@google.com> Un-@hide multi-endpoint APIs.

Bug: 28621640
This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72.
Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
allLog.java
eb435a3a4cd186ada82fae4dcd3083d65ceab603 05-May-2016 Jason Monk <jmonk@google.com> Merge "Add action to launch webview implementation settings" into nyc-dev
am: c91f5e2971

* commit 'c91f5e297135f9601c7fa6ebe3f4bdc9ad9af112':
Add action to launch webview implementation settings

Change-Id: I26fb9e07522ed522ad551e7f39a66b2f9ad93748
c91f5e297135f9601c7fa6ebe3f4bdc9ad9af112 05-May-2016 Jason Monk <jmonk@google.com> Merge "Add action to launch webview implementation settings" into nyc-dev
dc20ba69bf5f6e1017202555b6159abaf67b855c 26-Apr-2016 Steven Ng <stevenckng@google.com> Add a Global setting for disabling OEM unlocking setting

+ By default, OEM unlocking setting is enabled.
+ Add a check to prevent oem unlock being flipped if the setting isn't
enabled.

Bug: 28163088
Change-Id: I087d8d5a1d99a611a8f66ff71a92ec9ea1da4e9f
ettings.java
71048da608f27d630e3ae5031fc33a223c31bd5e 04-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract documentation." into nyc-dev
am: 9a2384a7a6

* commit '9a2384a7a6ad4ff630f125e844f7b202ec3cc649':
Update BlockedNumberContract documentation.

Change-Id: Ia5962709e57374db6f01c7ba97d4a2dcf26a7b6e
9a2384a7a6ad4ff630f125e844f7b202ec3cc649 04-May-2016 Abhijith Shastry <ashastry@google.com> Merge "Update BlockedNumberContract documentation." into nyc-dev
967d99f033a17289f58ad3da09bea0bde5a369a0 04-May-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API." into nyc-dev
am: d516e30b91

* commit 'd516e30b915ffabd0c09f5726d44c1f51fdeceec':
Voice Messaging Intent API.

Change-Id: Id1665e31f427a81c8052456226e0383473793682
d516e30b915ffabd0c09f5726d44c1f51fdeceec 04-May-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API." into nyc-dev
aded4dbf5e27abf6c9a0245dce56f4b2b2608a02 04-May-2016 Tony Mak <tonymak@google.com> New settings key and policy transparency for managed profile settings
am: c820cc5fb1

* commit 'c820cc5fb1eb036e76d60a25f151cbd91485feb3':
New settings key and policy transparency for managed profile settings

Change-Id: I5e5d30e39e1ba3c25a589fd6123f3a926b5745ba
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
617c9a3625585c25f26e03aa9456adde1e7243cc 02-May-2016 Pierre Imai <imaipi@google.com> Merge changes I86257bc8,I5c2221c5 into nyc-dev
am: 4a992cbde8

* commit '4a992cbde834fdf3770e34b21361b47f4786f65f':
Use Netd's binder interface to set resolver configuration.
Add Gservices settings for resolver configuration.

Change-Id: I80fdc381bd3ff33a8efa6624d7115c346789ca17
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
52e5f2e5ec20cbda0f1ea05ae2294acb25950f44 29-Apr-2016 Lorenzo Colitti <lorenzo@google.com> Merge "The legacy DHCP client is gone. Delete the settings." into nyc-dev
am: a4daf16b57

* commit 'a4daf16b578c456104f59f05ac374101426d1376':
The legacy DHCP client is gone. Delete the settings.

Change-Id: Ib9f1352386ebe667ec5d3d110f64e080c04c103d
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
065be97490bf1595ab74d1d7d0c532547d3818a5 28-Apr-2016 Jeff Sharkey <jsharkey@android.com> Merge "Introduce "unlocking" vs "unlocked" nuance." into nyc-dev
am: 8c2fb9edae

* commit '8c2fb9edae4413074186e3d84ccff0eba41b2cae':
Introduce "unlocking" vs "unlocked" nuance.

Change-Id: Ibc26a4ee84531976e72cc30f2c2862be9a30d28b
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
40ead811e0b3eeb08b2034fa49ea36a3a12ddbb7 28-Apr-2016 Lorenzo Colitti <lorenzo@google.com> Merge "Make isCaptivePortal perform both HTTP and HTTPS probes." into nyc-dev
am: 1d3c594

* commit '1d3c59457c9bcf30e6ecb898e64d9d9725e7803e':
Make isCaptivePortal perform both HTTP and HTTPS probes.

Change-Id: Ic58f5be8dce42c17213ef261f348eda31c6c11e7
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
89ba9ddf26ca15e86ce615995115773adad93727 27-Apr-2016 Felipe Leme <felipeal@google.com> Merge "Update background data restrictions intent javadoc." into nyc-dev
am: 8b5e9f1

* commit '8b5e9f1bcf25ae38f812dc750772cf19abba6638':
Update background data restrictions intent javadoc.

Change-Id: Iaa01becc95debb5aa68cd8308bbe69936e769508
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
d4bc15b66be44af031f5e78574781b8f21923404 26-Apr-2016 Svet Ganov <svetoslavganov@google.com> Merge "Ensure local settings caches are not stale" into nyc-dev
am: f71d7fe

* commit 'f71d7feef22db9e0cab2f32edc7440aedb86fdfe':
Ensure local settings caches are not stale

Change-Id: I356b9ad0b6dc1e91bfad140de1b9fc79ab6efef3
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
d72d5823b8b698717480a1338af6bde742c109f2 26-Apr-2016 Julia Reynolds <juliacr@google.com> Merge changes from topic \'api_review\' into nyc-dev
am: a0676c9

* commit 'a0676c92078b3d5abd850052db80e3b619ce1c5f':
Api review: Settings.
Reduce spacing.

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

* changes:
Api review: Settings.
Reduce spacing.
5df7298c590e97bc73ebf0d3ceda9ab8f809a136 25-Apr-2016 Jeff Sharkey <jsharkey@android.com> resolve merge conflicts of c79a568 to nyc-dev-plus-aosp

Change-Id: I3ee02bc596f285fa41ffcafa882ae5997ef67d22
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
2988b8f641e9d9602cc6ebdd1fad388a57a5f6ec 21-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "Doze settings example not matching real keys" am: 570a13f
am: 790699d

* commit '790699db64ee18d143cd9813e91044fcc5a26713':
Doze settings example not matching real keys

Change-Id: I5c1a0757f5db2ba3ca2fcf37e77641ac820fbe6f
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
eac10ab5f491f6906588604371c49672e5932af6 19-Apr-2016 Henrik Baard <henrik.baard@sonymobile.com> Doze settings example not matching real keys

The keys used in the example for the Doze timeouts does
not match any real key. To avoid confusion the example
should match the existing keys.

Change-Id: I0306c542dac9e38aea7d172a3e0f7472d327c73c
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
2528fcdfbd5d674c00387ed4ce93546ea5581ede 17-Feb-2016 Bill Yi <byi@google.com> Merge commit '26ada7e78993241d702a908eae93d174cbb3c8b3' into HEAD

Change-Id: Ifc45930160cf01ee78ecfbfdc48697055f82e0a7
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
ba12af516722bd559e19f9b3e8618dc4359e617b 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
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 setting allows users to set a scale factor for the
duration and startDelay of all Animator-based animations. This
setting is very similar to the Transition animation scale and
Window animation scale settings, except this one applies specifically
to Animator animations. The property is only accessible by users
through the Settings UI, not programmatically. The value applies
system-wide and is picked up per-process at the time of the first
ValueAnimator construction.

This is an update to a previous CL; this approach uses the WindowManager
to store the animator scale settings, instead of SystemProperties.

Change-Id: I8295fab060aa6d597ae507ded8f9c9d6077be966
ettings.java
f3a3b9ec9ce6cb087dd3f4358684c00be23feec1 30-Jan-2012 Marco Nelissen <marcone@google.com> Merge "Handle adding/removing/renaming nomedia paths"
2d2d7d6f42fe22ecc2b1dc8bb96a19e503a61a20 28-Jan-2012 Jeff Brown <jeffbrown@google.com> Merge "Implement a cancelation mechanism for queries."
75ea64fc54f328d37b115cfb1ded1e45c30380ed 26-Jan-2012 Jeff Brown <jeffbrown@google.com> Implement a cancelation mechanism for queries.

Added new API to enable cancelation of SQLite and content provider
queries by means of a CancelationSignal object. The application
creates a CancelationSignal object and passes it as an argument
to the query. The cancelation signal can then be used to cancel
the query while it is executing.

If the cancelation signal is raised before the query is executed,
then it is immediately terminated.

Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
ettings.java
ca78f3d9aff78c35bc065b0c35a0b3c917f56435 27-Jan-2012 Marco Nelissen <marcone@google.com> Handle adding/removing/renaming nomedia paths

b/5849015
Change-Id: I3ec7419498d1ecc83db6d4605b3d7610349231f7
ediaStore.java
629c6765ca21b6ef23db893a35c62eef6a2a28b6 24-Jan-2012 Jeff Sharkey <jsharkey@android.com> Merge "Move network stats to FileRotator pattern."
63abc37356728c0575d6a62a203102ae6d97953b 12-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move network stats to FileRotator pattern.

Split existing network stats into two separate classes: a recorder
which generates historical data based on periodic counter snapshots,
and a collection of historical data with persistance logic.

Recorder keeps a pending history in memory until outstanding data
crosses a specific threshold. Persisting is handled through a given
FileRotator. This pattern significantly reduces disk churn and
memory overhead. Separate UID data from UID tag data, enabling a
shorter rotation cycle. Migrate existing stats into new structure.

Remove "xt" stats until iptables hooks are ready. Avoid consuming
Entry values when recording into NetworkStatsHistory. Assign
operation counts to default route interface.

Introduce "Rewriter" interface in FileRotator with methods to enable
rewriteAll(). Introduce IndentingPrintWriter to handle indenting in
dump() methods.

Bug: 5386531
Change-Id: Ibe086230a17999a197206ca62d45f266225fdff1
ettings.java
d9ea468d6a9cb6018ce33d3dcf9db72f02773af1 21-Jan-2012 Dianne Hackborn <hackbod@google.com> New brightness setting to adjust auto-brightness mode.

Change-Id: Icfec22be99d8c79e9ff5720b80fb9dacbba36134
ettings.java
96c804af0b4eef79f6d3cdb0f20682e243f1b73d 13-Jun-2011 Jean Chalard <jchalard@google.com> Add methods to support shortcuts in user dict.

Adds the new interface to the user dictionary, which includes
a clean way of inserting words in any locale and support for
shortcuts.

Change Ib318c047 implements the provider part of this.

Bug: 4646172
Change-Id: Id3ca792f2555fac46728f9d404ab0199971f6503
serDictionary.java
9a03482c66b2f5c30c7fde38216239a1f233df02 05-Jan-2012 Wink Saville <wink@google.com> am 3ed28036: am c697ebfd: Merge "Enhancement on ICS data stall polling logic" into ics-mr1

* commit '3ed2803691cc271fe6b893dc46d49fca2fce61df':
Enhancement on ICS data stall polling logic
71a14a589b83af50f77d628a0d8e6ef1778dd31e 04-Jan-2012 Wink Saville <wink@google.com> am c697ebfd: Merge "Enhancement on ICS data stall polling logic" into ics-mr1

* commit 'c697ebfdd671c7f4cf338d601917de16d2f1f135':
Enhancement on ICS data stall polling logic
7efb89b955a9f885835727b758e494714ee73beb 22-Dec-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Enhancement on ICS data stall polling logic

Put enhancements on data stall polling logic in ICS so that
stall recovery can kick in earler while screen is on.

Bug: 5767897
Change-Id: I4683fc45c0161f4374749c8e5840261c19a48f77
ettings.java
2b072677538de979961b5bf527109fdab1713731 23-Dec-2011 Joe Fernandez <joefernandez@google.com> am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

* commit '201469f54522436be79d4d6665721049bfc74320':
docs: Add developer guide cross-references, Project ACRE, round 4
70b8a9d09b028331d6f98263c65802e164651f07 23-Dec-2011 Joe Fernandez <joefernandez@google.com> am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

* commit 'bb7f590a5a539486de5127071c7ade8ec988d755':
docs: Add developer guide cross-references, Project ACRE, round 4
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
earchRecentSuggestions.java
3ca5a74c17a27e44ce13b39bc2f63edaa88c3ef5 07-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Make the URL for the JavaScript based screen-reader used by WebView configurable.

The URl from which to inject a screen-reader for WebView accessiblity support should be
configurable because: 1) The accessibility engineering team should be able to point
devices to a staging build of the screen-reader; 2) We would like to be able to change
this URL via the Google services mechanism.

bug:5718543

Change-Id: I3d4d343f1c93e0e0173f04b2912949fe8a3566b9
ettings.java
d04f28151b6b73fd70ca8a2b4b5995f6a557ce8d 07-Dec-2011 Irfan Sheriff <isheriff@google.com> am 8a4cd3b1: Merge "Disable poor network connection alone" into ics-mr1

* commit '8a4cd3b1053d92ecb34628218f303343746691f4':
Disable poor network connection alone
a188e4dc0e7a1505062fd82ea01f3f6e9a555f6b 07-Dec-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of ea25ea7e to ics-aah

Change-Id: I9d387ad2107486406f364f1cebc709126e2d27a5
bb60ee97664667c7774aa3c45b473332a3757d21 07-Dec-2011 Irfan Sheriff <isheriff@google.com> am 7c92e2dc: am 8a4cd3b1: Merge "Disable poor network connection alone" into ics-mr1

* commit '7c92e2dccb4e5cb5314455692ac32d2ccff24292':
Disable poor network connection alone
19380daaf46815c80bd89fd9ca3af3c4095952b5 06-Dec-2011 Irfan Sheriff <isheriff@google.com> Disable poor network connection alone

- Keep the walled garden detection in place

Bug: 5719771
Change-Id: I9e5d69b6d56096be904106b1db48c02db4c0fb50
ettings.java
d5f44204578d6b3d9c3864eaed84bf453998c7cf 06-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> am 1113e755: am ea25ea7e: Merge "Adding a system preference whether to speak passwords in accessibility mode." into ics-mr1

* commit '1113e75588782cc23074b9a9bb887de06eff8a49':
Adding a system preference whether to speak passwords in accessibility mode.
55f937abe1a4fedb86c2679c66f0b5220ec3780e 05-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding a system preference whether to speak passwords in accessibility mode.

By default we do not speak passwords if the user has no headset. However,
many users find this too restrictive and would like a way to enable
password announcement. While we cannot speak the passwords all the time
,to avoid leaking them, we expose a preference so each user can choose
the option that best works for him/her.

bug:5712607

Change-Id: I6eb0c40834abe5297f7dc74be02d180a5bef0174
ettings.java
c0fc5d81b895a0696fceeeadb76bdbaf1cb52071 01-Dec-2011 Daniel Sandler <dsandler@android.com> am 2a40d0d9: Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1

* commit '2a40d0d92b208021b492e9af3d944720cbf269fc':
Put screensavers back in the icebox for now. DO NOT MERGE.
d2b22a885a79d537c79e98257647cc120bde2998 30-Nov-2011 Daniel Sandler <dsandler@android.com> Put screensavers back in the icebox for now. DO NOT MERGE.

Bug: 5689684
Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c
ettings.java
d4b1c4424d1d27c0a294e9360a3a489ef5f62dd1 29-Nov-2011 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of be6ab576 to ics-aah

Change-Id: I87c5679c46a58e233da30e73f068bed2af627ab3
0475f82c95e6e9657580820b16b0e48d814119b5 29-Nov-2011 Jeff Brown <jeffbrown@google.com> am c339fe30: am be6ab576: Merge "Fix application launch shortcuts." into ics-mr1

* commit 'c339fe302bc5083f0a110569eec06676be511088':
Fix application launch shortcuts.
6651a638348c15e89e265b0a53c775cac9beafa2 28-Nov-2011 Jeff Brown <jeffbrown@google.com> Fix application launch shortcuts.

Improved quick launch bookmarks to support category-based shortcuts
instead of hardcoding package and class names for all apps.

Added a set of Intent categories for typical applications on the
platform.

Added support for some of the HID application launch usages to
reduce reliance on quick launch for special purpose keys. Some
keyboard vendors have hardcoded launch keys that synthesize
"Search + X" type key combos. The goal is to encourage them
to stop doing this by implementing more of HID.

Bug: 5674723
Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593
ediaStore.java
711683cd96884690b9e834198e7c756bb23ab5ad 20-Nov-2011 Daniel Sandler <dsandler@android.com> am 25a43ada: am 9b5d7a59: Merge "Dreams (now Screen Candy) development." into ics-mr1

* commit '25a43adabb70aa769a097c6cb09d71b031431677':
Dreams (now Screen Candy) development.
75d8eb2a818508d135ea0aac46db8afc54445489 20-Nov-2011 Daniel Sandler <dsandler@android.com> am 9b5d7a59: Merge "Dreams (now Screen Candy) development." into ics-mr1

* commit '9b5d7a59f336a96e73f5f485f6e366e078a70497':
Dreams (now Screen Candy) development.
26650aef868a47db67c085ca734d9ea14f269d74 18-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Introduce Callable URI as hidden API"
2d54536d08a59680078f78bc6301379563df4c85 17-Nov-2011 Daniel Sandler <dsandler@android.com> Dreams (now Screen Candy) development.

- support for global "disable" setting
- renamed settings provider keys to remove "DREAM"

Bug: 5591015
Change-Id: I31f31b3ca6001fec1e0032a49cdf0d10df7b0ec7
ettings.java
2b6517cd2caae54b43645d6dd296ca5b981d7b09 15-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> am f2213aca: am d8f5e6ba: Merge "Allow ContactsProvider to remove dulicates" into ics-mr1

* commit 'f2213acaae5073ea3b4f3f566f0e8c7dc976765b':
Allow ContactsProvider to remove dulicates
96c73c18ed81b502b57c41f2a7d9dd1ea6a945ca 15-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> am d8f5e6ba: Merge "Allow ContactsProvider to remove dulicates" into ics-mr1

* commit 'd8f5e6badb0dc11055508b83f20e48c82a7058bd':
Allow ContactsProvider to remove dulicates
19352e08528a621c94284acdf2888ba5e6689eb6 14-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Allow ContactsProvider to remove dulicates

Bug: 5484956
Change-Id: Ie88af0c3d21919ca201f4fcdd46ca09e9f8d94c0
ontactsContract.java
f0b82d61f50ab0d9bd2ab57b33bf8fabed401c73 10-Nov-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of faa81c82 to ics-aah

Change-Id: I7464f16940058cc9b5a3dba5cb839bc67129009e
fb894276b127767e610fc99cc4539c397c4e7ecc 10-Nov-2011 Tom Taylor <tomtaylor@google.com> am 0bbd151e: am faa81c82: Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1

* commit '0bbd151e1dab043226725d23f0ca26f4d09ee76f':
Revert "Add new secure setting for controlling Messaging notifications"
994da2ad3242407fd822e6b35e3d302a3667d9c3 10-Nov-2011 Tom Taylor <tomtaylor@google.com> Revert "Add new secure setting for controlling Messaging notifications"

This reverts commit 03da2f00aac04e6565a02cf5a9bf6bb1ec926930.

Committer: Tom Taylor <tomtaylor@google.com>

On branch revertsetting
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

modified: api/current.txt
modified: core/java/android/provider/Settings.java
modified: core/java/android/provider/Telephony.java
modified: packages/SettingsProvider/res/values/defaults.xml
modified: packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

We've decided not to disable messaging notifications with a secure setting.
Instead, all the work will be done within the messaging app itself.

Change-Id: Icde6894e76da1007b6026c8ec7dc56e488453c06
ettings.java
elephony.java
941c6f7f71ba89ab8412908fed8e509c16c6a733 09-Nov-2011 Dave Santoro <dsantoro@google.com> am 8e2c5113: am b78ae752: Merge "Unhide social stream APIs for Contacts." into ics-mr1

* commit '8e2c51137cdd1917d36c3a78ff6c1a42cc8ea402':
Unhide social stream APIs for Contacts.
75f9808e5544c69254ea6cf374469a3dd9042b7d 09-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am 604019c8: Merge "Fix build." into ics-mr1

* commit '604019c8d45b8c56cf48b03dbd92cfbdd29c48c1':
Fix build.
c1b3cbe1648cc606008522a667abe7fb766ff0c3 09-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of ea54b760 to master

Change-Id: Ifcdfd6ffd82db1293936a8a3b5715dd767fb43f8
b7a262cdc1bfa182c4f08e47385c019c6c2146f3 09-Nov-2011 Dave Santoro <dsantoro@google.com> am b78ae752: Merge "Unhide social stream APIs for Contacts." into ics-mr1

* commit 'b78ae7524eecbca01a53994d6872202633c8341b':
Unhide social stream APIs for Contacts.
81b10fd74ecad65eb9c658cf3881c9c0254351e9 09-Nov-2011 Tom Taylor <tomtaylor@google.com> am 1366c756: Merge "Add new secure setting for controlling Messaging notifications" into ics-mr1

* commit '1366c756d28cdbb6c7c07959dfb4c93c81a9539d':
Add new secure setting for controlling Messaging notifications
b78ae7524eecbca01a53994d6872202633c8341b 08-Nov-2011 Dave Santoro <dsantoro@google.com> Merge "Unhide social stream APIs for Contacts." into ics-mr1
a74ebb6d08e691e1b5802f40b19b27dc0bbf24d5 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am 604019c8: Merge "Fix build." into ics-mr1

* commit '604019c8d45b8c56cf48b03dbd92cfbdd29c48c1':
Fix build.
604019c8d45b8c56cf48b03dbd92cfbdd29c48c1 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix build." into ics-mr1
b45a317b56fca32a3ae2adfca6e7803e945da581 08-Nov-2011 Robert Greenwalt <robdroid@android.com> am ea54b760: Merge "Wimax : wimax framework related open source." into ics-mr1

* commit 'ea54b7608584bc0535c9e89417778c3e95b50975':
Wimax : wimax framework related open source.
8588e47358878b7a1add2bd1df2ade95091cdb8d 08-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Fix build.

Missed a commit that fixed some issues.
bug:5237167

Change-Id: I61e44831e2c3f1cf613ca1387aa95d712b7d2ded
ettings.java
bfc3e70662900564e795a174d14939bf1271757c 08-Nov-2011 Jason Simmons <jsimmons@google.com> resolved conflicts for merge of 1366c756 to ics-aah

Change-Id: I9faea6d9604f44b389acb4268941a7e5917ef1a8
ea54b7608584bc0535c9e89417778c3e95b50975 08-Nov-2011 Robert Greenwalt <robdroid@android.com> Merge "Wimax : wimax framework related open source." into ics-mr1
003924c37afd8f4593b844ff06dbfd84a6fc1a23 05-Nov-2011 Dave Santoro <dsantoro@google.com> Unhide social stream APIs for Contacts.

Bug 5569021

Change-Id: Iba6ad0fb8d1bd4eafd9fbb42c28a332679ade11c
ontactsContract.java
148c7d0de720a92632aa6ed10a39bfc38b427239 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax : wimax framework related open source.

Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
ettings.java
03da2f00aac04e6565a02cf5a9bf6bb1ec926930 07-Nov-2011 Tom Taylor <tomtaylor@google.com> Add new secure setting for controlling Messaging notifications

Bug 5552615
We're adding a new intent to allow 3rd party apps to disable
the Messaging app's notification. We want any app to be able to query
the setting of whether sms notifications are on or off, but only allow
system apps, particularly the Messaging app, to change that setting.
Other apps can change the setting by firing off an intent which brings
up a dialog activity in the Messaging app that'll let them turn off
Messaging notifications.

Change-Id: I4d2721191b86010efb383a24c28d911496440657
ettings.java
elephony.java
2e428814cc4671ece3b43237b662fe6572b750bb 05-Nov-2011 Flavio Lerda <flerda@google.com> am 8f7d88cc: Merge "Add a query parameter to look-up a SIP address." into ics-mr1

* commit '8f7d88cc67e1c89c960b932ceafc60d378aa2ad6':
Add a query parameter to look-up a SIP address.
4e7dc4c1a969f7bf3cb64902fe51908cdff9eb1a 04-Nov-2011 Flavio Lerda <flerda@google.com> am 8f7d88cc: Merge "Add a query parameter to look-up a SIP address." into ics-mr1

* commit '8f7d88cc67e1c89c960b932ceafc60d378aa2ad6':
Add a query parameter to look-up a SIP address.
8f7d88cc67e1c89c960b932ceafc60d378aa2ad6 04-Nov-2011 Flavio Lerda <flerda@google.com> Merge "Add a query parameter to look-up a SIP address." into ics-mr1
cc27a9394764772812dad8b05c457f5c213d529f 04-Nov-2011 Wink Saville <wink@google.com> am 8b771243: am 3d708451: Merge "Separate data stall detection and recovery from net stats." into ics-mr0

* commit '8b77124395713de5e09c9b56fac03c244513dc25':
Separate data stall detection and recovery from net stats.
1aa7dda4e2cd81331d16df1c5f463dbfe58af8cb 04-Nov-2011 Wink Saville <wink@google.com> am 8b771243: am 3d708451: Merge "Separate data stall detection and recovery from net stats." into ics-mr0

* commit '8b77124395713de5e09c9b56fac03c244513dc25':
Separate data stall detection and recovery from net stats.
8b77124395713de5e09c9b56fac03c244513dc25 04-Nov-2011 Wink Saville <wink@google.com> am 3d708451: Merge "Separate data stall detection and recovery from net stats." into ics-mr0

* commit '3d7084519b03da0681da13fb8d7d4a0914d11646':
Separate data stall detection and recovery from net stats.
2861d23d660c577c65faa7dfebd66d5b6f3f1a56 04-Nov-2011 Wink Saville <wink@google.com> Separate data stall detection and recovery from net stats.

Also use the AlarmManager instead of messages so the delays
are consistent whether sleeping or not.

Bug: 5534004
Change-Id: I24118b30214dddf8183c1200a89555d6c528e606
ettings.java
52c01c22a53cfd87e36b3c078235600260567c08 02-Nov-2011 Flavio Lerda <flerda@google.com> Add a query parameter to look-up a SIP address.

Currently there is an API to look-up a phone number in the contacts
database but not one to look up a SIP address.

This change adds a query parameter that can be added to the existing
filter URI to search the contacts with SIP addresses.

Bug: 5529690
Change-Id: I71aaf46c7528e7e6eb4160a664f4bdeacfb0581d
ontactsContract.java
9fcc5ce71eec5cc30cb2c6b8e7307910ea1f4860 01-Nov-2011 Nick Pelly <npelly@google.com> Merge "API Change: add isNdefPushEnabled() & ACTION_NFC_SETTINGS."
cccf01d3e270bbf53ae6601698109ac4ef461076 31-Oct-2011 Nick Pelly <npelly@google.com> API Change: add isNdefPushEnabled() & ACTION_NFC_SETTINGS.

Modify isNdefPushEnabled() semantics slightly - true only if isNfcEnabled && NDEF push enabled.

Fix up docs.

Change-Id: Icd2df9c636ecf2d8274851bbda423f2eae7bac5f
ettings.java
4d338ba098916a5cac144f1288ad2e24ff64a54a 31-Oct-2011 Tom Taylor <tomtaylor@google.com> am adfe6383: Merge "NPE in Threads.getOrCreateThreadId(Telephony.java:1275)" into ics-mr1

* commit 'adfe6383ee963b890bfbf319d219a23164804925':
NPE in Threads.getOrCreateThreadId(Telephony.java:1275)
fbf1d27d2444cc364536e460d019063538a97e46 31-Oct-2011 Tom Taylor <tomtaylor@google.com> NPE in Threads.getOrCreateThreadId(Telephony.java:1275)

Bug 5541883
Remove obsolete debug statement.

Change-Id: I8d2f6e33f36c920838460bca7a1db117dd0edf7b
elephony.java
92537e6ff21d4b20738fae851c2174ea568eb843 31-Oct-2011 Ed Heyl <ed@google.com> merged by hand (services/java/com/android/server/PowerManagerService.java needs to be reviewed)

Change-Id: I86d1111d86cd1646ebc8a88d58aa393089e9f928
619f06444bc828c6cf5c3fa4f4a309c9497dab45 25-Oct-2011 Mike Lockwood <lockwood@android.com> Save and restore master volume in the settings provider

Change-Id: I135c48155c41735c870e3934469c47f05bd74973
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
017219ab2aec18cd25e8d2eb00563073a7976488 20-Oct-2011 Mike Lockwood <lockwood@android.com> SettingsProvider: Add support for overriding lockscreen.disabled default value

Change-Id: I88c03a01727538dde3cec1ab93ebe8a66a6768a7
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
c7ef9390cf37c5e87d1015a83f113df6a2d1b3e5 27-Oct-2011 RoboErik <epastern@google.com> b/5309787 Add new columns to hidden list of read only fields

Change-Id: I9bfc01e4211087be0dfd144c022903c51817c024
alendarContract.java
4172d95a6726efd5f03517e1a2a6fbbe879f1d74 25-Oct-2011 RoboErik <epastern@google.com> Add new Calendar APIs to fw

b/5317399 b/5309787 b/5207781 b/5347210 Adds apis for a color
table to support future migrations. Adds allowedAttendeeTypes
and allowedAvailabilities for exchange/gsync support. Adds
type_resource for attendees and tentative availability. Documents
that eventTimezone is required for creating an event.

Change-Id: Id3f866c46f76f2b5b098f4961ea09d48f17598c3
alendarContract.java
3d340e70e510258a02dbc458bb7cd8478247ff09 23-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce Callable URI as hidden API

New Phone UI wants both phone numbers and Sip addresses, which are
all "callable" data. This API allows ContactsProvider to return
both as one unified Cursor.

There are a few caveats:

- There's no MIMETYPE for callable, since it is not an actual data
type.
- Each row may require different interpretation for each column.
For example, the meaning of type (data2) would be very different
between Phone and Sip. Caller applications must absorb those minor
differences by themselves (at least for now).

Bug: 5039627
Change-Id: I4729c87ecd11296599ed0313e8ad1f5aeabbd32b
ontactsContract.java
0c559c6c575e3415788cb08d374df3b4937b99b0 21-Oct-2011 RoboErik <epastern@google.com> s/should/can

Change-Id: Id09d3bb21c952f4c4aaa98fbb2e334dda75b74a1
alendarContract.java
8a8eebcbe8e3aded682c9c4937e155218ddf7ff4 21-Oct-2011 RoboErik <epastern@google.com> Color API comment updates.

Change-Id: I61c00089d0cd39e145126e709e46ba3441d49a2a
alendarContract.java
73bddfcdd3ba50d30aca9df0f394d15bc7932b6a 20-Oct-2011 Michael Chan <mchan@android.com> Update comments for Calendar ExtendedProperties.

Change-Id: Id51fe946995b19f98f1745abd3c83c942779b5df
alendarContract.java
e6fbf65de6eb8fa3ef87291d86de426e568c19eb 18-Oct-2011 Michael Chan <mchan@android.com> Update the comment for Calendar Events required fields again.

Change-Id: I3f795ecb68a80d59e87e2fe0fc8cdcea67999354
alendarContract.java
1ad8347db5645fa7fae28d042836e99d16fe656d 18-Oct-2011 Michael Chan <mchan@android.com> Update comment on required fields for an event

Change-Id: Id06c1442776c99912e65acd9b7db114a82da9042
alendarContract.java
05b36e5f3c6618420bda3a0eef818e6838efb0fe 15-Oct-2011 RoboErik <epastern@google.com> Update to hidden APIs

After discussion we're dropping the two palette approach and just
doing a single color for each index.

Change-Id: I629c07242fdc36ec01700039635e5149f00ff4ff
alendarContract.java
4194f15e16c833f78a33ea6286bfe0407649828b 14-Oct-2011 Dave Santoro <dsantoro@google.com> am e6063299: Merge "Add hidden API for pre-authorizing URIs." into ics-mr0

* commit 'e6063299d874cc3b9d1fa71d0c3772c6ebe62e06':
Add hidden API for pre-authorizing URIs.
e43185e21d343741b1d98d1024db8f9703e78553 11-Oct-2011 Dave Santoro <dsantoro@google.com> Add hidden API for pre-authorizing URIs.

This allows the contacts provider to allow a caller to pre-authorize
a URI for temporary use by another application that would not
otherwise have the special permissions necessary to access it.

Bug 5437453

Change-Id: I3bd7be7c698cac73709c2d305f1723cdcb093ec4
ontactsContract.java
ettings.java
dc8f43294ab1da58f78ac516b372c1a698a01ecf 12-Oct-2011 RoboErik <epastern@google.com> Merge "Fix immenent build breakage."
fced9521be9abfeb59f0edbbc98922f85264e7bd 12-Oct-2011 RoboErik <epastern@google.com> Fix immenent build breakage.

Change-Id: Iad7b68f1e16d4ba781fa45f467cb59c73a6ff26d
alendarContract.java
3db295cd7ec6b6c6ab96ebcb4922d6dc168a1833 12-Oct-2011 RoboErik <epastern@google.com> Merge "Add hidden API to prepare for increasing calendar support"
f8143c5d0734b7b9c888c936a0c30df4b5d46021 29-Sep-2011 RoboErik <epastern@google.com> Add hidden API to prepare for increasing calendar support

This adds hidden APIs for supporting settng allowed availabilities and
attendee types, adding the tentative availability and resource
attendee type, color indexes for calendars and events, and a colors
table.

b/5317399 b/5309787 b/5207781 b/5347210

Change-Id: I8dec4d0ebb0523b34bd420a0ab62bf5d0650996f
alendarContract.java
aee2687e613787f044e3f02cc99342a1ee79a739 11-Oct-2011 Amith Yamasani <yamasani@google.com> Backup owner info as part of settings backup. DO NOT MERGE.

[Cherry pick from master]

Added these settings to the whitelist:
Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED
Settings.Secure.LOCK_SCREEN_OWNER_INFO

Bug: 5342797
Change-Id: I1bd4d04b5651b61919efd8c1b25c04acc5806f4a
ettings.java
fce776c21eda48e0cf21f4b1a8f33e77f81be85d 11-Oct-2011 Amith Yamasani <yamasani@google.com> Backup owner info as part of settings backup.

Added these settings to the whitelist:
Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED
Settings.Secure.LOCK_SCREEN_OWNER_INFO

Bug: 5342797
Change-Id: I1bd4d04b5651b61919efd8c1b25c04acc5806f4a
ettings.java
bece9cb7944daa012ca95fc7f6c73f6fad035892 06-Oct-2011 Jake Hamby <jhamby@google.com> Merge "Enable support for multiple SMSDispatchers in CDMALTEPhone."
b7945cae5ad0feaad09378d0db77f2b3105e5235 22-Sep-2011 Jake Hamby <jhamby@google.com> Enable support for multiple SMSDispatchers in CDMALTEPhone.

Refactor framework to support multiple SMSDispatcher objects on
dual-mode devices that require support for both 3GPP and 3GPP2
format SMS messages. Each dispatcher registers to receive events for
the appropriate message format.

Note: All applications which handle incoming SMS messages by processing the
SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
into the new createPdu() method in android.telephony.SmsMessage that takes an
extra format parameter. This is required in order to correctly decode the PDU on
devices which require support for both 3GPP and 3GPP2 formats at the same time,
such as CDMA/LTE devices and GSM/CDMA world phones.

- moved code to manage device storage events from SMSDispatcher to a
new class, SmsStorageMonitor, which is shared among all dispatchers.

- moved code to monitor per-application outgoing SMS usage from
SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which
is shared among all dispatchers.

- fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC
operator numeric value in the telephony provider from the UICC,
as GSMPhone does, when the SIM records have loaded.

Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
elephony.java
2aeecb7aa57242aae29dddff2b9ebd5d21aa3824 05-Oct-2011 Dave Santoro <dsantoro@google.com> Merge "Add new permissions for read/write social stream."
0b61f59d77153e7d63a33fc5d47805feb99d918b 04-Oct-2011 Dave Santoro <dsantoro@google.com> Add new permissions for read/write social stream.

This is a manual merge of a change going in to ICS-FactoryROM.

These permissions are needed to separate the (potentially invasive)
access to the user's social stream from the existing read/write
contacts permission.

Per discussion with Android release team, we are also hiding the
stream item API until we figure out a better way to guard the data.

Bug 5406886

Change-Id: I8339d743c3ebe8923c7ee47f2900444efcf82a52
ontactsContract.java
0fce15b03c06cf3ece42a1ec636349f525f16ea1 01-Oct-2011 Flavio Lerda <flerda@google.com> Add a cached formatted phone number to call log.

This column is used by the phone application to cache the formatted
phone number. This is needed to avoid computing the formatted phone
number in the main thread (because it requires disk access) but not
update the formatted phone number after the UI has been shown (except
the first time around or if anything else has changed).

Bug: 5316982
Change-Id: I4e2dd2e3fb35a0e0d15039e4c0c9841a909f7a8a
allLog.java
77e6a55f2fab30628cb4b5955b17e509eeaf5d74 29-Sep-2011 Mark Wagner <mxw@google.com> bugfix 5381702 MMS app puts temporary files on sdcard in wrong location

move this code into the app

Change-Id: Ieca6c603ee1163524ddb855800ade5e5a8fff0e5
elephony.java
4510705b2862dba20e4ccee34641029f699859ac 27-Sep-2011 Scott Main <smain@google.com> docs: fix markup in javadocs
Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5
ontactsContract.java
df8e00ff335be747ec3b99038734d2c6bec6499f 22-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> am 624181af: Merge "Settings are restored in alphabetical order rather in order of dependency." into ics-factoryrom

* commit '624181af38f7f9e4fe4a18ca3e15204f30609312':
Settings are restored in alphabetical order rather in order of dependency.
a571a5836cdbc71feefb13648004b8ca7fe05dfb 21-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Settings are restored in alphabetical order rather in order of dependency.

Settings were restore in alphabetical order and capturing dependency
among them required keys to be chosen in such a way that after sorting
they apprear in dependency order. Now settings are exported and restored
in the order they are declared in the arrays of settings to backup.
Hence, the order in this array will capture the dependency order.

bug:5343351

Change-Id: I93a40bcdd194943cd6f85aa18f1557d546e38274
ettings.java
0f337df1c06035ba463bf630357a92e62e698893 20-Sep-2011 RoboErik <epastern@google.com> am bbb11b80: Merge "Add a warning to changing colors in the docs" into ics-factoryrom

* commit 'bbb11b80106c8687f2833c3d4b538029fc0805e6':
Add a warning to changing colors in the docs
bbb11b80106c8687f2833c3d4b538029fc0805e6 20-Sep-2011 RoboErik <epastern@google.com> Merge "Add a warning to changing colors in the docs" into ics-factoryrom
e1bf8efaff42dc33b7a4663f3c9d50d12de81bcb 20-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5224359: Add width and height to media store.

Change-Id: I27376285a551e648eb0ea010dfdf6b8ed873cdd8
ediaStore.java
4f52061b51325d8de189eb2cb1c1272b2740b8f8 20-Sep-2011 RoboErik <epastern@google.com> Add a warning to changing colors in the docs

Change-Id: Ia1fdfd5e2c31c5665fb08ccc389957b6af6f3736
alendarContract.java
34c73acf88c8190b8cd51d8b8f2b9c22aa7f7941 18-Sep-2011 Jeff Sharkey <jsharkey@android.com> Sample atomic network stats buckets, full poll.

When sampling network stats, always use atomic buckets instead of
interpolating. Always poll iface and UID together so we distribute
into buckets equally. Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4
ettings.java
1f0b13b9d64085dd8342ba942f39b6063b6d534d 18-Sep-2011 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE: Sample atomic network stats buckets, full poll.

When sampling network stats, always use atomic buckets instead of
interpolating. Always poll iface and UID together so we distribute
into buckets equally. Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4
ettings.java
fc0ab4c065babdda912d0a1b9fce9ab59140482a 15-Sep-2011 Jeff Sharkey <jsharkey@android.com> Merge "Network stats flag to force complete poll."
991d1b1b3f303ad247a959881b1d5b57766f678b 15-Sep-2011 Jeff Sharkey <jsharkey@android.com> Network stats flag to force complete poll.

Devices currently delay collecting UID stats during common operations
like global alerts to reduce parsing load. Here we introduce a flag
to always collect UID and iface stats together to aid debugging.

Bug: 5321340
Change-Id: Ia8e1daf1a6f9d5f5cf1f64a04b6b6766ee965ab6
ettings.java
723facc20b6545b7ac4e65883be096d517fb3c10 01-Sep-2011 sinikang <sinikang@samsung.com> Add OTADM feature for Verizon requirement.
- GsmDataConnectionTracker.java
<in function createApnList>
: modify parameter type for new ApnSetting.
(carrierEnabled has changed to boolean from integer,
BEARER has changed to integer from string).
<in function createAllApnList>
: modify telephony db query statement using carrierEnabled. (carrier_enabled: 1 enable apn, 0: disabled apn)
<in function buildWaitingApns>
: modify apn management code when current RAT (radio access technology) is LTE or EHRPD.
add internal function named needToCheckApnBearer to check current RAT is LTE or EHRPD.
- ApnSetting.java
: add two member variable (carrierEnabled: apn enable/disable , bearer : Radio Access Technology)
- Telephony.java
: add two static string CARRIER_ENABLED & BEARER.
- ApnSettingTest.java
: add two assertEquals in function assertApnSettingEqual.
add CARRIER_ENABLED & BEARER parameters.

bug: 4991683
Change-Id: I9450c220009c3093b1e09e8ac9cd0faa0a975067
elephony.java
37f8b51b43c5f5c90062d504608edc8e79c0a5d6 09-Sep-2011 Subir Jhanb <subir@google.com> Merge "NPE check in the SyncStateContract BUG:5196483"
9fefa3c716e9c8d7dfb6c851c91e37e37732a955 08-Sep-2011 Dave Santoro <dsantoro@google.com> Merge "Add raw entities URI for profiles."
a8f09b0946db9327f1d453cac92987f5e26e5102 08-Sep-2011 Dave Santoro <dsantoro@google.com> Merge "Add data_set for Settings table as well."
32ef67bb88959e60d2c9c5540603d360852e80f5 08-Sep-2011 Subir Jhanb <subir@google.com> NPE check in the SyncStateContract
BUG:5196483

Change-Id: I9fe170037f7a3d7a98583d1330099246230d3859
yncStateContract.java
2b4d07519e428227c806831b401aa72f9409efa5 08-Sep-2011 Dave Santoro <dsantoro@google.com> Add raw entities URI for profiles.

Bug 5274218

Change-Id: Ifc08e5c2fe4aa3d111cfbe896770a1206fa97bbf
ontactsContract.java
7c4479f3c9dfdbfa7ee09d4f05dc054b35b87e98 08-Sep-2011 Dave Santoro <dsantoro@google.com> Add data_set for Settings table as well.

Bug 5156004

Change-Id: Iac0eac2a8a6c3994ba3188e571e39717dcb673e1
ontactsContract.java
9fe83f0b54bc98e3e33e00ebdb0f017687395678 03-Sep-2011 Isaac Katzenelson <isaack@android.com> Fix snippetizing cursor

Bug: 5217242 Email address with the found "snippet" highlighted should
be displayed on the second line below the contact name

Change-Id: Id55c31eb83c9b3a9e2ac014409f5dad1561ef655
ontactsContract.java
f3d78eac0f565b51d5e657e6cb21b4a48ef6f660 02-Sep-2011 Gilles Debunne <debunne@google.com> Merge "Added an add to dictionary option in suggestions for misspelled words"
e90bed18cc123c0963bbcc023976fa355c16a352 30-Aug-2011 Gilles Debunne <debunne@google.com> Added an add to dictionary option in suggestions for misspelled words

Change-Id: I031f17a76b4a81ae375b778046b8c391f9b8b2b2
ettings.java
c6acd688c0cbd00f9407d676a51ee4994db51694 02-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4554429: API REVIEW: deprecate Live Folders

Change-Id: Iddb5a55866469d24a20cc61a28c4dbe146bfd0bf
iveFolders.java
e5e0250dd23d0ff718a26350f3076884235b8c0e 01-Sep-2011 Michael Chan <mchan@android.com> Fix a calendar info query to use a constant instead of a string

This was causing an error when trying to query the calendar app
status from the dialer.

Change-Id: I7d5f554a96d7dc3dfed8d3fa8a0f16635a776701
alendarContract.java
07d5caaba67618523ce078efe15b1be45bdc0668 01-Sep-2011 Erik Pasternak <roboerik@android.com> Revert "Fixed the problem with the calendar sort order using the column name"

This reverts commit 9fd17460a73c46ea1c3d2174555cfcc0886ca112
alendarContract.java
9fd17460a73c46ea1c3d2174555cfcc0886ca112 01-Sep-2011 Michael Chan <mchan@android.com> Fixed the problem with the calendar sort order using the column name

Change-Id: Ib50e0a10f001d1b5626e460fecaefff6d6a2a308
alendarContract.java
d49eea7831d7386fc429984eee0e8ef117a1d927 30-Aug-2011 Dave Santoro <dsantoro@google.com> Merge "Profile API modifications."
82e0c6f3dec5c7359166b9ff720f9fcc8c6801d7 30-Aug-2011 Daniel Lehmann <lehmannd@google.com> Merge "Add the lookup_key column, which should have been in the previous CL"
063084e619dcd9f81c410ce675fd21c53b1e940d 24-Aug-2011 Dave Santoro <dsantoro@google.com> Profile API modifications.

This is a set of changes to allow for splitting off the Profile
concept in the Contacts Provider into a separate database:
- Removed the ALLOW_PROFILE parameter, as it is no longer possible
to combine profile data with contacts data in a single query.
- Added profile sync state as a separate table.
- Clarified status update API usage to indicate that profile updates
need to either be done for a specific data ID or using a new
profile-specific URI.
- Added constant and API for determining whether an ID falls within
the profile ID-space.

Bug 5204577

Change-Id: Ia0f8c6b490845100dd6d44e5e01a3b27346f077e
ontactsContract.java
ceb476a584e7f0b1866821955ea3284686dd6975 29-Aug-2011 Daniel Lehmann <lehmannd@google.com> Add the lookup_key column, which should have been in the previous CL

Also added some more javadocs

Bug:5134325

Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b
ontactsContract.java
8d3feb6292ba7e87adeb4982e8cf27114a8ee2e4 29-Aug-2011 Jeff Brown <jeffbrown@google.com> Merge "Add a "show touches" option for demos and presentations. Bug: 4569045"
daf4a127ba2af82a3fb477044b872719a0ab1827 27-Aug-2011 Jeff Brown <jeffbrown@google.com> Add a "show touches" option for demos and presentations.
Bug: 4569045

Change-Id: I8726ea292dd7def790a5e40d7d7e58968974f896
ettings.java
754b394bdfeff697bea73fa0977d2c91ef8c8886 26-Aug-2011 Makoto Onuki <omakoto@google.com> Merge "Define mime-types for stream items"
0d8627be88a1ce4ee5c9076f484afb6006e32900 25-Aug-2011 Daniel Lehmann <lehmannd@google.com> Merge "Add Contact ID to StreamItem-Fields"
978ed4693bced95f6d3261f2ed230cd776cffc99 25-Aug-2011 Narayan Kamath <narayan@google.com> Merge "Deprecate old TTS settings that are no longer in use."
1e3fac8bc62a2495eb9bb79cc208573b5782cedc 25-Aug-2011 satok <satok@google.com> Merge "Add functions to enable / disable spell checker"
7420f1339446cd76723d57b3c5c1bbc92f15f4f0 25-Aug-2011 Michael Chan <mchan@android.com> Added new extra for creating an all-day event by default

bug:2891538
Change-Id: Ifbd835535a8b6f6f46b0a366023d77e9662639a1
alendarContract.java
a33c4fc5bed76727f1e06e522e0136101a2304cd 25-Aug-2011 satok <satok@google.com> Add functions to enable / disable spell checker

Bug: 5057977

Change-Id: I2b27bd5f55feb305368034d7e95f83257ac4b3e6
ettings.java
1d837232d2b86ecb844c586db76ccf1ddfda4cf0 25-Aug-2011 Katherine Kuan <katherinekuan@google.com> Add DATA_SET value to Entity from EntityIterator cursor

Account name and account type are being retrieved from the
cursor for the contact, but account dataset, which is the
3rd value to uniquely distinguish an account is missing.

Bug: 5210676
Change-Id: I85f93b3fa19839734e4e22928382e0f786ed8ee2
ontactsContract.java
e8aae096d8ced8767ef5024e44f91e0342d778ec 25-Aug-2011 Daniel Lehmann <lehmannd@google.com> Add Contact ID to StreamItem-Fields

Bug:5134325

Change-Id: I541c6d1c7ac06abb234985cf056f31b3dee712c2
ontactsContract.java
192df696d3499258d6d3ae383a5ab05a5021d875 24-Aug-2011 Flavio Lerda <flerda@google.com> Merge "Add a few columns for caching to the call log."
6d6329621e8881683008fde201f8d5f41eabb1b1 24-Aug-2011 Narayan Kamath <narayan@google.com> Deprecate old TTS settings that are no longer in use.

These settings can never be written to by engines and apps
anyway, and reading them does not serve any useful purpose.
The only code that needs to read these settings are the framework
TTS classes.

bug:5149036
Change-Id: I1f95977d241eb6b550105f45d29fee889da3fbd1
ettings.java
2d538d44e2f88808e7d2212492086cc2c53852b6 16-Aug-2011 Flavio Lerda <flerda@google.com> Add a few columns for caching to the call log.

These columns store additional information about the contact associated
with a call log entry and are needed by the new functionality present in
the call log.

The information is used only internally by the call log, so these column
do not need to be part of the public API.

Bug: 5101753
Change-Id: Ie2160a157497f10ba5fc95c5fcf3b4095a99753a
allLog.java
ada8c4e6a3da96a795f39a1028d448eb7aebfab3 23-Aug-2011 satok <satok@google.com> Add functions to set / get SpellCheckerSubtype

Change-Id: I977326879fe201c4dee4a87da361217175eb6041
ettings.java
e5b8c4dfc70288f661e0da4f082dd51cc1399f86 22-Aug-2011 Narayan Kamath <narayan@google.com> Framework changes to support new TTS settings features.

Locale is now stored per engine, instead of as a global
option.

bug:5149036
Change-Id: I9848172623fe8aea1dd8e6678bca008da6a4cfb1
ettings.java
fc6d2fde25ccf00174b7419d91a76b2fc52773ae 22-Aug-2011 Makoto Onuki <omakoto@google.com> Define mime-types for stream items

Bug 5196154
Bug 5195740

Change-Id: Ia414f5e0985ffb167a2651bc985ed67681c28d13
ontactsContract.java
9a20fa54c9ba4bd19f2afd6e8cc6e9954e7cb739 19-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Background data notification, API clean up."
3a844fcf5a0e70a19c38dc500306b9ebe4e1413b 16-Aug-2011 Jeff Sharkey <jsharkey@android.com> Background data notification, API clean up.

When restricting background data, show ongoing notification to give
easy access to re-enable. Deprecate getBackgroundDataSetting() API
to always return true, since NetworkInfo.isConnected() is new source
of truth. Handle upgrade path by reading from existing secure value,
and kick one last broadcast when changing value. Remove background
data code from ConnectivityService.

Remove warning alerts, since they push ifaces into restricted list;
should only happen when iface has limit.

Bug: 5163559, 5129421
Change-Id: I0064d9d643656a4d32aaae51d4a58bce49fe295f
ettings.java
4923f1d0d9d45b201dc637be1035b33b6a3c2611 06-Aug-2011 Fred Quintana <fredq@google.com> add the Identity contacts mimetype
Bug: 5061729

Change-Id: Icdc0dd50666463f73b5b05ae1459ae34150153cc
ontactsContract.java
5ab2157bf1f105b02d3e2913cd3a33f9765b74ca 27-Jul-2011 Kenny Root <kroot@google.com> Infrastructure to support package verifier

Allow a package verifier to approve or disapprove of a package being
installed.

Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
ettings.java
f188dfda30cda5df4c7131e7987218c7c20203ab 15-Aug-2011 Daniel Lehmann <lehmannd@google.com> Several API changes as requested by ES:

- Switch from resource ids to names to prevent breakage on package upgrade
Bug:5135277
- Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos
Bug:5119385
- Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos
(this reduces db size and prevents click intercepting)
Bug:5135808
- Add some raw-contact fields to the StreamItem query
Bug:5134081

Doing those changes in one block to prevent too many db upgrade steps

Change-Id: I5618e210206e0315b91f5883e6b6b386dccb5881
ontactsContract.java
ba86443e8b8b83934a04c1c381d1c937d9f0093f 12-Aug-2011 Debashish Chatterjee <debashishc@google.com> Merge "Set "is_read" = 0 for missed calls."
4efaf4ba84187a9e25c081a2d1c0d409cbd94911 11-Aug-2011 Debashish Chatterjee <debashishc@google.com> Set "is_read" = 0 for missed calls.

This is needed for an upcoming change in call log that will show only
unread calls in the "new" section.

The field "new" will henceforth only be used for notification.

Bug: 5141185

Change-Id: Id24f815994ce90c89f5907c919ce95043a5d6217
allLog.java
267a2ec0402470f46079ae2d9d5059e2bb67453a 11-Aug-2011 Debashish Chatterjee <debashishc@google.com> Added FETCH_VOICEMAIL intent definition in VoicemailContract.

Content provider does not directly use this intent. But it is fired by
the contacts app to request the voicemail source to fetch voicemail
audio of a single voicemail message.

The constant needs to live in the contracts file to serve as a common
definition between contacts and voicemail source apps.

Bug: 5114261
Change-Id: Ibf7b2a4c871d3561d2ca50d03f8182352fadd3ab
oicemailContract.java
7ad291a5e7bc430955dccc496dbfcade040a6535 10-Aug-2011 Nick Pelly <npelly@google.com> Merge "Add NFC to airplane mode"
8d32a01bd24b8a0d1a98f0581b3394a78fab8242 09-Aug-2011 Nick Pelly <npelly@google.com> Add NFC to airplane mode

NFC now observes airplanes mode, and is by default toggleable in airplane mode.

Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
ettings.java
270f930ce8a5b2c3b088d0864d1643665253fbf4 09-Aug-2011 Flavio Lerda <flerda@google.com> Add geocoded location to call log.

Since computing the geocoded location is an expensive operation, add the
geocoded location once and for all when inserting in the call log.

Bug: 5129581
Change-Id: I6017c993a52b461eed395ce5e5a9373018e2087a
allLog.java
8dc6a1b2823f374a176fb21b8a174664a5f825fa 27-Jul-2011 Isaac Levy <ilevy@google.com> Watchdog notify on explicit connect

Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
ettings.java
2b30afdbad5e79c5775ac9756f3b986268d90f1f 05-Aug-2011 Wink Saville <wink@google.com> resolved conflicts for merge of 7bb2d942 to master

Change-Id: I026b01805c81d8b26d22e4a195e5e38655a34d32
7bb2d942498dea702f2020d7b81f0e13c2623500 05-Aug-2011 Wink Saville <wink@google.com> am 090df1dc: Merge "Delay connectivity change notifications." into honeycomb-LTE

* commit '090df1dc4188e5b9ef10a0aca5081a196085ff56':
Delay connectivity change notifications.
628b08530a50bddbe3d65088a8b621c0950e0c19 05-Aug-2011 Wink Saville <wink@google.com> Delay connectivity change notifications.

Because changes to the route tables take time to propagate
we add a delay when sending out change notifications. This allows
applications, such as GTalk, to create sockets without encountering
a 3 minute timeout.

Bug: 5008488
Change-Id: I0eefb03a5d6358a58ea6ae5b4f697ff302b5511d
ettings.java
e53eba0470b7578def756cd22952d447776ba141 04-Aug-2011 Debashish Chatterjee <debashishc@google.com> Removed permission READ_WRITE_OWN_VOICEMAIL from framework/base.

This permission has now been replaced by ADD_VOICEMAIL.

Bug: 5098551
Change-Id: Idc993f1674a66f0df3ec699ed14b2e5cfedfe3e8
oicemailContract.java
b0a20e47dd773fc5ceac51d4158c7500e0bba268 02-Aug-2011 Amith Yamasani <yamasani@google.com> Merge "Volume panel changes."
e2048cc73f5705c197382c4f828bfe72ccfb72b0 02-Aug-2011 Hugo Hudson <hugohudson@google.com> Merge "Add OpenableColumns to the Voicemail table."
42722bfa136f5616872a2c4e199813e804621c81 22-Jul-2011 Amith Yamasani <yamasani@google.com> Volume panel changes.

Combined volume panel only in tablets. On phones show active volume.
Added dummy assets for ring+notification icon.

Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always
tied together. Audio manager changes still required to ensure that.

Initialize all feedback sounds to true.

Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638
ettings.java
978f712f3712c25c80279650c2921d8a58abec07 01-Aug-2011 Hugo Hudson <hugohudson@google.com> Add OpenableColumns to the Voicemail table.

Bug: 5066115
Change-Id: I0f7c142fe1244c91a32cc534e258d78a2ce1fa45
oicemailContract.java
e5d0495d5206167c597efcd81436a0f881f069f9 30-Jul-2011 Mike Lockwood <lockwood@android.com> MediaScanner: Move genre table management to MediaProvider

Fixes problems introduced with bulk insert support

Bug: 5092877

Change-Id: If3c0c9054d5effe0a1d7a75e85635b41ba1591f5
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
88bae17cfd3de40758c5296d15f012f06f08748a 28-Jul-2011 Isaac Levy <ilevy@google.com> Changed walled garden to better url

Now checking for walled gardens using 204 error code on
http://clients3.google.com/generate_204

Change-Id: I0a00dc8b956f35f6695d2085c9f03ce40dc7e231
ettings.java
8cbe6e8f124456acbe8a6b8ff37aef88b0d5c6be 28-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Updating the data base upgrade/creation code for the new touch exploraion setting."
a28a16d1c2b58999d757a4cd3bc66a2f3499a2eb 28-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Updating the data base upgrade/creation code for the new touch exploraion setting.

1. Update the database creation/upgrade code to take care of the new setting
to enable touch exploration.

2. Made the tocuh exploration settings persistent to the cloud.

Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
ettings.java
9b3c83fbad86989158db27a88f872562c3973a14 28-Jul-2011 Martijn Coenen <maco@google.com> Add constant for NFC sharing settings screen.

Change-Id: Ibeea153442110542f05d1ece57a7dc6388a91fbf
ettings.java
1d55c3343d6eb89176fb057233942887466c1b68 26-Jul-2011 Dave Santoro <dsantoro@google.com> Added ACCOUNT_TYPE_AND_DATA_SET pseudo-column.

This was added to simplify some logic in the provider and app, as
there are places that can simply compare the concatenation of the
account type and data set.

Also added a DATA_SET extra for contact creation, to allow for this
value to be passed around via intents.

Bug 5077096

Change-Id: Ia0634cfcf4590fd90ccb5cb99360c38c86f08d25
ontactsContract.java
31b594e129e0fc5840be66ef539c0b6b0afe7f90 26-Jul-2011 Flavio Lerda <flerda@google.com> Add IS_READ field to CallLog and VoicemailContract.

We had initially decided to merge the NEW field (from the call log) and
IS_READ field (from the voicemail contract) into the single NEW field
already present in the call log.

However, it turned out that the meaning of the two fields is slightly
different: NEW means the items has just been inserted (and the user is
not aware of it) while IS_READ represents whether the user has read this
specific message (or heard, in case of voicemails).

This change makes the IS_READ field public, as well as deletes the NEW
field from the voicemail contract, since it is no longer needed there.
The NEW field in the voicemail contract (in fact the entire voicemail
contract) has never been released (this feature is new in ICS).

Bug: 5036195
Change-Id: I740c51c1a8e6d2460050eaab9943fb38b1565058
allLog.java
oicemailContract.java
1bfe9a9b02f64cea13a07565e77c0ea006b49928 26-Jul-2011 Makoto Onuki <omakoto@google.com> Merge "Add new contacts intent action for the "invite" feature"
71f14a4e23c0b6eb60a81fd9a1be86dc441d051a 25-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Touch exploration state set to clients asynchronously and depended on talking service being enabled."
63d050034df5eedc9586e393d56444cd34681bd1 25-Jul-2011 Ben Murdoch <benm@google.com> Merge "Add a System.Secure setting for the Autofill server URL."
72a3a86efee8a74bfd22c66bae5bfff2e88aa677 25-Jul-2011 Flavio Lerda <flerda@google.com> Merge "Add IS_READ column in call log and voicemail providers."
651212d37db9aa6d03b30a8a09a2a44627862eea 21-Jul-2011 Flavio Lerda <flerda@google.com> Add IS_READ column in call log and voicemail providers.

Initially we had exposed NEW in the voicemail provider instead of the
IS_READ field. However, NEW is already used in the call log to represent
a missed call for which a notification needs to be shown to the user.

On the other hand, voicemail need both be shown in a notification and
retain their own read/unread state, which is determined by whether the
user has opened the details of the voicemail.

This change introduces the IS_READ field for voicemails and exposes it
also via the call log content provider.

The NEW column in the voicemail content provider will be removed in a
follow-up.

Bug: 5036195
Change-Id: I2f8c04685a82cbf77f4778cf057ff62c7da1256a
allLog.java
oicemailContract.java
15dec3967efcff339fb14a84b85320ba85ed47f0 23-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce param/column for group count

Bug: 5039532
Change-Id: Ibc604770cb61ca9fd92280e58f1cd1bbf30c216a
ontactsContract.java
00aabf7d187bc05408199bd687a538b2e68bdc17 21-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration state set to clients asynchronously and depended on talking service being enabled.

1. Upon registration of an accessibility client the latter received only
the accessiiblity state and waiting for the touch exploration state
to be sent by the system in async manner. This led the very first
check of touch exploration state is checked a wrong value to be reported.
Now a state of the accessibility layer is returned to the client
upon registration.

2. Removing the dependency on talking accessibility service to be enabled
for getting into touch exploration mode. What if the user wants to use
an accessibility service that shows a dialog with the text of the touched
view?

bug:5051546

Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7
ettings.java
40c4321df41eec6eba7e5001c7e13e9b7680b1fb 22-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Introduce hidden API Contacts.CONTENT_FREQUENT_URI"
988323c57bd25a58f05dfa492d9b9c8ab62c5153 22-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

This CL inherits https://android-git.corp.google.com/g/112600

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
ettings.java
85a01a6b4609fe6ffc14760b9fadfdad50a0b513 22-Jul-2011 Makoto Onuki <omakoto@google.com> Add new contacts intent action for the "invite" feature

Bug 5061956

Change-Id: Iaf9926108db51adb3a8742130b1f0418186090c2
ontactsContract.java
3604bc50207af783562d2f36cdd3f9b964a7cefc 21-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce hidden API Contacts.CONTENT_FREQUENT_URI

Required to support frequent view in Contacts app.

Bug: 5050315
Change-Id: Ia670229e4d3e793446b0a0dce2590e20709ee18c
ontactsContract.java
d7b3e6a39b6b2e155b24ef470023bafb3b9fa35a 21-Jul-2011 Isaac Levy <ilevy@google.com> WifiWatchdogSM notification for first wifi disable

Also moved customizable settings into Settings.Secure and
added listeners for setting changes into the state machine.

Change-Id: Ia6859c71f7edae13062685867959adc423af4643
ettings.java
9999c1d97730e33751ae5a94331797d6850701c6 19-Jul-2011 Ben Murdoch <benm@google.com> Add a System.Secure setting for the Autofill server URL.

The Autofill server is now configured as a system setting. Add
that setting and a method to be called over JNI from the chrome
stack to retrieve it.

See also external/chromium change I3a22ae42402f52207eee2d0d9df64700cb7c9f45

Bug: 4515820
Change-Id: I0aa85c5bef834b1120baaabdc2dd2e4e607a63b6
ettings.java
32911e72af9e8cc62ddd094aebac4d3d075badcb 20-Jul-2011 Dave Santoro <dsantoro@google.com> Merge "Updates and fixes for the social stream API."
040e6b302cc47afbda9d8d08ac3b02c8192eccab 16-Jul-2011 Dave Santoro <dsantoro@google.com> Updates and fixes for the social stream API.

- Social stream photo updates should use the new photo storage
system instead of storing the image content in BLOBs.
- Package names need to be text, not numbers. The status update
documentation was incorrect.
- Social stream photos will include a URI the caller can open to
get the photo content.
- Removed the max photo bytes from the stream item limit query,
as we'll do appropriate resizing with the photo storage system.

Change-Id: I103ee1340c1a3772ae37add3684b0658c241a49c
ontactsContract.java
e19572ccb5e7963eee9dd1cca150ee752a850e4a 20-Jul-2011 Mike Lockwood <lockwood@android.com> MediaScanner: Do separate bulk inserts for different media types

This should fix a bunch of problems introduced in the original bulk insert implementation

Also reverted two changes that are no longer necessary:

Revert "MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files"

This reverts commit 92e1314ad9ddbacfb806405e9aceeea4a8aae19f.

Revert "MediaScanner: fix breakage in updates"

This reverts commit 45aaa2a345292bb6d600822db602f25e261c0e50.

Change-Id: Ibed66393467761c2c1ce48deb09bcac505b7d221
ediaStore.java
e8c3986b5c9377b0992bc77680954cb1b9f7f49b 20-Jul-2011 Debashish Chatterjee <debashishc@google.com> Merge "Voicemail content provider API for api council review."
31ca854cdba31ec6ab089af743a8701a6192e07e 19-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4976176: Font size setting does not persist

Change-Id: Id58caf990bdd3aac5ea97aaba45652ffad1f678a
ettings.java
5521e892f8b5b2313619405684d426309f66ade4 07-Jul-2011 Debashish Chatterjee <debashishc@google.com> Voicemail content provider API for api council review.

This is a new content provider implemented to add visual voicemail
support in android.

Voicemail content provider is the central repository for storing
voicemails inserted by various voicemail sources. The content provider
also exposes a status table to let the voicemail source application
convey its current status to the system.

The primary application that reads from this content provider is the phone app.
The phone app shows voicemails along with other call entries within the
call log and optionally any relevent message about the voicemail source
status.

The implementation of this content provider can be found at
https://android-git.corp.google.com/w/?p=platform/packages/providers/ContactsProvider.git;a=blob;f=src/com/android/providers/contacts/VoicemailContentProvider.java

Change-Id: I8ad46aec20c70684f7bfa45530bbb90dd841d81a
oicemailContract.java
35bfedeaba724aeadc6f6c890269cb6bf7ef42f5 15-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration separate setting and API to poll the latter state.

1. Seperated touch exploration to be a seperate setting rather being
magically enabled by the system of accessiiblity is on the there
is at leas one accessibility service that speaks enabled. Now
there is a setting for requesting touch exploration but still the
system will enabled it only if that makes sense i.e. accessibility
is on and one accessibility service that speaks is enabled.

2. Added public API for checking of touch exploration is enabled.

3. Added description attribute in accessibility service declaration
which will be shown to the user before enabling the service.

4. Added API for quick cloning of AccessibilityNodeInfo.

5. Added clone functionality to SparseArray, SparseIntArray, and
SparseBooleanArray.

bug:5034010
bug:5033928

Change-Id: Ia442edbe55c20309244061cd9d24e0545c01b54f
ettings.java
9eebaf10e9f7432b9109928252ce621c65ca02b8 16-Jul-2011 Daniel Lehmann <lehmannd@google.com> Merge "Use higher resolution in in-call UI if available."
92e1314ad9ddbacfb806405e9aceeea4a8aae19f 15-Jul-2011 Mike Lockwood <lockwood@android.com> MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files

Bug: 5025615

Change-Id: Ia910cd1c063292599a03b878755edb2e3cdbbb57
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
f5d4652e028c5a8ec3d151521e63c9c9191e9149 15-Jul-2011 Daniel Lehmann <lehmannd@google.com> Use higher resolution in in-call UI if available.

In the process, I created a second overload to the function that returns
the photo to allow returning either the high-res or the thumbnail version

Bug:5033899

Change-Id: I7be257eb54b296445e20561d318a70c382d6ade9
ontactsContract.java
b6e5e7a740bf595a1a5d32b28549e5d579a04ee3 14-Jul-2011 Dave Santoro <dsantoro@google.com> Merge "Contacts contract update for display photos."
e6d3d28a6b9a2a15d141ba2d44d7a33bb9c1f04a 14-Jul-2011 Daniel Lehmann <lehmannd@google.com> Allow a sync adapter to provide an OPEN action for a group

Bug:4413120
Change-Id: I17572204dc9fad3406d2505c83586b9dbce177b9
ontactsContract.java
a528237b807236bd09f01e915f4519b3c3c430c6 29-Jun-2011 Dave Santoro <dsantoro@google.com> Contacts contract update for display photos.

This adds support for storing larger, hi-res photos in the contacts
system. Thumbnails continue to be stored in the Photo.PHOTO column
as BLOBs, while hi-res versions of the photos are stored in the file
system and referenced via a photo file ID (with metadata stored in
a new table).

See go/large-photo-design for details.

Change-Id: Ie182eaa6a0330e2eca0a732f201f20a91e4dc584
ontactsContract.java
d7bdc18f875c4fdd1848aa9b941109acc0f99635 25-Jun-2011 Dave Santoro <dsantoro@google.com> Add data_set column for raw contacts and groups.

This provides a way for multiple sync adapters to exist for a single
account type. Internally, for example, we can use these new columns
to support separate sync adapters (and sourced data) for Focus,
Emerald Sea, and Latitude.

Change-Id: I1b8dfd79e9fb2dfcee6ac6d4adb947093f5c2324
ontactsContract.java
96fc8269ed5b2d4a55f6a4cd4b6e1cc2b9dea093 12-Jul-2011 Daniel Lehmann <lehmannd@google.com> Merge "Remove restricted white-listing"
9b94fd63fa3cd6d2041858d0b24d57b0e08c25c4 11-Jul-2011 Daniel Lehmann <lehmannd@google.com> Remove restricted white-listing

Commit after provider changes

Bug:4974334
Change-Id: I66bc3c13165ea86725b769c287475dec396841e2
ontactsContract.java
104344e507610be42fb70c7deda3c422c543bfcb 10-Jul-2011 Jeff Sharkey <jsharkey@android.com> Cached NTP time for system services.

Uses NTP server and timeout from secure settings, or fallback to
defaults in resources. Update various system services to use cached
NTP time when fresh enough, or force updates as needed.

Bug: 4517273
Change-Id: Ie1c4c4883836013d02ca0bbd850cf8949f93b34b
ettings.java
3672696dc542674f8b54f83cd00c616b4a9fd4ad 14-Jun-2011 RoboErik <epastern@google.com> Unhide CalendarContract apis

This exposes the set of apis necessary to unbundle the Calendar
app and sync adapters as well as allowing third party developers
to officially access the calendar provider. This is the current
final set of apis to expose, though changes may occur if we
discover new issues. The documentation and CTS tests are still
in progress.

Change-Id: If77f9a1d49a26725b44b1014e8d088be7ffbc707
alendarContract.java
58644028f909ecb429b26f909bedfb62a153d4e4 08-Jul-2011 RoboErik <epastern@google.com> Pseudo-final api fixes to CalendarContract

This removes the public projections and makes them arguments
that are passed in instead.

Change-Id: Ic9807d4994a9f2798b0ecf9a63194193715931e0
alendarContract.java
fb7a1446c0cc1692304bf9827e3a01ccfc2eb4a7 07-Jul-2011 Daniel Lehmann <lehmannd@google.com> Merge "Contacts contract changes for social updates."
1a65b441b127e66c0fae2e04e6f88628a6363209 07-Jul-2011 Adrian Ludwig <aludwig@google.com> Merge "Android security code review."
2da9eb7175e59a4ad8b9cec185f9cfdf8e075859 06-Jul-2011 Gloria Wang <gwang@google.com> Merge "- Retrieve is_drm in MediaMetadataRetriever. - Add one more column in MediaStore to indicate whether a media file is drm-protected. - Remove old DRM code from Ringtone - Use the new DRM code in RingtoneManager"
1752ae72ce09b30244577ee0ee563caa5dbf871e 05-Jul-2011 Debashish Chatterjee <debashishc@google.com> Introduced a common SOURCE_PACKAGE_FIELD in VoicemailContract class.

This ensures that we use the same field name for both status and
voicemail tables.

Change-Id: I9f699939b8434bd41b5382e49dea63516cfce346
oicemailContract.java
9b8dd63445b62783d544fef030518ce8a0fb0691 04-Jul-2011 Debashish Chatterjee <debashishc@google.com> Got rid of deprecated fields from VoicemailContract api.

No one should now be using these fields. SOURCE_CONTENT_URI was not
marked deprecated, but following a recent change in content provider
this field is also no more in use.

Change-Id: I58bb7872ba2f6cec169499d1a01d755232dde2f0
oicemailContract.java
29c1575bf6d11e76c5869fbbdd1cdea1d09ca0e0 04-Jul-2011 Debashish Chatterjee <debashishc@google.com> Android security code review.

For now only contains a whitespace change per file to enable creating a
valid change list.

Change-Id: I0ea8ed6d44c3b7f0a779bc163f39fd304b4361e1
allLog.java
oicemailContract.java
82428a862f325238cfb5646bbd65de3f1a11e7cc 27-Jun-2011 Gloria Wang <gwang@google.com> - Retrieve is_drm in MediaMetadataRetriever.
- Add one more column in MediaStore to indicate whether a
media file is drm-protected.
- Remove old DRM code from Ringtone
- Use the new DRM code in RingtoneManager

Change-Id: I1311fd1c04841c2cd47df6c901589966cf55a692
ediaStore.java
f4bf100225d8e7fd2dd9bbde7ec7a152e15b9ef4 01-Jul-2011 Debashish Chatterjee <debashishc@google.com> Cleanup VoicemailContract.

Moved constants/methods specific to Voicemails and Status table under
respective classes.

Marked currently used constants as deprecated, which will be deleted
once the apps using it is modified.

Change-Id: I122439c32ac62e9ae83c4c8468f5160a79743335
oicemailContract.java
73f0a3a6bde168524a5f3c7ac31ba372174940e7 01-Jul-2011 Debashish Chatterjee <debashishc@google.com> VoicemailContract API change to add voicemail status table fields.

See design doc:
https://docs.google.com/a/google.com/document/pub?id=1FM2cl7Qqt002m9PahbpxUAJNM8rdH1b08IHePi-qaDA

Change-Id: Ib471f50d32ed77eed45a4e0857e3053be8a6582d
oicemailContract.java
5612b3d1252b8cb850745b3a35948b47561fa1fc 30-Jun-2011 RoboErik <epastern@google.com> Merge "API updates to respond to comments"
083cd2dfeb4b35b0b888921b02aa28464fa53165 30-Jun-2011 RoboErik <epastern@google.com> API updates to respond to comments

Change-Id: I58597b722fc0c39da53570a45c859372bf4c3782
alendarContract.java
d414f108e70766b1a9d6f4e99201f960cfa45310 20-Jun-2011 Dave Santoro <dsantoro@google.com> Contacts contract changes for social updates.

This change adds support for a richer API supporting social status
updates.

The new API supports providing multiple status updates (stream items)
to be associated with a single raw contact, and for multiple photos
(stream item photos) to be associated with each stream item. A
limited number of stream items will be stored - callers can query for
the limit to optimize calls. Any inserts beyond the limit will
result in expiration of the oldest item.

Change-Id: Ib46fdf8864472d4a1be250b9051e7d37ec32c089
ontactsContract.java
9ef78f00d2950ab7f31a22beaa54bf6ad4206886 29-Jun-2011 Flavio Lerda <flerda@google.com> Constants for accessing call log with voicemails.

Move the constants from the contacts provider implementation to the
framework.

These constants will remain hidden as currently only the system is
allowed access to the voicemail, protected by a signature permission.

Change-Id: I7cdb0fe217603b3d755238067a877f4209f4c26c
allLog.java
64c044f30e53d6c8a1ece5a59863b871b9fd838e 28-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Use new usage feedback API in phone app / strequent"
f468591cafb797a494d09bb0dd6adfcc439e7b8c 25-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Use new usage feedback API in phone app / strequent

Basiaclly two changes included:

- Let CallLog use new data usage feedback API, so that
ContactsProvider2 is able to figure out what type of contact
method is used when a person is contacted.
- introduce phone_only parameter for strequent uri, which enables
Contacts app to obtain a contact list for recently phone-called
contacts.

markAsContacted() isn't used anymore, as nhe new API takes care of
old counters (TIMES_CONTACTED/LAST_TIME_CONTACTED) too.

Bug: 4371572
Change-Id: Ie193bb91ee49b18f4a546a1f52be780bb514301d
allLog.java
ontactsContract.java
5ba369f4f7ea4ad7e643c2aaae3ea49643510556 28-Jun-2011 Debashish Chatterjee <debashishc@google.com> Merge "Got rid of deprecated EXTRA_CHANGED_BY from VoicemailContract."
962402f46a51e513d23fe5a7b4270c0cb2ae2df5 28-Jun-2011 Narayan Kamath <narayan@google.com> Merge "Make the system global search provider a user setting."
949a136dc65db24cba3d321ceac88c6b55825bcc 28-Jun-2011 Debashish Chatterjee <debashishc@google.com> Got rid of deprecated EXTRA_CHANGED_BY from VoicemailContract.

see http://b/4773134

Change-Id: Idf37cc85ef2d58875d386bffede73af64f64a7b9
oicemailContract.java
ee69ff4eaee9342843d5f25338288865dda2d36a 28-Jun-2011 Narayan Kamath <narayan@google.com> Make the system global search provider a user setting.

Also, modify Searchables / SearchManagerService to
honour the setting when it's set.

Change-Id: Ia63351fff4fe28ee79ac8b9e30fdb8edc43f5534
ettings.java
4687cbc48d710069d65086c7e8b600edb01e1255 27-Jun-2011 Debashish Chatterjee <debashishc@google.com> Introduced 'SELF_CHANGE' extra for voicemail notifications.

A follow up change in voicemail content provider will now
populate this extra instead instead of EXTRA_CHANGED_BY to indicate if
the change was caused by the receiver. This makes the the security of
the notifications a bit tighter by not revealing the package name of the
app that made the change to others.

See Bug http://b/4773134

Change-Id: Ie376c40c7bba9792da3b18e66d9f205166a402e0
oicemailContract.java
d7e695876ae389c43e0f8b362821e9ed051176be 27-Jun-2011 Dave Santoro <dsantoro@google.com> Merge "Renamed INCLUDE_PROFILE param to ALLOW_PROFILE."
aaad33e0aa2f2c444118adf4177e037fba252960 27-Jun-2011 Romain Guy <romainguy@google.com> Merge "Fixing various broken javadoc comments in framework."
8ab3dc7a3e430cc69975091b962758f49bc84ef2 24-Jun-2011 Andrew Sapperstein <asapperstein@google.com> Fixing various broken javadoc comments in framework.

Change-Id: I48a6b3c268e8ebf3aa2ff3a1de7ff5fa6f8f6de7
yncConstValue.java
cb2bb4f70f36e925921b3ca79fc221bcca9a7225 24-Jun-2011 Dave Santoro <dsantoro@google.com> Renamed INCLUDE_PROFILE param to ALLOW_PROFILE.

Also clarified comments to indicate that this is only intended to be used
in list queries.

Bug: 4777097

Change-Id: I3c3e08d796755e2613a94a1e9b6dc2961f4483a3
ontactsContract.java
e00d58998cf5e36bbb744e6412623d7f35a15da1 24-Jun-2011 RoboErik <epastern@google.com> api comment fixes

Change-Id: I0fe70ab54c78ba18ae7d759bbfa692c5235008ef
alendarContract.java
0a9ee1272b59ad350cea591f931b52290a5e0998 23-Jun-2011 Jeff Sharkey <jsharkey@android.com> Enable bandwidth module from stats service.

During systemReady(), tell netd to enable bandwidth tracking module,
which is used to provide detailed stats and controls.

Change-Id: Iecfd8b17a3b90f5a817d731fbe1c71777681ed6e
ettings.java
8969d9924c662ab4cdacc342bbdc33756db730be 22-Jun-2011 satok <satok@google.com> Revert "Create TextServiceManager and SpellCheckerService"

This reverts commit eaddb894865a804279659b4aad6364a34ab50beb.
ettings.java
f86ee14f6a53d409489261415901c6397877ce3d 22-Jun-2011 satok <satok@google.com> Merge "Create TextServiceManager and SpellCheckerService"
c6080b3cc5dc8b3d5911399aec8df8895eeec07b 22-Jun-2011 satok <satok@google.com> Merge "Add an ongoing notification to switch IME"
7cfc0ed21a3fafabafb40b38a8589808ad1517af 20-Jun-2011 satok <satok@google.com> Add an ongoing notification to switch IME

Bug: 4671417
Change-Id: I2b9e955003c1f6703978824c947d5f322a039714
ettings.java
eaddb894865a804279659b4aad6364a34ab50beb 01-Jun-2011 satok <satok@google.com> Create TextServiceManager and SpellCheckerService

Bug: 4176026

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Ia25e7b4f308778891929e31b8cbd741f6848cce4
ettings.java
d03fd3f004e3ba8aaa1692ee0e92e8ae171d2a04 20-Jun-2011 Jeff Sharkey <jsharkey@android.com> Persist "tagged" network stats along with UIDs.

Now stores tags other than TAG_NONE (0x0), which are useful for app
debugging. Combine UID and tag together into single long key, and
expose tag data through AIDL when requested. Change NMS to track
TAG_NONE as total UID traffic, matching the kernel definition.

Added TAG_MAX_HISTORY to control how long tag-granularity statistics
are stored; overall UID usage is still kept for UID_MAX_HISTORY. Fix
bug to trim NetworkStatsHistory outside normal polling loops to catch
non-active networks and UIDs.

Test to verify UID and tag packing, and to verify that UID traffic on
two networks are combined to match MOBILE_ALL template.

Change-Id: If0e039416d9e7f63b1a39e04cddfb1133b5a78ee
ettings.java
1a81a16a967173729839d3802a5527ff074f9af9 18-Jun-2011 Jeff Sharkey <jsharkey@android.com> Merge "Notify policy listeners about metered ifaces."
fdfef57f498e3021a34342538aef9f1c7ccbae78 17-Jun-2011 Jeff Sharkey <jsharkey@android.com> Notify policy listeners about metered ifaces.

Currently, kernel definition of metered networks is applied at the
interface level. This change maintain list of those metered ifaces
and notifies policy listeners, like ConnectivityService. (This gives
us a consistent picture of when a network would be blocked.)

Bug: 4601393
Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
ownloads.java
ea07d5f23caf438019e3104a41e11d00bc1b9079 18-Jun-2011 RoboErik <epastern@google.com> Merge "Fix typo in docs link"
f92ccfb8b0e2062e5170ea649cdc01692b09a683 18-Jun-2011 RoboErik <epastern@google.com> Fix typo in docs link

Change-Id: I411d250629b828d07dd7adbdb20da71f0c4722f2
alendarContract.java
dc4280419b44f2da0aa3f734af5fa28def67dc99 17-Jun-2011 RoboErik <epastern@google.com> Merge "Add docs for Calendars table"
f4010c5768514c41dc671ec67157ba24880b4c6f 17-Jun-2011 RoboErik <epastern@google.com> Add docs for Calendars table

Change-Id: I4e445f730a4330f7c570efadb3051d28ca050402
alendarContract.java
18cc57fb932363f999a71815cbeb4192cba4b468 17-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Add API for auto-complete ranking improvement."
59dab49cb8350afd1baa77999ec2f91283d78536 17-Jun-2011 RoboErik <epastern@google.com> hide CalendarMetaDataColumns

Change-Id: I248b608cfdac51b8fe2ccc36fa1701c3f1915849
alendarContract.java
29ddc3bc2730fefdd51ac54f9838c67742a270ed 17-Jun-2011 RoboErik <epastern@google.com> Merge "Adds more docs to classes in CalendarContract"
3771fcbc192386d96b57d1edec44d53620d9f09d 17-Jun-2011 RoboErik <epastern@google.com> Adds more docs to classes in CalendarContract

Change-Id: I73d93a6a823100394a707e6b85de40fc6e242c03
alendarContract.java
da672372253002f06085ec6eace38b2fafe0f256 16-Jun-2011 RoboErik <epastern@google.com> Merge "Add DroidDocs to Events class"
fe37b49dd416e8b6b6148290bea6b3a38a3c5661 16-Jun-2011 RoboErik <epastern@google.com> Add DroidDocs to Events class

Change-Id: I85b14e8a553a1bc160d05a9f076d4aea77e9a39f
alendarContract.java
ad4c9ed7de1c3c3b7781db9c46503263c5bf8464 16-Jun-2011 Jeff Sharkey <jsharkey@android.com> Merge "DownloadManager flags for network policy."
1a303953589fdddf21d88b8fa660136f5b060d0d 16-Jun-2011 Jeff Sharkey <jsharkey@android.com> DownloadManager flags for network policy.

Handful of DownloadManager flags to record when a download was paused
because of NetworkPolicyManager rules.

Change-Id: I99fc47f529cb6c8a42dbeca049e0cd0f1556eac4
ownloads.java
554344ee7444c0d973f0d4ef768f72d33cc8d4fc 15-Jun-2011 Martijn Coenen <maco@google.com> Merge "Added vcard query parameter for not attaching photo."
45d937ed0a751629353d9834202fbd80ed713218 15-Jun-2011 Debashish Chatterjee <debashishc@google.com> Merge "Modified Voicemail.SOURCE_DATA value to match with the constant name."
e0a8aabd795736f16cae4aa1d2a68b95e2f5b30f 15-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add API for auto-complete ranking improvement.

- primary account (3510087)
- per-method ranking (4371572)

Primary account enables to ContactsProvider to prioritize
email addresses associated with the account.

Per-method ranking enables ContactsProvider to get feedback
from applications about usage per method instead of that per
person.

Both should be available for unbundled applications.

Bug: 3510087
Bug: 4371572
Change-Id: Icb01415317a7dbb6538804181b06bd973af6205c
ontactsContract.java
037d3ffa20d4ab933891419d79879869c1d9c125 15-Jun-2011 Martijn Coenen <maco@google.com> Added vcard query parameter for not attaching photo.

Change-Id: Ia4968ba54d00c368240f50fa43bcc647ccf2c199
ontactsContract.java
7658408160a7c29a07b7e667457309a49f43b39f 15-Jun-2011 Debashish Chatterjee <debashishc@google.com> Modified Voicemail.SOURCE_DATA value to match with the constant name.

Change-Id: I3a83b553ace640a91cd07e89785d52d5b7cd86ca
oicemailContract.java
bec6c36b96f7bc415af18abbb142bd51a1741796 14-Jun-2011 RoboErik <epastern@google.com> Rename Calendar.java to CalendarContract.java

Change-Id: Iadb22f39d1cb3d57d1636360df24ef484a9edb58
alendar.java
alendarContract.java
a7932ae77eadccc6b7a6491cd3657e49b09431ab 14-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Fix commment"
52e3823bd79715a7fada06f1e12d92eb2de39989 14-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix commment

Change-Id: I26ea16636356c1473bf8745247b43fa9dac611c3
ontactsContract.java
b2e9cde84b1df0506ac416ec6828e3f06de43293 14-Jun-2011 RoboErik <epastern@google.com> Merge "Update Calendar main comment"
260598d0cfb1f4f31fe698b6ceaeb0f4d2009e61 14-Jun-2011 RoboErik <epastern@google.com> Update Calendar main comment

Change-Id: I5fbbf8d6830a8fdecde2f74b51420bfede87cde9
alendar.java
fa77931784cb66503bc4dfd755cea41bdb832562 14-Jun-2011 Mike Lockwood <lockwood@android.com> Merge "Settings: Remove unused USE_PTP_INTERFACE setting"
1324f22d8dc1a26fe481fd33511bdae04c81ac14 13-Jun-2011 Mike Lockwood <lockwood@android.com> Settings: Remove unused USE_PTP_INTERFACE setting

Change-Id: I743b81379053caece38c19c59bc76d6cda763d45
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
0025860b61c1b9e8e7d1da7edd7a8ad837b87078 13-Jun-2011 RoboErik <epastern@google.com> Remove @hide on SyncColumns, make them protected

Change-Id: I375f6ca9a0ebe03b256bdb089c943571d06c9e6d
alendar.java
b2c75603b3ccf2bcfcda66e9dfb835a119f2e5a3 13-Jun-2011 RoboErik <epastern@google.com> Make interfaces protected so they get included in api

Private interfaces do not get included in the api for classes
that implement them. We need to make them at least protected
before they will show up in the apis.

Change-Id: Ie90d2b58c7f123e734f0a6af5ec6402be6984f82
alendar.java
492208439d81916431caf1605b37ec2a130ab705 13-Jun-2011 Debashish Chatterjee <debashishc@google.com> Merge "Made VoicemailContract classes non-instantiable."
39ebc2195ed16b9e955dd57f5c95212bb7b934b6 12-Jun-2011 Jeff Sharkey <jsharkey@android.com> Persist UID stats, lazy loading, resize buckets.

Persisting detailed UID stats in separate "netstats_detail.bin" file
to enable different schedules for summary and detail polling. Only
load detailed UID history on demand, since it's not needed during
boot. Add test to verify UID stats are persisted across simulated
reboot.

Move external settings into well-named interface, which is still
backed by Settings.Secure. During periodic poll events, resize any
history to match current bucket duration setting. Test to verify.

Change-Id: I6366f3583a591f8ba859b0e5987daf8cafa4e95a
ettings.java
9734df5f0cc8a1256f64b464c4cc884def00b1fb 09-Jun-2011 RoboErik <epastern@google.com> Upgrade of Calendar db to 305

Name changes for db upgrade and reorganization for easier
referencing of calendar/event columns.

Change-Id: Ic892729e1fa11c7971d99ec17d930db9300d44e9
alendar.java
d868be588b19f5a29e04beebbc40025253875613 10-Jun-2011 Debashish Chatterjee <debashishc@google.com> Made VoicemailContract classes non-instantiable.

Change-Id: I35539e5b293412f4f11b0bc062d754f813d4168e
oicemailContract.java
64c99171e87f02ca3998255b6afacb80c37215d0 10-Jun-2011 Debashish Chatterjee <debashishc@google.com> Merge "Voicemail provider contract definition."
489d2d546a766912a09003f67d60bd6db241a21b 10-Jun-2011 Debashish Chatterjee <debashishc@google.com> Merge "Voicemail related fields in calllog provider."
92a1af549899d249c86adf601da8ead3997e0d10 10-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Add return value spec and fix typo."
e1a255a89f64730272a66b93f82ec348989a0899 10-Jun-2011 Andy McFadden <fadden@android.com> Merge "Use public constants"
6f5b4550450d98bb2ae4ac93cefd4133e2a71847 10-Jun-2011 Andy McFadden <fadden@android.com> Use public constants

Some of the internal doc references were using non-public ways to
get at constants.

Bug 4575374

Change-Id: I4884d8db964950d92b3f26634724b201674bea8c
alendar.java
63b709d9c691f413b3d3d92740a6e2dc457ee32b 09-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add return value spec and fix typo.

Bug: 4371572
Change-Id: I4906a8f337dee855ef753e65eb69bdb02b1a0d72
ontactsContract.java
432513380e8ea8f4c70853190bfd55a9186407f4 11-May-2011 Dave Santoro <dsantoro@google.com> API modifications to handle profiles in Contacts.

The user's profile is represented as a single Contact, comprised of
Raw Contacts which may be contributed from any accounts the user has on the
system.

Two new permissions have been added: READ_PROFILE and WRITE_PROFILE. These are
required for reading or writing any contact data that is designated as part of
the user's profile.

Contact queries can include the user's profile data by setting the
include_profile URI parameter to 1 (this requires READ_PROFILE access). By
default, the user's profile data will not be included in any Contact queries.

Change-Id: I25616f59622dbb157032c9c435064eb36af6e8e1
ontactsContract.java
8fdb1e601e32303c041d34d4c650eddeddab1486 09-Jun-2011 Andy McFadden <fadden@android.com> Merge "Add a URI for recurring event exceptions"
d4f1bacca50a74a74a02bf6a242bb22c495e4034 09-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 7ca13deb to master

Change-Id: If34814d6c70cf63eca9bd816845389f6785518ae
b2b651f16df3c1e1690056728ce869259abcf75b 07-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduces new Contacts API for ranking promotion.

The usage feedback will be used for achieving per-method
(email address, phone number) ranking improvement.

Bug: 4371572
Change-Id: I602c0b83afca674904946f59bbdfc4dca07d46e4
ontactsContract.java
4a8c478dfadbc86938576f72c25799893cb3b92c 24-May-2011 Andy McFadden <fadden@android.com> Add a URI for recurring event exceptions

Part of a larger Calendar provider change.

Bug 4473786

Change-Id: I0cb4260ea590da0c48b55d0ca3ee586e00d37b36
alendar.java
5ae3c009edebaaae8314896719fe0b5b1c64c687 06-Jun-2011 Debashish Chatterjee <debashishc@google.com> Voicemail provider contract definition.

Defines the URLs and columns of the new voicemail provider.
Also defines the broadcast intents sent by the provider.

Change-Id: I8e9b8744a8ea6e378ca98712f3d136a99302cc2d
oicemailContract.java
61ee0bbb5b87fb5c4c3dc219868d52743def3d2b 30-May-2011 Jeff Sharkey <jsharkey@android.com> UID network stats, secure settings, and random.

Collect UID-granularity network stats during regular poll event. Add
dumpsys argument to generate fake historical data for debugging, and
move stats parameters to Settings.Secure.

Change-Id: I09b36a2955dc10c697d4b9c3ff23dcb3ac37bd70
ettings.java
2391a983149a0838e37a64ce85a2c19382a1311b 08-Jun-2011 Irfan Sheriff <isheriff@google.com> Merge "Update walled garden detection logic"
5ea65d609f0c8e1e3a1dcd192c4058aa2ccf3212 06-Jun-2011 Irfan Sheriff <isheriff@google.com> Update walled garden detection logic

DNS based techniques dont always work. Some hotspots
redirect on data fetch on IP. Use a known pattern match
on URL to detect a walled garden instead.

Also, added gservices capability to turn off the feature
or change the URL & the pattern to match

Bug: 4378442
Change-Id: I78b4208d3ea3ace20069169e7c01ed769892d94d
ettings.java
7d259626d009a45195ec341646ce06658b842e40 08-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 0cb17a52 to honeycomb-plus-aosp

Change-Id: I784e6d1946fa708f63becece070c7090cec6f1e2
866f40aeda0b771bfac28bbf51959b128538c4ac 06-Jun-2011 Alon Albert <aalbert@google.com> Add columns:
Events.lastSynced: flag marking this as a duplicate of the lastSynced sate of the event
Events.sync_data7: General purpose sync column (will be used for editUrl in Google Sync Adapter)
Calendars.canPartiallyUpdate: Flag indicating sync adapter can perform partial updates.

Change-Id: I5c153fb9cbf43dd1def0267c2f912a59038b28c1
alendar.java
0cb17a52ee278e6fd1575a086dac155e11574287 07-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp

Change-Id: Ib885176060f65ef3286a24c7b9cae1a673666275
412359f9239037503589859f1989cf6aa14491bc 06-Jun-2011 Debashish Chatterjee <debashishc@google.com> Voicemail related fields in calllog provider.

- Added a new type - VOICEMAIL_TYPE
- Added a new field 'voicemail_uri', which be set only for
entries of type VOICEMAIL_TYPE.

Change-Id: Icf7da334dd98b31a65d71c0393b670f63f64bc68
allLog.java
c2d5330c1cc340ec5b23de14481f1db2e21a6c32 03-Jun-2011 RoboErik <epastern@google.com> Cleanup of Calendar.java to prep for api

Added comments. Made internal only stuff private. Added @hide to
methods only used by the provider. Added/altered methods for
consistency across contract classes.

Change-Id: I4d810995042583f1ab05b859f320828f83329e90
alendar.java
7218d830e27d81141588cd6e37f206d141a18f62 04-Jun-2011 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of ca2b552d to master

Change-Id: I2f3693a59042ac5aa2d7bcdc3a504c78dc99a18b
c8812761609e532cceb400b112ed9982149c2490 03-Jun-2011 Jeff Brown <jeffbrown@android.com> am e1718de6: Merge "Add a preference panel for mouse speed." into honeycomb-mr2

* commit 'e1718de61c20c8d401633f83589f18d2c0c652db':
Add a preference panel for mouse speed.
1a84fd1fb7a51f3fe4f8865e1cdd09f3490f696c 02-Jun-2011 Jeff Brown <jeffbrown@android.com> Add a preference panel for mouse speed.

Bug: 4124987
Change-Id: I3ce175d268a1d043cf5878481261b1049a15a149
ettings.java
ab79ee4adcbc6eb9fb9c509766753f65d3857739 27-Apr-2011 Jake Hamby <jhamby@google.com> Enable full support for SMS Cell Broadcast.

Implement full support for SMS Cell Broadcast (3GPP TS 23.041).
Includes support for ETWS and CMAS emergency message types.
Includes GSM and UMTS support (CDMA will be added later).

Note: the change to GsmAlphabet.java is only necessary if the
SMS national languages support patch has been applied. If that
change has not been applied, then the changes to GsmAlphabet.java
in this patch set can safely be ignored.

Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b
elephony.java
be01039a7f5c4de42cb91d184d37ef8db1f83b79 26-May-2011 RoboErik <epastern@google.com> Work on changing syncx to cal_syncx

Change-Id: I756ff09c43f39ad52a8793011d3192d59eb574eb
alendar.java
8c1132e3ceed8e1a8c696e2afe0e6fe456ccd7ef 26-May-2011 Daniel Sandler <dsandler@android.com> Merge "Framework support for Android Dreams."
2a3c67c0e99bd3d8c6c538ff323a27df19cad109 26-May-2011 Joe Onorato <joeo@google.com> am cfb046de: am 2c09a9c0: am 5520610c: Merge "Make adb shell am display-size persistent." into honeycomb-mr2

* commit 'cfb046dead49568de6f6808a697e0508ef39a3a6':
Make adb shell am display-size persistent.
2c09a9c0e960163a16ad1d06055aa6ee9635c693 25-May-2011 Joe Onorato <joeo@google.com> am 5520610c: Merge "Make adb shell am display-size persistent." into honeycomb-mr2

* commit '5520610cb2612054c5d0bcec9d031f7b71faa349':
Make adb shell am display-size persistent.
571ae90801d943a4c0c8897d1cf74c9cfe04b1ec 24-May-2011 Joe Onorato <joeo@google.com> Make adb shell am display-size persistent.

Change-Id: If3d5d18729f4e89eb7e689994deadd996fd487e9
ettings.java
0601eb7953cbf77d92826bef3ca37e208d922de7 13-Apr-2011 Daniel Sandler <dsandler@android.com> Framework support for Android Dreams.

A Dream is an activity that is launched by the window
manager after a specified idle time. You might think of this
as a "screen saver", but with the same capacity for
interactivity as any other application.

The window manager maintains a timer (like the screen lock
timer) that is reset on userActivity; the timer is suspended
during wakelocks and when the screen is off.

When the timer elapses, the user's preferred dream module is
launched (by reading Settings.Secure.DREAM_COMPONENT, which
is configured through the Settings app UI).

Like a dock app, the user can install new dreams and a
single application package may contain multiple dream
activities. Unlike the dock mode, however, there is no
"screensaver mode" for the system to manage. This allows us
to offer the user the ability to run a dream at any time, in
addition to making the overall mechanism quite simple.

There is no public API for this facility.

There is, however, a useful/recommended base class for dream
activities in the support library (change I4559a958).

Change-Id: Ied691856f88cfa38a7aca496d015f9a595da72f2
ettings.java
c0bd9bcdd9fa2de9a11c09418208702d0791555a 14-May-2011 RoboErik <epastern@google.com> Add original_id definition for cal db v301

Also removed dtstart2 and dtend2 definitions.

Change-Id: Id0408c6bf535a800c715ea08b78aabb2ede2dc9c
alendar.java
f32e8d9542d3d44a63a664c35ce3fe8a986f1306 12-May-2011 RoboErik <epastern@google.com> Merge "Update Calendars table to v300"
91b1963510ddd41d1cc4f1295e72fe7017d71388 12-May-2011 John Reck <jreck@google.com> Merge "Add ROOT_ID to Accounts column"
aa1fd70100d1af393c8d4ebe9cb36a8fa15a3633 11-May-2011 Irfan Sheriff <isheriff@google.com> am 8dd85f80: Merge "Move Wifi Ap configuration to flat file" into gingerbread

* commit '8dd85f80ba9c463f5616b47eceb620fe21203f4f':
Move Wifi Ap configuration to flat file
651c02e61fb6f1776fb2688c6f740df0d5b7f4bb 06-May-2011 RoboErik <epastern@google.com> Update Calendars table to v300

Change-Id: I8e922f97733faed800a91ea926e1a3bea229ebea
alendar.java
2b3fcfb4cf1d116d1caa20a03f9a948bc680a056 10-May-2011 John Reck <jreck@google.com> Add ROOT_ID to Accounts column

Change-Id: I4c3bbe90a91971085252b54d162c771fbb4b7711
rowserContract.java
97b4cf783f72d3597da037fea25f842aa0bb1776 09-May-2011 Irfan Sheriff <isheriff@google.com> Move Wifi Ap configuration to flat file

Secure settings are accessible by applications without
permissions. Move to a system-only accessible file

Bug: 4391796
Change-Id: I5448943d26cccce39dd4f32423c68dad4bbf50ad
ettings.java
1b312039a046532532837efd2dac06390ab506c0 06-May-2011 Marco Nelissen <marcone@google.com> Remove MediaStore.Audio.AudioColumns.ALBUM_ART

This column doesn't actually exist in the corresponding table, and
never has, so the presence of this definition is confusing.

Change-Id: I199f9a8effbdc9f45d51060830e3ad83675a0dff
ediaStore.java
6efb30f40a19a9639076b08df4f64d335c8946a0 05-May-2011 RoboErik <epastern@google.com> Adds Calendars sync only columns to the contract

Change-Id: I76d649f52e5f2a8bde4b52036df3366c5c5a979a
alendar.java
d3e4290c0442b6dcf24bcf642f4fc26d12d8e7aa 05-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: I53d501fd4891ebe27408135fb598027e06b7e495
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
7ae938be1b4fb8938f0f438cfd611cd9ed0da513 05-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Ide6d47bd9aa1698ed2a13d695613e03f2a9b29e3
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
1b30d7824dcb5ab5b1cd0fde532666359d752b62 23-Apr-2011 Freeman Ng <tenorslowworm@google.com> am 1e2e390f: am 3b9089c1: new LTE prepay related values

* commit '1e2e390fc715ef0aa264f4706fabde1a157668fc':
new LTE prepay related values
3b9089c1fa6970974fa5234dfea46455811c8c7a 23-Apr-2011 Freeman Ng <tenorslowworm@google.com> new LTE prepay related values

bug: 4082355
Change-Id: Id5a8f9b8bca64d9cf6ee13b00bd32c4911e9a3fa
ettings.java
df2e2c89d82219eb630091c1329fd2bd8c04ec22 20-Apr-2011 Andy McFadden <fadden@android.com> Calendar DB upgrade

Renamed some columns.

Change-Id: I61ad8cfd1c78a58b5f9ade656a98ea45a77ad419
alendar.java
d589fea865e90859324f00d21765fa7d7759e465 15-Apr-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2724503 Persist media button receiver across reboots

Whenever a new media button receiver is registered, save it
in the settings.

When the system audio settings are reloaded or when the
AudioService is created, the registered media button receiver
is restored.

Whenever a package is removed from the system, remove
any media button receiver from the same package that are in
the media button receiver stack. If this causes the currently
registered receiver to change (i.e. the top of the stack),
this will cause an update of the receiver stored in the
system settings.

Note that unregistering a media button receiver will not
cause the receiver saved in the settings to be updated,
this is ON PURPOSE. This is to prevent well behaved
application who unregister their receiver at the destruction
of their service, to not receive the intent after a reboot,
and to not encourage applications to never unregister
their receiver.

Change-Id: I941b777debaa56e88de93c3b03aec40331ea9ab1
ettings.java
8e0cc73919bff3dbc94e5945a500240d080898b0 11-Apr-2011 Freeman Ng <tenorslowworm@google.com> am 2df36fd6: am b7e8a54d: Merge "Add prepaid data services URL to Secure Settings" into honeycomb-LTE

* commit '2df36fd6ec39e096327032283d058b48be19e843':
Add prepaid data services URL to Secure Settings
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
ettings.java
elephony.java
96be4e01e66470c6d63bbdacc6732fc14e85a0cd 08-Apr-2011 Freeman Ng <tenorslowworm@google.com> Add prepaid data services URL to Secure Settings

This is really a Gservices value being accessed through Secure Settings

bug: 4100048
Change-Id: I6e2eb72b17594b5c8f14a6ecfc21eafeff80fa1b
ettings.java
54fcd4c81fe5b912f22ff7932cc171d0b1740926 07-Apr-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add params for primary account to ContactsContract

It is intentional to not use "primary_account_name" and
"primary_account_type" here. See Issue 3510087 and 4260119

Bug: 3510087
Bug: 4260119
Change-Id: I2a22be56822226e3ea6b6f2ef23bb77816d0345a
ontactsContract.java
9cdffa1788e2f24a674f185307000946aeb3760f 07-Apr-2011 Joe Onorato <joeo@google.com> A system setting for "advanced settings."

Change-Id: I622bc5fa7e5cba41362acd3b25ed9d3f119c72a2
ettings.java
955276656755bdc85518049305a8492b3f7f8b0a 06-Apr-2011 Irfan Sheriff <isheriff@google.com> Merge "Add support for supplicant SCAN_INTERVAL"
2b7f63887e39079a52592fb4507d8daaf90e8afa 25-Mar-2011 Irfan Sheriff <isheriff@google.com> Add support for supplicant SCAN_INTERVAL

Also, allow scan interval for framework and supplicant
to be configured at build time or run time

Bug: 4144882
Change-Id: I877f4bcc872597b44d3f4da85cf2bc0f16e09444
ettings.java
b239b683765f63d79e74b8ba2a8cc2855f236536 05-Apr-2011 Mike Lockwood <lockwood@android.com> MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Iffb66ed156ef5bc80b14228af78fbacee7734360
ediaStore.java
55685a6965d7be3a2784bce8b6a84632f5f9908d 16-Mar-2011 Wei Huang <weih@google.com> Merge "Add the field date_sent to keep track of the date a message was sent."
e7bc746e67a5b9d9cab34bd4ebe06b977772d356 16-Mar-2011 Wu-cheng Li <wuchengli@google.com> Improve ACTION_IMAGE_CAPTURE and ACTION_VIDEO_CAPTURE javadoc.

Change-Id: Ib0b637ad69a559a328ac812d710b4990fd8b1a87
ediaStore.java
81e1ed7eb5e02edf714cd5f416d1f6ebeaeebae0 14-Mar-2011 Simon Wilson <simonwilson@google.com> am ee3f6ef2: Merge "DO NOT MERGE Support WiMAX Settings & ticker message" into gingerbread

* commit 'ee3f6ef2fc7bcfae9d8af8430760388f653a10c8':
DO NOT MERGE Support WiMAX Settings & ticker message
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
elephony.java
9999ad20dfc2174f8c1431c93cf46ce0edd30aeb 12-Mar-2011 TK MUN <tk.mun@samsung.com> DO NOT MERGE Support WiMAX Settings & ticker message

Change to save UI setting value
Add new Icons for ticker message

Change-Id: I3294f40c9853311f74877e197675f48bf271d468
ettings.java
c01fd043a92462f12210d45a92d751b49e0e1f62 10-Mar-2011 TK MUN <tk.mun@samsung.com> am 4bdab175: DO NOT MERGE WiMAX support

* commit '4bdab1751f0db3b2f03e8c58ef5c11a543dfa3c7':
DO NOT MERGE WiMAX support
4bdab1751f0db3b2f03e8c58ef5c11a543dfa3c7 23-Feb-2011 TK MUN <tk.mun@samsung.com> DO NOT MERGE WiMAX support

- In Connectivity service, start WiMAX service
- 4G icon display in StatusBarPolicy
- Add DHCP renew
- Add radio for WiMAX

Change-Id: Iffff012b270d80e84ec8fbd4486921a8adb847dd
Signed-off-by: TK MUN <tk.mun@samsung.com>
ettings.java
65eda063861e3f05f8b4968e58907c612a0489d1 18-Nov-2010 Fredrik Roubert <roubert@google.com> Add the field date_sent to keep track of the date a message was sent.

Change-Id: I7051cf9c0980f82215212b21e0fb6d3b503e43fa
elephony.java
362da509897a497848860ea8b9944ab192ad1e4c 04-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am b028ce55: Merge "Add a protocol property to the APNs and use it." into gingerbread

* commit 'b028ce55cac88f1778cdad59c63c52a5b66afb69':
Add a protocol property to the APNs and use it.
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
elephony.java
54d068ec6af0ee6d261a135400efe6816c6f5ffe 02-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Add system wide management of core settings

bug:3505060

Since we want to have some settings that are used very frequently
by many applications (long-press timeout is one example) these should
be managed efficiently to reduce lookups from different processes
because in the case of a cache miss a disk I/O is performed. Now
the system manages such core settings and propagates them to the
application processes.

Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
ettings.java
3c4e929cfdfe5573e1be3ee0331fc6029e45c382 29-Dec-2010 Lorenzo Colitti <lorenzo@google.com> Add a protocol property to the APNs and use it.

1. Database changes:
- Add a protocol and a roaming_protocol column to the
carriers table in the telephony provider database.
- Set the protocol and roaming_protocol fields when
creating APN objects from the database.

2. ApnSetting class changes:
- Add protocol and roamingProtocol fields to the
ApnSetting class that encapsulates APN settings within
the framework.
- Add the fields to ApnSetting.toString and support a new
syntax containing the fields in ApnSetting.fromString.
- Add a unit test for ApnSetting.

3. Telephony changes:
- Specify the APN protocol when setting up a data call,
using protocol when not roaming and roaming_protocol
when roaming.

This change depends on #86896 in the telephony provider,
which adds the new column to the database schema on
upgrades.

Bug: 3333633
Change-Id: If3d9ed4c851d0192849df0d64581db03b066e052
elephony.java
675ad891b60e2bb8f8d0b47208348d5525306c4d 25-Feb-2011 Leon Scroggins <scroggo@google.com> Merge "Comment clean up."
31cb0bedc66b1cee4b5252df2b8e04e653358df3 25-Feb-2011 Leon Scroggins <scroggo@google.com> Comment clean up.

Bug:3405773
Change-Id: I225cccc637dd0652af2ce58072beac32e56088c7
rowser.java
11f4ae76f016d72486aedd33cfef47ba41e6592e 25-Feb-2011 Peter Visontay <pvisontay@google.com> Removed launch count increase API from Applications.

Bug: 3431684
Change-Id: I5bcf8fc6c917cc0ec60302a6c994e4e47b77c357
pplications.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
elephony.java
1e231cbf0cbe6f84d0181a0bcb2bb29b50b55c68 24-Feb-2011 Irfan Sheriff <isheriff@google.com> Merge "Remove backup of sleep policy setting"
dbcdbf21288ddc4e78f24e3363a2db271d069672 24-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Fix javadoc for DisplayNameSources

Bug: 3370212
Change-Id: I13d3ae96b6fcbba6d1ae8a1f06fb971de1f73f81
ontactsContract.java
5e7e5ec03859788bedb16b470259ddaeb3f3216e 23-Feb-2011 Irfan Sheriff <isheriff@google.com> Remove backup of sleep policy setting

Remove backup and restore of sleep policy settings

Change-Id: I87821efcaca72e12d32fdeedd8349971d85bff2b
ettings.java
af5b406ad62af6f9d9e9f9f278683fb42015a4a2 22-Feb-2011 Leon Scroggins <scroggo@google.com> New flag to open intent in a new tab.

Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
rowser.java
32fc71d93dea38f984c6ce1f4183ade6d003e9ed 21-Feb-2011 Irfan Sheriff <isheriff@google.com> Do not backup wifi country code settings

Country code settings are device specific and
should not be linked to an account

Change-Id: Iead6230bfe7751a9478c45e5dca6b4ba619587b3
ettings.java
b3703a76cef8155b23e769a25678f133aa527dd5 14-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Merge "Full text search: removing unused deprecated hidden API."
e9b734dff148d8e70a9604c81d162144becdc45d 14-Feb-2011 Erik <epastern@google.com> Add comment about not changing calendar authority

Change-Id: I1d5423ceda17b0e594520b3236e984584fedcbbb
alendar.java
e88b2af80aa97e040757aad0593ef4757975da23 11-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: removing unused deprecated hidden API.

Change-Id: I8646c4b653703ad15bccd3e6e9041f17776f81b8
ontactsContract.java
f9e8523e62fa391e85d393c23a3345887565d426 10-Feb-2011 Vasu Nori <vnori@google.com> bug:3425749 send notification for completed download

Change-Id: Ib46df5eaa9316fe0fc843fee1e4597e22768f4a8
ownloads.java
61eadaa6c3d62c16cfb86181267a9ce6407ed244 09-Feb-2011 Vasu Nori <vnori@google.com> Merge "bug:3435895 change a couple of retryable error constants to < 400"
cdf228cf87f8200b84f1942296bb310fdd6bd4ee 09-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Merge "Full text search: new API, deprecating old API."
0ba3055b1e657b0948001d48b19345fb0cd626ff 09-Feb-2011 Vasu Nori <vnori@google.com> bug:3435895 change a couple of retryable error constants to < 400

so that they are not considered permanent failures

Change-Id: I4513e6abcce127f78b5be98ab78c985ed698e43e
ownloads.java
123653b890df3e18f9921db8144a8119578e0c61 09-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: new API, deprecating old API.

All of this API, old and new, is hidden for now.

Bug: 2078420
Change-Id: I5895e992aa820fa189321e1859179bfe7ccb71ff
ontactsContract.java
24401c79665e9af458fbe646165c68434335dda4 05-Feb-2011 Lorenzo Colitti <lorenzo@google.com> Merge "Add a protocol property to the APNs and use it."
1372f0449b63f271e1efb564bbaad2bf5a576184 04-Feb-2011 Jean-Baptiste Queru <jbq@google.com> am 5086c457: am baaaca1c: Merge ee4c17ee from gingerbread

* commit '5086c45718a8344fb36adf5b15e98953612cac37':
Fix delivery report error with PENDING status in SMS
1b67231483bd4e40aedab611846683b0c816ed27 04-Feb-2011 Vasu Nori <vnori@google.com> am 9ec496b4: am e1cbd0a8: Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"

* commit '9ec496b484305defa6cbb691b85836ace8b73a02':
Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
8e63c3e33b2dc8ed8020915ceee011b99cbad99f 03-Feb-2011 Lorenzo Colitti <lorenzo@google.com> Add a protocol property to the APNs and use it.

1. Database changes:
- Add a protocol and a roaming_protocol column to the
carriers table in the telephony provider database.
- Set the protocol and roaming_protocol fields when
creating APN objects from the database.

2. ApnSetting class changes:
- Add protocol and roamingProtocol fields to the
ApnSetting class that encapsulates APN settings within
the framework.
- Add the fields to ApnSetting.toString and support a new
syntax containing the fields in ApnSetting.fromString.
- Add a unit test for ApnSetting.

3. Telephony changes:
- Specify the APN protocol when setting up a data call,
using protocol when not roaming and roaming_protocol
when roaming.

This change depends on #94983 in the telephony provider,
which adds the new column to the database schema on
upgrades.

Change-Id: Ic4e3f02e48f17990f657187b9919d265671f0138
elephony.java
5086c45718a8344fb36adf5b15e98953612cac37 03-Feb-2011 Jean-Baptiste Queru <jbq@google.com> am baaaca1c: Merge ee4c17ee from gingerbread

* commit 'baaaca1c6164eff17488a178859295a1d5be9171':
Fix delivery report error with PENDING status in SMS
baaaca1c6164eff17488a178859295a1d5be9171 03-Feb-2011 Jean-Baptiste Queru <jbq@google.com> Merge ee4c17ee from gingerbread

Change-Id: Ide109e517fb7610d60f31ba6aa99fe665b59d690
ee4c17eec30b270f9a91cc92b40fc56435a59027 03-Feb-2011 Jean-Baptiste Queru <jbq@google.com> Merge from open-source gingerbread

Change-Id: I63e8abc1b8d6db05dfce178ae736d8d0586f6c52
770d02c2fa8de1430c2c3b778efb6f2717edcd47 03-Feb-2011 Marco Nelissen <marcone@google.com> Unhide MediaStore.getVersion so Music2 can use it.

Change-Id: I006860fe2bd828ffdc598dc89329eba952fde5b3
ediaStore.java
e1cbd0a85f09a54f8bf28545ac67455b7dcd2532 03-Feb-2011 Vasu Nori <vnori@google.com> Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"

This reverts commit 6bc710f769618e87b98d51cd02241e6b1a2fb653, reversing
changes made to 7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a.
ownloads.java
3822f73a58af67ea7955f926c7d10335d86572c0 03-Feb-2011 Marco Nelissen <marcone@google.com> Add a convenience method for getting the media provider version.

b/3350571

Change-Id: I1280a49029aa75643397fab7113b4dd80b639809
ediaStore.java
b73fb5401e44014d6c6906b22a7cc6563cb54b92 03-Feb-2011 Vasu Nori <vnori@google.com> am 99e8e047: am 6bc710f7: Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb

* commit '99e8e0470249ce145003cc1eabc5ae391af34a06':
bug:3414192 new API to designate a download to be OTA update
72725ebcad848a72d3e3ac4de250553017910d9f 02-Feb-2011 Vasu Nori <vnori@google.com> bug:3414192 new API to designate a download to be OTA update

Change-Id: Iae2f6185e130324ad956f594e78b1d8b2176c808
ownloads.java
c5996b9969b241dfe647c7de4d7995c6e848d1db 31-Jan-2011 Sang-Jun Park <sj2202.park@samsung.com> Fix delivery report error with PENDING status in SMS

1. According to TS 23.040, TP-Status values is changed properly.
2. When processing Status Report, it should be checked whether tpStatus is PENDING or FAILED.

Change-Id: I91c315cfb363f3e4b936c6b6b1a01083687a580f
elephony.java
38eac1125b8242ca2640eb05fec724defd8c3fb0 26-Jan-2011 Peter Visontay <pvisontay@google.com> "Increase launch counts" functionality added to Applications.

Dependent on change I4125b34a1923fe5866c52bf77218974ed14a38bc.

Change-Id: If04c67f04bb72d8c4853c1f2de0f0e8150bf00c8
pplications.java
c42eb2cce70aa4e985615ef9d4cddfff435f7b7f 27-Jan-2011 Scott Main <smain@google.com> am d2b87091: am 0f2e2b8b: Merge "Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it\'s not a good location and the info is avilable in the dev guide, but also added some of the

* commit 'd2b87091cc30c575496eb78ebea88297da775359':
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description.
0abd82f099e9c799c856018eca9ebd5d3941cb24 27-Jan-2011 Mike Lockwood <lockwood@android.com> am ba492eb6: am 278a04eb: Merge "Fix javadoc for MediaStore.Files.FileColumns constants" into honeycomb

* commit 'ba492eb636a45cd5686fb0e6eb807e3deaa500fb':
Fix javadoc for MediaStore.Files.FileColumns constants
0f2e2b8b82c7b589bcc603ce57f8ff3d1c947784 27-Jan-2011 Scott Main <smain@google.com> Merge "Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description." into honeycomb
ed723b4095828fd6e183b650390bc4725e15886f 27-Jan-2011 Mike Lockwood <lockwood@android.com> Fix javadoc for MediaStore.Files.FileColumns constants

BUG: 3370225

Change-Id: Ie793771b131031f8457859990dca7b6fb9ba47aa
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b 07-Jan-2011 Scott Main <smain@google.com> Update package descriptions with editorial revisions.
Notably, this removes exessive info about resources
from the content package, because it's not a good location
and the info is avilable in the dev guide, but also
added some of the info to the Resources class description.

Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
ackage.html
76a23f8b2e22273ecba8443a90fed53e45f52a2e 25-Jan-2011 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of eebc944f to master

Change-Id: I969cf69d2bd6901742d2cdf1bd44344ee7ba9fc7
4519f07e9c6b993fbe7a3d3df24d71d9450a54f1 23-Jan-2011 Jeff Brown <jeffbrown@google.com> New orientation listener.

The objective in this listener is to be more careful about the
signal processing to prevent spurious orientation changes
and to make all of the tweakable factors physically meaningful.

The calibration is defined in terms of time constants and
does not assume a particular discrete sampling rate. This is
useful because it allows us to change the accelerometer sampling
interval if desired without having to change the calibration.
Moreover, the accelerometer sampling interval can vary +/- 20ms
from one sample to the next even in normal circumstances.

Proposed orientation changes are weighted by confidence factors
that vary exponentially in relation to how close the device
is to the ideal orientation change posture (screen is vertical,
angle is exactly at the midpoint of the orientation quadrant,
and no external acceleration beside gravity). When not in an ideal
posture, the device takes proportionally longer to settle into a
new orientation state.

Added a little tool to plot the log output of the
WindowOrientationListener. Check the README for more information
about how to use it.

Change-Id: I787f02d03582ff26367df65eda8d9ce85c5cb343
ettings.java
c0e5075739574e67c825e4841d5cccee55cbfd29 21-Jan-2011 Vasu Nori <vnori@google.com> bug:3048327 (master) ability to add completed download to dnload mgr

Change-Id: I073436c97d5d7cb8ea6a823488a451017dac3ff2
ownloads.java
b58b5db4ba8edc075f6524df200aa8d3c678e267 21-Jan-2011 Amith Yamasani <yamasani@google.com> Merge "Set the default state of NOTIFICATIONS_USE_RING_VOLUME." into honeycomb
43dee06479d96d51e895704a9ee480232224c761 20-Jan-2011 Amith Yamasani <yamasani@google.com> Set the default state of NOTIFICATIONS_USE_RING_VOLUME.

Bug: 3365600

This doesn't affect upgrades, only new installs.

Don't backup/restore NOTIFICATIONS_USE_RING_VOLUME anymore as it doesn't
work well across device types and can wedge the device into a state
where you can never hear notification sounds.

Change-Id: I703e1db539eb4ac45b273f46ada0b4bbf3b981bb
ettings.java
2548020c364c4119d134c84cc7a00ffca2dcbe7b 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add android.provider.Settings.EXTRA_INPUT_METHOD_ID

Change-Id: Iecb7a9c265cafe96e7eec099341133da8e966f6f
ettings.java
f49688fa17b70313c0734f00df73bc3308a749e9 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS

Change-Id: I27c318777355991ae4ad72d0b2480e93c8c5044e
ettings.java
e222872a77324dd7a1a8b9a11900a0c70bc4d6e8 20-Jan-2011 Mike Lockwood <lockwood@android.com> @hide MediaStore.ACTION_MTP_SESSION_END

BUG: 3370230

Change-Id: Idc05512930ceab8f91e3ddf0969a3b17deab2f62
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
817b3f934271115258838d5cc4903ad5a2bef0f3 10-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing field description.

PhoneLookup._ID is the contact id, not the data row id.

Change-Id: I51a308e26b93e178fde43123d0dfcb2b46630d6e
ontactsContract.java
247fe74c934cb3fba85aae7e051a8044f460fb11 09-Jan-2011 Dianne Hackborn <hackbod@google.com> Implement issue # 3255887 could CursorLoader offer...

...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
ettings.java
ee35aff74494e6c0b718e219427af6a6c573b928 06-Jan-2011 Marco Nelissen <marcone@google.com> Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831

(cherry-picked from GB because of weird automerger failure)

Change-Id: Ibf12a3d6bc8bbc2ac5ea815de6b33414b8f53f0f
ediaStore.java
d1da80a4b3d50c1be120b0e873363da711428a81 07-Jan-2011 Marco Nelissen <marcone@google.com> am ba77a3f9: Add support for the "compilation" tag in mp3, mp4 and ogg, and also add support for two common ways of specifying album artist in ogg files. b/3311831

* commit 'ba77a3f9cb1d68b2ed4813aaae856444578e3a75':
Add support for the "compilation" tag in mp3, mp4 and ogg, and also add support for two common ways of specifying album artist in ogg files. b/3311831
ba77a3f9cb1d68b2ed4813aaae856444578e3a75 06-Jan-2011 Marco Nelissen <marcone@google.com> Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831

Change-Id: Iba1152013b7577168af71f947d7249560419fa05
ediaStore.java
27480cd49470af667dc8985f45b5ba43ab9ed4cd 06-Jan-2011 Mike Lockwood <lockwood@android.com> Remove support for obsolete PTP content provider

This will be replaced by a new PTP host API in an upcoming commit.

Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
ba5c41212f31b80ecfd87d1e6ae3f7c4d378746d 23-Dec-2010 John Reck <jreck@google.com> Fix testGetAllVisitedUrls to match BP1 behavior

Bug: 3306953
Previously with BrowserProvider1 all bookmarks were considered
visited URLs. Updated Browser.getAllVisitedUrls to match that behavior
when using BrowserProvider2

Change-Id: I15e6e4e91af4e7d1b21860aabf4ce5a5c6a9d81e
rowser.java
80fdd65156e5174221c2498b65960efeb8191612 15-Dec-2010 Patrick Scott <phanna@android.com> Add EXTRA_SKIP_UI to skip the confirmation page.

Bug: 3284120
Change-Id: I6043ab859a813c7a70a3b782394dc5ace4890294
larmClock.java
a738671790503132a277880642ca746d7a1380e9 15-Dec-2010 Vasu Nori <vnori@google.com> Merge "bug:3264401 changes to support usage of new downloads dir in /data"
f83e6e4b7a7fcbfcc8e3b6078f4655fa3e64bce3 14-Dec-2010 Vasu Nori <vnori@google.com> bug:3264401 changes to support usage of new downloads dir in /data

Change-Id: I209a624523f727d47a4a8f758c13df5d4eac614f
ownloads.java
5c58dfcf7dbc87b1f0904cccf2697ab6854a89bf 14-Dec-2010 satok <satok@google.com> Add a Setting preference "INPUT_METHOD_SELECTOR_VISIBILITY"

Bug: 3142286

Change-Id: I7d30c781a20863b974b496282bbd8b1ba65d72ac
ettings.java
97b2488a14f3f1dde4d1328481f7b2285d1266a5 09-Dec-2010 Mike Lockwood <lockwood@android.com> Rehide the PTP content provider interface from the public API.

Change-Id: I472175d79a999038f2f2eef185a2f936109c2526
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
63be7a732e16dda1bfd93c449accf5ff20d8e145 01-Dec-2010 Kenny Root <kroot@google.com> Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService

Be compatible with the old DownloadProvider behavior of being able to
operate on content URIs returned from .insert()

Bug: 3242328
Change-Id: Ibd2ed553c87ea694d4b09a8265c7131fae588719
ownloads.java
e1d4698ffd8dfa212a733339edf9a75d0cbf8da6 07-Dec-2010 Brian Muramatsu <btmura@google.com> Fix Settings getFloat Methods

Don't pass null to Float.parseFloat, because that throws a NPE.
Check for null and throw SettingNotFoundException to fulfill
what the JavaDoc says.

Change-Id: Iff742fb3c15be6e02f29b9dda9197dc05a867924
ettings.java
d7ad0d28372bba03a3b6c5d01e0e7b0066e51374 03-Dec-2010 Brad Fitzpatrick <bradfitz@android.com> sampling profiler hz -> ms

Goes along with def41ec2e8 / Ifcfc343

Change-Id: Ia5cc90e6f8d83dcdf40802859002507980310d06
ettings.java
1474c7a2b60344c98bec11e91d8479c3a3901249 02-Dec-2010 Mike Lockwood <lockwood@android.com> PTP: Add android.provider.Ptp to the public API

This will allow 3rd party apps to access files on digital cameras via the PTP protocol

BUG: 3210830

Change-Id: I06dbf2842a7eea2e0749e2124bb7b7a65e8901c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
4da12f07b5c1ecd7cea7f44081a744523936bd41 01-Dec-2010 Kenny Root <kroot@google.com> am 1de6ca69: am 938d0972: Merge "Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService" into gingerbread

* commit '1de6ca69cc541ccdd651071c8bd5629af4e09664':
Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
1de6ca69cc541ccdd651071c8bd5629af4e09664 01-Dec-2010 Kenny Root <kroot@google.com> am 938d0972: Merge "Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService" into gingerbread

* commit '938d097263416ad416ee995e62dab559ea50bf0d':
Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
1de2eac9d0a9ef03ecf9f964893ca889487f5403 01-Dec-2010 Kenny Root <kroot@google.com> Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService

Be compatible with the old DownloadProvider behavior of being able to
operate on content URIs returned from .insert()

Bug: 3242328
Change-Id: I7dad15ac0fefa867c3c8a33a579fc9899ac80262
ownloads.java
994b0d2b7d5d6fc0dbe089859795ff2608a7c4f9 24-Nov-2010 Vasu Nori <vnori@google.com> Merge "changes to support Change-Id: I572fdfd6d34dbb5a0577c6cf14664b6f2d5700b4"
a31560598af25d5116effc2a6af0d9be12a0628d 20-Nov-2010 Mike Lockwood <lockwood@android.com> Rename android.provider.Mtp to android.provider.Ptp

We are only supporting the PTP subset of MTP in host mode and have
no plans for full MTP, so calling it Mtp was misleading.

Also moved ACTION_MTP_SESSION_END Intent name to android.provider.MediaStore
and added it to the public API.

Change-Id: Ie35d15864d5972e65a39b982aa51316ecca3725a
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
tp.java
tp.java
8da7a4e3451a41808972bfec0af0740e999d9c8a 18-Nov-2010 Vasu Nori <vnori@google.com> changes to support Change-Id: I572fdfd6d34dbb5a0577c6cf14664b6f2d5700b4

1. add new column constants for : COLUMN_last_updatesrc
2. send downloadid in the uri wherever possible.
Change-Id: I49a18506060bf292a0750790042e94b0a35ea9bf
ownloads.java
4ccf33acbc3d1af1a343af0f1e0f020b9b4eb507 19-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding IS_READ_ONLY flag to groups

Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778
ontactsContract.java
804043193a46a79a8616fd7696fb781edb80b519 20-Nov-2010 Wink Saville <wink@google.com> Remove pingtest in GsmDataConnectionTracker.

The pingtest have been disabled since petit-four and ping's use is
being deprecated. Removing the ping test code, if needed use
InetAddress.isReachable instead.

bug: 1824738
Change-Id: I42b3de85b67b82dc6389e7a2234afa7b1d687209
ettings.java
434203a277cd2f237a71508a3d5a7d1602126cd5 12-Oct-2010 Robert Greenwalt <rgreenwalt@google.com> Notify all VMs when proxy changes.

bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
ettings.java
954c267725d64a37655d6f3a00de6a5aa00ddaf8 19-Nov-2010 Mike Lockwood <lockwood@android.com> PTP: Improve performance and reliability of file importing

Now the file copy is done completely within the media process
rather than pushing data to the client via ContProvider.openFile().

File system writes are now interleaved with USB reads, which allows us
to copy the data faster and prevents the camera from timing out during transfer.

File is automatically inserted in the media provider after a successful import
and a Uri is returned to the client.

BUG: 2994234

Change-Id: Ie75c63da76f623343d3d966c6a707aa1ae871972
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
37c34861d07da49d5d706730dc7810fbe53df0ca 13-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a new provider status

Change-Id: I673f522e41c2b70ba77e1b1d0cd58831657b1c06
ontactsContract.java
4015de2a0803998ee5ffdf1d765378ed0e360ae1 12-Nov-2010 Vasu Nori <vnori@google.com> add column to downloads table to store error msg when a download fails

useful for debugging for bugs like bug:3187299
without this error message, one doesn't know WHY downloads
fail.
there is a STOPSHIP comment around storage of this error
message in database.

Change-Id: I1fa49ee9eb97be16aced1611ab30a286b0b6c8d2
ownloads.java
723a27ef3d7c94fc666abc52e0abd5e8526acb69 11-Nov-2010 satok <satok@google.com> Save the history of InputMethodSubtype for reverting the subtype when IME was changed.

- Re-revert the change https://android-git.corp.google.com/g/#q,78962,n,z
*** If you want to see the diff between reverted change and new change, please see the diff between patch set 1 and the latest patch set

- TODO: Add a public function "switchToLastInputMethod"

Change-Id: Ic85d54b3b68e47a22360acaeb81202a366a34586
ettings.java
c184a0b9be120964a9e00266541aea481e0caf13 10-Nov-2010 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #1776278 (consider supplying our own (unique) eid for calendar entries created on the device)"
0ba75bb22c2992f649ee5f7605a2b45442ad4862 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Revert "Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed."

This reverts commit 1ab852fbcfe155c9d4373b7130f8515591669634.
ettings.java
1ab852fbcfe155c9d4373b7130f8515591669634 05-Nov-2010 satok <satok@google.com> Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed.

Change-Id: I66752a881726c0ce2816a9d54de60fb0d992e968
ettings.java
553a53ef9ff789dff8b5a74dfea4d6f37feeb263 04-Nov-2010 Ficus Kirkpatrick <ficus@android.com> Make saveRecentQuery() async.

Bug: 3163612
Change-Id: Idd3c1925e0f1dc3272dd1303d8f2907c5c5fca8b
earchRecentSuggestions.java
36f7413dabfab50699135019ba55151e9227f59d 05-Nov-2010 Irfan Sheriff <isheriff@google.com> add frequency band control API

Change-Id: I6cc6cdef27d493d4ef76cec17fdca7e49d9dc8d7
ettings.java
5be894e636522addc40dad3b631f0249e6cc25cf 03-Nov-2010 Vasu Nori <vnori@google.com> add API to return Uri for the given downloaded file id & get mimetype

Change-Id: I1f5dd734e394db0056579a3a0c26862fee27981e
ownloads.java
2c410a18fc270eb23007add19834b174af4de7c4 05-Nov-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #1776278 (consider supplying our own (unique) eid for calendar entries created on the device)

- modify EventsEntity iterator to take care of the SYNC_ADAPTER_DATA column

Change-Id: I3d08a4ebdca5b595aad7c56b9f5d6259522297e2
alendar.java
b73617de462579f7c12c25a4c2747c576f00f6a2 17-Aug-2010 Daniel Sandler <dsandler@google.com> Rotation lock.

IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
ettings.java
0b20b77ff5a67a054695954bc65f1c5c473b348b 04-Nov-2010 Mike Lockwood <lockwood@google.com> MediaStore: Make definitions for Files table public

This provides a public API for the new MediaProvider support for
arbitrary file types. MediaProvider is no longer limited to supporting
only media (audio, video, image and playlist files).
This also allows querying across multiple media file types and supports
navigating the directory hierarchy of the media storage via database queries.

BUG: 2984284

Change-Id: I6222a6d601a4641cc7e544335e45d05b194532b1
Signed-off-by: Mike Lockwood <lockwood@google.com>
ediaStore.java
ed4f28b492da3ff140bbaabbbda798a08c40ea5b 30-Oct-2010 Irfan Sheriff <isheriff@google.com> Set country code in the driver and remove channel set

With dual band support, using country code
settings is the way to go

Bug: 2936741
Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
ettings.java
dd384a7453b61af8b606f8974c20431c545c3800 02-Nov-2010 Daniel Lehmann <lehmannd@google.com> Added missing label and char limits

Change-Id: I950c065dcf965872a541dfc4b55daec045d65d6a
ontactsContract.java
24abb66c85373156ce83211b552127344bd38c05 21-Sep-2010 Bjorn Bringert <bringert@android.com> Deprecate Settings.System.SHOW_WEB_SUGGESTIONS

In earlier Android versions, Quick Search Box set this setting,
and the browser and QSB read it. Now the Browser has stopped
using it, and QSB has been unbundled and removed from the system
settings UI.

Applications that show web suggestions should have their own settings
to control it instead.

Bug: 3021480
Change-Id: I4e62bf26944287f804e50eb93843484a0356fffb
ettings.java
1fb39f0ffca314d2fc597e2849decf3e4148713a 28-Oct-2010 Daniel Lehmann <lehmannd@google.com> Add API and strings for the contact-field "Relation"

Bug:3134946
Change-Id: Ic2163abfaf0ca16cbd24ea68cbace5144b688eab
ontactsContract.java
4c6e5dfa1c38f32843d209258388b97d4e32314f 27-Oct-2010 Vasu Nori <vnori@google.com> make notifications appear during downloading AND after completion

bug:3132773
Change-Id: I012859fa86055f322069d5120b110c4c8887fb61
ownloads.java
86417ea3f8041481a085823a1aa9f66d747231e8 27-Oct-2010 satok <satok@google.com> Remove InputMethodAndSubtypeEnabler and call intent of Settings.ACTION_INPUT_METHOD_AND_SUBTYPE_ENABLER

Change-Id: I467cfba9644ec266f6a98f7aec0886ad205fef4f
ettings.java
cde1ac6006689294dedee5260519dbd3d34971ea 22-Oct-2010 Daniel Lehmann <lehmannd@google.com> Add an extra to allow specifying the account for creation of new contacts

Change-Id: I6bbf1025e35bbc1d2acff747b08c07530bec2b8c
ontactsContract.java
886fd91833e1f5c6ec882baf2ed5e02078911c63 21-Oct-2010 Nick Pelly <npelly@google.com> am c0e93a84: am 7ea5c45e: NFC settings cleanup.

Merge commit 'c0e93a849f82c97b847c9ad39b18e594f3bb3f5a'

* commit 'c0e93a849f82c97b847c9ad39b18e594f3bb3f5a':
NFC settings cleanup.
beb2178b49e29550a4d2957cff2b602ed8517c6b 21-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Making multi-values extra in contact INSERT intent public.

Change-Id: I27da6278027a8b6a18b8dea756aa4ed8920ec748
ontactsContract.java
c0e93a849f82c97b847c9ad39b18e594f3bb3f5a 21-Oct-2010 Nick Pelly <npelly@google.com> am 7ea5c45e: NFC settings cleanup.

Merge commit '7ea5c45e8d89f59065f088d4e11cceeeed9d64d1' into gingerbread-plus-aosp

* commit '7ea5c45e8d89f59065f088d4e11cceeeed9d64d1':
NFC settings cleanup.
7ea5c45e8d89f59065f088d4e11cceeeed9d64d1 21-Oct-2010 Nick Pelly <npelly@google.com> NFC settings cleanup.

Remove NFC settings from Settings.System. The NFC Service tracks them
internally using SharedPreference.

Revert back to enable()/disable()/isEnabled() - Tag discovery is the
only functionality NFC service performs right now so we don't need to
break it up more explicitly yet. enable/disable is the global NFC
on/off and later we'll add enableDiscovery(), enableTagEmulation(),
enableSecureElement() etc as needed.

Change-Id: Id5b23e89d4a29511835f509962842452075e56cb
Signed-off-by: Nick Pelly <npelly@google.com>
ettings.java
c63c320c0980862b06b89463ccbe68a8e6924e8c 20-Oct-2010 Vasu Nori <vnori@google.com> Merge "remove duplicate code"
ef7e33b9b8647c8417e472986f95a71cb75dde80 20-Oct-2010 Vasu Nori <vnori@google.com> remove duplicate code

Change-Id: I60faf921de4b9add619e2450e0a19a111ede7984
ownloads.java
4f5f7c968339a83b6af98ac8893a1ac33c7aa7bc 15-Oct-2010 Irfan Sheriff <isheriff@google.com> Fix wake and scan behavior

- Add wakelock for driver start/stop to ensure a wifilock
acquisition kick starts driver. Also cleaned up state machine
driver start/stop behavior.
- Add periodic scans when driver is started to ensure wifi
reconnections when wifilock exists or when user chooses
never to sleep
- some minor clean up

Change-Id: I844eb70491d5aa2f8c8933b3d8dd01ba237ee534
ettings.java
bb54929f76dab7d64c817df32cfbd353e1ae0be6 19-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding Insert.DATA extra for new/edit contact intents.

This is a way to supply any amount of arbitrary initial
values for the newly created contacts or additional
data for an existing contact.

Change-Id: Iec050cf9177be2ffb115e473dcd43ef37e5bbd5e
ontactsContract.java
9ca6d71c52fcfab730b65bb01ff6bd47232c8599 15-Oct-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of c6bf3eaa to master

Change-Id: I6421faf52c160a81b03c63b91f1aedfe0f151cac
c61c98fdba0f705e29d6d1e9fc81e33d4cb07ff9 15-Oct-2010 Daniel Lehmann <lehmannd@google.com> am d16f7588: Merge "DO NOT MERGE: Private API to pass the selected tab through QuickContacts" into gingerbread

Merge commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98' into gingerbread-plus-aosp

* commit 'd16f7588a88ba98c6c466ee31bb96bc1f9562a98':
DO NOT MERGE: Private API to pass the selected tab through QuickContacts
66ad9e720729425312b4d4d4c6f9da75eaa74bed 15-Oct-2010 Jim Miller <jaggies@google.com> Merge "Fix 3024528: Add owner info to SecureSettings."
253a5ef88638037ec986bfd6c88bf36dc5e7d471 14-Oct-2010 Jim Miller <jaggies@google.com> Fix 3024528: Add owner info to SecureSettings.

Change-Id: Ibed62aa8881c795f0d48007fc04beac0e9c1d4a0
ettings.java
2f14c621256e9eac1f958b1a19e41b2a47b7011e 14-Oct-2010 Daniel Lehmann <lehmannd@google.com> DO NOT MERGE: Private API to pass the selected tab through QuickContacts

Bug:3082932

Change-Id: I28dbb21a30fbe22e6e58a8dda534fc9110621c85
ontactsContract.java
1b422d8cd8ed83b79e977a3afb99969cea4a6700 14-Oct-2010 Wink Saville <wink@google.com> am 090ac9f7: am a3100314: Merge "Remove some PII." into gingerbread

Merge commit '090ac9f7dd883aa75c899745182471d409a2b762'

* commit '090ac9f7dd883aa75c899745182471d409a2b762':
Remove some PII.
c6bf3eaab40f90e4e4db4dea9fdca8740b00606a 14-Oct-2010 Vasu Nori <vnori@google.com> am 51679ca8: Merge "bug:3069735 in Download UI app, handle deletes correctly" into gingerbread

Merge commit '51679ca89293ef33275b9681018c09be3948bf1c' into gingerbread-plus-aosp

* commit '51679ca89293ef33275b9681018c09be3948bf1c':
bug:3069735 in Download UI app, handle deletes correctly
216fa22791889774b83977341632c4570dcec35d 13-Oct-2010 Vasu Nori <vnori@google.com> bug:3069735 in Download UI app, handle deletes correctly

gingerbread.
(for more detailed comments, please see the dependent CL
Change-Id: Ib90eb9e647f543312c865d3bbf9a06fb867a648b )

2 changes in this CL.
1. add 2 new columns to downloads table in downloads.db:
mediaprovider_uri = downloaded file's content_uri in mediaprovider db
deleted = flag is set to true if a file is to be deleted
2. download UI app shows only those files whose 'deleted' flag is not set

Change-Id: I47c5f72b0a0b354fac3abe3a97752130b8189794
ownloads.java
090ac9f7dd883aa75c899745182471d409a2b762 12-Oct-2010 Wink Saville <wink@google.com> am a3100314: Merge "Remove some PII." into gingerbread

Merge commit 'a310031438877a7b70a6ac30eb2f2b33e06907e6' into gingerbread-plus-aosp

* commit 'a310031438877a7b70a6ac30eb2f2b33e06907e6':
Remove some PII.
a42880749b368e60caee77dd682d434e48ca96bd 12-Oct-2010 Wink Saville <wink@google.com> Remove some PII.

Change-Id: I4df27119b6bbd28bf950516fd6f44676a8e04f06
elephony.java
825bdff3b8d8837af936eac3066b3f402c0c070b 30-Sep-2010 Steve Howard <showard@google.com> resolved conflicts for merge of 538c3fa3 to master

Change-Id: I9190ca078ffd8b51515e3d53ac5753c05110c014
538c3fa35fc67d07a19aa58f7b1f993e86da5e83 30-Sep-2010 Steve Howard <showard@google.com> am cdcc0a65: Merge "Have download manager give more details when downloads are paused" into gingerbread

Merge commit 'cdcc0a65fae7e649f0f07e396dbe0dd59ceffada' into gingerbread-plus-aosp

* commit 'cdcc0a65fae7e649f0f07e396dbe0dd59ceffada':
Have download manager give more details when downloads are paused
3e8c1d3a467bab889de7f92379be1f43d9c2d81e 30-Sep-2010 Steve Howard <showard@google.com> Have download manager give more details when downloads are paused

This change introduces more detailed reporting of why downloads are paused in
the download manager.

First, it adds new, more detailed status constants in android.provider.Downloads
for when a download is paused, in place of the old catch-all
STATUS_RUNNING_PAUSED. I've eliminated some dead code there as well to ease the
change.

Second, in the public API, it changes COLUMN_ERROR_CODE to COLUMN_REASON, which
now reports useful info for STATUS_PAUSED in addition to STATUS_FAILED. It adds
some new PAUSED_* constants for reason values when a download is paused, and
adds code to generate these values appropriately.

Change-Id: Ie617d1c2c59357375e19466086923ace5e2fb122
ownloads.java
4715bd91f5949a1919156a5a5cb50f0cccda645e 29-Sep-2010 Nick Pelly <npelly@google.com> resolved conflicts for merge of f4c3b7e9 to master

Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
f4c3b7e916b417fabb468ec0a565dc79cd7ba2b3 29-Sep-2010 Nick Pelly <npelly@google.com> am 038cabe0: NFC integration

Merge commit '038cabe0247ee46df62f9363f1a303bc5b9c1028' into gingerbread-plus-aosp

* commit '038cabe0247ee46df62f9363f1a303bc5b9c1028':
NFC integration
038cabe0247ee46df62f9363f1a303bc5b9c1028 24-Sep-2010 Nick Pelly <npelly@google.com> NFC integration

Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010)

Conflicts:

core/java/android/app/ApplicationContext.java
core/java/android/provider/Settings.java
core/jni/Android.mk
core/jni/AndroidRuntime.cpp
core/res/AndroidManifest.xml
include/utils/Asset.h

Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573
Signed-off-by: Nick Pelly <npelly@google.com>
ettings.java
a2f926607514205adff28f19546bce21a300fc8d 27-Sep-2010 Jeff Hamilton <jham@android.com> Add a Settings table to BrowserContract.

It contains global settings that are shared
between the Browser app and the sync adapters.

Change-Id: I294ad8b03a44686858fc61a3ae6bbab86f124f99
rowserContract.java
4d5a8b55873dc9818fa00c0daba214710421b794 28-Sep-2010 Winson Chung <winsonc@google.com> am 55ee8f93: am 44e8ff99: Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Merge commit '55ee8f9329b4e99427dddc692e3d8ff10d9c9eef'

* commit '55ee8f9329b4e99427dddc692e3d8ff10d9c9eef':
Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.
55ee8f9329b4e99427dddc692e3d8ff10d9c9eef 28-Sep-2010 Winson Chung <winsonc@google.com> am 44e8ff99: Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Merge commit '44e8ff9924db43ee2470d868ce31b1c039c99b35' into gingerbread-plus-aosp

* commit '44e8ff9924db43ee2470d868ce31b1c039c99b35':
Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.
44e8ff9924db43ee2470d868ce31b1c039c99b35 27-Sep-2010 Winson Chung <winsonc@google.com> Adding a new intent to allow for apps (Launcher) to jump to the All Apps tab in the settings.

Change-Id: I15a78a5c5a18b041b1cc4a7500bd3ceccd780ea9
ettings.java
bdb05df757847ebf343ad332f319a97f7482957c 26-Sep-2010 Mike Lockwood <lockwood@android.com> MediaStore: Add helper method to create Uri for querying genre for an audio file

Change-Id: Ic08260854ef2555682c1a169e7ceb9ecc91628c6
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
a0b49cfc0c68bafb0bd7826f3b4096f30148824a 25-Sep-2010 Patrick Scott <phanna@android.com> am 888bcdbe: am 3ae249dc: Merge "Add new Alarm provider class for setting an alarm." into gingerbread

Merge commit '888bcdbeca34819c07d7dc06dc03d91207aea0c0'

* commit '888bcdbeca34819c07d7dc06dc03d91207aea0c0':
Add new Alarm provider class for setting an alarm.
888bcdbeca34819c07d7dc06dc03d91207aea0c0 24-Sep-2010 Patrick Scott <phanna@android.com> am 3ae249dc: Merge "Add new Alarm provider class for setting an alarm." into gingerbread

Merge commit '3ae249dc6a23f40cfc189ce2e25f75de32e7889a' into gingerbread-plus-aosp

* commit '3ae249dc6a23f40cfc189ce2e25f75de32e7889a':
Add new Alarm provider class for setting an alarm.
a73c4b082c2ab38831fc57c6bfb425d32ffe2aa4 22-Sep-2010 Patrick Scott <phanna@android.com> Add new Alarm provider class for setting an alarm.

The new class provides static variables for creating an intent to broadcast to
applications implementing the alarm clock. A new permission has been added and
applications are recommended to require this permission if accepting the set
alarm broadcast.

Change-Id: I7b1014acdc54371cbda19bcf9b5c395b647aa413
larmClock.java
ab751aa085433e9f735d2e7603459c6c7e9d2fb0 14-Sep-2010 satok <satok@google.com> Add methods for managing subtypes

- added showInputMethodSubtypePicker to public API
-- show the selector dialog for subtypes
- added getter, setter and event handler to InputMethodManagerService
- extract InputMethodSubtype to the top level class for using it in aidl
- TODO: make an enabler for input method subtypes
- TODO: handle the event of changing an input method subtype in LatinIME

Change-Id: I49f8c6675ac4b06511635d14a37bd398738eff33
ettings.java
a9158425cc5798594523f78f8364d55ce8d82753 23-Sep-2010 Mike Lockwood <lockwood@android.com> Merge "Changes to support MediaProvider refactoring"
3a668feec61695c3ffcbf2306d0dc153a97de98b 22-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding PHOTO_URI and PHOTO_THUMBNAIL_URI.

Also adding a Directory feature declaration
of whether it supports photos or not. If not,
we don't have to display blank squares for
the corresponding contacts.

Change-Id: Ie98c11983f0a87dbe7315c2994f2375febeee2fc
ontactsContract.java
5a08b50e8029b7f11f998246bbae1a99d806789c 22-Sep-2010 Mike Lockwood <lockwood@android.com> Merge "MTP host: Use Java longs for storage and object IDs"
c55a6a42afd328fd78e8cc307194e2ca33b81a04 22-Sep-2010 Vasu Nori <vnori@google.com> am 2359d49b: Merge "DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963" into gingerbread

Merge commit '2359d49b80df13c1724c7c6da5648f17a33d881a' into gingerbread-plus-aosp

* commit '2359d49b80df13c1724c7c6da5648f17a33d881a':
DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963
958c149496259c0068b47d70f1ab8101ed9968ef 22-Sep-2010 Vasu Nori <vnori@google.com> DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963

the prev checkin somehow screwed up master..redoing it

Change-Id: Ib9e3652d1569ab26fb62ff08c1efeaee7f2de563
ontactsContract.java
ad450be78bb99a965b6aeb7cec04f865da59f052 17-Sep-2010 Amith Yamasani <yamasani@google.com> Add an AUTO_TIME_ZONE setting so that we can switch timezones while keeping correct time.

Have the NITZ provider honor the new setting before updating the time zone.
ettings.java
7dda67a8a18e6e06af4be6942ac95f05c6e33d08 21-Sep-2010 Steve Howard <showard@google.com> am f1166513: am ff0ea5ea: Merge "Support for download manager "queue for wifi" dialogs" into gingerbread

Merge commit 'f1166513f596c4ffad41429b10ba1d20c65f6d6c'

* commit 'f1166513f596c4ffad41429b10ba1d20c65f6d6c':
Support for download manager "queue for wifi" dialogs
f1166513f596c4ffad41429b10ba1d20c65f6d6c 21-Sep-2010 Steve Howard <showard@google.com> am ff0ea5ea: Merge "Support for download manager "queue for wifi" dialogs" into gingerbread

Merge commit 'ff0ea5eaf13198d6d752bcfbcf8e1c96f568102f' into gingerbread-plus-aosp

* commit 'ff0ea5eaf13198d6d752bcfbcf8e1c96f568102f':
Support for download manager "queue for wifi" dialogs
f176681ecc19f3bffa3d9cb00b3460cf5a128d28 18-Sep-2010 Steve Howard <showard@google.com> Support for download manager "queue for wifi" dialogs

New DB column and new secure setting for recommended max download size
over mobile.

Change-Id: If87acda62140ad6d8f923a000a5ff9232021e1a3
ownloads.java
ettings.java
f1f5361e328c13be80e3760d8cc2170d70c9d0ba 21-Sep-2010 Mike Lockwood <lockwood@android.com> MTP host: Use Java longs for storage and object IDs

This avoids problems with unsigned 32 bit numbers with cameras that use
storage and object IDs > 0x7FFFFFFF

Change-Id: I615f2d468851e9d6ff8882d22966d3687697d8eb
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
9759df072eb4531132d166cb204b2026259a1881 21-Sep-2010 Steve Howard <showard@google.com> am 4735be02: am d2319d8d: Merge "New error status for "destination file already exists"." into gingerbread

Merge commit '4735be0211a996f791accc77aeb399df2258ab4c'

* commit '4735be0211a996f791accc77aeb399df2258ab4c':
New error status for "destination file already exists".
4735be0211a996f791accc77aeb399df2258ab4c 21-Sep-2010 Steve Howard <showard@google.com> am d2319d8d: Merge "New error status for "destination file already exists"." into gingerbread

Merge commit 'd2319d8d9a2d2bc5edc9d7d20b7100f4c72cb2e1' into gingerbread-plus-aosp

* commit 'd2319d8d9a2d2bc5edc9d7d20b7100f4c72cb2e1':
New error status for "destination file already exists".
88fc2b85cb6f9b4ac33211e3a6ad0dbbee13afc9 21-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Fix typo that resulted in the MTP provider returning thumb format for object format

BUG: 2994234

Change-Id: I99574043d3e0b310b9b7246f89b5b4a1e14fb5a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
a9e87c9cc375b8be43a05ad641545db26eee0d46 16-Sep-2010 Steve Howard <showard@google.com> New error status for "destination file already exists".

Also changing the behavior of the local URI column slightly to better
match the spec -- it should return the client-provided destination so
that it's valid even if the download failed.

Change-Id: Ibf9c07519e647e677ebac8b334b9f2e930e47033
ownloads.java
0b576506664d836bccc2782863b953e5c39d69d0 16-Sep-2010 Steve Howard <showard@google.com> am 4cd34abe: am 47874718: Merge "Support new URI structure for download provider." into gingerbread

Merge commit '4cd34abe538ea1da4aba8685ef6c8dc6c3e4947b'

* commit '4cd34abe538ea1da4aba8685ef6c8dc6c3e4947b':
Support new URI structure for download provider.
4cd34abe538ea1da4aba8685ef6c8dc6c3e4947b 16-Sep-2010 Steve Howard <showard@google.com> am 47874718: Merge "Support new URI structure for download provider." into gingerbread

Merge commit '478747181e0414d703076d4786b201718cd93d5b' into gingerbread-plus-aosp

* commit '478747181e0414d703076d4786b201718cd93d5b':
Support new URI structure for download provider.
478747181e0414d703076d4786b201718cd93d5b 16-Sep-2010 Steve Howard <showard@google.com> Merge "Support new URI structure for download provider." into gingerbread
c2206a0710a3ca2c29854c1a0638c5ba55629ba2 16-Sep-2010 Mike Lockwood <lockwood@android.com> Changes to support MediaProvider refactoring

Update table columns in MediaStore and adjust media scanner MTP support.

Change-Id: Ide41315a6d7650aadb703f93c7e022fc5c40d4dd
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
5360eab8bbe7e86f78aec945a8492066f0c6ef8c 16-Sep-2010 Jeff Hamilton <jham@android.com> Fix deleting browser history.

Bug: 2953761
Change-Id: I19eba1f24c45ba092a583282b21d35391cfd1eb9
rowser.java
fcec46b3d4fa08a36e904d7474a73032aa583ccd 16-Sep-2010 David Brown <dab@google.com> resolved conflicts for merge of 9c43fffc to master

Change-Id: I6b5931bae7a9507b006c723db6c0b9589038e05c
4d67ac248fd64492c71327f829b54235f8a4320c 08-Sep-2010 Jeff Hamilton <jham@android.com> Add new items to the BrowserContract.

- Add a limit parameter for querying any table
- Add parameters for specifying an account when
querying Bookmarks
- Add columns to read the source ID for a row's
parent and insert_after references
- Add the Images, Combined, and Accounts tables

Change-Id: Ie382bc425565688b0006fa6d50765fdac226dd02
rowserContract.java
9c43fffc3d4b4f0b6ae1b136c4c9e5d652a7f4f6 16-Sep-2010 David Brown <dab@google.com> am 747c6153: ContactsContract: update SipAddress to be multi-valued

Merge commit '747c61535281b4d2958e293e83245a19ba58f6a0' into gingerbread-plus-aosp

* commit '747c61535281b4d2958e293e83245a19ba58f6a0':
ContactsContract: update SipAddress to be multi-valued
747c61535281b4d2958e293e83245a19ba58f6a0 15-Sep-2010 David Brown <dab@google.com> ContactsContract: update SipAddress to be multi-valued

This is step (1) of the device-side changes to deal with SIP addresses
becoming first-class objects in focus.

It'll be multi-valued in focus, so make it multi-valued on the device
(just like Phone, Email, Im, etc.)

Possible types are CUSTOM, HOME, WORK, and OTHER.

Also while I was in there, fixed the typo in "TYPE_MAINDEN_NAME" in the
Nickname class. (I can't remove it, since it's public API, so I added a
new constant with the correct spelling and deprecated the misspelled
one.)

Bug: 3004838

TESTED: on passion:

- Flashed this change onto a device that already had a contact with a
SipAddress, verified that it still shows up fine in the UI.

- Wiped data, rerean SetupWizard and logged in, made sure that SIP
addresses got synced down properly.

- Edited SIP address on the device, made sure it got correctly synced
up to the SIP user-defined field.

Change-Id: I6ecf551b64f87de03a7807e6212297d91f9e3981
ontactsContract.java
eca77fcdc64dcbd2915e7f5e1e26dbe4a7105314 13-Sep-2010 Steve Howard <showard@google.com> Support new URI structure for download provider.

I'm changing the URI structure for the download provider a bit. The
download provider will now support two views into its data:

* content://downloads/my_downloads... will basically be the current
view, which is limited to downloads owned by the calling UID
* content://downloads/all_downloads... will include all downloads in
the system, but will require special permission

In addition to making things more clear, this change will allow for
granting URI permissions to individual downloads via the
/all_downloads/... URI.

This change includes the framework changes necessary to support the
new structure. The bulk of the work will be in the DownloadProvider
code itself.

In addition, this change makes DownloadManager return a content URI
rather than a file URI for /cache downloads. This avoids any
confusion in clients, which wouldn't be able to open the file
directly, and better supports granting permissions to viewers.

Change-Id: Ie548b927817ac774111990dd0c9d26aaf979d1ea
ownloads.java
088fbbc7b68844d40854a77c07cce0634a6d4c52 15-Sep-2010 Erik <roboerik@android.com> am 86e19914: am b92788aa: Merge "Adds time zone functionality into fw as a hidden api" into gingerbread

Merge commit '86e1991428c2bc78354965c51b2821ae16f32a55'

* commit '86e1991428c2bc78354965c51b2821ae16f32a55':
Adds time zone functionality into fw as a hidden api
31b62322bfa9470d648fbfd69510e03da29b29af 30-Aug-2010 Irfan Sheriff <isheriff@google.com> Add per network static IP settings

Remove the existing global static IP settings and add support
for per network configuration

Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
ettings.java
86e1991428c2bc78354965c51b2821ae16f32a55 14-Sep-2010 Erik <roboerik@android.com> am b92788aa: Merge "Adds time zone functionality into fw as a hidden api" into gingerbread

Merge commit 'b92788aa040d0971b4e54589aef7675f34d96e5d' into gingerbread-plus-aosp

* commit 'b92788aa040d0971b4e54589aef7675f34d96e5d':
Adds time zone functionality into fw as a hidden api
71ad58c751eb12a500916556c41e704a93895801 14-Sep-2010 Erik <roboerik@android.com> Adds time zone functionality into fw as a hidden api

This is the start of work towards pushing api that is needed for
Calendar to become unbundled into frameworks. This adds functions
for getting and setting time zones for the Calendar app. The new
methods are currently hidden.

Change-Id: I1b4265b23630c46d9730a179ec02da8d6c0e03ea
alendar.java
585f13f8dec4cbf55b3bc04d95425d647f0577b2 10-Aug-2010 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for WebViews

Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
ettings.java
0c7d077e9a35f02bbde08eeb19cf3b83aeafaf10 13-Sep-2010 Mike Lockwood <lockwood@android.com> Merge changes I68379740,I9053218f

* changes:
MediaFile: Add support for some popular non-media file types.
Media scanner support for tracking files of arbitrary type.
c37255d5d0fd9e0ec02b0d7cb5c4b235e200d367 10-Sep-2010 Mike Lockwood <lockwood@android.com> Media scanner support for tracking files of arbitrary type.

The native media scanner no longer filters files based on file extension.
Audio, video, image and playlist files are handled as before, but non-media
files are now inserted into the "files" table, which was originally added
to support MTP.

Change-Id: I9053218fb6d2671a3bb181405c34442b94678afc
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
df10a19296b7c69b9bd314806d1de24ed698bc46 13-Sep-2010 Steve Howard <showard@google.com> am f353daa0: am 90fb15a7: Support UI visibility and restarting in download manager.

Merge commit 'f353daa03aeb3c04fdfa87b7bcd49f0a7eea59b1'

* commit 'f353daa03aeb3c04fdfa87b7bcd49f0a7eea59b1':
Support UI visibility and restarting in download manager.
f353daa03aeb3c04fdfa87b7bcd49f0a7eea59b1 13-Sep-2010 Steve Howard <showard@google.com> am 90fb15a7: Support UI visibility and restarting in download manager.

Merge commit '90fb15a7e52b1208b8d4f7518a61efb99580b5b0' into gingerbread-plus-aosp

* commit '90fb15a7e52b1208b8d4f7518a61efb99580b5b0':
Support UI visibility and restarting in download manager.
90fb15a7e52b1208b8d4f7518a61efb99580b5b0 10-Sep-2010 Steve Howard <showard@google.com> Support UI visibility and restarting in download manager.

First, this change adds a column to the downloads table specifying
whether a download should be displayed in the system downloads UI. It
adds a public method to set this parameter when requesting a download,
and a hidden method to filter queries based on this paramter (such
filtering could be made public later, but it's not strictly necessary
right now).

Second, this change adds support for restarting a completed/failed
download as a hidden method on DownloadManager. Currently it only
works from the download manager's process - it'll be used by the new
download manager UI.

Change-Id: I15eda1a6e3717d1ce947a810b25ad3540cce809e
ownloads.java
42a5ed2015461126bd012d6f8f3e1311e5721807 12-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 171c83f4 to master

Change-Id: I56a4c1838b17cf40d96763f95df3c84fc86359eb
171c83f47ddf01792371e1eb7587a99b2f192575 12-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am 11fe181e: Add faster TextUtil function for searching delimited lists.

Merge commit '11fe181e16501103d7c0f70344661ea2ef5d3df9' into gingerbread-plus-aosp

* commit '11fe181e16501103d7c0f70344661ea2ef5d3df9':
Add faster TextUtil function for searching delimited lists.
11fe181e16501103d7c0f70344661ea2ef5d3df9 11-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Add faster TextUtil function for searching delimited lists.

The previous version in Settings allocated memory.

Change-Id: I0f821112dc8f830689489f201ce268195f9e6cbd
ettings.java
e611ad410abf5074105b96d1cf834e5f288dab91 10-Sep-2010 Mike Lockwood <lockwood@android.com> Merge "Use separate Uris for MTP to the media provider files table"
ca4306c976d393c3cd04270bc2de0af2f4f30fa5 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of ec52c98d to master

Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
8490e66f57506d4e4b05e7c987c7ca34295843e6 09-Sep-2010 Mike Lockwood <lockwood@android.com> Use separate Uris for MTP to the media provider files table

Separating the Uris for local and MTP access to the database will
allow us to handle MTP originated queries differently in the provider.

Change-Id: I78d1c0a0e656eddee1e17212a79157f67ca46b38
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
ec52c98d441aa592a203f547c0edec79c25bf28e 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> am 0727a865: Merge "Add network condition reporting." into gingerbread

Merge commit '0727a865d83b944c2fecc0bf1228a36976fe5300' into gingerbread-plus-aosp

* commit '0727a865d83b944c2fecc0bf1228a36976fe5300':
Add network condition reporting.
0727a865d83b944c2fecc0bf1228a36976fe5300 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Merge "Add network condition reporting." into gingerbread
d7085fcf6567452a9d6fc69b0c6b1bf556f4c1b9 09-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Add network condition reporting.

Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons. Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654
ettings.java
13831586874fab1592a9d6f9134a693b0b27bae8 09-Sep-2010 Mike LeBeau <mlebeau@android.com> am 573c5d5e: am 46b84d5b: Merge "Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended search and play of music. This is used, for instance, by Google\'s new "listen to" Voice Action." into gingerbread

Merge commit '573c5d5edc1f51fd026e1d0e17ab883403eeddd9'

* commit '573c5d5edc1f51fd026e1d0e17ab883403eeddd9':
Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended
573c5d5edc1f51fd026e1d0e17ab883403eeddd9 09-Sep-2010 Mike LeBeau <mlebeau@android.com> am 46b84d5b: Merge "Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended search and play of music. This is used, for instance, by Google\'s new "listen to" Voice Action." into gingerbread

Merge commit '46b84d5b4a44dbab8e0f6ee11f3ab42e11ce97bb' into gingerbread-plus-aosp

* commit '46b84d5b4a44dbab8e0f6ee11f3ab42e11ce97bb':
Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended
2fe6fd055874ff70a9faeaa27716173b12e671fb 09-Sep-2010 Mike LeBeau <mlebeau@android.com> Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended
search and play of music. This is used, for instance, by Google's
new "listen to" Voice Action.

Change-Id: Ibbc81701cc2412ffd57402d34f22d9764e9df7c2
ediaStore.java
94bf9431e5464c7757890abfe0716997151f153f 08-Sep-2010 Jake Hamby <jhamby@google.com> am e7578344: am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit 'e75783440a55fb0a5ef75066be94a11898f652f0'

* commit 'e75783440a55fb0a5ef75066be94a11898f652f0':
Allow incoming SMS until internal storage is almost full.
e75783440a55fb0a5ef75066be94a11898f652f0 08-Sep-2010 Jake Hamby <jhamby@google.com> am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

Merge commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78' into gingerbread-plus-aosp

* commit '5872e9d7f31e5a4c5f3d871dba02b6d72a7ada78':
Allow incoming SMS until internal storage is almost full.
bb3716332321e22537a5015be13e2229fb9b90bc 24-Aug-2010 Jake Hamby <jhamby@google.com> Allow incoming SMS until internal storage is almost full.

Fix for bug 2382830: new incoming SMS should not be rejected when
running low on internal phone storage.

Testing revealed that the /data partition should have at least 256 KiB
available in order to prevent random app crashes (including system apps)
due to SQLite transaction failures. With 256 KiB free, the device should
safely boot without storage full errors. This takes into account the
36-40 KiB that the YAFFS2 filesystem reports as available even after
the partition has been completely filled. I've set the default full
threshold to 1 MiB to provide a generous safety margin.

For this bug, I changed the DeviceStorageMonitorService demon to send
two new hidden notifications for device storage "full" and "not full",
when the free space falls below the full threshold (default 1 MiB,
but configurable as a system setting), in addition to the existing
storage low/okay notifications sent when the storage crosses the threshold
of 90% full (also configurable).

The SMS code was changed to use these new notifications so that it can
accept messages until the data partition has been filled to the maximum
safe capacity rather than stopping when it hits 90% full. There should
be no negative impact on battery life because the additional check in
the storage polling service should be offset by an optimization to cache
the free threshold values which were previously being computed every time
through the loop.

While testing this change, I discovered that SMSDispatcher was being
instantiated twice, the first time in GSMPhone/CDMAPhone, and the second
time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code
to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager
constructor.

Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77
ettings.java
3b2a62e5b35ea5f8da9d9bee52f75c9c2ebb4ece 08-Sep-2010 Mike Lockwood <lockwood@android.com> Rename the media database's "objects" table to "files"

We will be using this table for more than just MTP,
so it deserves a more general name.

Change-Id: I4c86d7e37ebe778e39699245b0e08af059e677ea
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
048350abfe75e607d143bcade80158c4a6875ed8 03-Sep-2010 Gloria Wang <gwang@google.com> Fix for the incorrect size of the new added DRM file. (bug 2897238)

Change-Id: I798be5243116727abdc77850000a6a84ab204bd6
rmStore.java
57ca82ddb122be01d879b8ebc7bc674c29615871 02-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Contacts API clean-up (mostly documentation)"
1ecf551b80d91552fe7e1a56ede8f21bbe99b144 02-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Contacts API clean-up (mostly documentation)

- Fixing column list for the Photo table.
- Fixing column list for the AggregationSuggestions table.
- Allowing CONTENT_LOOKUP_URI to be used with directories:
Data, AggregationSuggestions and Photo.

Change-Id: I3dbcc28df0029e1fcb2140efd2047707a0cdd947
ontactsContract.java
6d8fe9b40bf7ffba54c21f5b142dd247326cd9a6 02-Sep-2010 Jeff Hamilton <jham@android.com> Merge "Move the searches helpers over to the new provider."
88697b5a3344215f7190b3841b2fc63dae3d0c37 23-Aug-2010 Jeff Hamilton <jham@android.com> Move the searches helpers over to the new provider.

Change-Id: I92030a50193a66edc4364345c9411c0f2d7c2d43
rowser.java
dcfd5d784c7d474e0932604a9f0dff591c3210e2 02-Sep-2010 Cyrus Master <cmaster@google.com> Merge "Adds creation and last-modified timestamps to the bookmarks contract for the browser provider."
bc4603b0b1f1242387655274e39649882ca391d1 31-Aug-2010 Jim Miller <jaggies@google.com> Fix 2579224: Add a separate timeout for lockscreen vs display

This change adds a second timeout to the SecuritySettings page
separate from the standard display timeout.

Change-Id: I41fe10e31688308f52695ad3ee30a4b0507112bd
ettings.java
e90aa5e97e3a5502a8334ed6ceb98305f6e01361 01-Sep-2010 Robert Greenwalt <rgreenwalt@google.com> Add a default dns entry if none is provided

Fixes part of emulator which isn't telling us about dns servers.
Gets some stuff running, but browser is still broken.

bug:2961703
Change-Id: I53b946eba434aca1bb524c2acaf77922377948d1
ettings.java
78a99cea0d06eac8e9251043977497c092766d48 01-Sep-2010 Cyrus Master <cmaster@google.com> Adds creation and last-modified timestamps to the bookmarks contract for the browser provider.

Change-Id: Ib6d733e3b93fc854b3ddb5c011f61534462cb266
rowserContract.java
fe026bdd3c0fd7543ceaf0732aeb824cfddb5b23 24-Aug-2010 Leon Scroggins <scroggo@google.com> Move Find on page and Select ActionModes to framework.

Bug: 2938052

Requires a change to packages/apps/Browser

Change-Id: I1bb1a47610b06c4bb02ef08647c02cc1dcaddb15
rowser.java
69697265e0238d7482aed278d9d2c4684d8808a8 01-Sep-2010 Kristian Monsen <kristianm@google.com> Merge "Fix warnings in docs generation."
dbecc24a4ed4e9c24fc03db19038ee45cf7a0b1d 01-Sep-2010 Chung-yih Wang <cywang@google.com> resolved conflicts for merge of a329aef4 to master

Change-Id: I5a64ee2b6adc56a7521d2e55a72e519a284d5a7c
a329aef43f1d059cb58d1987fd20b63b8b76c43d 01-Sep-2010 Chung-yih Wang <cywang@google.com> am 042e9bd9: Add SIP related settings in the Settings.System.

Merge commit '042e9bd989d9c78e23ed29011b6532743f510625' into gingerbread-plus-aosp

* commit '042e9bd989d9c78e23ed29011b6532743f510625':
Add SIP related settings in the Settings.System.
042e9bd989d9c78e23ed29011b6532743f510625 31-Aug-2010 Chung-yih Wang <cywang@google.com> Add SIP related settings in the Settings.System.

Change-Id: I00b6daee42fa59b662a380f832f76e67ca9402bc
ettings.java
5a998dd2301b66fab7ad1daaac3df8088108d8eb 01-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a parameter to limit the number rows returned

Useful mostly for search queries

Change-Id: I4dadd2cdb110920c4f21b28d57c56b9d1f2ad4ff
ontactsContract.java
f06a44995142696e5867c50c39be64c03157f5d3 31-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Send an Intent after an MTP session that resulted in media database modifications"
d20e80251258c88450ad3b5bd650f1cb6d01bc15 31-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "Add settings option for running MTP server in PTP mode."
2837eefc5459427138c080d445bb491c75630163 31-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Send an Intent after an MTP session that resulted in media database modifications

Change-Id: Ib2796e9155350c67769502935a73cf98d6ae9c08
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
eabe8bfaf8c45289a4cfd880f4107d1a9b17e38b 31-Aug-2010 Mike Lockwood <lockwood@android.com> Add settings option for running MTP server in PTP mode.

This can be used as a compatibility workaround for host operating systems
without MTP support.

Change-Id: If4f1856206056ca8e40c3ffbfa382f185c413598
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
b5503c168a49f0f2b1372678f87d874e7d82aaad 31-Aug-2010 Kristian Monsen <kristianm@google.com> Fix warnings in docs generation.

This should fix the droiddoc warning related to the browser. Will make it a bit easier to pick up errors.

Change-Id: I8dc276bbe3d15f224eba7e4e97046024173dcecc
rowser.java
224744cc72aa7799fb3e5c505123d09d64d4e0c4 31-Aug-2010 Bai Tao <michaelbai@google.com> Store the current country in call log

Change-Id: Ia68f8e0280b89d5993abb2701a3c425a147b51ba
allLog.java
ontactsContract.java
45bc5eca2b53b74d043bd9b2779e8dfcc89bc568 30-Aug-2010 Gloria Wang <gwang@google.com> Fix for "@param tag with name that doesn't match the parameter list: 'fileStream'"

Change-Id: Id98df7dcdfa4119783fca6cb5478df5b99050738
rmStore.java
5367ab6aab2a61aaf534b18576dcdd0bca1b9681 30-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Move all MTP protocol constants for Java to a central location.

Change-Id: I770d8727f84d25f0781fc23eedd9e9ac9ded1992
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
93637d3ee7b2346426b315627c8fcaf9b4782f93 27-Aug-2010 David Brown <dab@google.com> am b4298cd8: am 846eb30f: Add SipAddress to ContactsContract.

Merge commit 'b4298cd8ba48db21625a396311e01ed6ad9f516c'

* commit 'b4298cd8ba48db21625a396311e01ed6ad9f516c':
Add SipAddress to ContactsContract.
59024f1697e09ea50d4349e9813d0c101411292b 27-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Unhinding more ContactsContract APIs.

Turns out we need more ContactsContract APIs to
be unhidden in order to support unbundled directories.

Change-Id: If212e769bb32cd6806e39217935d189f9d43ea67
ontactsContract.java
b4298cd8ba48db21625a396311e01ed6ad9f516c 26-Aug-2010 David Brown <dab@google.com> am 846eb30f: Add SipAddress to ContactsContract.

Merge commit '846eb30f78a9153102c743c2c1b49de1a4079fb1' into gingerbread-plus-aosp

* commit '846eb30f78a9153102c743c2c1b49de1a4079fb1':
Add SipAddress to ContactsContract.
846eb30f78a9153102c743c2c1b49de1a4079fb1 24-Aug-2010 David Brown <dab@google.com> Add SipAddress to ContactsContract.

This is a new data kind representing a SIP address for a contact.
The new class is ContactsContract.CommonDataKinds.SipAddress,
and the new mime type is "vnd.android.cursor.item/sip_address".

It's pretty generic right now (basically a single text field, like
"Website") but we may eventually want to extend it later to have multiple
labels+types (like phone numbers.)

Bug: 2942998

Change-Id: I45d90a680a3badf60bccb5aafdc2397037494e95
ontactsContract.java
828d19dd96b05fa99abdc517701e5366543c324f 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: work in progress on expanded property support

GetObjectPropValue and SetObjectPropValue are disabled until I figure out
why Windows doesn't like what I have done.

Change-Id: I74e945ef3ea031f6d46f4ebaa8df815da0a5c3ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
9439241d35afc203d47b327619a49b5d70cf722b 25-Aug-2010 Chih-Chung Chang <chihchung@google.com> resolved conflicts for merge of 20afae51 to master

Change-Id: Ief637e412e4d716526de68c7761bdb8cbf436333
20afae515054ca0d2d4a1cdc169c7faaaa287e40 25-Aug-2010 Chih-Chung Chang <chihchung@google.com> am 231a0005: Merge "Avoid allocating buffer every time getThumbnail is called." into gingerbread

Merge commit '231a0005654d23284ab58a2d9ea892b995988c34' into gingerbread-plus-aosp

* commit '231a0005654d23284ab58a2d9ea892b995988c34':
Avoid allocating buffer every time getThumbnail is called.
2ca36196ea97d14cd0ef24439204f6725966d9d7 24-Aug-2010 Chih-Chung Chang <chihchung@google.com> Avoid allocating buffer every time getThumbnail is called.

Change-Id: Ia088539463e26a1242064ed7e79b0b2c12d64ced
ediaStore.java
13e0357ec1d816860a7ca16fd304194b7f7ab818 20-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing the SDK build

Change-Id: I84cee32bf6d7395e7d6a366fb0b582b73637d18c
ontactsContract.java
5d595f6d83c668c9cb4896779b8eeb8a12ec8f21 18-Aug-2010 Jeff Hamilton <jham@android.com> Merge "Switch the methods in Browser over to the new provider."
e50ed08afc1ee80409d471753bb6c0930feae999 18-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Unhiding Contact Directory APIs

These APIs need to be public to allow integration
with Focus, which is unbundled.

The design document can be found here: http://goto/android-gal-integration

Change-Id: I14e749e485e301e8af5a657cc798e581dec21394
ontactsContract.java
6f42edc2079fcdc3ba44484e21b206a6c638a607 18-Aug-2010 Jeff Hamilton <jham@android.com> Switch the methods in Browser over to the new provider.

Change-Id: I070db67989cc01b50ef0f64cb8f8652b9a1a587d
rowser.java
rowserContract.java
98bfcfb944190e6329dad233f2bf80e404e125b3 17-Aug-2010 Jeff Hamilton <jham@android.com> Add in constants for the server unique columns in Chrome sync.

Change-Id: Ie359d4a11da2278b623a02dea19a4f847632f5ab
rowserContract.java
e5d0a83b12a06ff5dcb3687ed892764caa75f66b 17-Aug-2010 Jeff Hamilton <jham@android.com> Add the contract class for the new Broswer provider.

Change-Id: I54ce53f1061ae1f910086f778b7fa6a15c11b1d4
rowserContract.java
fe762e9d127988b736422915ee8bac3d9321a786 17-Aug-2010 Steve Howard <showard@google.com> am ab59914d: am b3e957bb: Merge "New download manager error code when we can\'t resume." into gingerbread

Merge commit 'ab59914de7ac714d04a5013c53aa9c7edb5421a2'

* commit 'ab59914de7ac714d04a5013c53aa9c7edb5421a2':
New download manager error code when we can't resume.
ab59914de7ac714d04a5013c53aa9c7edb5421a2 17-Aug-2010 Steve Howard <showard@google.com> am b3e957bb: Merge "New download manager error code when we can\'t resume." into gingerbread

Merge commit 'b3e957bb9d3a3811412e5d94233c7f7e2e777c28' into gingerbread-plus-aosp

* commit 'b3e957bb9d3a3811412e5d94233c7f7e2e777c28':
New download manager error code when we can't resume.
33bbd12a05005ac92a0ecf82695893148227bb22 03-Aug-2010 Steve Howard <showard@google.com> New download manager error code when we can't resume.

Adding DownloadManager.ERROR_CANNOT_RESUME for when we can't resume an
interrupted download (because the server didn't provide an ETag or
doesn't support range requests), as well as the necessary private
status code in Downloads.Impl.

Change-Id: I5a66f1e1964198552ab2216aa6d3cc0db2254e21
ownloads.java
b332747ee087d2baa5c54b3382e57ad435158737 14-Aug-2010 Daniel Lehmann <lehmannd@google.com> Update flags to be consistent with GTalk's

Change-Id: Ibaa6cdc110316139ef0e2fe2fb95b864d28dfb25
ontactsContract.java
eb7845e672b50b7b4ceeee6dee005cf71feb8951 13-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Adding query-based aggregation suggestions"
81a81f02d6d1ec7527d62189b6708c1d17f4c5dd 12-Aug-2010 John Huang <jsh@android.com> am edfe20c4: am c636b846: Merge "Enhance WspTypeDecoder to decode Content Type Parameters"

Merge commit 'edfe20c4bd04716420a47516959d7c0e3e0064f6'

* commit 'edfe20c4bd04716420a47516959d7c0e3e0064f6':
Enhance WspTypeDecoder to decode Content Type Parameters
edfe20c4bd04716420a47516959d7c0e3e0064f6 12-Aug-2010 John Huang <jsh@android.com> am c636b846: Merge "Enhance WspTypeDecoder to decode Content Type Parameters"

Merge commit 'c636b846160482fbebd9a3792d52b9ff864228f2' into gingerbread-plus-aosp

* commit 'c636b846160482fbebd9a3792d52b9ff864228f2':
Enhance WspTypeDecoder to decode Content Type Parameters
44730c2e63dd0182263b3645f537f4c3d8b7efc2 12-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding query-based aggregation suggestions

So far we have only been able to produce aggregation
suggestions for contacts that have been saved.
This new API allows us to search for aggregation
suggestions based on the data entered by the user
without saving it first.

Change-Id: I29b3c70fbeb0ff0ce298183284648ad09373fa0f
ontactsContract.java
4b322ce4fb86b5a7a6e50633a3a9f498ca8d4706 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Push queries for supported formats and properties up to Java.

Change-Id: I4f117090340e3916afda3d194521a6092a672ddc
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
bd576042a5f7b70cb677718246dc5afcb6a782ae 07-Aug-2010 Steve Howard <showard@google.com> am 974c993f: am 8e15afe7: Make downloads visible by default.

Merge commit '974c993fc3771169efa73e40981d18ac0969fac8'

* commit '974c993fc3771169efa73e40981d18ac0969fac8':
Make downloads visible by default.
974c993fc3771169efa73e40981d18ac0969fac8 07-Aug-2010 Steve Howard <showard@google.com> am 8e15afe7: Make downloads visible by default.

Merge commit '8e15afe799bbe8d332640c1f2b57b5e0458a9625' into gingerbread-plus-aosp

* commit '8e15afe799bbe8d332640c1f2b57b5e0458a9625':
Make downloads visible by default.
8e15afe799bbe8d332640c1f2b57b5e0458a9625 29-Jul-2010 Steve Howard <showard@google.com> Make downloads visible by default.

Change-Id: I8f8b325658d8afc964bddd3f1c03ed20e6bd10aa
ownloads.java
2ef9d2538f71e0b40565111f2f4ffd096e2b05a3 05-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Changing the protocol for Directory registration.

Change-Id: I1ba51d4198617121a9a5f86d22e91dfa9917c94b
ontactsContract.java
31d95db2cc0ef2ce777cc7f4d3cc560d3f7e6e42 29-Jul-2010 Jeff Hamilton <jham@android.com> Improve the documentation for the browser provider, and a few small cleanups.

Change-Id: If6eb918ce4cdb09f74bd7eaaedf265d7981365ee
rowser.java
c3cc7011c21352b16d8a597df36b9aef59414626 04-Aug-2010 Mike Lockwood <lockwood@android.com> Merge changes I085cb3cf,Ied1cddc6

* changes:
MTP: Add support for syncing MTP playlists
MTP: Fix some thread safety issues in MTP server start/stop sequence.
c7ad9fa08011be920f3636cb93bf75a0af13ea14 04-Aug-2010 Steve Howard <showard@google.com> am 80782220: am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread

Merge commit '80782220708fdc8575502ac68c884ddab5c78ac2'

* commit '80782220708fdc8575502ac68c884ddab5c78ac2':
New secure setting for mobile download size limit.
9a2046fb5ceeee4d5334274cbff15f1058bb3244 03-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for syncing MTP playlists

MTP playlists now correspond to playlists in the media provider
(like those created by the Music app).

Change-Id: I085cb3cff003037ad62f0e297fb0cfd3047cb3a2
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
80782220708fdc8575502ac68c884ddab5c78ac2 03-Aug-2010 Steve Howard <showard@google.com> am 14805b6c: Merge "New secure setting for mobile download size limit." into gingerbread

Merge commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7' into gingerbread-plus-aosp

* commit '14805b6c1ff0fe5324d05ba1dd5053cdf61459b7':
New secure setting for mobile download size limit.
9c4e33e04a0202f2207d1c738a045effb490b99f 29-Jul-2010 Steve Howard <showard@google.com> New secure setting for mobile download size limit.

Change-Id: I0024d632721f59349e211c0b74dd7271423dacd5
ettings.java
16fb7910fd3a86780edf4e65b529542ae95c26cd 02-Aug-2010 Oscar Montemayor <oam@google.com> Global Proxy changes to proxy class.

Change-Id: Ib2da33670b1da33c0b35b60f4fcbd0bc084e616a
ettings.java
c9790716f0c759d8bb197f4237a2901e5f561b5b 27-Jan-2010 Dan Griffin <dan.griffin@wdsglobal.com> Enhance WspTypeDecoder to decode Content Type Parameters

This patch enables WspTypeDecoder to correctly parse content type
parameters as described in the Wap230 WSP specifications
(wap-230-wsp-20010705-a section 8.4.2.24) which are then passed on
as part of the WAP_PUSH intent notification.

It also recognises all Well Known WSP Content types, and simplifies
their retrieval (i.e. a well known content type will always be
available through the WspTypeDecoder.getValueString() method).

Change-Id: I0eb3f9ac287aa7cb53312777c4be54b1939fa857
elephony.java
b2ce481c81414489c26bb59304a7705d9ef19573 30-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a lookup URI to simplify loading of a contact

This will be initially used by the editor to load
the entire contacts in a consistent manner either
locally or from a Directory.

Change-Id: I0e02b1b35cbbb3c4443063684641c928e5ac5318
ontactsContract.java
a2727564317312add68c9a75249e34661c279452 26-Jul-2010 Steve Howard <showard@google.com> am a08a0a7b: am a13a02cd: New permission for non-purgeable cache downloads.

Merge commit 'a08a0a7bee7ba09917b94e41c705a643c8e06a1a'

* commit 'a08a0a7bee7ba09917b94e41c705a643c8e06a1a':
New permission for non-purgeable cache downloads.
a08a0a7bee7ba09917b94e41c705a643c8e06a1a 26-Jul-2010 Steve Howard <showard@google.com> am a13a02cd: New permission for non-purgeable cache downloads.

Merge commit 'a13a02cd0ec6c0584fc2423feb974d77d0945964' into gingerbread-plus-aosp

* commit 'a13a02cd0ec6c0584fc2423feb974d77d0945964':
New permission for non-purgeable cache downloads.
a13a02cd0ec6c0584fc2423feb974d77d0945964 23-Jul-2010 Steve Howard <showard@google.com> New permission for non-purgeable cache downloads.

This permission allows an app to use the public download manager API
to download files to the cache partition that won't be automatically
deleted when the download manager needs space.

Change-Id: Id9a5cd61c940df22765b358290b8ad8ceeff493e
ownloads.java
0a9f516497e3bb8f5a5e4af561602ed6c94e7b36 22-Jul-2010 Steve Howard <showard@google.com> am 82ab8d95: am 13d08515: Remove SEE_ALL_EXTERNAL permission from Download Manager.

Merge commit '82ab8d9554bac7370d1fe1bba320a740a8813de2'

* commit '82ab8d9554bac7370d1fe1bba320a740a8813de2':
Remove SEE_ALL_EXTERNAL permission from Download Manager.
82ab8d9554bac7370d1fe1bba320a740a8813de2 22-Jul-2010 Steve Howard <showard@google.com> am 13d08515: Remove SEE_ALL_EXTERNAL permission from Download Manager.

Merge commit '13d08515f038db45de6028085993ae6076566867' into gingerbread-plus-aosp

* commit '13d08515f038db45de6028085993ae6076566867':
Remove SEE_ALL_EXTERNAL permission from Download Manager.
a265083890cf67b35e432506e81fb90e7cf2bff8 22-Jul-2010 Steve Howard <showard@google.com> am 5e43c5a6: am b8e07a51: DL manager support for broadcasts + connectivity control

Merge commit '5e43c5a6e8f94134850c7e3bc4c7f657e1579746'

* commit '5e43c5a6e8f94134850c7e3bc4c7f657e1579746':
DL manager support for broadcasts + connectivity control
5e43c5a6e8f94134850c7e3bc4c7f657e1579746 22-Jul-2010 Steve Howard <showard@google.com> am b8e07a51: DL manager support for broadcasts + connectivity control

Merge commit 'b8e07a51c1849d6894c5773a3daacedd01294218' into gingerbread-plus-aosp

* commit 'b8e07a51c1849d6894c5773a3daacedd01294218':
DL manager support for broadcasts + connectivity control
13d08515f038db45de6028085993ae6076566867 22-Jul-2010 Steve Howard <showard@google.com> Remove SEE_ALL_EXTERNAL permission from Download Manager.

I'm removing this currently unused functionality from the Download
Manager implementation, so the constant might as well go.

Change-Id: I4f0970211201881a8426b83b5275408cd14c3377
ownloads.java
b8e07a51c1849d6894c5773a3daacedd01294218 21-Jul-2010 Steve Howard <showard@google.com> DL manager support for broadcasts + connectivity control

* Additions to DownloadManager to support control of broadcast intents, allowed network types, and roaming control. This includes new constants and added implementation.
* New DB columns to hold connectivity flags and one to indicate whether the download was initiated through the public API; this is used to change behavior related to broadcast intents and connectivity controls.

Change-Id: I2e8e4ce92cde7889a0f24dc43b86c596c73c0eaa
ownloads.java
99a518ffabacb10171621d0293bf982b85505e66 20-Jul-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ca48433a to master

Change-Id: I0dd2dee65ff72b7eae20019c6232b66388fe7990
ca48433afc9fab2a8c0b9913bcf3f525d75ed97f 20-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I1901177e8a4bd32a707020c581f25f21349ba571
156add957525746a4f7a430a6ba0cff8d1342339 20-Jul-2010 Daniel Lehmann <lehmannd@google.com> Replace try-catch code by proper type checking. Saves an exception for each blob.

Change-Id: I208ed0acb754391bd44b52887792563e92b39011
ontactsContract.java
798e2d3d0c80e269ead1489dbc3f2f762f1e52b5 17-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced /sdcard with Environment.getExternalStorageDirectory()

Change-Id: Id789f44a8569e307b1b7ab15eb266c9ce7ef2029
elephony.java
3766ed3eed6be0a9e78193166bab64bf25f02e81 20-Jul-2010 Vasu Nori <vnori@google.com> am a5fe776a: Merge "fix javadoc error which breaks SDK build in gingerbread" into gingerbread

Merge commit 'a5fe776a7933b2241858ef83f01b812c7badc231' into gingerbread-plus-aosp

* commit 'a5fe776a7933b2241858ef83f01b812c7badc231':
fix javadoc error which breaks SDK build in gingerbread
19f845804c4b8f295669bbe7338d91d42451a0fd 09-Jul-2010 Mason Tang <masontang@google.com> Added support for full-text search in Calendar

Change-Id: I716eba966ad072ac62a61f3cfbfe15b623f8ab94
alendar.java
345f39a8a35d2df6274441c0e75e24efd375fb55 20-Jul-2010 Vasu Nori <vnori@google.com> fix javadoc error which breaks SDK build in gingerbread

Change-Id: I01b90c71e7088f385a73f51144063a2fbe5d466b
ontactsContract.java
fb5bccf229b52803649c70780e706c063e835447 19-Jul-2010 Vasu Nori <vnori@google.com> fix javadoc error

Change-Id: I387e2807af2ea6299a976e0763e6ad6f264543fe
ontactsContract.java
b9b918d6e1a304dedbdee867b4f63dfa8c4ab025 19-Jul-2010 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #2846543 Delete HIDDEN column from the "Calendars" table"
cbaea35759791f083735f7a5c43e0dc0ed228ff1 17-Jul-2010 Mike Lockwood <lockwood@android.com> Add MTP_OBJECT_ID column name to MediaStore.MediaColumns

This column will be added to the images, audio_meta, video and audio_playlist
tables to cross reference to the MTP objects table.

Renamed MTP_OBJECT_HANDLE (which is used only by the media scanner) to
MEDIA_SCANNER_NEW_OBJECT_ID to avoid confusion.

Change-Id: I8093485dc0438f408a505e82ffddd0710c7a512c
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
df4606962788de5903a565e68a1a37590d0ab76b 18-Jul-2010 Vasu Nori <vnori@google.com> am bbc2b4e6: am 5b31498b: add video/audio chat-compatibility modes to ContactsContract

Merge commit 'bbc2b4e69a1788987a8fe959cc0105290b431283'

* commit 'bbc2b4e69a1788987a8fe959cc0105290b431283':
add video/audio chat-compatibility modes to ContactsContract
bbc2b4e69a1788987a8fe959cc0105290b431283 18-Jul-2010 Vasu Nori <vnori@google.com> am 5b31498b: add video/audio chat-compatibility modes to ContactsContract

Merge commit '5b31498ba1f9874f395d80152304512fa4c0144d' into gingerbread-plus-aosp

* commit '5b31498ba1f9874f395d80152304512fa4c0144d':
add video/audio chat-compatibility modes to ContactsContract
5b31498ba1f9874f395d80152304512fa4c0144d 13-Jul-2010 Vasu Nori <vnori@google.com> add video/audio chat-compatibility modes to ContactsContract

Change-Id: Ic0b04017ad4216f1a1c5f07fa9d27e6970ded931
ontactsContract.java
0980de8976cebbf4fb44b4e6921b699da8cf524b 16-Jul-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2846543 Delete HIDDEN column from the "Calendars" table

- suppress the "hidden" column from the Calendar API
- add generic "sync5" column which will contain the "hidden" calendar state from the server

Change-Id: Ib2048e9f0fc59f4f544bc6f1787af82fde3984d5
alendar.java
11811612e8411f926d7f325be6321316a4e10f6d 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Resolving a field naming conflict caused by the table join."
86fe839284277eeab5cb4272392bd004822edec8 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Resolving a field naming conflict caused by the table join.

Change-Id: I6f3293fb9aceebea7df9677eb1e6ebc199383e99
ontactsContract.java
6b477fe45256d11c05c21aadbb20481c1e7c3ec3 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Hiding new API"
e270c51ea413df35c27c8e995c7c9773ee0e5174 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Hiding new API

Change-Id: Ie6a108442416fdb27229ff274b631e6f4a6c2370
ontactsContract.java
393e4801d84b57d9f501fb225374a31181fac909 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Adding more feature declarations to Directory API."
30b7be333f4b1e7f14bee32a6fdd42c68ca11450 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding more feature declarations to Directory API.

Change-Id: Iabec8c4dcbd69212285a6eb9be9db7ebb1b712ed
ontactsContract.java
9db328463a61357a3928ef2012c209bd5e7b09e1 15-Jul-2010 Steve Howard <showard@google.com> am 203ec9fa: am d6343c26: Merge "Interface support for custom HTTP headers in DL manager" into gingerbread

Merge commit '203ec9fa6eab21621969f36053d4cd59c23977a9'

* commit '203ec9fa6eab21621969f36053d4cd59c23977a9':
Interface support for custom HTTP headers in DL manager
203ec9fa6eab21621969f36053d4cd59c23977a9 15-Jul-2010 Steve Howard <showard@google.com> am d6343c26: Merge "Interface support for custom HTTP headers in DL manager" into gingerbread

Merge commit 'd6343c26b8580f61a257a3045bfa124049201116' into gingerbread-plus-aosp

* commit 'd6343c26b8580f61a257a3045bfa124049201116':
Interface support for custom HTTP headers in DL manager
25fd875da6a4a7f8951e0eeae83cacb3abbe01fb 15-Jul-2010 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #2793828 (Sync/visible setting on the phone should not affect what's visible on the web.)"
ea9147df00ee6e098cd02d901424ae5a4fe0fafd 14-Jul-2010 Steve Howard <showard@google.com> Interface support for custom HTTP headers in DL manager

* constants for new DB table, keys for including headers in a
DownloadProvider.insert() call, and new URIs for retrieving headers
* support in DownloadManager to pass headers to the provider
ownloads.java
756088482fb102f0c728151553210dca254b575f 14-Jul-2010 Steve Howard <showard@google.com> am 57de95a5: am 05940b2c: Merge "Download manager support for file URIs + last modified time" into gingerbread

Merge commit '57de95a51ff5d98fcad0a7735c496be5f647d66f'

* commit '57de95a51ff5d98fcad0a7735c496be5f647d66f':
Download manager support for file URIs + last modified time
57de95a51ff5d98fcad0a7735c496be5f647d66f 14-Jul-2010 Steve Howard <showard@google.com> am 05940b2c: Merge "Download manager support for file URIs + last modified time" into gingerbread

Merge commit '05940b2c04041d6b3b8d222f4acfd12faeeb6c9c' into gingerbread-plus-aosp

* commit '05940b2c04041d6b3b8d222f4acfd12faeeb6c9c':
Download manager support for file URIs + last modified time
adcb697826753391f02f6b3bd35b4edfb3032ad1 13-Jul-2010 Steve Howard <showard@google.com> Download manager support for file URIs + last modified time

First, in the download manager public API, I'm changing
COLUMN_REQUESTED_TIMESTAMP to COLUMN_LAST_MODIFIED_TIMESTAMP, a field
that already exists in the download manager. Upon inspection of
existing users of this field, it looks like there are some good use
cases -- for instance, looking at when a download completed. And if
I'm exposing that timestamp, there's no need to also expose the
requested timestamp.

Second, this change includes support for file URI destinations:

* add DESTINATION_FILE_URI for use by the DownloadManager wrapper
* make DownloadManager use it appropriately

The backend support is in a separate change (since it's in a separate
project).

Also fixing a bug with file URI construction when DownloadManager
fills in COLUMN_LOCAL_URI.

Change-Id: I5bb93a222cd23215c2a03ed9f68d7f140454f7f2
ownloads.java
d815f79766984fce499e147ecbacc01914683f74 12-Jul-2010 Mike Lockwood <lockwood@android.com> Integrate host to device file transfer with the media provider.

MTP file transfers happen in two stages. The SendObjectInfo command sends
some information about the file and reserves an ObjectHandle for the new file.
The file transfer is then performed using the SendObject command.

To support this in the media provider, MtpDatabase.beginSendObject receives
the information from SendObjectInfo and creates an row for it in the MTP objects
table for the new file. After the file transfer has completed, then
MtpDatabase.endSendObject is called. In endSendObject, we run the media scanner
on the new file, which will add a row to the images, audio, video
or audio playlist table.

To avoid the media scanner creating a second row for the file in the MTP objects
table, we pass the ObjectHandle created in beginSendObject to the media scanner,
which then passes it to the media provider via the content values when it
performs its insert.

Change-Id: I1ebcc63d6bd4404b0d3a93c703a9d3c097381d3a
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
fed161799bb40ea4cda19f5ef6c8c2462a0066e4 09-Jul-2010 Mike Lockwood <lockwood@android.com> MediaProvider: Add constants for media_table and media_id columns in MTP objects table

Change-Id: I47396c637e483ea9c71bbb22898d69cb3d00b256
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
1f78ea28ad2e9a257af72ca2bca0abe0c75046ee 09-Jul-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2793828 (Sync/visible setting on the phone should not affect what's visible on the web.)

- introduce "sync4" column into Calendars table to store "selected" from Web calendar

Change-Id: I2dfebb6e4a2ec85e758626a4e2b9c8b1315f095f
alendar.java
d21eac9c70940f2c73da5faaf401dbbc44b70a15 03-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Use media provider database to implement MTP device support.

Uses a new "MTP objects" table in the media provider to support basic
enumeration of the external storage file system.
Support for accessing audio, video and image metadata in the existing
media provider tables will be added in a later commit.

The C++ MtpDatabase class is now abstract, to support a proxy subclass that
calls through JNI to the Java MtpDatabase class in the media provider.

Change-Id: I90f0db5f3acc5d35ae78c27a8507edff16d14305
Signed-off-by: Mike Lockwood <lockwood@android.com>
ediaStore.java
36f7784a4cb45845ed7725c0cc6d7022682f00b3 30-Jun-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2779582 (Columns cleanup for the Calendars table)

- suppress deprecated "url" column
- replace eventsUrl / editUrl / selfUrl columns by sync1 / sync2 / sync3

Change-Id: I2bff61a90655c98ee0964a880934c514b42ac342
alendar.java
1ba38b600e181168c8897220048027a164c68b10 14-May-2010 Ray Chen <raychen@google.com> Fix 2655246 file descriptor leak when accessing thumbnails
http://b/2655246

Moved from kraken to master (https://android-git.corp.google.com/g/#change,51691)

Change-Id: I7d0cffd745311d073415d597eb141e26fe1edcce
ediaStore.java
3b9f0a33a110d01e587ffd5ec7708af68723ad4b 21-Jun-2010 Jean-Baptiste Queru <jbq@google.com> Recover a handful of commits that were reverted earlier
ettings.java
6c9a30045b1e6b9ef5d756e0a9657576c546c9bd 21-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
545e6708adda6859932b55fd824794b1401f5318 04-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> HID profile.

Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
ettings.java
3067771f8139eb8b60cde036c63796cb4d80aa83 16-Jun-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2772731 (Start deprecation of "url" Calendars column in favor of "eventsUrl" column)

- suppress references to Calendars.URL

Change-Id: Ic1fa5059516ff294940345addf930554aef0a0a9
alendar.java
505635583bf49339a0ec8da00851b2fba2db3478 16-Jun-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug# 2772317 (CalendarDatabaseHelper internal cleanup)

- use constants defined into Calendar interfaces

Change-Id: I0cb8f71f7fbad61c9d9ee97db5ffeb307cd8169f
alendar.java
4138677a72a6ebba3312cc0d32593d11f7a252e1 15-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I405069e9495e43fdcdedc41efce77d43a291272c
e6af73e18eaa1303a1499b6ec240afd953a92607 25-May-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced deprecated Inten.toURI method

Change-Id: Iff3200294edbc1cac188502219bfe481133a5d8e
ettings.java
c3cc13306c69e4f354b7b230698eaa0b90bba454 22-May-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #1661857 (switch from using meta feed to the new allcalendars feed)

- add more properties to Calendars: selfUrl, editUrl, eventsUrl and deleted
- add CalendarsEntity and associated iterator
- cleaup interfaces definition for Calendars / Events columns by factorising Sync and Account columns

Change-Id: I730e9d377316d458f7d225ce85966c7048ad26a9
alendar.java
bde75706592c77379fb6546283e733abaca6fe04 28-May-2010 Sen Hu <senhu@google.com> wire up sampling profiler to dropbox

When system property "persist.sys.profiler_hz" > 0, SamplingProfilerService is
loaded to SystemServer. It creates a FileObserver, watching any new file in the snapshot
directory. When a snapshot is found, it is put in dropbox and deleted after that.

SamplingProfilerIntegration writes snapshots with headers. Headers are <name, value> pairs,
instantiated by caller.

Currently header format is (also in source comment):

Version: <version number of profiler>\n
Process: <process name>\n
Package: <package name, if exists>\n
Package-Version: <version number of the package, if exists>\n
Build: <fingerprint>\n
\n
<the actual snapshot content begins here...>

BUG=2732642

Change-Id: I2c1699f1728e603de13dbd38f9d8443cd3eecc06
ettings.java
e377032899fd7a9f88ad1313847e77c098b9f248 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 864c68ea: merge from froyo-plus-aosp

Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c'

* commit '864c68ea452baa0f4f298faf2155af45a9b6d60c':
Added an addAll to the ArrayAdapter
WLAN: Reset power save mode to startup value after DHCP response.
Add PageUp and PageDown hot keys
Should accept "application/vnd.wap.multipart.alternative" message.
replaced deprecated getIntent with parseURI
864c68ea452baa0f4f298faf2155af45a9b6d60c 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
d7b814188df4765e42a34ce94182ef5021ef8f16 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ica77cebdbb8880345faeb1ee819f51b0b7ff7a0c
74f094fe22ca1cde637210e023874ab740a7a8d7 13-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add interface to MtpClient for receiving device added/removed events.

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
e0a89f611d952d477acaae0316f2ccba7237466b 11-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add host support for deleting objects.

For example, deleting pictures on a digital camera.

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
dda568609232cdf82a2f050b0d0727627f49d448 10-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for retrieving thumbnails to MTP content provider.

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
f724eed5669762fdb0071e11ab3b38de77dd5c33 08-Jun-2010 Mike Lockwood <lockwood@android.com> MTP provider: Add columns for MTP ObjectInfo dataset to the MTP objects table

Signed-off-by: Mike Lockwood <lockwood@android.com>

Change-Id: Ife0563ad1c3b3dbc2461e1a9e784cbb4653b3435
tp.java
7e8612ae0fe66de3ed529d71e4f4c2cf2cc8538c 07-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Contact directory (GAL) API proposal."
f8a450f62dc408b9051f494ae41d222467bc202b 07-Jun-2010 Dianne Hackborn <hackbod@google.com> am 7d75a66c: am b7bb3b3d: Fix bug in reporting a processes\'s dependent component.
b7bb3b3df6cb3743ee43b71455d9525762e55b45 07-Jun-2010 Dianne Hackborn <hackbod@google.com> Fix bug in reporting a processes's dependent component.

Also add new action to show an app's details.

Change-Id: I6ad3b3ac8462f5acf726ce76130882a262adff92
ettings.java
05fefe62eedda9a694aee056ef34e0a01288fd58 06-Jun-2010 Robert Greenwalt <robdroid@android.com> am 1bdb78c1: am 9c4ed139: am f9610b38: Merge "Make the DUN apn data secure." into froyo
9c4ed1394bb16b1d76758127a9b5d73bd363adaf 06-Jun-2010 Robert Greenwalt <robdroid@android.com> am f9610b38: Merge "Make the DUN apn data secure." into froyo

Merge commit 'f9610b3842e030138c1dc327a3a467aaea02c227' into kraken

* commit 'f9610b3842e030138c1dc327a3a467aaea02c227':
Make the DUN apn data secure.
e7cce11edcb0e2315e6d65790b7effd9236d7dc5 05-Jun-2010 Robert Greenwalt <robdroid@android.com> am f9610b38: Merge "Make the DUN apn data secure." into froyo

Merge commit 'f9610b3842e030138c1dc327a3a467aaea02c227' into froyo-plus-aosp

* commit 'f9610b3842e030138c1dc327a3a467aaea02c227':
Make the DUN apn data secure.
77b32ddbbeeb13a07b16f23af705567c75a8e3df 04-Jun-2010 Robert Greenwalt <robdroid@android.com> Make the DUN apn data secure.

Rather than come out of the user-modifiable APN DB, the DUN APN data will
come first from a built-in resource and then potentially overriden by a secure
setting (which is gservices upgradable).

Also made the "require-dun" setting secure-setting overridable.
bug:2736390

Change-Id: I1e4644c3839f06c977b83797641f3948785146a2
ettings.java
755fd617258d3f1731b2829d681cab680db0fdd5 26-May-2010 Mike Lockwood <lockwood@android.com> Prototype Content Provider support for MTP/PTP devices.

At this point much of the plumbing is in place, but only a few simple queries
are supported.
This is enough to support a proof of concept sample program that navigates
the file hierarchy of a digital camera connected via USB.

Also removed obsolete ptptest host test program.

Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp.java
d1c3ea6a2116156629a1a3eaee64d0181e4f52c8 26-May-2010 Robert Greenwalt <robdroid@android.com> resolved conflicts for merge of 3cd6a3e3 to master

Change-Id: If3e45cc3494b2c52a1f1dcc19deff763a50498d7
88ccecf573a52648052bc9c7858f345776f76e0e 26-May-2010 Robert Greenwalt <robdroid@android.com> am d1055a25: Make the NTP Cache max-age gservices-settable

Merge commit 'd1055a250c00b0c2516ec406a8cf9a5ab1c0b7ae' into froyo-plus-aosp

* commit 'd1055a250c00b0c2516ec406a8cf9a5ab1c0b7ae':
Make the NTP Cache max-age gservices-settable
d1055a250c00b0c2516ec406a8cf9a5ab1c0b7ae 26-May-2010 Robert Greenwalt <robdroid@android.com> Make the NTP Cache max-age gservices-settable

Trying to make Throttle polling more energy efficient.

bug:2708119
Change-Id: I2b75639e202dcbcee11047c43407a22de04ce350
ettings.java
a34d2c9a221deeb2699aacc99832e6ec2b63e8a9 25-May-2010 Christian Mehlmauer <FireFart@gmail.com> replaced deprecated getIntent with parseURI

Change-Id: Ice9e74fd8f729d7efad934d2de4c747d73be562e
ettings.java
a7f2f369dae3c836cd4b960d48a3cc988952d9b2 21-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Contact directory (GAL) API proposal.

Change-Id: I8db639c32b643d068e76350568f6067095365d71
ontactsContract.java
ec4eff80cd18fcfc086698e0a31e1aeda1fe0bcd 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am e23c404a: am bea97a89: am 2dc7c6c4: merge from open-source master
2dc7c6c4153380fc64b99d37d763d3f0d1cac04d 19-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I94b3aacb3478b1d9e0751c02bb301d5f9a2cf05c
8ce072d579e0c0e9329b5a3830155de8da7de4cf 30-Jan-2010 Karl Ostmo <kostmo@gmail.com> Add and document .nomedia constant for MediaStore (Issue 6365)

Change-Id: Ic9c4a784187cd1264584992411916a5beeefd864
ediaStore.java
7cd51efcbd2d083bf577696591ef1769034f7e2f 13-May-2010 Jeff Hamilton <jham@android.com> Remove the deprecated cursor methods.

Change-Id: Ie3571fea9f36996c31c327240b11086f8cc487f0
ettings.java
c07b06f12ac1f93b35f3e120a5e7d6aa5f934c6f 03-May-2010 Erik <roboerik@android.com> Added access fields for second timezone columns.

This adds public access to DTSTART2, DTEND2, and EVENT_TIMEZONE2. These are being used
for work on allDay events.

Change-Id: I5b10eff08e2e61a71bf628ddea70dfb201a5c2b3
alendar.java
5b4628f71adc8b44f43ae402907fc5555469be8c 30-Apr-2010 Marc Blank <mblank@google.com> am 8abcce1f: am 9ca81664: am 794cd640: Merge "Expose _id in ExtendedProperties subValues" into froyo
8f643c1040d45f03584b0382c7c5d933388b9103 29-Apr-2010 Marc Blank <mblank@google.com> Expose _id in ExtendedProperties subValues

* ExtendedValues' "name" and "value" columns are exposed in Entry
entity subvalues, but it is clumsy to change a value, as the _id
of the ExtendedValues row isn't also exposed. (We otherwise have to
perform a potentially slow query)
* This CL adds the _id column to the columns exposed

Bug: 2638762
Change-Id: Iaffeffed620af78439f5f73aa5f3257b0f8a0fd0
alendar.java
a31a945ba6ec41f6c5278c44a545e2254f4cd034 13-Apr-2010 Fred Quintana <fredq@google.com> move favorites and my contacts group handling to the
provider and sync adapter

Change-Id: I768d7407a42a72b24ece8abb1891d050c8b6760e
ontactsContract.java
6ff9d5130c5b6936198136178b34eccdbd7b81fe 14-Apr-2010 Robert Greenwalt <robdroid@android.com> am 13ec98f3: am 84748629: am a466ffe0: am d3bb93f6: Add build config values for data use defaults
d3bb93f6870581eebbf08b5b7fb0a9c5eaad8b16 13-Apr-2010 Robert Greenwalt <robdroid@android.com> Add build config values for data use defaults

Don't use hard coded defaults - use build configs instead.

Iface is now ONLY set by config so gservices doesn't need to.

bug:2576057
Change-Id: I8f9e3bc51af3b1cdf8bb4290a43197d9c01e2a14
ettings.java
36ce643dbe3ae09d6b94dbd6e3cfbf27442f593e 13-Apr-2010 Jean-Baptiste Queru <jbq@google.com> am cd839752: manual merge
36acfbc2b8df6e62f2d583933eca3a49265279a6 09-Apr-2010 Patrick Scott <phanna@android.com> Add a bulk request method for bookmark icons.

Rather than dispatch a message for every url in the db, send a message to the
WebCoreThread to handle the query and iteration. Update the documentation for
requestAllIcons.

Bug: 2581894
Change-Id: I8af4f87570465dff3839db4ac492883e8805b007
rowser.java
d2220bd4cd8596166f47a278ca0040e4bafc708e 09-Apr-2010 Irfan Sheriff <isheriff@google.com> am eaec9f2e: am d99540d7: am 750f3211: am c9b6851a: Throttling framework addins
c9b6851af68bdc20c4903b16c344e9f116647219 08-Apr-2010 Irfan Sheriff <isheriff@google.com> Throttling framework addins

Add ThrottleManager in getSystemService
Add API for URL fetch

Bug: 2576057
Change-Id: Icd25c8b91ea4beea15c74e8ad7292ab48c962253
ettings.java
ac6ec41b679bab78ac33bf4ecde445d616030bbd 08-Apr-2010 Robert Greenwalt <robdroid@android.com> resolved conflicts for merge of 4e33e9c1 to master

Change-Id: I3a150497693009a4cf4300c8445a791c1e1eea3b
9e696c29f06d45d2891e1d38fd8d9033a9e21bb9 01-Apr-2010 Robert Greenwalt <robdroid@android.com> Add service to monitor/control the flow of data.

bug:2576057
Change-Id: Ib343c7ee1d619c6978910d9ee597db195d5aa3b6
ettings.java
fc7838b45c4d38efd5835e55fcc9d5517015f274 21-Jan-2010 Bai Tao <michaelbai@google.com> Add the hidden ACTION_GET_MULTIPLE_PHONES and EXTRA_PHONE_URIS:
a. Add the ACTION_GET_MULTIPLE_PHONES which will launch the contacts with multiple picker mode, and user can selected the multiple phones in the list of phone numbers.
b. Add the EXTRA_PHONE_URIS which works with ACTION_PICK_MULTIPLE to specify the phone numbers should be selected by default when it is used as input or store the list of selected phone numbers when returnning from the activity.

Change-Id: Icacae0ab9fc0f5e90aa28796fac55528df5324d5
ontactsContract.java
40e472521a544f26cb6956995788f7c36fff1404 08-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2579461
Move install location values to secure settings.
Diable attribute for UI. Set default value to auto.
Add command line interface to set install location via pm.

Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
ettings.java
44dcf658718fcc0b563dcad50fb59e8fe507cd0a 05-Apr-2010 Ray Chen <raychen@google.com> Make createVideoThumbnail and createImageThumbnail look consistent.

Change-Id: I9a4798fefe3968ac847d46100036a6dde39791c9
ediaStore.java
11a7ba367f39175f41300f384ec6e984bcc08d53 31-Mar-2010 Bjorn Bringert <bringert@android.com> Support for apps search in apps provider contract

Bug http://b/issue?id=2559078

Change-Id: Ic0d3ac3af2ca5f066618e279786af2df11cd0113
pplications.java
a3bd409a0a5dea446bd1b6edca1b367f3f70b503 25-Mar-2010 Irfan Sheriff <isheriff@google.com> settings variable for wifi saved state

We add a variable for saving wifi state
to restore after tethering.

Bring up wifi on boot up if the state indicates so.

Bug: 2537983
Change-Id: I9c6548b93df6fcbc0cec1e6b857f7224dc6d1b2c
ettings.java
98bfa39596448504f58f6dfe1b8bd2d31f25367b 24-Mar-2010 Bjorn Bringert <bringert@android.com> Use a secure setting for default browser geolocation permissions

Partly reverts I6308b476ad18b1d71d7438b936c592a45365c9f0

Bug: http://b/issue?id=2535598

Change-Id: Ib488c6d4f10a87b714ecb78eef6fe58f572907c6
rowser.java
ettings.java
e861ec11c458b4f76eb80da518dfee6a400071bf 25-Mar-2010 Amith Yamasani <yamasani@google.com> Fix 2242164 Soft keyboard keeps getting enabled even if I disable it

On keyboardful devices, it is possible to disable the system soft input
method. Something changed in eclair that caused the ime to be re-enabled
on every package manager update (packages added/deleted).

Now keep track of disabled system imes in the settings db and search
in that list before enabling a system IME on package changes.

Every time the user goes to settings to enable/disable imes, the list
is re-created.

Any new system IMEs that may be added via an OTA will get enabled if
they have a different package name.
ettings.java
3a8b0c18a49c017ecfde8ebf4eb4bb5181ac6fef 25-Mar-2010 Dan Egnor <egnor@google.com> Limit DropBox storage to 1000 files (by default).

Also does trimming asynchronously (not directly in the broadcast receiver).

Bug: 2541253
Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
ettings.java
e77852c8853465ce69a567a5446f251274f98a15 24-Mar-2010 Leon Scroggins <scroggo@google.com> Do not provide a way to use an AsyncTask from a non main thread.

Fix for http://b/issue?id=2539948

This public API can be called from any thread, so do not use an
AsyncTask. In a separate changelist, the caller now uses an
AsyncTask instead.

Change-Id: I646950964323f8c749f9aa2176226561c6f2b21f
rowser.java
2ccda4dc8d800c3592b4bd4d1d70a064d98dd4fe 23-Mar-2010 Dianne Hackborn <hackbod@google.com> Improve switching to car mode, retain night mode option.

Fiddle with how we go into car mode to try to ensure we get a clean
transition. Also have the system take care of remembering the night
mode setting so it will stay at what you want.

Change-Id: Icb94fdd961c7a192f7707ec71544485a1ea12455
ettings.java
abc2819328c32f2f66506d342c5f560da5107889 19-Mar-2010 Marco Nelissen <marcone@google.com> Include "album artist" when inserting items in the media provider.

Change-Id: Ic34e2d54557409866dc35c29ee397afdfe874762
ediaStore.java
42f1957817c3bda0c002e2c987f2a8bbe320f755 18-Mar-2010 Erik <roboerik@android.com> b/2483233 Made each reminder time a unique intent

Snoozing alarms was causing a leapfrog effect which would drop the
alert in the middle because of PendingIntent. By making each intent
unique to a given time this will no longer occur.

Change-Id: I6ca6821f7f8879a299775f4fca4e2ad0de55f1bc
alendar.java
ceffa1597d574599cbaca71f5855a986b0857463 17-Mar-2010 Charles Chen <clchen@google.com> Adding secure setting for storing a list of enabled TTS plugins.

Change-Id: I972ae4fb71e430828b7d4b297613f6a21da3c982
ettings.java
9ab518ad793385f8405edf19363fe825fb64f5f8 13-Mar-2010 Irfan Sheriff <isheriff@google.com> softAp framework changes

Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
ettings.java
fe1143b43bc09fc7135254b10a118e42eb8f53cb 12-Mar-2010 Leon Scroggins <scroggo@google.com> Call close on Cursors in finally blocks.

Fix for http://b/issue?id=2511581

Also call delete instead of deleteHistoryWhere, since we are only
considering non bookmarks anyway.

Change-Id: I00c052db3d27d61592688e7a160e721d5f82b210
rowser.java
3646d056ce63345b58edd43136c6f23a28b0a313 12-Mar-2010 Ken Shirriff <kens@google.com> Merge "Make sure Browser cursors are closed"
29c228e07443ed8ef2e04bb2d070260ac4135448 12-Mar-2010 Ken Shirriff <kens@google.com> Make sure Browser cursors are closed

finalizer errors were occurring due to unclosed cursors, maybe
causing ANRs.

Change-Id: Ibe75f7dbe7b591023a1560a5ffbfe84fac694ef2
rowser.java
63e914096ebfc767dc764519e41a2f4d8e578791 12-Mar-2010 Daniel Lehmann <lehmannd@google.com> Framework changes to allow VCards containing multiple entries
Bug:2501468

Change-Id: I004997c6ed9351e2600e7446615af9e60a14fda8
ontactsContract.java
a455d194863d6c09f0388b03271880d7f21e77d6 12-Mar-2010 Dan Egnor <egnor@google.com> Record some logcat output with crashes, ANRs, etc..

Shelling out to logcat from the system server makes me queasy,
so this is turned off by default -- it must be enabled individually
for each error type (system_app_anr, etc) via a secure settings
value (which I plan to poke into from gservices for internal use).

Even when enabled, it happens in a side thread, unless the system
server is about to die anyway (system server restart).

Change-Id: Id6d88bcd78d3625f0364a5fe9c771046601a5a14
ettings.java
3ba8324e7a267f3d531c51b0da832b7d9320cefc 12-Mar-2010 Marc Blank <mblank@google.com> Merge "Add ORGANIZER_CAN_RESPOND to Calendars column"
7f355e43b1def119d7b6ec0a7af4d9731d72d104 12-Mar-2010 Marc Blank <mblank@google.com> Add ORGANIZER_CAN_RESPOND to Calendars column

Change-Id: I6c3030772fb769546175a024804f8cd2debfd98c
alendar.java
458e8062c322a614d470e544b725adb04fdd8770 09-Mar-2010 David Brown <dab@google.com> Add INCALL_POWER_BUTTON_BEHAVIOR setting.

This is part 1 of the fix for bug 2364220 "Accessibility improvements for
ending calls". This change adds a new (hidden) constant
Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, for a setting that controls
whether the Power button hangs up the current call, or just turns off the
screen.

Bug: 2364220

Change-Id: I14d4a89b27e99cac51dc16826d217072d999b2d6
ettings.java
0dd3bdab24c1f74ffdd8f9e193a4eb883724b1b8 11-Mar-2010 Tom Taylor <tomtaylor@google.com> Add a new meta_data column

Add a new column to both the pdu and sms tables. This change just adds
the column definitions. Bug 2505620

Change-Id: I34b2794566a2900932ae34bdded4ed361d503d07
elephony.java
4bb75b9e354fb39e7be5e8295c61dd00e8d59afa 11-Mar-2010 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)"
73f7537b301036641f91c36944031f7081e23714 09-Mar-2010 Patrick Scott <phanna@android.com> Limit the projection to just the url.

Todo: bulk request the icons to avoid posting a billion messages.

Bug: 2496872
Change-Id: I6298f8d6f3000cfbbf56c6bed5f98b9836706f6d
rowser.java
aa27045a2c754f861b0540d7ca39a62cdc56f92f 10-Mar-2010 Leon Scroggins <scroggo@google.com> Use AsyncTask to update the history in the background.

Part of http://b/issue?id=2485421

Change-Id: Iccb2c3fc22e14eb1eb88d98ebb4499df14ffb511
rowser.java
1dfc8a25182467efde6956fdee4a077a10238f77 11-Mar-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)

- use sql bindargs and extract usefull sql statements
- code cleaning and formatting

Change-Id: I717bf063b3f009e7369b70618f834d780ad6baa3
alendar.java
b8b11a0b1d82e24f7a79f2e1672e7f5cf1611a55 11-Mar-2010 Dianne Hackborn <hackbod@google.com> Further improvements to window management!

Fix issue #2493497: Stuck in the Emergency dialer - Home/Back keys doesn't work
This was another case of not updating the window focus when needed, this time
when the lock screen was hidden.

Also re-arrange the layout/animate flow to address issues where you would see
a flicker of whatever was behind the lock screen when showing a new activity that
hides the lock screen. This was because we were deciding to hide the lock screen
during the layout phase, which meant we had to do it without considering whether
it had drawn. So we could hide the lock screen before the window is shown for the
first time after being drawn. Now we can do this in the policy during animate, so
we can wait until the window is drawn and actually being shown.

The flow in perform layout is thus significantly changed, where the layout and
animate loops are both under the same repeating loop. The actual flow from this
should be the same, but it now allows the policy to request a new layout after
the animation loop is done. This actually cleans up a number of things in this
code as the complexity has increased.

Finally this includes a change to the ui mode manager when switching modes, to do
the resource configuration switch at a different time. This makes transitions
between modes much cleaner (though not yet perfect).

Change-Id: I5d9e75c1e79df1106108dd522f8ffed6058ef82b
ettings.java
1c7fa4836bfa7ff61f176461ca0557e90f714121 10-Mar-2010 Daniel Sandler <dsandler@google.com> Add VIBRATE_IN_SILENT to the settings database & backup.

Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
ettings.java
4a8a310aae4280cd54957e75fcece592601d6625 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> New (hidden) API for ContactsProvider status.

Bug: 2498528
Change-Id: I95ab8b68c3d3caa5698e79c60ccb9794091e8b8a
ontactsContract.java
156c43545529fb3d731ffdd9c4514d38758e3f06 06-Mar-2010 Amith Yamasani <yamasani@google.com> Move lockscreen settings to secure table to prevent tampering. b/2343673

Migrate old settings to secure on upgrade.
ettings.java
1877d0158b529663b8315482e7346a7bcaa96166 05-Mar-2010 Brad Fitzpatrick <bradfitz@android.com> Add "call" method on ContentProvider.

This permits implementing interfaces which are faster than using
remote Cursors. It then uses it for Settings & SettingProvider, which
together account for ~50% of total ContentProvider event loop stalls
across Froyo dogfooders.

For fetching Settings this looks like it should reduce average
Settings lookup from 10 ms to 0.4 ms on Sholes, once the
SettingsProvider serves most gets from in-memory cache. Currently it
brings the Sholes average down from 10ms to 2.5 ms while still using
SQLite queries on each get.
ettings.java
1533020321c3cb5a7c652ce602c04a0300d9ed10 05-Mar-2010 Robert Greenwalt <robdroid@android.com> Merge "Update framework tethering UI"
28853c5f092fd17857a962d2ec808f0e24d73887 05-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Adding a mime type for the phone lookup URI."
e7085e909d0c7f58a160b2730ff06aca085dfd6b 04-Mar-2010 Robert Greenwalt <robdroid@android.com> Update framework tethering UI

Getting rid of notification dialog - maybe the entire TetherActivity.
Also getting rid of toasts - to ephemeral.
ettings.java
0b0b8a8dae45e6f35d05da9c0d70c62cdf23fb20 05-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a mime type for the phone lookup URI.

Bug: 2486764
Change-Id: I0077fff8af0044efc4c5322816768073636e072f
ontactsContract.java
5321aef4a22daef6ed01ed48d936cdd82f2e38b7 12-Feb-2010 Irfan Sheriff <isheriff@google.com> Wifi AP framework changes first pass

Bug: 2421638
Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
ettings.java
d2334cb68aa4897a44ad33037c4c2e8657480466 02-Mar-2010 Leon Scroggins <scroggo@google.com> Create a method to find matching URLs and use it in updateVisitedHistory.

The method for finding matching URLs is taken from Bookmarks.java in
the Browser package. When looking to see if the URL is already in
the database, include versions which have/don't have "http" as well
as "www."

Part of fix for http://b/issue?id=2442391
rowser.java
7491d8757ffb8ddd34cf02c5dd35e7c3da415c34 02-Mar-2010 Daniel Sandler <dsandler@google.com> Merge "New vibrate/silent mode behavior."
cfa8fd0799dc391a8b7b22ee13b595bcbabc37e2 02-Mar-2010 Ken Shirriff <kens@google.com> Remove unused Calendar.insertVEvent method
alendar.java
918a95b9c99c4f0a4f4ffbed9d75190ff6f09421 02-Mar-2010 Marc Blank <mblank@google.com> Merge "Rename _SYNC_LOCAL_ID to _SYNC_DATA"
5b8c69d95a5933268a1c6ded6cb9c13386c9cf10 01-Mar-2010 Marc Blank <mblank@google.com> Rename _SYNC_LOCAL_ID to _SYNC_DATA

* This is being used as a discretionary column by Exchange calendar
sync, so rename to avoid association with old usage

Change-Id: I544e285fa04d252c945c1953b57ef67da0e588ae
alendar.java
37acc3122c87ab82fa6ea2f988681747c0fb826e 01-Mar-2010 Paul Westbrook <pwestbro@google.com> Merge "Bug 2464063"
1d93d4cedcd5f85f87f7a6c7a1a3e2845ea385e3 01-Mar-2010 Paul Westbrook <pwestbro@google.com> Bug 2464063

Remove Browser.EXTRA_SHARE_TITLE, since Intent.EXTRA_SUBJECT is the
standard way to set a title for a SEND intent
rowser.java
ee49fedc26c3d14ad4a1189eb890f897115aa55b 26-Feb-2010 Wei Huang <weih@google.com> define the "seen" column for sms and pdu tables.
elephony.java
7c02ef117e6720ca2c24fab6523e9c4bd665e26c 01-Mar-2010 Marc Blank <mblank@google.com> Merge "Put _SYNC_LOCAL_ID into event entities"
2bd4fd279f9824bfbd536861ee490ac392d4836a 28-Feb-2010 Marc Blank <mblank@google.com> Put _SYNC_LOCAL_ID into event entities

* This column is used by the Exchange sync adapter when sending change
emails to attendees.

Change-Id: Ib23c07a30b41bfcbae874ae8aaa448fae2cfb6c3
alendar.java
6329bf7b1e2217c6c9477bd57349a1edade18417 26-Feb-2010 Daniel Sandler <dsandler@google.com> New vibrate/silent mode behavior.

In earlier versions of Android, "vibrate mode" (in which
only alarms and media produce sound, but notifications may
operate the vibe motor) was only accessible by adjusting the
ringer volume (via the device's volume rocker) down until
the "vibrate" icon appeared (between the lowest ring volume
and silent mode).

Many users prefer that "silent mode" always allow vibration.
Others prefer Android's historical behavior, in which silent
mode stops the vibes as well.

To accommodate these two distinct usage patterns, we now
allow the user to decide whether vibration is allowed in
"silent mode", a user interface abstraction that now spans
both AudioManager.RINGER_MODE_VIBRATE and
AudioManager.RINGER_MODE_SILENT.

To minimize API impact (and therefore maximize backward
compatibility), RINGER_MODE_VIBRATE and RINGER_MODE_SILENT
remain unchanged. What has changed is what happens when the
user activates silent mode, either via Settings,
GlobalActions (longpress on power), volume rocker, or the
keyguard tab. In essence, there is now only one "silent"
position in these controls, and whether RINGER_MODE_VIBRATE
or RINGER_MODE_SILENT is actually set on the AudioService is
determined by a new one-off setting
(System.VIBRATE_IN_SILENT). This new setting isn't meant to
be a long-term API, however: in the future we hope to
replace and extend this design with a much more
sophisticated set of systemwide feedback profiles. ETA TBD.

Related changes:
* I09ad7d69 (GlobalActions and keyguard)
* I22ba7bcf (Settings app)

Bug: 2457183
Change-Id: I14cf91b0910261ffdfd1bf302423f41ec747d057
ettings.java
a834949aff24358eb8c002d96df28be3e391ef4d 26-Feb-2010 Fred Quintana <fredq@google.com> Merge "deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface"
3f3e53bc30dbf0e47c90be5cf4bd4faabda9c601 26-Feb-2010 Chris Tate <ctate@android.com> Merge "Be sure to back up / restore some new settings"
50d89f961630e2d972013f20b8001d0aa0adedf4 26-Feb-2010 Marc Blank <mblank@google.com> Merge "Define the new lastSyncedAttendeeStatus column"
14c2d79028224118b96a03d2db6bab1902ccb6af 26-Feb-2010 Christopher Tate <ctate@google.com> Be sure to back up / restore some new settings

Added in this CL:

Power sounds enabled
Dock sound enabled
Lock/unlock sounds enabled
Auto-restore app data on install

Change-Id: Ie1c3215e926282e7cac5b82cd6196636049f7f85
ettings.java
9e0d2b528e1ffb8368ad1e22e452388430ae6cce 26-Feb-2010 Fred Quintana <fredq@google.com> deprecate SyncConstValue, since it is now only used by the deprecated ContactsProvider interface
yncConstValue.java
64a556d755d27b1182897e9243cf4f3016e76a88 25-Feb-2010 Marc Blank <mblank@google.com> Define the new lastSyncedAttendeeStatus column

Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202
alendar.java
da2572ad75c3f0815b45d00fb222b04e2c3a8d22 26-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Renaming contact search snippet fields.

Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f
ontactsContract.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
elephony.java
406b09bbd117446814a05aabc5971fd55c6afa5d 25-Feb-2010 Robert Greenwalt <robdroid@android.com> Merge "Add mobile data on/off switch."
fa0e57fbe77d46039f9e9a54512dce13f71773b5 25-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Introducing tentative (and hidden) API for contact search snippets"
3ba8a3b39bb5eb91a1b5c85c073c03e264b1736b 25-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Introducing tentative (and hidden) API for contact search snippets

Bug: 2447965
Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a
ontactsContract.java
c03fa5014912684367174ff3cce664deb29f5e0e 24-Feb-2010 Robert Greenwalt <robdroid@android.com> Add mobile data on/off switch.

bug:2251458
ettings.java
eebc8e2e8fa23b2957fec5838acc874af9a64a3d 18-Feb-2010 Erik <roboerik@android.com> b/2441327 Added add account intent to public api.

Added ACTION_ADD_ACCOUNT intent and EXTRAS_AUTHORITIES strings to the public
api so that Calendar can send users to the add account screen directly instead
of via the sync settings page.
ettings.java
edcdbb6d3bb6f66e9fd91b15ef45f4cec5694393 18-Feb-2010 Daniel Sandler <dsandler@google.com> Add new action for launching the user's music player app.

android.intent.action.MUSIC_PLAYER

http://b/2237931
ediaStore.java
53de90462b1f9b5390a80d5ff6a1522293e1b3d6 17-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding support for "contact counts grouped by the first letter
of the sort key".

This is needed for two purposes:
1. To fix the A-Z index, specifically non-English ones and
address the issue of messed up index when sort order does not match
display order.

2. Take the first step toward the introduction of a scrolling
cursor. When we have a scrolling cursor, we will _have_ to
build the index independently of fetching all of the data.

Bug: 2407129
Change-Id: Ie2979ff8e67446329ea6d1c2f5c9f4f215e6ec89
ontactsContract.java
2a091d7aa0c174986387e5d56bf97a87fe075bdb 12-Feb-2010 Robert Greenwalt <robdroid@android.com> Update Tethering.

Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
ettings.java
1c9131c91f27c8258dfad0a92cee105275f5422a 13-Feb-2010 Dan Egnor <egnor@google.com> Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
heckin.java
ettings.java
0e9d2af2d60b381ba52d0c25e583b3d2a9906051 25-Jan-2010 Daniel Sandler <dsandler@google.com> New user interface sound effects:

- Low battery. (http://b/2320026)
- Dock/undock events.
- Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
ettings.java
90d2db3d21d07c2a4b4cbbc558f5ec59d20098c3 12-Feb-2010 Dianne Hackborn <hackbod@google.com> Add Pointer Location to the window manager.

The window manager now has pointer location built into it.
Viva la touch!
ettings.java
1ceb79e99c081068b75cebd999dac423398a8b21 11-Feb-2010 Mike LeBeau <mlebeau@android.com> Merge "Add new setting for the ComponentName of the service to be used for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer."
5d34e9b63d5305934dcedac11e8dd658ae23c174 11-Feb-2010 Mike LeBeau <mlebeau@android.com> Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.
ettings.java
91f2a20a5957095a6cba9f97326ea0f1eab17195 09-Feb-2010 Bjorn Bringert <bringert@android.com> Add content provider for browser geolocation permissions

This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
rowser.java
49ffc0ff72a29f000b56deb34b0706cbfc5624bf 05-Feb-2010 Ray Chen <raychen@google.com> Revise ThumbnailUtils API.
ediaStore.java
60586f2ec65d16d185767fce4311d3ed0e9112ac 09-Feb-2010 Dan Egnor <egnor@google.com> API CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.

Generally clean up the associated SSLCertificateSocketFactory API as well,
change AndroidHttpClient to use this new thing, and make the android-common
library build SDK-clean (woo hoo).

Bug: 2362543
Bug: 2357311
ettings.java
117818e4f171b1fd9daa05349c48f61388f04567 09-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add new manifest option for install location
Change recommendAppInstallLocation api
add code to parse new attribute.
Define flags in PackageInfo
Add new settings attributes for enabling setting and value for install location
Some tests
The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal.
If the user enables setting SET_INSTALL_LOCATION(which will always
be set to false in final release builds) and sets a prefered location, we try
to honour it.
ettings.java
2cd2374805b721636d7bc2b02dee4b8fd3f32060 05-Feb-2010 Ken Shirriff <kens@google.com> Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent."
15049e46f7331b64bd3093e1d9a0365ca5caf3ae 05-Feb-2010 Ken Shirriff <kens@google.com> Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.

Some code was using "account_name" and some was using "_sync_account".
Also move definitions so they can be accessed by Event, Calendar,
and EventsEntity.

bug 2420732
alendar.java
744d90245378e53862ba02869864b36cea832648 28-Jan-2010 Leon Scroggins <scroggo@google.com> Add a new permission and remove createTitleFromFilename.

Part of http://b/issue?id=2384554

Requires a change to packages/providers/DownloadProvider
ownloads.java
d0e18ffb82b59d38aeaf0e552f48e734202719ab 26-Jan-2010 Robert Greenwalt <robdroid@android.com> First pass at USB Tethering.

bug:2281900
ettings.java
cce9da5dc3d515f98c260af41a03e61e57b4e7a6 04-Feb-2010 Christopher Tate <ctate@google.com> Add auto-restore setting and Backup Manager awareness thereof

This setting, like BACKUP_ENABLE, should never be set directly in the secure
settings database. Instead, it should be manipulated through the new IBackupManager
method setAutoRestore(boolean).

Change-Id: I5c3226ca85b6148bb756d753d7f9e4ea76e878c4
ettings.java
e8fe0e35e5ec1d03d9c30e192125da441f3680f3 01-Feb-2010 Grace Kloba <klobag@google.com> Remove the obsolete unused hidden constant.
rowser.java
e7ace67f603694fca7fe84e974f1611996c25fe1 30-Jan-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Adding system preferences for contacts: sort order and display order."
bf124e7e41f7850ac1b7be808221a462db6f3447 26-Jan-2010 Ray Chen <raychen@google.com> Unhide ThumbnailUtils to support Camera unbundling.
http://b/2375978
ediaStore.java
5e342fa3260044353705c946d3ae62c89df52ee6 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Remove MMS from the framework

The MMS code has been moved into the mms-common library.
Move SqliteWrapper (and make it hidden) into the database
directory because Telephony.java depends on it. Create a mmscommon
library similar to androidcommon for a number of files used both
by the telephony layer, by mms, and by myfaves.

Change-Id: I2e23e87c4961b87c42a4c8a63f812fa9e0e44dec
elephony.java
679091849754c60bdde5670495c38493065fd308 27-Jan-2010 Grace Kloba <klobag@google.com> Use a single EXTRA_HEADERS intent.
rowser.java
2fc1f4a02957de3fdc785ca3dde414fb8e97bc49 27-Jan-2010 Grace Kloba <klobag@google.com> Merge "Add request header support for the Browser/WebView. QSB can use this instead of POST to send the location data. After QSB makes the switch, we should also remove the POST_DATA intent which is hidden."
3b16892c6bc6b804133163db24ffc5ff54b9a8fb 27-Jan-2010 Ken Shirriff <kens@google.com> Fix ExtendedProperties EntityIterator.

The iterator was using the wrong cursor.

bug 2399618
alendar.java
d0d9bc2f2fe737d186c0cc8c29a325e4f2907e8e 27-Jan-2010 Grace Kloba <klobag@google.com> Add request header support for the Browser/WebView.
QSB can use this instead of POST to send the location
data. After QSB makes the switch, we should also
remove the POST_DATA intent which is hidden.

Add loadUrl(String url, HashMap extraHeaders) to
WebView so that the caller can send the extra http
headers.

Remove "inline:" as no one is using it and it is a
hidden feature.

Part 1 of 3-project checkin.
rowser.java
aeb4126736c1b93abe5252e1723c568a13da7c81 27-Jan-2010 Doug Zongker <dougz@android.com> Merge "update javadoc for Settings.Secure.ANDROID_ID"
d8893db060c9aabb6042ba6444a9df476da13a6f 26-Jan-2010 Doug Zongker <dougz@android.com> update javadoc for Settings.Secure.ANDROID_ID

Remove reference to GoogleLoginService, explain what this value is now.

Change-Id: I2359bd21d9c250245c01e26d660b133f4e469759
ettings.java
1b624fa1641a6e7a0072f81b74cd1bff4b08d373 27-Jan-2010 Evan Millar <emillar@google.com> Merge "b/2383073 Add fine-grained status codes for failed downloads."
2a650dd574a5e2871f51863e2446fbebc47dc0f8 27-Jan-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding system preferences for contacts: sort order and display order.

We are using the system settings provider, but the preference
UI is in the Contacts app for now.

Change-Id: Iad840d131a4eb13bb745643b3c4b0234889d1202
ontactsContract.java
f238ad7746d04d641f55bbed3461ba87a2ba4aeb 26-Jan-2010 Attila Bodis <attila@google.com> b/2383073 Add fine-grained status codes for failed downloads.

Introduces new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and
STATUS_INSUFFICIENT_SPACE_ERROR) to allow apps to show more accurate and
informative error messages upon failed downloads.
ownloads.java
017091669a5af2dd3d0a457f05f153f4d31848b6 23-Jan-2010 Chih-Chung Chang <chihchung@google.com> Unhide brightness constants to help unbundle Camera.
ettings.java
a3d5e0c5e3d12b3f8d7f43acb0c170b5e5899876 26-Jan-2010 Mark Vandevoorde <mtv@google.com> Unhide the secure setting for LocationProviderEnabled

The unbundled NetworkLocationProvider needs to get/set the enabled bit
from the settings database.
ettings.java
9d8b876c61831fd52abf56a87c518b999cc17821 23-Jan-2010 Daniel Sandler <dsandler@google.com> Add android.provider.Settings.ACTION_DEVICE_INFO_SETTINGS.

Maps to "android.settings.DEVICE_INFO_SETTINGS", which
launches the DeviceInfoSettings activity in Settings.
ettings.java
1790c13ed68a3fc1f8d91d636caae422a19b1a2a 22-Jan-2010 Ken Shirriff <kens@google.com> Change calendar authority to com.android.calendar.

bug 2388178
alendar.java
ead4f9cef59647a7f980efa2fdcc8c7e17c8def1 22-Jan-2010 Ken Shirriff <kens@google.com> Add SyncState class for calendar provider.

This parallels the SyncState on ContactsContract.
alendar.java
a69a23b2a5fa7738a5c5c3b74865f20308a96190 22-Jan-2010 Ken Shirriff <kens@google.com> Use AUTHORITY constant for calendar.

This will allow the calendar authority to be changed later.

bug 2388178
alendar.java
04ce08f34e39928a5b8e9ea59134f255c9ff08f6 21-Jan-2010 Leon Scroggins <scroggo@google.com> Merge "Create a common method for updating the title of a download from the filename."
fe79ef44fe9c0fde9af4834dacfbd587cabdc1c4 21-Jan-2010 Leon Scroggins <scroggo@google.com> Create a common method for updating the title of a download from the filename.

This method will be used by the DownloadProvider and the BrowserDownloadPage.
ownloads.java
ef340357cefeee452403a77c2b6c1aa01c239d6b 14-Jan-2010 Justin Mattson <jmatt@google.com> NEW_API: Declare an ACTION_SEARCH_SETTINGS constant in android.provider.Settings so that apps can cause this system setting group to be opened directly.

The Settings app already responds to this action it just was not exposed in the platform API.
ettings.java
918007b75539f5eabfd173a369c2da628c607ba7 20-Jan-2010 Dmitri Plotnikov <dplotnikov@google.com> Introducing the notion of "verified name" on a raw contact.

This flag can be set by a sync adapter if it is certain that the
name is correct (a social network sync adapter would be a good example
of this). It can also be explicitly set by the user in the Contact
Edit UI.

Bug: 2164422
Change-Id: Id46e04c28eeb0dc386adfc6ad8988dda50824e2b
ontactsContract.java
a351496c6048db4b4b8272e721414189c3412732 19-Jan-2010 Tom O'Neill <tomo@google.com> Get rid of a TODO to add documentation for now-hidden columns

Sorry, looks like I forgot to delete it in my previous CL

Change-Id: I46be98f383594654aff5a884e72505878ded3d90
ontactsContract.java
3baf065bc2a4a0ea3e242aca220e559a2a5745b8 19-Jan-2010 Tom O'Neill <tomo@google.com> Merge "Find out whether we should mention behavior specific to our own provider"
dcf19a8d34d85255184bac6ac5083d3d68ed5953 10-Dec-2009 Leon Scroggins <scroggo@google.com> String extras to be used with share page.

Provides Strings to be used as hash keys for accessing the data in
the Intent created for sharing a link.

Part of http://b/issue?id=2243246
rowser.java
093a8700056394ebd122ecf9d39eec7d70e1764a 16-Jan-2010 Tom O'Neill <tomo@google.com> Find out whether we should mention behavior specific to our own provider

Change-Id: Ia5d90969d72e99c8fb7f12f1c536f5e1856c59d2
ontactsContract.java
e99f41f193aaf484d3cf650f6567c8f5e949986f 14-Jan-2010 Jean-Baptiste Queru <jbq@google.com> @hide the individual members instead of the whole class

Bug: 2245521

Change-Id: I8dad1e8d4e1b55dbb9d33b6990c1bd420e914be5
ownloads.java
843e89757ab2f829ebacd48bd29ef408a5dc301c 14-Jan-2010 Jean-Baptiste Queru <jbq@google.com> Remove the BaseColumns inheritance

This is done so that it doesn't bleed into a public API

Bug: 2245521

Change-Id: I2e5f728553f074f0dc2e8a3dfdf90b1c1f189bad
ownloads.java
b8a2aafdef732764bd6b189d035e9f0765bb027a 14-Jan-2010 Nicolas Catania <niko@google.com> New method to return the last dialed number
Bug:2227429
allLog.java
c5dfa70410121c63079ecd7e4945d774562c8998 15-Jan-2010 Nicolas Catania <niko@google.com> Revert "New method to return the last dialed number"

This reverts commit ac835c94b81c9497404a27af4da9c957e5c82045.
allLog.java
633feacf17ef3188fb77751b6234140326568522 15-Jan-2010 Niko Catania <niko@google.com> Merge "New method to return the last dialed number Bug:2227429"
7d92d5af18e814c3a47e5d5081ac474c67f8d177 15-Jan-2010 Tom O'Neill <tomo@google.com> Revert a couple of deprecations to fix broken build

Will re-deprecate in a subsequent CL

Change-Id: Ibc246e2e26a68880f3fba3aff3407404f5a57ce3
ontactsContract.java
ac835c94b81c9497404a27af4da9c957e5c82045 14-Jan-2010 Nicolas Catania <niko@google.com> New method to return the last dialed number
Bug:2227429
allLog.java
0f26ec1aa10f070dea33a24de02bb766ef698c0a 15-Jan-2010 Tom O'Neill <tomo@google.com> Merge "Improve ContractsContract.RawContacts documentation"
d6f9cd2cee96e9503f74081f98b0a6c6ef5b6b06 15-Jan-2010 Tom O'Neill <tomo@google.com> Improve ContractsContract.RawContacts documentation

Also, a couple of changes for ContactsContract itself.

Change-Id: Ie16024c8bfeac97cfadcc69fa82b46828ef3953d
ontactsContract.java
32d80bf3b0493cbb2539e1bae3d97c7f9eab4c5b 14-Jan-2010 Jean-Baptiste Queru <jbq@google.com> Introduce a non-SDK class to hold the implementation details

This is an exact clone of the "public" class, so that applications
that access the raw content provider directly (i.e. Browser) can
continue doing so, at the expense of not being buildable with the
SDK.

The Download Provider itself will also use those constants.

Bug: 2245521

Change-Id: I15f8ca8a3b69719cfbf403fc2607aac0d3c2b79a
ownloads.java
0e25caf82ebe2af3aa5612d27e0eef7c10e8d85c 14-Jan-2010 Ficus Kirkpatrick <ficus@android.com> Remove some settings we are no longer using.

All are hidden; no API change.
ettings.java
66ef01e23288eb93bf410823b7fdc123fd9c5197 14-Jan-2010 Nicolas Catania <niko@google.com> Revert "New method to return the last dialed number"

This reverts commit 439b7b31676232811ac6f575b396af70e254b803.
allLog.java
e414f32f7753ccb44544dda73853bbe27d68236b 14-Jan-2010 Niko Catania <niko@google.com> Merge "New method to return the last dialed number Bug:2227429"
439b7b31676232811ac6f575b396af70e254b803 14-Jan-2010 Nicolas Catania <niko@google.com> New method to return the last dialed number
Bug:2227429
allLog.java
53f1c3486800c797708fa211d300f07c6de34514 13-Jan-2010 Mark Wagner <mxw@google.com> constants for search
elephony.java
bfd2df21ea711a8a09bb0a0637a5e0a52892ed93 12-Jan-2010 Ken Shirriff <kens@google.com> Merge "Fix calendar sync_account / type constants to be consistent."
53becd92b59c4485624a1d4d09da4f64ea73dd6c 12-Jan-2010 Ken Shirriff <kens@google.com> Fix calendar sync_account / type constants to be consistent.

The EventsEntity names need to match the rest of the Calendar names.
alendar.java
244327e2097df053b1818c79bcb84ae9e4f3af76 08-Jan-2010 Tom O'Neill <tomo@google.com> Improve ContactsContract documentation, esp. of Data inner class

Provide some missing javadoc, make some things a little more explicit, etc.

Change-Id: Ibcdeaa10c641436009a3494b18cecae6f816b75e
ontactsContract.java
42471dd5552a346dd82a58a663159875ccc4fb79 08-Jan-2010 Dan Egnor <egnor@google.com> Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping.
Dump all the threads at once, then wait for the file to stabilize.
Seems to work great and is much, much, much faster.

Don't dump stack traces to traces.txt on app crashes (it isn't very
useful and mostly just clutters up the file).

Tweak the formatting of the dropbox dumpsys a bit, for readability,
and avoid running out of memory when dumping large log files.

Report build & kernel version with kernel log dropbox entries.
ettings.java
87734d3bc118cba8f42845ddd51f10edadb84abf 08-Jan-2010 San Mehat <san@google.com> Settings: Add settings for MountService prefs and bump DB version to 46

Adds 4 new Settings:
Secure.MOUNT_PLAY_NOTIFICATION_SND - Play notification sound on events
Secure.MOUNT_UMS_AUTOSTART - Auto-start UMS when host detected
Secure.MOUNT_UMS_PROMPT - Show notification when host detected
Secure.MOUNT_UMS_NOTIFY_ENABLED - Show notification while UMS enabled

These settings are also added to the Settings backup list

Signed-off-by: San Mehat <san@google.com>
ettings.java
660cc3461afbf0631cc8d4ab628628d68d840014 08-Jan-2010 Erik Pasternak <roboerik@android.com> Merge "b/2293263 Finished removing busyBits references."
c2a5d96b5d415ac3f135903881e872f0354d6435 08-Jan-2010 Doug Zongker <dougz@android.com> Merge "remove Settings.Gservices"
624d39dd818037d4c2f1b0ab846b0ba336a7e767 07-Jan-2010 Chih-Chung Chang <chihchung@google.com> Unhide intent extra constants for Camera.
ediaStore.java
aed8f8eb1491a21c8c71d39258b70edb74533a62 08-Jan-2010 Doug Zongker <dougz@android.com> remove Settings.Gservices

Move the last few keys to secure settings, and delete the Gservices
table.

Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
ettings.java
b85513ba9c14e28c163c20dc9b083e56546d564d 08-Jan-2010 Erik <roboerik@android.com> b/2293263 Finished removing busyBits references.

Removed the rest of the busyBit functionality. Along with other changes all busyBits
uses should now be removed.
alendar.java
edc5189c33de03f3e2f5f73edc0e007992b933c9 07-Jan-2010 Doug Zongker <dougz@android.com> change remaining frameworks/base Gservices to Secure settings

Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
ettings.java
43866e0c48bb0effe8805afd62b253e50ca7d591 07-Jan-2010 Doug Zongker <dougz@android.com> move some system services from gservices to secure settings

Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
ettings.java
6414970ac7dc629345942059f75362d894c2310e 07-Jan-2010 Erik Pasternak <roboerik@android.com> Merge "b/2358627 and b/2293263 Fixed eventDay bugs."
1c819a5e3e7ba7499589e798a5f971263cf3c65b 07-Jan-2010 Dirk Dougherty <ddougherty@google.com> am 5f6002ec: am d71c2aa1: Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair

Merge commit '5f6002ec5f52ed164b591cf4b267fe771a81731f'

* commit '5f6002ec5f52ed164b591cf4b267fe771a81731f':
SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
4e7db256878bbf2058fa7d1bf07ddbe1c7206103 06-Jan-2010 Dirk Dougherty <ddougherty@google.com> SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.

Bug: 2160782
Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593
ontactsContract.java
bd8e2e20a9a1d98f1521ec1f98b6403e73b275d3 07-Jan-2010 Erik <roboerik@android.com> b/2358627 and b/2293263 Fixed eventDay bugs.

Changed query so that all days an event occurs on can be marked. Also
fixes index out of bounds error.
alendar.java
f68888951ae6056f5a15a7e2a84045c067bc6ba2 07-Jan-2010 Doug Zongker <dougz@android.com> move Watchdog's settings from Gservices to Secure

Change-Id: Iac1146dafa12f9247874514c9aeefa5f8f83933d
ettings.java
592632562a2c5c01c016c893b0d2d2a16d9081b6 05-Jan-2010 Marco Nelissen <marcone@google.com> Unhide some MediaStore things that should be public.
ediaStore.java
3763464e8f0df4d387ff46803e5a9c76045c85e6 24-Dec-2009 Erik <roboerik@android.com> b/2293263 Replaced busybit functionality with eventDay functionality.

Made changes to start stripping out busybits and replace them with checks only to see if an event eists on a given day.
This file ties into several other areas so not all busybits references were removed and those that were have been
commented out to make it easier to find errors.
alendar.java
9a488b44cb479bc42375d2cfcdd4aa6161dc17cf 05-Jan-2010 Marco Nelissen <marcone@google.com> MediaFile.UNKNOWN_STRING -> MediaStore.UNKNOWN_STRING
ediaStore.java
ed297a8417b1a44cf94ba0e33175a87055088424 04-Jan-2010 Marco Nelissen <marcone@google.com> Add the UNKNOWN_STRING definition to MediaStore. It will be removed
from MediaFile once I've updated the code that uses it.
ediaStore.java
a0b517609dfd8436a98bdebb31466f19ffec6cb5 28-Dec-2009 Eric Laurent <elaurent@google.com> am 68e9014e: am 484d2888: Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.

Merge commit '68e9014e47f7350b3889e1704dde809b2a926968'

* commit '68e9014e47f7350b3889e1704dde809b2a926968':
Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
484d2888680e18e6ad8c3fcc51e3b70a705a096e 08-Dec-2009 Eric Laurent <elaurent@google.com> Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.

Add a separate system settings entry for bluetooth SCO volume.
ettings.java
60d8762413e8daba5f73559786312a9ec5e3b827 17-Dec-2009 Dan Egnor <egnor@google.com> DropBox logging of app & system server crashes.

The crashes are also reported to the event log (and of course the
main logcat, like they always have been). Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is. (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
ettings.java
223bd7af9832971075ba9fd9b0e41b7d693bd791 21-Dec-2009 Jeff Sharkey <jsharkey@android.com> Fix javadoc reference to ContactsContract.Contacts.
ontactsContract.java
a503f6f7cf09c64bde708e3bcfb7103378ddfcff 09-Dec-2009 Jeff Sharkey <jsharkey@android.com> Adjust for compatibility mode before setSourceBounds().

When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
ontactsContract.java
b4413fa3c6e8ce788c7a924cabacb2943946267b 18-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Clean-up of naming of the new Contact/Name columns

Change-Id: I52316b365c4299dddbfb2972459a37893413bd8b
ontactsContract.java
bde0716dac7f25d9940195359f52175fe6724ff1 17-Dec-2009 Jeff Hamilton <jham@android.com> resolved conflicts for merge of 08ace2e0 to master
f3960b1271c65d64f9836894af600948bd804e7c 21-Nov-2009 Jeff Hamilton <jham@android.com> Remove the IM provider contract class.

Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
ontacts.java
ontactsContract.java
m.java
17b7ffe9cec899a4097a16107dbc380b05d40abc 17-Dec-2009 Christopher Tate <ctate@google.com> Do not back up / restore the END_BUTTON_BEHAVIOR setting

If something had backed up this setting in the 'do nothing' state, a restore of
that dataset could render a device without a hard END key unusable. There's no
clear reason to want to restore this value anyway, so we no longer back it up,
nor apply it at restore time even if the dataset contains it.

Bug: 2326562
ettings.java
cdaeafd440e61e1b64fbd46107157f3c74d1c09c 29-Oct-2009 Michael Chan <mchan@android.com> b/2224837 Changed the plumbing of how alerts/notifications work.

Instead of processing each notification separately event (scheduling an alarm with AlarmManager for each event, posting notification to NotificationManager for each event, etc), only one alarm should be fired for each wake-up time. AlertService will look through the CalendarAlerts table and decides how to update the notication manager. This is more efficient and simplifies the codecode. It is also the long-term fix to elimiate overlapping notification ring tones e.g. DrooDrooDrooooid b/2194249

Also consolidated alarm scheduling code to one place.

Change-Id: If58ce278d55b28abad703f8aeee466d44952fcd0
alendar.java
3170f9a7cf32d6935e6c468e907f9b5427ebadbc 15-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken javadoc.

Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
ontactsContract.java
07ab85b338d6e08a901a13230ae4cedc57e418ea 15-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing fields for capturing national specifics of contact names.

Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
ontactsContract.java
98d1803d4d00540695c63c0d52361e8e784d043e 15-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I11f66b41 into eclair-mr2

* changes:
Remove unused SOURCE_ID constant.
274dc9d35fdf5d0464f74071a9a8f14e497d4d5f 11-Dec-2009 Fred Quintana <fredq@google.com> moved the hidden sync helpers out of the framework
ontactsContract.java
11f66b412f6b8ad4b7586d2a7a1d52609120ba7d 14-Dec-2009 Ken Shirriff <kens@google.com> Remove unused SOURCE_ID constant.
alendar.java
b5343691e1a537723c47a027d77b3dda212417ef 12-Dec-2009 Ken Shirriff <kens@google.com> Add account name / type query parameters for calendar Events.
alendar.java
b7f0367cec1c744aa66ef397b0244e25d507491c 10-Dec-2009 Dan Egnor <egnor@google.com> Eliminate CrashData and friends.

(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating). Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
heckin.java
930ab3d955a40c1de167b7142215af37f9f9bfe4 11-Dec-2009 Ken Shirriff <kens@google.com> Fix broken sdk build.

Fix link in javadoc.
ontactsContract.java
97ef7637c6799e72956db8e08192539f1b1942f6 10-Dec-2009 Fred Quintana <fredq@google.com> - move the EventLog stuff out of ATSA
- move the google calendar sync adapter settings out of Settings.java
ettings.java
7cd4029473431c56100e52f631b9733829dc3171 09-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I2cb78a66 into eclair-mr2

* changes:
Add convenience function to MediaStore to move a playlist item to a different location.
328c0e7986aa6bb7752ec6de3da9c999920bb55f 07-Dec-2009 Fred Quintana <fredq@google.com> - removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs
alendar.java
ontactsContract.java
6b0ca015654b034cfcc01ad62091837ab5734115 09-Dec-2009 Marco Nelissen <marcone@google.com> Add convenience function to MediaStore to move a playlist item
to a different location.
ediaStore.java
286b191d30dfd8b63efb1fb2c0d403a3b02d4e0f 08-Dec-2009 Paul Westbrook <pwestbro@google.com> Deleted Gmail.java from frameworks. Previously it had been moved to vendor/google/.../Gmail/...
mail.java
4850b5cd743f4513d59ff41cd6cb548a3a9879d6 03-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I20d77880 into eclair-mr2

* changes:
Make Gservices setting constants public.
780211a9a792dcc4cd57df0a4e8da34d05eb99f1 03-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken build

Change-Id: Iead6eb44261c2415731bc8cfec53fc48c4c13fa8
ontactsContract.java
d5b325aaaca7e5197851d26332f48b917d961b9d 04-Nov-2009 Takaoka G. Tadashi <takaoka@google.com> Add WSP header to WAP_PUSH_RECEIVED intent in addition to data
Import CL 146651 from //branches/cupcake_dcm
elephony.java
bbdba6414ff4adccad2a56195c8c144f7e3a025a 03-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icae1a990 into eclair-mr2

* changes:
Adding NAME_RAW_CONTACT_ID column to Contacts.
20d778805cd824c0710ab79d8b3c58f214606d3a 03-Dec-2009 Ken Shirriff <kens@google.com> Make Gservices setting constants public.
ettings.java
ba1a0717946c3d49347e663dda73aa3f91e3d642 02-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I6430912f into eclair-mr2

* changes:
New constants for db upgrade.
42c4c589003c029309c823e8f06ed00b3cdb21de 02-Dec-2009 Amith Yamasani <yamasani@google.com> am a9791d30: Merge change Iae3ed706 into eclair

Merge commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc' into eclair-mr2

* commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc':
Add new setting for notification light pulsing. Bug #2238250
ae3ed706702a5ebe6ffcc08b941b1401c9a24b89 02-Dec-2009 Amith Yamasani <yamasani@google.com> Add new setting for notification light pulsing. Bug #2238250

New System setting and code to set the defaults on upgrade.
ettings.java
9618608708694e078da7a567c460d3ce0154ba6f 01-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding NAME_RAW_CONTACT_ID column to Contacts.

Change-Id: Icae1a99017a2165c30c7c78b7de77e39a73743b4
ontactsContract.java
742f9cbd767fbea25dcfc6d9f0a904b92c07dc9f 23-Nov-2009 Mark Wagner <mxw@google.com> New constants for db upgrade.
m.java
331c7788a84fc6f625ac1bafbb33cf7da1116407 25-Nov-2009 Leon Scroggins <scroggo@google.com> Store info in the bookmarks/history database on whether it was a manually entered url.

Requires a change in packages/apps/Browser

Fix for http://b/issue?id=2281371
rowser.java
799f721fcbff7a5ef62141786a642290f275903b 25-Nov-2009 Dan Egnor <egnor@google.com> Fix a bug in the Settings contract class (introduced in an ... iffy ... fix
to a race condition) that breaks the caching of non-existent Settings/Secure/
Gservices values (causing lots of unnecessary database queries).

Fix a dumb thinko (reversed condition) in the SQLiteDatabase logging.
ettings.java
2464acc6da6393f0163894094468f68b8e496cea 24-Nov-2009 Fred Quintana <fredq@google.com> moved the gdata library to vendor/google
alendar.java
53e3a20e411d4ec45642a67faeabb6c3bb37eff3 23-Nov-2009 Fred Quintana <fredq@google.com> move SubscribedFeeds to GSF
ubscribedFeeds.java
1691f3d3e84c7f0619022de9a92c7d895350b766 21-Nov-2009 Dan Egnor <egnor@google.com> Add CPUFREQ_STATS event tag
DO NOT MERGE
heckin.java
f8c2bb36f7b5d49553155559bc30c4e9211340e4 20-Nov-2009 Ken Shirriff <kens@google.com> Add gservices flags for calendar sync.
ettings.java
194f0808925453f40f516fca4de57887d455066a 19-Nov-2009 lknguyen <lknguyen@google.com> Add Gservices flag so that Market can turn on performance logging for specific groups.
ettings.java
ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d 18-Nov-2009 Dan Egnor <egnor@google.com> Create android-common static library which gets included in frameworks.jar,
but can also be used by unbundled apps. Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
mail.java
elephony.java
db9f06d9c44cd640f282b1a631ae82d3652beeef 13-Nov-2009 Wink Saville <wink@google.com> resolved conflicts for merge of 2a1e9641 to eclair-mr2

Change-Id: Ie1e1e686a7ef26a8a3f583c9660930eb16ca2659
2a1e96412c66f22939c010f10524122718c7bbeb 13-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ie122606f into eclair

* changes:
Add code to use Gservices provided values for throtting NITZ updates.
b1c62ebf92fe20d006023bfa6fbf2cc731c69e4e 12-Nov-2009 Dmitri Plotnikov <dplotnikov@google.com> am ca203475: Merge change Ifcf20541 into eclair

Merge commit 'ca20347543797a67b48a369f9b901cecabd231e3' into eclair-mr2

* commit 'ca20347543797a67b48a369f9b901cecabd231e3':
New Javadoc for ContactsContract.
dbe449e5220f4064f052532b425027f1487e9460 12-Nov-2009 Dmitri Plotnikov <dplotnikov@google.com> New Javadoc for ContactsContract.

Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee
ontactsContract.java
ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818 12-Nov-2009 Wink Saville <wink@google.com> Add code to use Gservices provided values for throtting NITZ updates.

bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
ettings.java
6139bf60e83753750fa1009de6da85033dad1820 12-Nov-2009 Dan Egnor <egnor@google.com> Add AGGREGATION_INTERVAL_SECONDS (fixing the build)
ettings.java
4ff960006f00d79d50d692bc634789d1485413d8 09-Nov-2009 Cynthia Wong <cynthiaw@google.com> new gservices flag for delaying bad gmail operations
ettings.java
d874afb84dd3933cb859df6ca10689982720765b 07-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I218bca82 into eclair-mr2

* changes:
Avoid calling MediaProvider for MINI_KIND thumbnail unless really necessary.
883be83eab608237652e013b26fe871c18fa8901 06-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I2effb21e into eclair-mr2

* changes:
Add UPDATE_ACTION to Gservices, used by the new checkin service.
f9a243d4a8052ddaec611852d4877ba6262373f4 30-Oct-2009 Ray Chen <raychen@google.com> Avoid calling MediaProvider for MINI_KIND thumbnail unless really necessary.
ediaStore.java
2effb21e89962d0f8046a81aa010691f60d23257 06-Nov-2009 Dan Egnor <egnor@google.com> Add UPDATE_ACTION to Gservices, used by the new checkin service.
ettings.java
5b387e16f7551921ae7d33b93838a22f370b9a54 23-Oct-2009 Ken Shirriff <kens@google.com> Calendar: add CALLER_IS_SYNCADAPTER parameter.
alendar.java
272af007684be307464dc14335503316cea3dbf3 05-Nov-2009 Vasu Nori <vnori@google.com> a possible fix for the bug http://b/issue?id=2200637
ettings.java
e86721843333a00a9ff279af988d702e2da6bf2c 28-Oct-2009 Tom Taylor <tomtaylor@google.com> Add error code column to SMS


Also add code to save an error code in the DB.
elephony.java
9fa7048ca3a7b5184ce761bbf908c512d524b9e2 28-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> am 6158038a: Merge change I2811f162 into eclair

Merge commit '6158038a09069bc178970160d4b3667573bfc655' into eclair-mr2

* commit '6158038a09069bc178970160d4b3667573bfc655':
Add Authentication Type field to the APN settings.
2811f1625ebdb7f7483b8b866694474f89112d8c 26-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Add Authentication Type field to the APN settings.

Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700
elephony.java
2086152c1b60ad3bfe85c1ddc3871cff77e6da1b 16-Oct-2009 Mike Lockwood <lockwood@android.com> am f55aa972: Merge change I01935be3 into eclair

Merge commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542' into eclair-mr2

* commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542':
Remove PowerManager.setAutoBrightness()
dc3494e3d8e17aeb0dbbe41953a5ef763d95ff78 15-Oct-2009 Mike Lockwood <lockwood@android.com> Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
647ae75e5785575c333de22a67b7bf27e4e917e2 15-Oct-2009 Christian Sonntag <cxs@google.com> Add Gservice for vending_restore_window, this determines the duration after first setup, during which we do not reconcile backup apps.
after that apps restored via market/backup will be treated just like any other app and being synced with the server state.
ettings.java
0a299af21fda41aac8126ff40808ff82135eaf9c 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> am fe4c8715: Making new Contacts APIs visible in Eclair SDK - Part II

Merge commit 'fe4c8715c02a8b723c56e3e48ededa657c9ab6a6' into eclair-mr2

* commit 'fe4c8715c02a8b723c56e3e48ededa657c9ab6a6':
Making new Contacts APIs visible in Eclair SDK - Part II
fe4c8715c02a8b723c56e3e48ededa657c9ab6a6 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> Making new Contacts APIs visible in Eclair SDK - Part II

Bug: http://b/2186595
Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45
ontactsContract.java
0741c134645300fed9ad13760273c8d245a04e63 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> am 6e144ad8: Making new Contacts APIs visible in Eclair SDK

Merge commit '6e144ad885f6cc3f090616a7ad4911d093049ad1' into eclair-mr2

* commit '6e144ad885f6cc3f090616a7ad4911d093049ad1':
Making new Contacts APIs visible in Eclair SDK
6e144ad885f6cc3f090616a7ad4911d093049ad1 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> Making new Contacts APIs visible in Eclair SDK

Bug: http://b/2186595

Change-Id: Iaba8514276299504af6ab0714577eb37d9608237
ontactsContract.java
4410ec8f7cec6ab05a8c24c04fe2d5ed5d1e18df 12-Sep-2009 Dan Egnor <egnor@google.com> Framework-side DropBox service that maintains a size-bounded
queue of data chunks (sort of a blob-oriented logcat).

In the future, this will be coupled with a revised checkin service that
would actually upload this data.
ettings.java
3b000937f563fc6134aecaaa665689a0a45ccf0a 13-Oct-2009 Ken Shirriff <kens@google.com> Add "deleted" row to Events table.

This will replace the DeletedEvents table when moving Calendar to the
new sync framework.
alendar.java
e9d8f545bf0ae577733c6aefc0f7cb671f61af5e 09-Oct-2009 Dan Egnor <egnor@google.com> am 6903d5ce: Merge change Iee649a81 into eclair

Merge commit '6903d5cedcffa005818c497f672cf16c2dff619c' into eclair-mr2

* commit '6903d5cedcffa005818c497f672cf16c2dff619c':
Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.
ee649a811bc7e2193b63cadb312877a03640a9c4 09-Oct-2009 Dan Egnor <egnor@google.com> Add LAST_KMSG_KB variable, used to tune the size of /proc/last_kmsg uploads.
See bug 2177046.
ettings.java
13ed5750ba515c3b4345937c7a11667a90cb1265 05-Oct-2009 Ray Chen <raychen@google.com> Add group id to getThumbnail and cancelThumbnailRequest API.
ediaStore.java
5bba632d877c2878384ff21566c8eb6a1a22f37b 05-Oct-2009 Fred Quintana <fredq@google.com> - hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
used
- add the RawContacts.Entity class, which is used in lieu of the
android.content.Entity
ontactsContract.java
6b3707452c5921c89258371eec140b0fb76766f8 02-Oct-2009 Wei Huang <weih@google.com> bug 2161715: add the .jpg extension to the temp sdcard image file name so MMS can read the JPEG data using a file uri.

Change-Id: I1453950e406f1991e78530795ed28e6b4a7cf8c6
elephony.java
9b150b74573ce506abd00c692fb42f46980441a3 01-Oct-2009 Marco Nelissen <marcone@google.com> Close the cursor before assigning a new one to the same variable.
ediaStore.java
c00099ef62fc496429d0a06e580b600f61304f9c 01-Oct-2009 Jeff Sharkey <jsharkey@android.com> Change intent flags for launching FastTrack.
ontactsContract.java
29e4a3c566f435c32f0b95e4ac8e8b33cac6faba 01-Oct-2009 Dianne Hackborn <hackbod@google.com> Update from API review.

Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
ontacts.java
9901e38a962012d56accbc9b6259f9997bcd9c31 01-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I7a39c564 into eclair

* changes:
Fix docs error
772722e4b7c3ce0e478528f7bc96c0458cf2869a 01-Oct-2009 Evan Millar <emillar@google.com> Fix docs error

Change-Id: I7a39c5643cf6351bac47ccafff37fd32a668b9f5
ontactsContract.java
f09edd60376f6ad755ebaaf0c1f89f561f78468c 01-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Id60fa26a into eclair

* changes:
Fix issue 2152541 thumbnail images stretched.
ef093cd6c4ab4d3c8a1c8be5ed7147d5f06d7027 30-Sep-2009 Ray Chen <raychen@google.com> Fix issue 2152541 thumbnail images stretched.
ediaStore.java
5042f7eae6baa6fa4f93248361e94eeb6894f90f 01-Oct-2009 Evan Millar <emillar@google.com> Unhide ContactsContract#QuickContact and fix sdk build

Change-Id: I60fdeb6d0625996d76a10f0a623c9f474337758d
ontactsContract.java
c868acf442a69429056a574c67a5e0187e2b9536 01-Oct-2009 Fred Quintana <fredq@google.com> show events in the UI
ontactsContract.java
e3ec9977bbfbdd6659cf27c7341f4c1c826f2209 01-Oct-2009 Evan Millar <emillar@google.com> FastTrack->QuickContact

Change-Id: I98f2db38e6402bdbe47b941d82c8f33863d1863e
ontactsContract.java
a33e3f79259b56b03c7912af35944f34ad190e3c 30-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2154794: Force close when start facebook application.

I think when we were scanning the updated app in the system image,
from an older version on the data partition, we were not setting
the existing package to have the system flag, so not auto-granting
any new permissions.

This also includes some other cleanup in the package manager to
remove old files in various places, and tighten up logging.

Also similar logging cleanup elsewhere.

Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
ettings.java
523db1c33580f453fd5abd74bede3e0e3e46a825 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icf1e2f98 into eclair

* changes:
Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
040c218429ff3d2425c1e33e3218be47a36e1f99 30-Sep-2009 Romain Guy <romainguy@android.com> Fix documentation.

Change-Id: I5910a70ccc2abd2b52f07d3a7204241e1879099a
iveFolders.java
cf1e2f98d16d5c0f83c3ff26d8eb306ead99722a 30-Sep-2009 Megha Joshi <mjoshi@google.com> Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.

Fixes 2137624
ontactsContract.java
aa1c6311d6d900261bcd9f3b0986b6c0394af07a 30-Sep-2009 Romain Guy <romainguy@android.com> Fix possible crash in AutoCompleteTextView.

This change makes sure that ACTV will not take action when an event is
received in a popup that just got dismissed.

This change also makes public two XML attributes of ACTV whose corresponding
Java APIs are public.

This change also fixes a couple of typos.

Change-Id: I78f113bc522d199ff3db44fc4cc3a1882afe822e
iveFolders.java
49e750a3586cdb09aa1a374442af48982b225050 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I7495977a into eclair

* changes:
Add cancelThumbnailRequest to thumbnail API.
b994419263fb4f595379838f62efc50f90565e20 30-Sep-2009 Ray Chen <raychen@google.com> Add cancelThumbnailRequest to thumbnail API.
ediaStore.java
c4e20e9e1ab761a6ec0766ef7cb649acca4fdc5f 30-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Iae12c7f0 into eclair

* changes:
Add REQUESTING_PACKAGE_PARAM_KEY.
49da15f34daa314c392b36ac346ac8a2d9f177d4 29-Sep-2009 Evan Millar <emillar@google.com> Add REQUESTING_PACKAGE_PARAM_KEY.

Change-Id: Iae12c7f029b8efd1811d99d24df9281a8f9a2446
ontactsContract.java
f602c5170ef5a7d75992db9e46ad44efb709ca99 29-Sep-2009 lknguyen <lknguyen@google.com> Add Gservices flag for Vending doctor download complete timeout.
ettings.java
8f76734d1e9a21618ad9762c0716ee93f60902ec 29-Sep-2009 Jeff Sharkey <jsharkey@android.com> Fix docs breakage.
ontactsContract.java
ff18bbf83562b8a827a37c19cdc27e520786119e 28-Sep-2009 Jeff Sharkey <jsharkey@android.com> Separate API for vCards through openAssetFileDescriptor().

Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries. To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.
ontactsContract.java
f36a2bb59b846545946124124d3290bd3eec44f0 29-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ibeb22f37 into eclair

* changes:
Call the proper variant of markAsContacted.
1cff74761798eba8349a3b9824ae4b11072c11d1 29-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ie7d26695 into eclair

* changes:
Modify the "active chats" uri to not overlap with other uris.
56a108220f42bb9d16369c5252c64d5afea4c9ae 29-Sep-2009 Jeff Hamilton <jham@android.com> Call the proper variant of markAsContacted.

Change-Id: Ibeb22f37bd079b1a965f5b350ac7ca6e77eac00f
allLog.java
f2e0d7bb788ff04ebbe1ece2ecb806cbcf66fffd 28-Sep-2009 Daisuke Miyakawa <dmiyakawa@google.com> Three changes.

- Add FOR_EXPORT_ONLY to Data column.
- Make VCardComposer use Contacts instead of RawContacts.
- Make VCardComposer honor FOR_CONTACT_ONLY regardless of
the intention of any caller, which makes composer unable to
compose any contact with "is_restricted" flag, which is unseen
from outside the contacts provider.

Internal Issue number: 2147248, 2143207
ontactsContract.java
e7d266957d7b8028e41f768a3bff589eb85cbcbe 29-Sep-2009 Mark Wagner <mxw@google.com> Modify the "active chats" uri to not overlap with other uris.
m.java
a60479d2ea7857455ebad6c56e357d00b0492364 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken javadoc.

Was linking to a hidden interface.

Change-Id: Iff48cb97ed4078b2b91bade9a47d7afc5d7891bf
ontactsContract.java
879664e3e2e0169aba53d88f6c30c8b15858315d 27-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.

Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
ontactsContract.java
f582a69dd2ed556d48a4c158b6560c08e44386fd 28-Sep-2009 Christopher Tate <ctate@android.com> Don't back up / restore "allow apps from unknown sources"

We no longer back up the state of the "Allow the installation of applications
from unknown sources" setting, nor do we set that based on restore data even if
it is present.

Change-Id: Ida276874616f1ff82807d642b0b733fcab339529
ettings.java
fbb7263121923cd30d52ac4a35c4309b0a618ddb 27-Sep-2009 Wei Huang <weih@google.com> add new column "real_date" for IM messages table.

Change-Id: I5c4b3da0843ff0205c2aff5f89639aba47a84e3b
m.java
141e4f1d69186104c3e169ee7365b62bc425859a 27-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 27177 into eclair

* changes:
Add auto-brightness mode to the list of backed-up settings
057018399c7ce6d3893ee5fc622f1592f51773b9 26-Sep-2009 Jeff Sharkey <jsharkey@android.com> Remove query parameters for delaying group updates.

Callers should instead use applyBatch(), which now delays
any visible updates until the transation finishes. This
partially fixes http://b/2075275
ontactsContract.java
362aca60453ec7f27abb4d83fc29dd82095dc882 26-Sep-2009 Christopher Tate <ctate@android.com> Add auto-brightness mode to the list of backed-up settings

Change-Id: I4302b79691ed717d810748b239311cba198f6381
ettings.java
f5808415263d687eb125535e04ba374e33b785da 25-Sep-2009 Fred Quintana <fredq@google.com> rename misc to birthday
ontactsContract.java
531e580ab160864e4152f431eaeb965676c58d19 24-Sep-2009 Fred Quintana <fredq@google.com> remove the incorrectly located nickname
ontactsContract.java
f4a36e86bb4d1e15652dfd28236150c7f917866e 24-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26909 into eclair

* changes:
Not all WebView's host have permission to read the history. Add a security catch and return an empty list.
db674fb4e85c5ae63c05368b0b13e64be6ad118d 24-Sep-2009 Grace Kloba <klobag@google.com> Not all WebView's host have permission to read the history.
Add a security catch and return an empty list.

We don't use tab in the code.

Fix http://b/viewIssue?id=2144339
rowser.java
6938bb36b8992420ec5cb392706a8bc192b332c1 24-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing the broken build

Change-Id: Ie7b722f2e71b51d180c95cf0d4bdbf4975e1a2be
ontactsContract.java
f22fc124ff7974d0b6380199f7d53e66bb7feb29 22-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding timestamp and account to contact-level presence columns.

Change-Id: I1ff4f4f5ef9b3b0deb9df3d0689ff39b4b2fd84b
ontactsContract.java
a3a840f9dd13567c31262ea12545ae9f34573739 24-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26830 into eclair

* changes:
Coloring clicked-on links
c15255a979c9fc70bc251aefdcd9c1074b458d49 24-Sep-2009 Amith Yamasani <yamasani@google.com> Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen.
ettings.java
9c8d886bb776ab98fc3b8aa26134c7a2611a6076 24-Sep-2009 Leon Clarke <leonclarke@google.com> Coloring clicked-on links

Following review comments

Merging in ben's change

Whitespace
rowser.java
f852698cc3bd40c7a54317a711360bae2606cd2d 24-Sep-2009 Jeff Hamilton <jham@android.com> Make the new ContactsContract APIs public.

Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
ontacts.java
ontactsContract.java
354eb66673bbf7a6251583c135d13bcc2c62af0b 24-Sep-2009 Andrei Popescu <andreip@google.com> Add possibility to customize the chooser dialog used to allow the user to choose the application for sharing a link.
rowser.java
63697af83b5479733f2d4398b4199b8e492f532b 24-Sep-2009 Jeff Sharkey <jsharkey@android.com> Generalize DELAY_STARRED_UPDATE location.
ontactsContract.java
26d48eb38e533402aa90add8d01489dace92af2f 24-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add Groups query parameters for delaying STARRED update.

Part of fixing http://b/2075275
ontactsContract.java
0c23212ebdfbe008aca95d2ace2e52ca0a0b7ec7 24-Sep-2009 Jeff Hamilton <jham@android.com> Re-hide the contacts APIs, the droiddoc build is failing.

Change-Id: I1d1e73924e26045ad137a19c32976ecfe68c7d49
ontactsContract.java
85abdc59c3a31df6dc6ac4f20e64d5c91fa70023 22-Sep-2009 Jeff Hamilton <jham@android.com> Make the new ContactsContract public.

It replaces the now deprecated Contacts APIs.

Change-Id: Id65ff35d78cb79740cdc4c94388cc965ce4f2f2d
ontactsContract.java
f017167f52e2459cf16fabde8afb5a6c51bd780f 23-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25794 into eclair

* changes:
Remove the GDD Gservices setting.
b34a3a08050c456fabec399cfeb44df47d96bc9f 18-Sep-2009 Sanjay Jeyakumar <sjk@google.com> Remove the GDD Gservices setting.
ettings.java
00c575a3fccb9d3065e913f1b8fcf93e18d44eaf 28-Aug-2009 Ray Chen <raychen@google.com> Add new thumbnail API.
ediaStore.java
d588cb7fc3a6db9100a50e8a598bfd83b5c4c6da 23-Sep-2009 Wei Huang <weih@google.com> add definition for Mms.TempStorage content uri and filename.

Change-Id: Idfab085f2ecc8c7c835208805ccf1d94d6380780
elephony.java
0fc0244e808925e848ee9e350a3a213bd7574249 21-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2097207] Adding filtering capability to aggregation suggestions

Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
ontactsContract.java
88a83d3f108dcf01443b241439e14eedbd9615f5 21-Sep-2009 Jeff Sharkey <jsharkey@android.com> Update getDisplayLabel() API to support new types.

We recently added several new phone types, and this change
updates the API that resolves thoses types to strings. It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
ontactsContract.java
15e2669fcd8407519e9bb9609e6d8663c84734e6 20-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.

This is a minor optimization for the sake of the aggregator. The aggregator now relies on the display name
instead of structured components. As a result, we only need one column from the data table
for the structured name. For other data types it's data1. Might as well use the same column
for display name.

Change-Id: Ib22d1f1a7a91f12716d1a460e1578f01926c393a
ontactsContract.java
7d9db612bdecad3d6667858ac296f5ede27aabfa 20-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25885 into eclair

* changes:
handle calendars with an access level of "root"
d163f4babe101b89aaf322c34d3bafeae237f7da 20-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25853 into eclair

* changes:
Don't back up / restore certain sync-related settings
abf15c30c11162b6756689b5f7543f0085d8302e 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding CONTENT_TYPE to CommonDataKinds.Email

Also removing deprecated API

Change-Id: Ie3bd17282bf57c3a73497c91ce233ed135c79502
ontactsContract.java
2dcaafd16755fc757bd86fea81678d3345b77383 19-Sep-2009 Debajit Ghosh <debajit@google.com> handle calendars with an access level of "root"
alendar.java
0dc9841821fda472eaeb1aeea80aded0dbbfe687 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the CommonDataKind class definitions.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Phone._ID, // 0
Phone.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Phone.DISPLAY_NAME, // 5
};

Change-Id: I2e84bca3277aeef06eec20cee8c2119ef3b90a9f
ontactsContract.java
a286f419084d56217f05a64f1d24c9e07917212e 19-Sep-2009 Christopher Tate <ctate@android.com> Don't back up / restore certain sync-related settings

In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings
ettings.java
de71cb3b6f3a7484402e2288ddfaad3ea3821f59 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
RawContacts.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
ontactsContract.java
ea36747114cb8c06742994dddc6a3cff2b666e69 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Revert "ContactsContract: Adding joined columns to the Data class definition."

This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.
ontactsContract.java
dd768a6a736bc202b62aa20f3282b3cfb285dc7f 18-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
RawContacts.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
ontactsContract.java
a233943cb1b064155d001556c573140ed333149e 18-Sep-2009 Jacek Surazski <jaceks@google.com> Add a Gservices setting to controll the app error reporting feature.
ettings.java
0050ee36398c3ab6e5f1ee0038609aff8cf4f0e9 18-Sep-2009 Jeff Sharkey <jsharkey@android.com> Adopt new FastTrack API for internal widget, fix bugs.

Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE. Also reset the internal Uri when
reused in lists. Fixes http://b/2087222
ontactsContract.java
e9506e3684c36a62533211022541997034088d2f 17-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25561 into eclair

* changes:
Add Gservices settings required for carrier billing.
8cbaa832aec8d996830008f34cc47f23ad3165f9 17-Sep-2009 Sanjay Jeyakumar <sjk@google.com> Add Gservices settings required for carrier billing.
ettings.java
6449eb06acc934ba4007475680f236721181ee47 17-Sep-2009 Jeff Sharkey <jsharkey@android.com> Added API for triggering FastTrack.

I added a new API to help us move away from launching
FastTrack through SHOW_OR_CREATE. For now it's going to
still pass through as an Intent with extras, but in the
future this could be used to launch a Window from a system
service.

Partially fixes http://b/2087222
ontactsContract.java
70db3a20cfa73fad0794679dda4102461a88057b 17-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25414 into eclair

* changes:
refactor copy-and-paste email address filtering code. add a column to Calendar.Events contract class.
8d570b3a246cbc18be7046763c213b57dcb3e103 17-Sep-2009 Jeff Hamilton <jham@android.com> Don't crash if the cursor is null.

Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d
ontacts.java
4c8b3594a62c614ef8a8fa1a82036630e8d0ea2f 17-Sep-2009 Debajit Ghosh <debajit@google.com> refactor copy-and-paste email address filtering code.
add a column to Calendar.Events contract class.
alendar.java
81521abea121683643cedbb7483a9a7eb0e466ae 17-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25431 into eclair

* changes:
Add "MMS" to common phone number types.
d5abd46059f1970de2fed2b88183e8ec198d4cf2 17-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add "MMS" to common phone number types.

Partially fixes http://b/2092744
ontactsContract.java
cac138274c45b49a91e1d28cce44faa02d37906e 16-Sep-2009 Cynthia Wong <cynthiaw@google.com> Add new Gservices setting for discarding uphill ops for eclair and future devices.
ettings.java
97bda4c5ae3f77a1b450d4abc06f3cf378cc6c1d 16-Sep-2009 Jeff Sharkey <jsharkey@android.com> Flag indicating if Contacts source has any unsynced groups.

Part of fixing http://b/2084771
ontactsContract.java
42fc2c6f0af1c6d8160e00d7319a1c6fd0258a6f 15-Sep-2009 Jeff Sharkey <jsharkey@android.com> Fix NPE when provider returns null cursor.

Fixes http://b/2051283
ontacts.java
0ae011b6f6d709d840f60f25df2046c9545a10a2 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24990 into eclair

* changes:
change to use the new CALLER_IS_SYNCADAPTER flag
951764b97010dfa073126f52b43ea1bdf1b35998 27-Aug-2009 Dan Murphy <D.Murphy@motorola.com> Add automatic lighting control framework

Add changes to have the ability to turn on and off the
automatic light sensing for the device. This is fully configurable
and is by default not present. Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible. Manual mode
will present the slide bar to the user.

Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
33f889ae270f888f8fdc084f5f1f3d443532a46a 15-Sep-2009 Fred Quintana <fredq@google.com> change to use the new CALLER_IS_SYNCADAPTER flag
ontactsContract.java
9a0bf14c4f715a8ffa645c77c4c183dcfa3e31c8 11-Sep-2009 Ye Wen <ywen@google.com> Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
from "im" to "com.google.android.providers.talk"; also change the mime types.
m.java
0738e8893540e8f7fac7c193be5fe24b67f04672 12-Sep-2009 Christopher Tate <ctate@android.com> Don't backup/restore telephony material from secure settings

* Remove several nonportable telephony settings from the set to be included in
the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
operation, so that we don't inadvertently do things like configure a GSM
phone to use CDMA logic.
ettings.java
f46a9cf38207d03730c04d02cf40aa3859cd9ad3 09-Sep-2009 Jeff Sharkey <jsharkey@android.com> API to combine LOOKUP_KEY and Contacts._ID together.
ontactsContract.java
bc9aa775ae244977e840fc2c21e03a039b399af8 09-Sep-2009 Omari Stephens <xsdg@android.com> Fix typo: IMMEDITATE -> IMMEDIATE
ontactsContract.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 03-Sep-2009 Fred Quintana <fredq@google.com> add a transaction monitor
ontactsContract.java
yncStateContract.java
7452d292599b6ce3b13a52d13e514beac937838a 08-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24086 into eclair

* changes:
Fixing asymmetry between phone filter and email filter APIs.
96f8613d95122a491a44f755f06845cc2c13e81e 04-Sep-2009 Bjorn Bringert <bringert@android.com> Add Gservices constants for GlobalSearch settings

This is part of the implementation of http://b/issue?id=2097470

Change-Id: Ife3e5edd4c7d31824d75a0f93a6dcd56a39ab524
ettings.java
989f263dcffc37a43846c3667f51ce8f752f2479 06-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing asymmetry between phone filter and email filter APIs.

Also, introducing a more advanced email filter, which will do a proper name
lookup using the normalized name and avoid returning duplicate results.

Also, upgrading the phone filter to do the same thing as the email filter
but with display names and phone numbers.
ontactsContract.java
0b98c944c6bac98d95c93916cde31f841b44d9aa 05-Sep-2009 Ye Wen <ywen@google.com> Fix code placement and comments for gtalk url scraping settings.
ettings.java
981871922ded799f51b7b8a3e53028d70f37e65c 05-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24014 into eclair

* changes:
Gservices settings for controlling URL scraping in GTalk app.
7a0c108d8b625c5ecb3476b9233dddaf5a6270e0 04-Sep-2009 Ye Wen <ywen@google.com> Gservices settings for controlling URL scraping in GTalk app.
ettings.java
84ba06586b8dc079fec476b0d39b3d71687354a0 05-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing a concurrency problem by changing the contact aggregation exception API.

The current API requires a contact_id and a raw_contact_id
There are at least two issues with this approach I did not recognize initially:

1. Contact_id may be changed asynchronously by aggregation or some other process.
2. A raw contacts may need to be added to an aggregate before the actual aggregation pass
has gotten to it, so the client would need to wait for the aggregation to complete
before it can set an aggregation exception. That's backwards.
ontactsContract.java
b1e2a4d0d0107df4ecf4d484a340ec21dc105305 04-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing references to deprecated API and the deprecated API itself.
ontactsContract.java
dd9b82c283815747b75fe4434c65e4b6c9c9b54f 03-Sep-2009 Dianne Hackborn <hackbod@google.com> Add better service reporting.

This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
ettings.java
0c36a517cd01a7112460a96f9f0fa2badf8f7015 03-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add private API for data with presence.
ontactsContract.java
fb16e5ccdb230a11cbbbfd17d323db7b88395c2f 03-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23607 into eclair

* changes:
Reject (NAK) CDMA SMS with unknown teleservice ids.
04e1faf0f030ddb360180289fb798adbb3348dd4 02-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23669 into eclair

* changes:
Cleaner way to fix the -1 count problem (and removing an Eclipse warning along the way).
a010ef4d7edff4f651d3a7706f244771e2479a29 02-Sep-2009 Cedric Beust <cbeust@google.com> Cleaner way to fix the -1 count problem (and removing an Eclipse warning along the way).

Change-Id: I154e27f615932bfcc08993aa361a6d2ffbc51d74
mail.java
682e30a894bfe9600f5c216c008ec4fe26c3b954 02-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23667 into eclair

* changes:
Fix the -1 unread count bug.
6f4a8a58615ecab6c783085060ff73941654b1df 02-Sep-2009 Cedric Beust <cbeust@google.com> Fix the -1 unread count bug.

Change-Id: I8b77ad3457504872928c1065d54f50c0618025b5
mail.java
82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9 02-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23631 into eclair

* changes:
Add APANIC kernel logging to CheckinService. we keep book and only read a particular file once and send it to the server.
62d95ead34d954c286f13a6d341f07a267796ee4 02-Sep-2009 Christian Sonntag <cxs@google.com> Add APANIC kernel logging to CheckinService.
we keep book and only read a particular file once and send it to the server.

The files are:

Ramconsole Driver (Dream/Sapphire):

/data/dontpanic/last_kmsg

Apanic Driver (Sholes/all future designs):

/data/dontpanic/apanic_console
/data/dontpanic/apanic_threads
heckin.java
ettings.java
bb54f93ff66f382dc706b9fff508d386e046fdc2 02-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23527 into eclair

* changes:
Adding a convenience method to resolve contact lookup URI to a regular content URI
7e207afd497f8822ca34babe1d9cd1f6d5402fad 02-Sep-2009 Tammo Spalink <tammo@google.com> Reject (NAK) CDMA SMS with unknown teleservice ids.

Addresses issue:
http://buganizer/issue?id=2066191

Change-Id: I56124379534bf19f128b6228749c7ee2ef455fed
elephony.java
b5759b5f4f01771a615c100c1d87adc702a6ef71 02-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a convenience method to resolve contact lookup URI to a regular content URI
ontactsContract.java
513069c39cd6610db2919c09abea2ff73158356a 02-Sep-2009 Tom Taylor <tomtaylor@google.com> Make a path constant

Add a constant for the new locked uri.

Change-Id: I3bad24ac7ee806442bdd5e38be61005f081edf0d
elephony.java
a01726a7fdd872cd8e1e8a9dfa52fb9cdbf01019 28-Aug-2009 jsh <jsh@google.com> Some fixes to SMS processing in the framework.

Always process class 0 and other unstored SMS (eg, MWI). We were
rejecting all SMS messages in storage full situations, but certain
messages do not require storage.

Also, notify apps when the framework rejects MT SMS, with new
SMS_REJECTED_ACTION intent.

b/2066775
b/2015906
elephony.java
b3c49982840c05a5392d53efe97253c04fc59ef0 01-Sep-2009 Evan Millar <emillar@google.com> Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider

This is necessary partly for general hygiene, but mostly because we need
to be able to determine based on the intent type what style URI to
return in the case of startActivityForResult().

Change-Id: Ib313d830b8646a70d5ac3ded11597af614429262
ontactsContract.java
f35bce45058200ff1209385e63e34fbf59255db6 29-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a column to Contacts, which will be used as an additional "soft" identity.

The main consumer of this feature is shortcuts.

The LOOKUP KEY column will contain an encoded concatenation of the contact's row id
as well as sync_ids of all constituent raw contacts. It goes with the "contacts/lookup/*/#" URI.

When we get such a URI, we will first try to load the
contact with the specified _id and lookup_key. If we cannot find the contact
that way, we will go scout for the contact that contains most of the sync_ids
we found in the lookup key.

We will need to make sure that the contact picker returns the lookup-style URIs.
ontactsContract.java
14fb1538662724ef57d6b6bfb4bb53efed5a6650 30-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add mobile Email type.
ontactsContract.java
763ea918fc7954eab422dc3baf578a2368737637 27-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22919 into eclair

* changes:
Removing "summary"-style URIs.
b87d0e0e5778826cc4421aa7afa1798f232d3247 27-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing "summary"-style URIs.

We will determine whether to include Presence by looking at the requested projection.
ontactsContract.java
48f886e661275a6b649699d556c8f01f384d88d8 26-Aug-2009 Ye Wen <ywen@google.com> The Gservices settings for pruning messages/chats.
ettings.java
ebd8416fad86aad10f8724a02437d27c473169bd 27-Aug-2009 Sanjay Jeyakumar <sjk@google.com> Add Gservices setting for the frequency to perform provisioning.
ettings.java
ba176d6c8ad581e65b46bd6835c0737e74ef453d 26-Aug-2009 Jeff Sharkey <jsharkey@android.com> Don't reference hidden API from comments.
ontacts.java
22e2aaaa5cb465679320e1027240d5150f574706 26-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22656 into eclair

* changes:
Adding an aggregation mode: AGGREGATION_SUSPENDED
534aa012b5063abeaa36b9ade69851add8b7a48f 25-Aug-2009 Jeff Sharkey <jsharkey@android.com> Mark all legacy contacts APIs as deprecated.

Now that we've merged ContactsContract and are relying on
compatibility mode, we're marking the previous public
contacts API as deprecated.

Fixes http://b/2076016
ontacts.java
5223b1668a987d90cdbd7f6c62ca17486281893b 26-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding an aggregation mode: AGGREGATION_SUSPENDED
ontactsContract.java
eb0098d8e89033b78017a9e0068e3ac7ca51c112 24-Aug-2009 Chih-Chung Chang <chihchung@google.com> Add an extra intent parameter for recording duration limit.
ediaStore.java
4358731c98929e2d5af70b0c4983a872386569bd 25-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22534 into eclair

* changes:
ContactsContract: Fix null pointer exception in openContactPhotoInputStream()
7d6eb9a4b49f2796017bc00e92eaea4eb0a3507a 25-Aug-2009 Mike Lockwood <lockwood@android.com> ContactsContract: Fix null pointer exception in openContactPhotoInputStream()

Signed-off-by: Mike Lockwood <lockwood@android.com>
ontactsContract.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
mail.java
iveFolders.java
ettings.java
cc6bd5a0d3f679d2820e2d61ea868ba6a58fc186 24-Aug-2009 Wei Huang <weih@google.com> fix typo
ettings.java
e43a6a02dd9124079c69f3a5a01e16df4f85ee05 21-Aug-2009 Satish Roddom <satishroddom@motorola.com> Compose Message "To" field allows adding sequence of characters as contact

When we select this option, this sequence of characters (which is neither a
valid email address nor a phone number), gets stored in contact with type MOBILE.

Fix: In function canAddToContacts, adding a check to validate whether the contact
to be added is a valid email address or phone number. If not, user will not be shown
with the option "Add to Contacts".
elephony.java
84235ee923c13e58ce339c25c86f734b338a81e0 23-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add extra to exclude specific MIME-types from Fast-Track.

Also added ContactHeaderWidget accessor for passing along
this list when triggering Fast-Track. This is used so that
the header widget can hide the profile icon when launched
while already looking at the profile.
ontactsContract.java
06a0323a5439ba5c1c31f9adb70918b5bf5f61de 22-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add fields to pass ungrouped counts to UI.
ontactsContract.java
527f015b9a99b64a20bcbfe6aad78e815365c760 20-Aug-2009 Scott Su <scott.su@myriadgroup.com> Remove the decleration of com.android.im.plugin.jar in platform.xml
Add a column definition for keep_signed_in when query the active account with a given provider
m.java
1abf498e7fbd914d12843b3426c1f26bde3b2e79 21-Aug-2009 Wei Huang <weih@google.com> add a "display_sent_time" column to the message table, to provide a hint that the UI should display time stamp for this message always. Add Gservices settings for gtalk stuff.
m.java
ettings.java
31f5dd3cdc4ade58ece5b5e14365634a0a3e6a1c 21-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Cleaning up Presence API
ontactsContract.java
eb1a2ec4b2a429ceb924e6bce46b2b52c1cd85b2 21-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a "Photo" directory under Contacts.
ontactsContract.java
9e61acd9ff267fe9fdbcd130905bdd63ff70db3a 20-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22105 into eclair

* changes:
Add calendar sliding windows setting.
f0f13aeadd5c9f9cfe19e6b115b3501705a97076 20-Aug-2009 Ken Shirriff <kens@google.com> Add calendar sliding windows setting.

GOOGLE_CALENDAR_SYNC_WINDOW_UPDATE_DAYS indicates how often to update
the calendar sync window.
ettings.java
1c1629da30bd1b125c59ab9bbcecff3bb3e74324 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Protecting access to the new Contacts API with a try/catch block.
ontactsContract.java
3c513ed95cee2e0bcd7208cb7e46307f09c907c9 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Converting CallerInfo to new Contacts API.
ontactsContract.java
a1f1879beaf10375734eecdb34977304483e0f88 19-Aug-2009 Jeff Sharkey <jsharkey@android.com> Remove SOURCE_VISIBLE flag that is otherwise unused.
ontactsContract.java
9303295e1db08bf73ebabac425bd39728bb2f893 19-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Redefining phone lookup API.
ontactsContract.java
a659744041d0b74b4243fdd448a5fa302a581278 19-Aug-2009 Jeff Sharkey <jsharkey@android.com> Flag to make all contacts from specific source visible.
ontactsContract.java
7b6771a97b9abe821e1cc6c126990fe960278f3a 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> Bring back per-Account Contact-specific settings.

These are used for two purposes: a flag indicating the
default sync state for Groups to inherit, and a flag that
marks when Contacts that don't belong to any specific group
should be visible in UI.
ontactsContract.java
ef99e248fe5f556bbd216d3ac669391b83ab5ebb 18-Aug-2009 Jasperln <jasperln@google.com> am f5e6a211: Merge change 21572 into donut

Merge commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1' into eclair

* commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1':
Add constants to adjust Vending input and output buffer sizes.
3d037078b8313afb003e32d15a47a3b57af776cb 18-Aug-2009 Ken Shirriff <kens@google.com> Add new calendar database columns; do not merge (cherry-picked 1fa64)

The columns are guestsCanModify, guestsCanInviteOthers,
guestsCanSeeGuests, organizer, and canInviteOthers.
alendar.java
b95277e76291729ac2f2254372ae62ea88789443 17-Aug-2009 Jasperln <jasperln@google.com> Add constants to adjust Vending input and output buffer sizes.

- Needed for Bug: 2058060
ettings.java
106278c40271fec941a86e5eac66ae5c8477a56a 17-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21432 into eclair

* changes:
do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
403d7ac7d14e87ecc7df25a1fbb79649ec5ada90 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> Bring back SHOULD_SYNC flag so sync groups can be edited.
ontactsContract.java
ffd0cb04f97e62d286d185c520580d81a9c328b1 16-Aug-2009 Fred Quintana <fredq@google.com> do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
alendar.java
ubscribedFeeds.java
yncStateContract.java
c650bf583dbed8701da9a49b9dbd9023768f0df8 14-Aug-2009 Wei Huang <weih@google.com> Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings.
m.java
ettings.java
ed8cb3931d49134c31dadca5755fc730257d052d 13-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20419

* changes:
new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.
62b83b7fc4642b71829737494258f12996bc1baa 12-Aug-2009 Jeff Sharkey <jsharkey@android.com> Deprecate extra gd:structuredPostalAddress fields.

For the purposes of contact data, there are some postal
address columns that are unsupported, since they don't
directly contribute to a "mailing address" for a person.

http://code.google.com/apis/contacts/docs/3.0/reference.html#structuredPostalAddressRestrictions
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress
ontactsContract.java
c5127603976b27475921ace59168d2b920219a8e 12-Aug-2009 Cynthia Wong <cynthiaw@google.com> Rename gmail-ls log tag to Gmail
mail.java
4cd1b5a15aedef1d3d6a47b5124f3fe978c114c8 12-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20787

* changes:
Removing primary/default phone number and email on contact from the API.
1e4807aaf4854645616814169987ad153a70b5ff 30-Jul-2009 Wei Huang <weih@google.com> new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.
m.java
ettings.java
c030a48c1e9e2923e8dee320dd3085dc3324b9a4 11-Aug-2009 Debajit Ghosh <debajit@google.com> add gservices setting for switching sync subscriptions to use a new routing info.
ettings.java
074fbfe62739c45f5eeb343f0053577221f800ec 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing primary/default phone number and email on contact from the API.
ontactsContract.java
81df0d9487ea498f9746ca33b17b5c2f5224bf72 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8575

* changes:
Support INSTALL_DRM permission
507f1607f7f7216c0e66751a30949c9670c57f09 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a MARKED_AS_DIRTY parameter to Groups.
ontactsContract.java
0d54b02b75dc2f6a4a35b583258692621e7372ce 11-Aug-2009 Cynthia Wong <cynthiaw@google.com> Add a new setting for controling how much time to wait before discarding uphill operations
ettings.java
8cb14280d495121854917850ff63d81f00733c55 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20660

* changes:
add the deleted flag to the Groups table
326580d59aa803aa217f89337757a5b7b400b486 10-Aug-2009 Ken Shirriff <kens@google.com> Add calendar_sync_window_days setting to control calendar sync window.
ettings.java
00c89f6266d1b559538b00000efeb905e00161cd 10-Aug-2009 Fred Quintana <fredq@google.com> add the deleted flag to the Groups table
ontactsContract.java
058779c9bbdfcc8773b181eb87de299ca7269c4d 07-Aug-2009 Christian Sonntag <cxs@android.com> Add constant for storing market backup state in shared preferences.
ettings.java
fcfd7bea4a1a8423e1cf2f15062ec8a0ef310bfb 07-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20357

* changes:
Remove Voice Search constants, factored them out into the Voice Search app.
d4e0b5713add447bbba7d716c112f425d6888f3b 07-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.

Also, giving Presence.RAW_CONTACT_ID and Presence.DATA_ID unique ids to allow easy joining. The main rationale for this is that SQLite does not allow cross-database joins in VIEWs, so we cannot hide this join inside a VIEW.
ontactsContract.java
8dcd14021c4164f0e75308bcf6bc9d6a1c1f6eff 07-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing default email and phone number to replace the primary ones on the Contact.
ontactsContract.java
50dac8c67379e6d765ca3be19b069eaba19c863d 07-Aug-2009 Alex Gruenstein <alexgru@android.com> Remove Voice Search constants, factored them out into the Voice Search app.
ettings.java
8851e163fc5bc17d139bf29cd2ec2f3926d342bc 06-Aug-2009 Fred Quintana <fredq@google.com> - add several common kinds and beef up some others
- change the ContentProviderOperation selection backref store the backref as a long instead of as a string
ontactsContract.java
6bfe14dea21deec4c90ceea79b8f810164f88031 06-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add SHOW_OR_CREATE size modes, trigger from contact header.

Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE. Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
ontactsContract.java
d657b72aeb9f4cd7653593c2ec66b786dbbc6a05 05-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20126

* changes:
Removing SyncColumns from Contact - they were put there by accident.
46e1198c9ebc31949cb4d804fdaa2a4c9e8fd955 05-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20146

* changes:
Calendar attendee support: add columns.
79f0c56b63bd73585cebf6930c3783c140c6e465 05-Aug-2009 Ken Shirriff <kens@google.com> Calendar attendee support: add columns.

Add HAS_ATTENDEE_DATA and OWNER_ACCOUNT column names to the provider classes.
alendar.java
c9ec66b68b4ec98c9b2acb10ea25cfd7f0f648a2 05-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing SyncColumns from Contact - they were put there by accident.
ontactsContract.java
2ba1262b420ef5b9abebcd818c46774b8517f244 04-Aug-2009 Patrick Scott <phanna@android.com> Add a callback for the url of an apple-touch-icon.

Hide the apis until this is a well-tested feature. The url is reported rather
than the actual icon since it may never be used. The apple-touch-icon is meant
for shortcuts on the home screen.
rowser.java
0f0767d4daa847314bd9473ef3650d26d1c51c8c 05-Aug-2009 Tadashi G. Takaoka <takaoka@google.com> am 94e114c9: Moved Market related Checkin Stats enum to Events enum and merged

Merge commit '94e114c951008c831d1a31a2e6773fb40e4e9392'

* commit '94e114c951008c831d1a31a2e6773fb40e4e9392':
Moved Market related Checkin Stats enum to Events enum and merged
94e114c951008c831d1a31a2e6773fb40e4e9392 04-Aug-2009 Tadashi G. Takaoka <takaoka@google.com> Moved Market related Checkin Stats enum to Events enum and merged

Internal Bug: bug1844952
heckin.java
1c2a8963d6ebac2df312ddd7e43ed4bcd9e087e0 04-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9693

* changes:
add missing types
3f86715d77f5c3d504aac449755d69d99aecdf51 03-Aug-2009 Fred Quintana <fredq@google.com> add missing types
ontactsContract.java
ee2805d906a86395a00b1db4d648dc3a31ff780d 04-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9672

* changes:
Adaptive heartbeat protocol implementation: server configured settings.
47b4a55e36a3ece0f7e76207a111148c4f81c136 04-Aug-2009 Ye Wen <ywen@google.com> Adaptive heartbeat protocol implementation: server configured settings.
m.java
91e4e85752ee60ef4965e5974cc3f62e3d0651fd 04-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding "service" columns: SYNC1, SYNC2, SYNC3, SYNC4 and SYNC5.

These columns will be used for things like sync parameters of a photo or group.

Also removing some obsolete deprecated APIs
ontactsContract.java
1132200fa1f545a34f700d6000ded8c8c56134e4 05-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added an extra for sharing a target rectangle extra.

Used to pass a location using screen coordinates when
starting a SHOW_OR_CREATE_CONTACT activity.
ontacts.java
ontactsContract.java
732da9293ac39bd0f14ed61367b7e76a76df2793 30-Jul-2009 Jeff Sharkey <jsharkey@android.com> Separated IM protocol into two fields, similar to TYPE.

In previous releases, we had combined well-known protocols
and custom protocols into a single field. This was because
of previous database constraints, which no longer exist
because of our new Data table approach.
ontactsContract.java
b995b21d67cae4580ca0a01d8e5bea03bb1cfa6c 30-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9198

* changes:
Fix missed Aggregate->Contact name change.
ac39b26b5195d08a9f8e8c3a1bb612a2e2a608a2 30-Jul-2009 Evan Millar <emillar@google.com> Fix missed Aggregate->Contact name change.
ocialContract.java
bd5ddf01e4d629982fa8bb667d4be7c5ec3aa79f 30-Jul-2009 Mike Lockwood <lockwood@android.com> Wifi: Add support for enabling Wifi while in airplane mode.

If the new system settings value for AIRPLANE_MODE_TOGGLEABLE_RADIOS
contains RADIO_WIFI, then the user will be allowed to enable Wifi
while in airplane mode.
Turning on airplane mode will still disable Wifi, but the user will
be free to reenable it in the Settings app.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
9953eb27edc7eda07505d47a71e377f8bcdf8dd1 29-Jul-2009 Wink Saville <wink@google.com> DO NOT MERGE - Fix CNAP-related NullPointerException

This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown.

This was already merged into master so marked will not be merged.
allLog.java
7cca5f83638b019cc68acfaedd533602a97486b0 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Renaming Aggregates to Contacts
ontactsContract.java
ocialContract.java
facbbb37835020b767f259f0f625386b52b2ad89 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Renaming CONTACT_ID to RAW_CONTACT_ID
ontactsContract.java
d5f56d1467cb877aa216effd605745f5f22b1917 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing Contacts#DELETED flag.
ontactsContract.java
2365ded4465332cc1de7fa661e2198854153d6dd 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Renaming ContactsContract.Contacts to ContactsContract.RawContacts
ontactsContract.java
ef348c757d79e1751329db6746dbf846bdea6fc9 26-Jul-2009 Jeff Sharkey <jsharkey@android.com> Minor naming fixes.
ontactsContract.java
bc2d2a32d52f0e68273ce3f6ffa8c49f0c433311 25-Jul-2009 Tom Taylor <tomtaylor@google.com> Support INSTALL_DRM permission

Add overloaded function to write to DRM with a
stream. Used by MMS to save protected content.
rmStore.java
55048a980e80cddf8d3556f3feaf235759ef24dd 24-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Associating Presence with Contact rather than Aggregate.
ontactsContract.java
e60066db189d429564632f64b14c2b32538a3b02 24-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 0e638630: Merge change 8291 into donut

Merge commit '0e6386300c958c5566d09b6a18b4338a6db3e965'

* commit '0e6386300c958c5566d09b6a18b4338a6db3e965':
Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
f965d1690e462abcbb55ea7b289fd15c62b2c23b 23-Jul-2009 lknguyen <lknguyen@google.com> Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
ettings.java
02c5b45565fd3a933b5dd5a868b7db33455d697c 23-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding contact group NOTES and SYSTEM_ID
ontactsContract.java
8a0193e4ca1522b9a817ebd399812b6e2f1b0cdc 21-Jul-2009 Jeff Sharkey <jsharkey@android.com> Added StructuredPostal, renamed PACKAGE columns, cleanup.

Changed Postal to StructuredPostal, which is the new type
coming down from GData. This also prepares us for upcoming
data sources that need a structured version. Because of the
number of columns required, we added 3 new DATA columns.

Moved PACKAGE back to Data rows to allow multiple apps to
merge their action entries under a single Contact. Also
renamed to RES_PACKAGE to make clear that these packages are
strictly for loading resources, and do not imply the owner.

Removed RestrictionExceptions since we narrowed the scope
of IS_RESTRICTED for Eclair. Factored out sync columns from
Groups and Contacts into its own interface. Fixed general
warnings in comments.
ontactsContract.java
ocialContract.java
71effba5ac09a02704b564a7e89b797768a47103 21-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 6fb608ee: Merge change 7854 into donut

Merge commit '6fb608ee67c3ad82baf2253b87b63fff8907992a'

* commit '6fb608ee67c3ad82baf2253b87b63fff8907992a':
Issue #1884058 (Need to only record frequency and duration for selected Google apps)
9fdbf6ae465f90b50ca5feb320215b98018c9937 19-Jul-2009 Dianne Hackborn <hackbod@google.com> Issue #1884058 (Need to only record frequency and duration for selected Google apps)

Quick and dirty solution: a new --packages argument allows you to specify an explicit
set of packages to include in the dump. There is also now a new GServices setting
that can provide a value for it.
ettings.java
761ef2a281a16bade5203db99e204aa303660ac4 17-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Contacts Data type consistency.
ontactsContract.java
ffc34c13fb6b420c78fbd317f21363cd97a43db9 15-Jul-2009 Fred Quintana <fredq@google.com> finish the group membership support
ontactsContract.java
c991bfc53ff287c512a8ba567135499cc4157900 15-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Replicating contact option columns between Aggregate and Contact.
ontactsContract.java
b926375cdabef2e56a8212a9fa1774566f659eae 15-Jul-2009 Evan Millar <emillar@google.com> Add Uri for filtering the aggregate summary on group name.

New Uri is:

content://com.android.contacts/aggregates_summary/group/*

Where * should be replaced by the group name.
ontactsContract.java
2debd56b5b24d7f4c385f64bfcaf23d00d4d986a 14-Jul-2009 Tom Taylor <tomtaylor@google.com> Add new gtalk values

Add new gservices strings for various picture related urls for GTalk.
ettings.java
4573df4db0d4dc0dfcac15e8fe35b9939e351bcf 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 5628711a: Merge change 6855 into donut

Merge commit '5628711a6f5674070da674488513d2e1b03c4959'

* commit '5628711a6f5674070da674488513d2e1b03c4959':
Add a Gservices setting to control if we send up multipart protocol buffers
5628711a6f5674070da674488513d2e1b03c4959 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6855 into donut

* changes:
Add a Gservices setting to control if we send up multipart protocol buffers
6d713b7616ed79c98f138e01593d4c2a1ee194fd 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 4caac2bb: Merge change 7140 into donut

Merge commit '4caac2bb4c8616edf8224408931ffc0e532537de'

* commit '4caac2bb4c8616edf8224408931ffc0e532537de':
Add more logging to track down a monkey bug
6a535849fbb5f16e7610932de76df0478b5a05af 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7146

* changes:
Fix CNAP-related NullPointerException
f748f22f4e62d549dde8f56e0f52476f061f7bc0 14-Jul-2009 Tom Taylor <tomtaylor@google.com> Add more logging to track down a monkey bug

The monkey has found a situation where getting or creating a thread id is
failing. Add more logging code to help track down the bug.
elephony.java
e1dc2baee7e3c5cfc03cc573567c3146da24dab0 11-Jul-2009 Pauyl l Berman <w35028@motoolarola.com> Fix CNAP-related NullPointerException

This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown
allLog.java
ae4f31706fa0589ede00dfce344779a1570cd2f3 14-Jul-2009 Fred Quintana <fredq@google.com> - add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract
- make android.accounts.AccountAuthenticator into a public constant
ontactsContract.java
0f4e1ab773d4d52bfb85a9ad2f050ead3b8b4e49 10-Jul-2009 Fred Quintana <fredq@google.com> - remove an un-needed constant
- add a content provider helper that manages a table for storing sync state by account
- add contact definitions to Contacts access the sync state
ontactsContract.java
yncStateContract.java
1c5e4034e47be32e739972860cbca0afdbe807ef 09-Jul-2009 Wei Huang <weih@google.com> modify Gservices setting for push messaging registration url.
ettings.java
278a802dcd5d5454143127d0d59a6eb0ba96ecc7 10-Jul-2009 Cynthia Wong <cynthiaw@google.com> Add a Gservices setting to control if we send up multipart protocol buffers
ettings.java
54a26bc85f4fe972e929e42b986c65a710a229b3 11-Jul-2009 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 889c2d37 to master
889c2d37f784301ea968e8a44d450ae1d8717a18 10-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6718 into donut

* changes:
Fix bug #1873249i: Apps can DoS/brick device
854060af30f928c0a65591e9c8314ae17056e6b8 10-Jul-2009 Dianne Hackborn <hackbod@google.com> Fix bug #1873249i: Apps can DoS/brick device

This is the problem where various things are listening for broadcasts
(such as battery status, PIN/PUK/Network) that an application can send
to cause harm to the system.

Solving this is tricky because many of these broadcasts are sticky,
and I have never figured out how to do permissions with sticky
broadcasts in a sane way. So instead, I am going to punt on the
general problem and just brute force it:

There is new a way for system components to declare specific
broadcast actions to be protected, which means that only the system
and the phone can send them. This is good enough for now. None
of it is exposed in the public API so we can make something a little
less stupid in the future if we ever need to.
elephony.java
12f7a7b5c33ac187712a2d77a8ad903c1874573a 10-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6679

* changes:
remove the accounts table from the ContactsProvider2
d8980134e79dac66c3d9578309e4a5dceb329171 10-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6664

* changes:
New sync framework: add new columns.
1d6442f0ad085a806f96fcda1aab61b127a6924e 09-Jul-2009 Ken Shirriff <kens@google.com> New sync framework: add new columns.

These columns will be used by the new sync framework. The old columns
will be removed later.
alendar.java
27143289799b15d9c9e1d19f1bc2c10e5a384712 09-Jul-2009 Fred Quintana <fredq@google.com> remove the accounts table from the ContactsProvider2
ontactsContract.java
f00193ff7ac1872fc88f86b5150e023c09846df9 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 8f7c7c0c: Merge change 6659 into donut

Merge commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924'

* commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924':
Add a Gservices setting to set the rate at which the home page refreshes.
21bf2416512a8bdf4f3a0fd9f788f409d6013c32 09-Jul-2009 Sanjay Jeyakumar <sjk@google.com> Add a Gservices setting to set the rate at which the home page refreshes.
ettings.java
b2909eb9509092f1479ba7883dfaa1f1e7f4cc23 17-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added groups constants and visibility flags.

Wrote code to support groups and slightly modified existing
group membership definition. Each group has a TITLE, or a
TITLE_RESOURCE which can point to a localized title from
the owning package.

Adds summary Uri with columns that describe the contents of
all returned groups, such as people counts.

Added visibility flag to groups and aggregate tables to
prepare for group management UI.
ontactsContract.java
2eac99ccbcdcc91b69c04ea2eb03f4cba961c17c 08-Jul-2009 -b master <yamasani@google.com> resolved conflicts for merge of d6fe243c to master
8823c0a8c68fe669c21c539eef9fc6541f0c7494 07-Jul-2009 Amith Yamasani <yamasani@google.com> Backup / Restore locale preference.

Also backup development settings MOCK_LOCATION and USB_DEBUGGING.
Backup and restore more of the Audio settings. Won't work yet without a reboot.
Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to
permissions problems.
Don't restore Ringtones.
ettings.java
8091a0f3ea0f80164546da9f8cf15ea85d1da721 08-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5873

* changes:
Added URI for querying event instances by day in addition to by time-millis
f6737d3ae0f0ca49112807502cc0a272febf3b35 15-May-2009 Yusuf T. Mobile <yusuf.saib@T-Mobile.com> Fix to Android issue 453
allLog.java
be11746cb750a6d8b8dcd37e18dc87547e95692a 07-Jul-2009 Cynthia Wong <cynthiaw@google.com> am 04f0b05e: Add a Gservices setting for how many times we should retry before discarding an uphill operation

Merge commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313'

* commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313':
Add a Gservices setting for how many times we should retry before discarding an uphill operation
04f0b05ea04a4a13d6a15b36eaa27b2ec364f313 07-Jul-2009 Cynthia Wong <cynthiaw@google.com> Add a Gservices setting for how many times we should retry before discarding an uphill operation
ettings.java
48f7d85d7b6be25f17f269adc7794e53121bbe2c 07-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am dbee95ca: Merge change 6317 into donut

Merge commit 'dbee95cacff9d2faf30638e64abe26fbeb128787'

* commit 'dbee95cacff9d2faf30638e64abe26fbeb128787':
Make enable/provisioning of the backup service a two-step process
8031a3df2fd0c38d85eeae39c1ea2c83e813f4ff 07-Jul-2009 Christopher Tate <ctate@google.com> Make enable/provisioning of the backup service a two-step process

This CL adds the concept of 'provisioned' to the backup manager. No backups
will be scheduled until the user has indicated that backups are to be enabled
*and* has clicked all the way through the setup wizard.

When the user first turns on the backup system, the delay before the initial
backup pass is different from the periodic backup interval. Currently that
initial delay is 12 hours. The intent here is to guess at a less-active time
for performing that first backup pass.

NOTE: currently the backup service defaults to 'provisioned'. Once the real
code goes live in Setup Wizard, this will be changed to default to
not-provisioned until the user has confirmed all the relevant UI.
ettings.java
501eec92f9f4f206ad7972c63f2d0ef0285d8e34 06-Jul-2009 -b master <yamasani@google.com> Revert "hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to interface changes on master, the change will need to be made again"

This reverts commit f8e3ba5bfad14f3037d72eb6243258c13169cbd8.
ettings.java
ff7d0e2bcc6ff056471863ac9aee95e93f19bfed 06-Jul-2009 Marco Nelissen <marcone@google.com> am 816cf52a: Fix the DEFAULT_SORT_ORDER value for media files. Changing this is OK, because existing app will have the old value compiled in as a literal, and so will continue to (not) work in the same way as before. Add code to media key generator to give a leading a

Merge commit '816cf52abd8f45770f0ac922bbb819184ed4b90f'

* commit '816cf52abd8f45770f0ac922bbb819184ed4b90f':
Fix the DEFAULT_SORT_ORDER value for media files. Changing this
816cf52abd8f45770f0ac922bbb819184ed4b90f 06-Jul-2009 Marco Nelissen <marcone@google.com> Fix the DEFAULT_SORT_ORDER value for media files. Changing this
is OK, because existing app will have the old value compiled in
as a literal, and so will continue to (not) work in the same
way as before. Add code to media key generator to give a leading
ascii \001 the special meaning of "sort first".
ediaStore.java
f8e3ba5bfad14f3037d72eb6243258c13169cbd8 03-Jul-2009 The Android Open Source Project <initial-contribution@android.com> hand rolled out 220f4d633be1098e7887dbd06f179138bf19f1ad due to interface changes on master, the change will need to be made again
ettings.java
133ec72f2480a65a02c8e1e5d9540796a0d05895 03-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 288fe16c: Merge change 6043 into donut

Merge commit '288fe16c20e2c20556839046d38c487b0b18735c'

* commit '288fe16c20e2c20556839046d38c487b0b18735c':
System and Secure settings backup.
5d16cd046298ec9e009cfdd2056c64c1a9ac5ba3 03-Jul-2009 Dianne Hackborn <hackbod@google.com> am d7cd29da: Add facility to run setup wizard after an update.

Merge commit 'd7cd29da91ccc0aba1f1097e19366f9ca36c7ce1'

* commit 'd7cd29da91ccc0aba1f1097e19366f9ca36c7ce1':
Add facility to run setup wizard after an update.
575d1af980f4b4866325bfc487455f54606cf49e 03-Jul-2009 The Android Open Source Project <initial-contribution@android.com> resolved conflicts for merge of cf098294 to master
220f4d633be1098e7887dbd06f179138bf19f1ad 02-Jul-2009 Amith Yamasani <yamasani@google.com> System and Secure settings backup.

This backs up the basic system and secure settings. THe restoration doesn't
take effect immediately. You many need to restart the runtime to see all
restored values take effect.
ettings.java
023d7564a6b6bce894aba4eaf00133c6f86d1de5 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am f3ab3c34: Merge change 5833 into donut

Merge commit 'f3ab3c3437f18834ce63542062c2ed7a87a05fca'

* commit 'f3ab3c3437f18834ce63542062c2ed7a87a05fca':
Fix nit on length of flag constant.
74ab31598bb65b17f84411d11d09269f1291d78a 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am d8de2ba4: Merge change 5750 into donut

Merge commit 'd8de2ba42679a10db2adc11995d6596a0045ab3a'

* commit 'd8de2ba42679a10db2adc11995d6596a0045ab3a':
Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
d7cd29da91ccc0aba1f1097e19366f9ca36c7ce1 01-Jul-2009 Dianne Hackborn <hackbod@google.com> Add facility to run setup wizard after an update.

The system now keeps a tag of the last version (just an arbitrary string)
that the setup wizard was run for. If this is different than the current
one in the setup wizard, then setup is launched at boot.

This introduces a new intent action for the part of the setup wizard that
gets run for an ungrade, which the system uses to find its current version
tag for comparing against what was last stored. It is up to the launched
setup activity update the stored setting to reflect its current value,
once it is happy.
ettings.java
cf098294da7a820d5c30d8ed2006ed5446ee1da9 02-Jul-2009 Dianne Hackborn <hackbod@google.com> Move backup state to settings, change permission checks to use symbol.

This changes the backup service to use the settings provider instead
of system properties, correspondingly making it off by default and
allowing specific devices to define the transport. Also tweaks
the permission checks to use the permission symbol instead of raw
strings.

This requires some corresponding changes in the vendor projects.
ettings.java
4cf3c3b115a77080ada0408d7b65922501b06379 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 5fb4cab2: Merge change 5787 into donut

Merge commit '5fb4cab2db174bff5e28a3a2c6f50c07e0f7a845'

* commit '5fb4cab2db174bff5e28a3a2c6f50c07e0f7a845':
Fix http://code.google.com/p/android/issues/detail?id=3059
2cfb0d166b5e8a0e89b2b3d19abe4f76ff38cfab 01-Jul-2009 Michael Chan <mchan@android.com> Added URI for querying event instances by day in addition to by time-millis

modified: core/java/android/provider/Calendar.java
alendar.java
f3ab3c3437f18834ce63542062c2ed7a87a05fca 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5833 into donut

* changes:
Fix nit on length of flag constant.
09b3373d83a0f582eae46562bc307022c64ac497 30-Jun-2009 lknguyen <lknguyen@google.com> Fix nit on length of flag constant.
ettings.java
d8de2ba42679a10db2adc11995d6596a0045ab3a 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5750 into donut

* changes:
Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
5fb4cab2db174bff5e28a3a2c6f50c07e0f7a845 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5787 into donut

* changes:
Fix http://code.google.com/p/android/issues/detail?id=3059
2f189fa0f75d6899b9fa7db11f5301bc7850b744 30-Jun-2009 Marco Nelissen <marcone@google.com> Fix http://code.google.com/p/android/issues/detail?id=3059
ediaStore.java
b0cba433057857ab61d2231a979a50c2b999f9e7 30-Jun-2009 lknguyen <lknguyen@google.com> Add a new checkin server flag for Vending Machine client server ping frequency for pending downloads.
ettings.java
2187f30d147fddafe1304af45bb43e8fedf06cea 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a1590586: Merge change 5578 into donut

Merge commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9'

* commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9':
Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
74d909565beece0049ab45b2def48c792aa1bb3d 27-Jun-2009 Mike LeBeau <mlebeau@android.com> Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION
as we are replacing that with this.
rowser.java
693d50e7aef79f16519bf9786af68124ffaf5cd8 22-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Moving send-to-voicemail and ringtone-uri up to the aggregate level.
ontactsContract.java
8df2770995e84ac18d74bf5f5c2e3b53d3ba5807 26-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5234

* changes:
Adds precedence information to the CommonDataKinds.Im class.
c043752ca3cdd71fbee868a351881bd4272c31a7 24-Jun-2009 Evan Millar <emillar@google.com> Adds precedence information to the CommonDataKinds.Im class.

There is now a method getPresencePrecedence() that returns an integer
representing the precedence of a presence status, 1 being the highest
prcedence.
ontactsContract.java
bcab8df83e6e769a7cbcc742e72b47d665998793 25-Jun-2009 Mike Lockwood <lockwood@android.com> Settings: Add preference to enable/disable assisted GPS.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ettings.java
8ad2246edd526b7bef1b04e3a69faf2707691375 25-Jun-2009 Wei Huang <weih@google.com> add Gservices setting for data messaging app token url.
ettings.java
b3222875943efba066896c140b7cf7d58b423870 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 60a0ad65: Merge change 5329 into donut

Merge commit '60a0ad65f4cd7dedbbd06993d107fb1b72d072c6'

* commit '60a0ad65f4cd7dedbbd06993d107fb1b72d072c6':
frameworks/base - CDMA settings additions
d0f6715dcb68fbcee12e0c73326c8d872cb9c5a4 14-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base - CDMA settings additions

These changes are the frameworks/base portion of CDMA UI changes.

Five settings are added:
- In-call DTMF type (burst or long)
- Emergency tone type
- CDMA auto-retry
- Hearing Aid Compatibility (on/off)
- TTY mode
ettings.java
57ac3d59c139ebc7d5ef470cbfb8bd315eff7a3e 15-Jun-2009 Jeff Sharkey <jsharkey@android.com> Moved owning package and restricted flag to Contact.

Instead of having unique owner packages and restriction
flags being enforced on each Data item, I moved these
columns up to the Contact level. This approach greatly
simplifies the provider logic.
ontactsContract.java
ac9385ef3105fb7464e1f46049c62755a8b7f0e9 23-Jun-2009 Fred Quintana <fredq@google.com> - clean up the sync settings names to:
(get|set)SyncAutomatically
(get|set)MasterSyncAutomatically
- change SYNC_EXTRAS_FORCE to SYNC_EXTRAS_MANUAL to mace clear that
this overrides the .*SyncAutomatically settings
- make ContentResolver methods that call the sync controls methods
in IContentService so that SDK users can use them
- rename startSync to requestSync to reinforce the fact that a sync
is not immediately or always started when this method is called
- add an Account parameter to all the sync settings and control methods
- change the sync control methods to take a String authority rather than a Uri uri
ync.java
fc542816ba3f6eb820749840c70dc6670eea9a5e 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4939

* changes:
mods so that we can search mms messages
61f24e58d6b86667906c8ac84e2f09b6c7e4ac2c 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2830b922: Merge change 4977 into donut

Merge commit '2830b9226bc737da970f8d20601ccde19008415c'

* commit '2830b9226bc737da970f8d20601ccde19008415c':
Update the gservices gtalk setting for the terms and services url.
2c0a01a6e775ad0d76a2f7169497e73b96ef5ab3 23-Jun-2009 Tom Taylor <tomtaylor@google.com> Update the gservices gtalk setting for the terms and services url.
ettings.java
f4f8a7fe467c2f7514bf528d0a3e8926c2813c0f 19-Jun-2009 Mark Wagner <mxw@google.com> mods so that we can search mms messages
elephony.java
90c8f83538cc9dd79e68d167263095b98870fed4 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am d6dd686b: Merge change 4805 into donut

Merge commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f'

* commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f':
add GServices settings for Google Talk privacy and legal urls.
ceca25fdb019ef11e28b88e4575e6594cc46b55d 19-Jun-2009 Wei Huang <weih@google.com> add GServices settings for Google Talk privacy and legal urls.
ettings.java
d6377fbe7eb570b880ce5f1fcc71a556a24961ba 22-Jun-2009 Leon Scroggins <scroggo@google.com> resolved conflicts for merge of 9336f5d9 to master
9ce4c6c5cfc111a73e0cfc3c94daa50346c56867 19-Jun-2009 Leon Scroggins <scroggo@google.com> Make browser bookmarks permissions part of the public API.
rowser.java
f1891f4b79127ae8e0f3b2e8b2c3062e3f6a64c3 20-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 52546575: Merge change 4818 into donut

Merge commit '5254657540b0a6ad54be6229b68fa5626e4ef9e5'

* commit '5254657540b0a6ad54be6229b68fa5626e4ef9e5':
Added in Settings.Secure default country and variant for the default TTS language.
dc2da5fd922fc8de0ffcb22df3622b57ed777732 19-Jun-2009 Evan Millar <emillar@google.com> Copies the Contacts.Intents class to ContactsContract.

ContactsContract now contains all the useful constants that are
contained in Contacts.Intents. Because we have to continue to
support the Contacts interface, the constants are kept there,
but now simply reference the real versions in Contacts.Intents.
Contacts.Intents will be deprecated and developers are encouraged
to move to Contacts.Intents.
ontacts.java
ontactsContract.java
a6fcc9541161de5d1c39e62d2646076706d87b96 19-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Added in Settings.Secure default country and variant for the default TTS language.
ettings.java
44c6e3e7857ac79694a439428bad6a6a6c8f1c5a 19-Jun-2009 Ye Wen <ywen@google.com> Fix bug1435331: add a gservices setting for the retry threshold of auth expired failure.
ettings.java
350feeb8368846d674321db4fc1bee233959e4cf 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am b00518d8: Merge change 4796 into donut

Merge commit 'b00518d81550c638728b53346a2a25f0a80a1049'

* commit 'b00518d81550c638728b53346a2a25f0a80a1049':
Move USE_LOCATION_FOR_SERVICES to Secure.
d0b47a1740408d4e97d03765d41c39313791f943 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ba6409f1: Merge change 4706 into donut

Merge commit 'ba6409f1f69db7dfa16d5b914d2bc41a3aa43caf'

* commit 'ba6409f1f69db7dfa16d5b914d2bc41a3aa43caf':
Add a new checkin server flag for Vending Machine heartbeats.
630cd06414dede289e5319861b6c06984b7953ae 19-Jun-2009 Amith Yamasani <yamasani@google.com> Move USE_LOCATION_FOR_SERVICES to Secure.

Since SetupWizard needs to be able to write the setting, it
couldn't live in Gservices. Moved it to Secure.
ettings.java
36adccf74fcc58aa0cc8b2a79abefec7c22a867d 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4550

* changes:
add a checkin eventlog tag for reporting GTalk heartbeat timeout; remove unused adaptive heartbeat settings.
abd7eba70b38752d0ecac98e51416d2b33d2d1ec 19-Jun-2009 Linda Nguyen <lknguyen@google.com> Add a new checkin server flag for Vending Machine heartbeats.
ettings.java
9f53fcaacf745c1337144685cc30ad3f4740e885 19-Jun-2009 Leon Scroggins <scroggo@google.com> Another javadoc attempted fix.
rowser.java
7e2ff1a600555accb1836e4e960d705d13e35f60 18-Jun-2009 Leon Scroggins <scroggo@google.com> Truly fix the build (I hope).

I also changed the API. Hide the new fields.
rowser.java
50c786d19cd2c70635a8b655823b2f9e0d654687 17-Jun-2009 Wei Huang <weih@google.com> add a checkin eventlog tag for reporting GTalk heartbeat timeout; remove unused adaptive heartbeat settings.
ettings.java
908baedfcf83abc8f5564aa8b427b05989f8591f 18-Jun-2009 Leon Scroggins <scroggo@google.com> Alter the HISTORY_PROJECTION and BookmarkColumns.

A change to BrowserProvider has added an extra
column. Edit HISTORY_PROJECTION to include it,
add a constant index to access it, and add a
constant to BookmarkColumns to refer to it. Requires
the change to the browser's application package.
rowser.java
9d044514f7777cd42776b7c5251ea83dc4e97931 16-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing aggregation exception API.

Switching from contact-contact pairs to aggregate-contact pairs
ontactsContract.java
e5856bca980d8e7678ae434ccfbb75d5093a7e0f 16-Jun-2009 Grace Kloba <klobag@google.com> am a03f0465: hide the new constant as it is pending api approval

Merge commit 'a03f046522f568a79b75556aa54c0407b1151511'

* commit 'a03f046522f568a79b75556aa54c0407b1151511':
hide the new constant as it is pending api approval
01e28a15b402d89b40969005a60af12cb5dc4356 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 5570f2f2: Merge change 4252 into donut

Merge commit '5570f2f24a74a1f16c781722731ba39f2907cbb3'

* commit '5570f2f24a74a1f16c781722731ba39f2907cbb3':
Add more comment for EXTRA_APPEND_LOCATION
d007d9b89805c237e158b84aa0e3d419d4ad6c87 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 7d143b89: Merge change 4245 into donut

Merge commit '7d143b89b714e077f8fd7dbac80945c76bfd9814'

* commit '7d143b89b714e077f8fd7dbac80945c76bfd9814':
Add the extra data definition for append location in the VIEW request to the Browser.
0e81310677f9e5368761221adeae88bcfe59d19b 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4181

* changes:
Add new URIs to the Phone and Postal classes.
2cc50b12d1ffe2a1b1b08020c8e062af6ba66f32 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 77b7d785: Merge change 4117 into donut

Merge commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07'

* commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07':
Add a Gservices setting to have a "use location for better search".
a03f046522f568a79b75556aa54c0407b1151511 16-Jun-2009 Grace Kloba <klobag@google.com> hide the new constant as it is pending api approval
rowser.java
5570f2f24a74a1f16c781722731ba39f2907cbb3 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4252 into donut

* changes:
Add more comment for EXTRA_APPEND_LOCATION
72afed86d36a7b0e799c62932c08b03e46fca387 16-Jun-2009 Grace Kloba <klobag@google.com> Add more comment for EXTRA_APPEND_LOCATION
rowser.java
7d143b89b714e077f8fd7dbac80945c76bfd9814 16-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4245 into donut

* changes:
Add the extra data definition for append location in the VIEW request to the Browser.
ab36bcccbbd965f9252d662444aae5e717da2abb 16-Jun-2009 Grace Kloba <klobag@google.com> Add the extra data definition for append location in the VIEW request to the Browser.
rowser.java
161dd86394a9733fd7ff303c31481cae7e31e7b4 13-Jun-2009 Evan Millar <emillar@google.com> Add new URIs to the Phone and Postal classes.

The Postal class now contains:
CONTENT_URI
* The content:// style URI for all data records of the
* Postal.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data.
CONTENT_TYPE
* The MIME type of CONTENT_URI providing a directory of
* postal addresses.

The Phone class now contains:
CONTENT_URI
* The content:// style URI for all data records of the
* Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data.
CONTENT_FILTER_URI
* The content:// style URI for filtering data records of the
* Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data. The filter argument should be passed
* as an additional path segment after this URI.
CONTENT_TYPE
* The MIME type of #CONTENT_URI providing a directory of
* phones.
ontactsContract.java
7014a9614540ab0111ae804700761d3a789fadd8 11-Jun-2009 Ken Shirriff <kens@google.com> Move meta feed handling to CalendarSyncAdapter

Removes obsolete LIVE_CONTENT_URI. Now calendar list updates are obtained
through a sync.
bug=1886271
alendar.java
430555acaedb2ba639f37de1cf91bd2e2d98991a 12-Jun-2009 Amith Yamasani <yamasani@google.com> Add a Gservices setting to have a "use location for better search".
ettings.java
451a37ed2d4dca5aed13c4b10bf25590cd41a462 12-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3618

* changes:
Fix bug 1875344 cut 2: adding option to show/noshow away presence when device is idle.
c933fb663e4748c4fa3f92fc63649e5199519a86 11-Jun-2009 Fred Quintana <fredq@google.com> add a data_version column to the data table
ontactsContract.java
c581e27c1397dbe7d007ea1136b6e321ebffe4a3 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3809

* changes:
Add a search uri constant for mms/sms.
0ff9833c9826978d01da61d950f88af26c03c957 11-Jun-2009 Mark Wagner <mxw@google.com> Add a search uri constant for mms/sms.
elephony.java
ca83b1b176756cc6ec0a96af0fdbe6abe95d7f96 11-Jun-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base
0918bf06881f32e6e3cf750f713b16c7d65e4012 11-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding new query: aggregation suggestions
ontactsContract.java
106be41b9ba0be10d1a0e53b205fb705a27002ce 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 1f35bf18: Merge change 3795 into donut

Merge commit '1f35bf18ade606810843c8ec10445fc884d686cb'

* commit '1f35bf18ade606810843c8ec10445fc884d686cb':
URI/extra data for inline scheme.
bd6b11dd582d7c7dde64e355f967f5ed77a9870d 11-Jun-2009 Mitsuru Oshima <oshima@google.com> am e5fb3288: resolution support fix/improvement * adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I\'ll add sdk check later. * disallow to catch orientation c

Merge commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715'

* commit 'e5fb328825995aa33b5b7ecf8b5bee2b17f81715':
resolution support fix/improvement
bd6b2b410f67833589f01a4b5f568c6770aba230 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a45711aa: Merge change 3765 into donut

Merge commit 'a45711aaebc514290fdf0c93f07a3120dc160ddb'

* commit 'a45711aaebc514290fdf0c93f07a3120dc160ddb':
Add a gservices flag to limit the size of protobufs we can gzip
1f35bf18ade606810843c8ec10445fc884d686cb 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3795 into donut

* changes:
URI/extra data for inline scheme.
28b68e5a59289f6947dc799b66a3b503571f876e 11-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added data restriction constants to ContactsContract.

Each data item can now be flagged as IS_RESTRICTED by the
package that owns it. Restricted data items will only be
visible to the owning package, unless the owner creates
RestrictionExceptions for other packages.

Currently @hide, so no current.xml needed.
ontactsContract.java
e5fb328825995aa33b5b7ecf8b5bee2b17f81715 10-Jun-2009 Mitsuru Oshima <oshima@google.com> resolution support fix/improvement
* adding compatibility menu
* backup gravity
* set expanable=true if the screen size is hvga * density.
* added "supports any density" mode. I'll add sdk check later.
* disallow to catch orientation change event if the app is not expandable. This
was causing layout problem under non-expandable mode. I discussed this with Mike C
and we agreed to do this approach for now. We'll revisit if this causes problem to
a lot of applications.
ettings.java
8eb241b877d78cb665e99c6412876ebb1e5c0939 11-Jun-2009 Mitsuru Oshima <oshima@google.com> URI/extra data for inline scheme.
rowser.java
85427f71a410e7165c11598ed41eaaa75b8d6acd 10-Jun-2009 Cynthia Wong <cynthiaw@google.com> Add a gservices flag to limit the size of protobufs we can gzip
ettings.java
26fd4ea25578a215b6a83254e0e32556d1a44f9f 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3279fbad: Merge change 3652 into donut

Merge commit '3279fbad638bd48b8e52a528d75bb5aa4757f81c'

* commit '3279fbad638bd48b8e52a528d75bb5aa4757f81c':
Adding default text-to-speech language in Settings.Secure.
f478267d6a60220fb8078c13971b5d4d3f868d67 10-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding default text-to-speech language in Settings.Secure.
ettings.java
d530b3ce850cfa3d61b79eba1aee6f67b04dba15 02-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added presence columns and changed constants to match provider.

Minor changes that don't need a current.xml because they are @hide.
ontactsContract.java
ocialContract.java
8c737f7353b1cf933b082d17d651cf1b8873b675 09-Jun-2009 Ye Wen <ywen@google.com> Fix bug 1875344 cut 2: adding option to show/noshow away presence when device is idle.
m.java
78e79ad61bee932a9ce1418a9b9e8a5bae8bf2df 08-Jun-2009 Evan Millar <emillar@google.com> Adds BaseTypes interface so that a general TYPE_CUSTOM field is available.

BaseTypes contains only TYPE_CUSTOM.

Changed Nickname's TYPE's to 0 based instead of 1 based.
ontactsContract.java
fa4d817851ee0db782bfa2368a13d9761f62b2ce 06-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 7b0d2d93: Merge change 3223 into donut

Merge commit '7b0d2d933d8a601cf6259f25576f5615ff146b33'

* commit '7b0d2d933d8a601cf6259f25576f5615ff146b33':
Adding new Settings.Secure properties for the Text-To-Speech functionality.
f62ba452bb07407f577cabecde14bfad101d7f43 04-Jun-2009 Jean-Michel Trivi <jmtrivi@google.com> Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
ettings.java
78084a625a13bbafa9f7a3ea3c9c8798b346aa2d 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 3208

* changes:
Add "locked" column to sms and pdu tables.
cc784e3258a020190b20b25ab0fa7423d06035fe 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f1b422d: Merge change 3249 into donut

Merge commit '2f1b422dc8d30da19dfc51911261d92ccccd9edd'

* commit '2f1b422dc8d30da19dfc51911261d92ccccd9edd':
Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
435e427d6930f8610191071656dc26528000620b 05-Jun-2009 Fred Quintana <fredq@google.com> fix a incorrect merge
ontactsContract.java
48603e7fed957f318b12aa24089e0b13c3e78529 05-Jun-2009 Mike LeBeau <mlebeau@android.com> Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
(in a follow-on change). This setting, to be respected by global search, and which
I will also file a bug to the browser to respect, determines whether live web
suggestions will be shown to the user as they type. For privacy reasons, this
could be considered undesirable, as partial queries can then be sent to the user's
chosen search engine, so a setting was required.
ettings.java
55dac1281eb81b6bb255991a0455339b1dbfb3d0 04-Jun-2009 Tom Taylor <tomtaylor@google.com> Add "locked" column to sms and pdu tables.

A user can lock an SMS message and prevent it from being auto-deleted.
elephony.java
d8dfeb5ee82d679f491cd20e776907a69fb4f27c 04-Jun-2009 Fred Quintana <fredq@google.com> - make it easier to add content values to the ContentProviderOperation
- add the group membership common kind as well as some IM utilities to the ContactsContract
ontactsContract.java
a41d3856fafff0e92cc85586c7d2a414036f85ac 04-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Changed aggregate_exception to aggregate_exceptions

Changed singular to plural to follow the apparent convention.
ontactsContract.java
261dbd77063dd8ed00202ae11167d9cd67059fa1 04-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2978

* changes:
Adds "is_primary" and "is_super_primary" columns to DataColumns.
e87b2f02761744520c841f536d3f2d7be97fcc91 03-Jun-2009 Wei Huang <weih@google.com> add Gservices settings for adaptive heartbeat parameters and wifi heartbeat interval.
ettings.java
ab5742dd63f4e62ee0f55f786854c024ef8c5bb4 03-Jun-2009 Evan Millar <emillar@google.com> Adds "is_primary" and "is_super_primary" columns to DataColumns.

Replaces the "primary" values stored in generic data fields with
standard "is_primary" and "is_super_primary" fields in the DataColumns
class. This makes it much easier to watch for changes to these fields
and enforce the uniqueness of primary fields.
ontactsContract.java
ceaafa5f1f0504ec85a7d6cdf45381cf748f54aa 03-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a new type: aggregation_exception.
ontactsContract.java
c9260540729d731e22458ce48127ca2ffaef33ee 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Consolidating data needed for contact aggregator into the data1 and data2 fields.

The aggregator will then only read data1 and
data2 and do the matching on those (taking mime type into account, of course).
ontactsContract.java
03d9490758c9318cee6d14d3cc5007556dce92d0 22-May-2009 Fred Quintana <fredq@google.com> - create a new generic ISyncAdapter implementation, SyncAdapterNew
- change the applyBatch to take an ArrayList rather than an []
- change Entity to be a final flass that contains ContentValues
- remove the ability to update/insert Entities by a ContentProviderOperation
ontactsContract.java
733f840aaa979c010e77cf2a69cfa106279e4721 30-May-2009 Android (Google) Code Review <android-gerrit@google.com> am c3b7e4e7: Merge change 2736 into donut

Merge commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2'

* commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2':
Telephony support for SMS memory reporting to the network.
867641ece36e2fd17faaea79cf19506ab17177c6 28-May-2009 jsh <jsh@google.com> Telephony support for SMS memory reporting to the network.

- Use ordered broadcast to allow receivers to set a result code.
- Ack SMS with result code.
- New RIL command to report memory status.
- Fixed a typo in a Gservices setting.
- Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
ettings.java
elephony.java
a70396cd0a914d61081eb201864e0bb18f478b84 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> am f6355e24: Merge change 2399 into donut

Merge commit 'f6355e24f5382356ea197135fdeff827aabfdb90'

* commit 'f6355e24f5382356ea197135fdeff827aabfdb90':
Motorola additions for CDMA support without CdmaSuppConnTracker
5f123bdcde61b9fdcd58952882c621c34a727e10 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Making sure non-public API is marked with @hide.
ontactsContract.java
ocialContract.java
dda5391d5079537e275c9f4ed2637a1484d0e4e8 29-May-2009 Wink Saville <wink@google.com> Motorola additions for CDMA support without CdmaSuppConnTracker

There are corresponding changes to hardware/ril and packages/apps/Phone
that are required to go with these changes.
allLog.java
569277732b4180c07c9f917ff8c3fc3111b10338 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing javadoc references.
ontactsContract.java
ocialContract.java
088b2918423ef79b92c0b0433f2f59a1fd0f7c1b 29-May-2009 Evan Millar <emillar@google.com> Move ContactsContract.java and SocialContract.java into android.providers

The ContactsContract and SocialContract lived previously in the
com.android.providers.contacts2 package, and could not be accessed by
other packages from there without symlinks, which was getting messy. If
it turns out there was a good reason for having the contracts in that
package we may have to move these back, but for now this seems like the
obvious configuration.
ontactsContract.java
ocialContract.java
a85d46aff547a1007beb32b01d1dfab68a2115b4 22-May-2009 Wei Huang <weih@google.com> add Gservices setting for "send message using bareJid timeout".
ettings.java
7f36a5729f17fcb37a7b65a13fd86b0d922caca9 27-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2355

* changes:
add Gservices setting for "send message using bareJid timeout".
d8f861f9c981a4e4f2a16ec390f753c2770c301d 23-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 53cf55c6: Merge change 2349 into donut

Merge commit '53cf55c64f85c11c4da4c47edddb387a396bb8b6'

* commit '53cf55c64f85c11c4da4c47edddb387a396bb8b6':
Change the media key algorithm to also ignore double quotes.
58eef7e4cf004857d1accef9b1bf4fed87ecf76b 22-May-2009 Wei Huang <weih@google.com> add Gservices setting for "send message using bareJid timeout".
ettings.java
e754e128e6237ea1c5b263ec2a02b0413851cfba 22-May-2009 Marco Nelissen <marcone@google.com> Change the media key algorithm to also ignore double quotes.
ediaStore.java
b84905662f85e6c42236fa1d2792f6e0a53c88e8 18-Apr-2009 Costin Manolache <costin@google.com> Add option for gtalk stream compression
ettings.java
0ba58de23658776b42d3fcd597facbfa0b638af4 19-May-2009 Wei Huang <weih@google.com> handle OTR messages by storing them in an in-memory table; remove groupchat message urls since we can get to messages by thread ids.
m.java
60e6e19907c2a92242e6ae1c2df74c1f45609b92 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 83a6ec60: Merge change 1791 into donut

Merge commit '83a6ec600259d245b799a99a8e963704db031a63'

* commit '83a6ec600259d245b799a99a8e963704db031a63':
Add a method to get the PhoneType in CellLocation.
9bfbfbd40df381817c0c685b177a2a1d666e101d 15-May-2009 Jaikumar Ganesh <jaikumar@google.com> Add a method to get the PhoneType in CellLocation.

CellLocation uses TelephonyManager to get the PhoneType.
TelephonyManager uses the system property to get the phoneType,
if the ITelephony interface is not up.
ettings.java
7c3e18c558820de543e3aa4fb3a777940106166c 19-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> resolved conflicts w/ 842a1f4b0beaacfaab940318fe19909e087aae81 merge....
ontacts.java
ad8195bb0ea9ed087519d899402571c8608c0b48 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f11599e: Merge change 1579 into donut

Merge commit '2f11599eb317887a8cca14d8e66bfc485e5169e7'

* commit '2f11599eb317887a8cca14d8e66bfc485e5169e7':
Teleca 2b changes
8ba63601ab3aa4042f8801529cb629450aea4bc3 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 15e74b9d: Merge change 1939 into donut

Merge commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a'

* commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a':
Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out.
Fix build breakage
Revise the ImageButton class description to include information
Record statistics about whether HTTP connections are reused.
2f11599eb317887a8cca14d8e66bfc485e5169e7 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1579 into donut

* changes:
Teleca 2b changes
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
ettings.java
704a6471a78ae070cbf5e0b329d2385b526f8a2b 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1927 into donut

* changes:
Fix build breakage
6e9610e1dba59bf708b45e0039856d70e6b9768b 19-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Fix build breakage
ontacts.java
0dfe16dc46919f99e419038ba767d5e1a321249a 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1891 into donut

* changes:
Record statistics about whether HTTP connections are reused.
841ddefcb5720bcc1925f373b66224411f99a9fa 19-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Hand merge from cupcake_dcm to donut, part 2.

Modify Contacts-related java files and update vCard importer code to the latest.
ontacts.java
ec144d655363edc535f9145a2318f308e25cf513 18-May-2009 Dan Egnor <egnor@google.com> Record statistics about whether HTTP connections are reused.
heckin.java
e18b02cc2c142fe5cf4a1c9753822876931b7da8 15-May-2009 Dan Egnor <egnor@google.com> am abc25e36: Add intent for gservices override, and handle empty arguments properly in the "am" utility.

Merge commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71'

* commit 'abc25e3679a9de2625eadf3e3050a6973f7a6c71':
Add intent for gservices override, and handle empty arguments properly
abc25e3679a9de2625eadf3e3050a6973f7a6c71 14-May-2009 Dan Egnor <egnor@google.com> Add intent for gservices override, and handle empty arguments properly
in the "am" utility.
ettings.java
76879bc2343779d4d2a870b7bd46b0544c0cc46c 15-May-2009 svetoslavganov <svetoslavganov@google.com> resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge....
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
ettings.java
231cc608d06ffc31c24bf8aa8c8275bdd2636581 28-Apr-2009 Dianne Hackborn <hackbod@google.com> Rewrite SyncStorageEngine to use flat files and in-memory data structures.

The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent. These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time. Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database. This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it. Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
ync.java
8585e19ed46d1db2c293c629f3d6be4273d0cd3e 30-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base
b7a64360fa5bc7c02527c0a4c9ff1d1d3c7c672c 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 711

* changes:
store contact id in messages table instead of contact name string; merge messages and group messages tables.
8f080ec4292be02fad9896260bbd3cf5461f9399 29-Apr-2009 The Android Open Source Project <initial-contribution@android.com> am f3ccf8a: Merge branch \'readonly-p4-donut\' into donut
b3624b96803d7e7979a3c3814610dd741423571c 28-Apr-2009 Wei Huang <weih@google.com> store contact id in messages table instead of contact name string; merge messages and group messages tables.

- removed GroupMessages API, groupchat messages are merged with messages. So where we used to have
GroupMessages.CONTENT_URI, now we have Messages.GROUP_MESSAGES_CONTENT_URI. Messages api now has a flag
IS_GROUP_CHAT to indicate that a message is a groupchat message.
- instead of storing 'provider', 'account', 'contact' in the messages table, store a 'thread_id' column instead.
thread_id is really just the contact_id for both messages and groupchat messages.
- add getContentUriByThreadId() api, for now, retained the old getContentUriByContact(), but it's deprecated.
m.java
42fba356cf90612986fb4d0627d1f8c349cf8db7 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 331

* changes:
Add option for gtalk stream compression
f3ccf8a5a5a3f6e46781538358bddca992a70e3d 24-Apr-2009 Karl Rosaen <> Merge branch 'readonly-p4-donut' into donut
875d50a4b9294b2be33cff6493cae7acd1d07ea7 24-Apr-2009 Karl Rosaen <> AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
- all new public apis are @hidden; they will still get reviewed by api council once we're in git
- other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
to the contacts provider that was reviewed by jham

Automated import of CL 147564
pplications.java
d9d2f1140b52fd0c014e9deac59f6000564b7e84 23-Apr-2009 Fred Quintana <fredq@google.com> change the sync framework and users to understand Account
alendar.java
ontacts.java
ubscribedFeeds.java
ync.java
yncConstValue.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
f967afde2e172a7a2aa8cb08473ede676a836092 18-Apr-2009 Costin Manolache <costin@google.com> Add option for gtalk stream compression
ettings.java
75534fbe246e5562779500bc7cf7f0ddfe9b8330 14-Apr-2009 Dianne Hackborn <> Merge branch 'readonly-p4-master'
935ae463d495d41155e27feb849768ad2b8b16db 14-Apr-2009 Dianne Hackborn <> AI 145994: Integrate #145778 from Donut.

Automated import of CL 145994
ontacts.java
ediaStore.java
ettings.java
61805637e52b29f661c34c4cdd9f31b182ee1698 13-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 65 into donut

* changes:
Remove references to android.util.Config
9536d0b41356bda58f97abc6ff2f7902f8219180 13-Apr-2009 Patrick Scott <> Merge branch 'readonly-p4-master'
3156bb00dd3ab3d6ec732bb6a64a2e84d08c34f0 13-Apr-2009 Patrick Scott <> AI 145870: Add a build property for the default alarm alert. Update the various
framework classes to deal with the new property. Also update various
documentation that mentions the default ringtones.
Use the build property as the default alert when the user has not chosen
an alert for an alarm. This is also used if the alarm alert is null when
the alarm fires.
BUG=1723684

Automated import of CL 145870
ettings.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
ontacts.java
ediaStore.java
ettings.java
2faf6081f2d1d4d81e870f3e77f589174e30e1ff 10-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
mail.java
5167f9e28b8d7c12c6ef5e7fe522854bfe9b80c1 08-Apr-2009 Cynthia Wong <> Merge branch 'readonly-p4-master'
44e4aaf13318be21913e9c4b0e70a922415e30e7 08-Apr-2009 Cynthia Wong <> AI 145124: am: CL 144928 Make the uphill discarding ops functionality controllable via a Gservices flag
Original author: cynthiaw

Automated import of CL 145124
ettings.java
f62b80fa1ba6b0a4cf5996655812bca79ff6c49e 08-Apr-2009 Cynthia Wong <> AI 144928: Make the uphill discarding ops functionality controllable via a Gservices flag
BUG=1725022

Automated import of CL 144928
ettings.java
48554fc78e981590708cc2cb78ce3c09642e2c4d 03-Apr-2009 Mike Lockwood <> Merge branch 'readonly-p4-master'
bd2a7126e5b42e022228c6aac25e95b671e5263b 03-Apr-2009 Mike Lockwood <> AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
making LocationManager.updateProviders() unnecessary.
Removed LocationManager.updateProviders()
Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
of enabling or disabling a single location provider.
This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
BUG=1729031
Original author: lockwood

Automated import of CL 144415
ettings.java
b77f2b51d76b894e13308114e38945eb30c7bd56 03-Apr-2009 Mike Lockwood <> Merge branch 'readonly-p4-master'
460ae0c910e46f6aeb48316f8745be810f68b5a4 03-Apr-2009 Mike Lockwood <> AI 144389: am: CL 144221 Fix typo in Javadoc
Original author: lockwood

Automated import of CL 144389
ettings.java
9637d474899d9725da8a41fdf92b9bd1a15d301e 03-Apr-2009 Mike Lockwood <> AI 144372: Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
making LocationManager.updateProviders() unnecessary.
Removed LocationManager.updateProviders()
Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
of enabling or disabling a single location provider.
This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
BUG=1729031

Automated import of CL 144372
ettings.java
d3af72792792dbd332446993c941e2714032d09f 02-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'readonly-p4-master'

Conflicts:

telephony/java/com/android/internal/telephony/gsm/RIL.java
resolved by removing gsm/RIL.java
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
heckin.java
ettings.java
elephony.java
570d05f776106a715d00099c8bd5e716be1f4aa3 02-Apr-2009 Mike Lockwood <> AI 144221: Fix typo in Javadoc

Automated import of CL 144221
ettings.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
heckin.java
ettings.java
elephony.java
f5f8d247d1f216cd590ed788f72d1e4dec0d0e90 28-Mar-2009 Jeffrey Sharkey <> AI 143308: am: CL 143159 am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle duplicate E-mail or IM entries for a person.
Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address. This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person. (We don't get GROUP BY through the ContentProvider interface.)
In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical. (The people appearing in that list are there because their ContactMethod matches the query.)
Original author: jsharkey
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143308
ontacts.java
e1861133d51b9e6a6f658eb366630ad4f4d3ff8f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
cd1a9ea2388dfd31bb51c27df6404d68e227569c 27-Mar-2009 Jeffrey Sharkey <> AI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle duplicate E-mail or IM entries for a person.
Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address. This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person. (We don't get GROUP BY through the ContentProvider interface.)
In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical. (The people appearing in that list are there because their ContactMethod matches the query.)
Original author: jsharkey
Merged from: //branches/cupcake/...

Automated import of CL 143159
ontacts.java
5104518fd7db24b0757be336092c94439e847e36 26-Mar-2009 Jeffrey Sharkey <> Automated import from //branches/cupcake/...@142855,142855
ontacts.java
63f49f1c3a093c314df863c13b8d7a29d04437ec 26-Mar-2009 Mark Womack <> Automated import from //branches/donutburger/...@142717,142717
ettings.java
78ef45602aad6dff0f6b61f2a327aec87c0f5fce 26-Mar-2009 Mark Womack <> Automated import from //branches/master/...@142755,142755
ettings.java
ecacd2f6a36508baeab8d4fd73d3e39e18abe71b 25-Mar-2009 Mark Womack <> Automated import from //branches/cupcake/...@142633,142633
ettings.java
afb6c8eafc96dcee4d2fa465eb5a2eba6b38f36f 25-Mar-2009 Cedric Beust <> Automated import from //branches/master/...@142319,142319
ettings.java
079c6f64f998c62028290d9ef4c8b88ef0f7563c 25-Mar-2009 Cedric Beust <> Automated import from //branches/donutburger/...@142318,142318
ettings.java
b3f4db8e2b0a7c5913ee7bf4bef351076b00a52d 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/master/...@141998,141998
elephony.java
59e5ba47dd43e102c35def18b4871a16a4d7114a 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/donutburger/...@141997,141997
elephony.java
10270f2b7715dbbc9fae16b8765f888e5b8a7631 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/master/...@141740,141740
elephony.java
9b16598f701a629a5bf042471ba92ddcfa53f835 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/donutburger/...@141738,141738
elephony.java
c2d251a1170e722f87c48d70a923e62e6c305fdc 25-Mar-2009 Mark Womack <> Automated import from //branches/donutburger/...@141325,141325
heckin.java
8c20bc8fb7e768929ff4bde4c8d8d80266be5546 25-Mar-2009 Mark Womack <> Automated import from //branches/master/...@141328,141328
heckin.java
49fc71f3f9e5c1f4cf2848dd3dec1cdea33b236f 25-Mar-2009 Cedric Beust <> Automated import from //branches/cupcake/...@142317,142317
ettings.java
3c4fbdf38f9f1bc33dfa77bdcdef405bce594a3d 25-Mar-2009 Jack Veenstra <> Automated import from //branches/donutburger/...@140958,140958
heckin.java
359404dc6b61cf4c04b4ab2f8cfcb7062889c803 25-Mar-2009 Jack Veenstra <> Automated import from //branches/master/...@140959,140959
heckin.java
df5f5ec07f2255443fe6068b56c37efc9d312004 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/cupcake/...@141995,141995
elephony.java
4ad62a4538a3845af7d88db381084699bb94b31b 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/cupcake/...@141736,141736
elephony.java
c2ad241504fcaa12d4579d3b0b4038d1ca8d08c9 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
heckin.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
alendar.java
allLog.java
ontacts.java
2a73de7b21a89aa2ba4c254d28658b49793425b2 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
rowser.java
ontacts.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
ontacts.java
mail.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
heckin.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
ettings.java
elephony.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
aseColumns.java
rowser.java
alendar.java
allLog.java
heckin.java
ontacts.java
ownloads.java
rmStore.java
mail.java
m.java
iveFolders.java
ediaStore.java
penableColumns.java
earchRecentSuggestions.java
ettings.java
ubscribedFeeds.java
ync.java
yncConstValue.java
elephony.java
serDictionary.java
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
aseColumns.java
rowser.java
alendar.java
allLog.java
heckin.java
ontacts.java
ownloads.java
rmStore.java
mail.java
m.java
iveFolders.java
ediaStore.java
penableColumns.java
earchRecentSuggestions.java
ettings.java
ubscribedFeeds.java
ync.java
yncConstValue.java
elephony.java
serDictionary.java
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
heckin.java
m.java
ettings.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
heckin.java
m.java
ettings.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
heckin.java
mail.java
ediaStore.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
heckin.java
ettings.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ettings.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
heckin.java
ontacts.java
ownloads.java
mail.java
m.java
ediaStore.java
ettings.java
ync.java
serDictionary.java
ackage.html
eef3c54deb1cb66455ae385075333f163e5fb838 06-Feb-2009 Jean-Baptiste Queru <jbq@google.com> Fix 1855: Restore constants to pre-cupcake values.

Since some of those constants are used in the persistent database,
modifying them for cupcake meant that the new code was getting
confused by the old persistified data after an upgrade to cupcake,
teh most visible symptom being that downloads that had been initiated
from the browser would re-appear in the notifications.
ownloads.java
d816d082e16639d8135256966a6ec93d3edeb2df 20-Jan-2009 Jean-Baptiste Queru <jbq@google.com> Remove old (unused) download manager APIs
ownloads.java
94cbba0933e50d593c1c462cff698dd3387ba95b 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
mail.java
ediaStore.java
ettings.java
06323a692e6331877b65fd0a9b23fc6760c31af1 20-Jan-2009 Jean-Baptiste Queru <jbq@google.com> Introduce new names for the download manager API fields.

The new names will allow for better consistency and better API
documentation if/when they're made public in the SDK.

This will be followed by a later change that removes the old names
ownloads.java
7547115694ef213f6c4ead3841296370cc07b4af 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'cupcake'
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
ettings.java
serDictionary.java
0fda766e53fba7e829fe6e145738f6a94ce48bda 16-Jan-2009 android-build SharedAccount <android-build@undroid16.corp.google.com> Merge branch 'cupcake'
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
alendar.java
mail.java
ediaStore.java
ettings.java
e570a0fa86c2eea2680f07e2c0c546f104bea948 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
rowser.java
ontacts.java
ediaStore.java
ettings.java
ync.java
e1dc1d6dc8064740b78562c3028ccc526a44597e 19-Dec-2008 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake'

Conflicts:
core/java/com/android/internal/app/AlertController.java
core/res/res/values/strings.xml
media/java/android/media/AudioSystem.java
services/java/com/android/server/LocationManagerService.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
alendar.java
heckin.java
ontacts.java
ownloads.java
mail.java
m.java
iveFolders.java
ediaStore.java
earchRecentSuggestions.java
ettings.java
ync.java
elephony.java
ae499953ce0e00aae78f374514d4bcc6b99c8354 02-Nov-2008 Evan JIANG <firstfan@gmail.com> Fix issue 1164: Incorrect organization type label in contacts

http://code.google.com/p/android/issues/detail?id=1164
The organization definition in string-array resource is different from
android.provider.Contacts.OrganizationColumns
ontacts.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
aseColumns.java
rowser.java
alendar.java
allLog.java
heckin.java
ontacts.java
ownloads.java
rmStore.java
mail.java
m.java
ediaStore.java
penableColumns.java
earchRecentSuggestions.java
ettings.java
ubscribedFeeds.java
ync.java
yncConstValue.java
elephony.java
ackage.html