Commit Graph

3635 Commits

Author SHA1 Message Date
Jeff Sharkey
67f9d5070a Fix broken javadocs.
Bug: 64337634
Test: make -j32 doc-comment-check-docs
Change-Id: I20fdd3dcddef09111d35946c41c596c7689effa6
2017-08-06 07:37:08 -06:00
Tadashi G. Takaoka
7b16a3c64a Remove @hide ACTION_SHOW_INPUT_METHOD_PICKER
All references to
android.provider.Settings.ACTION_SHOW_INPUT_METHOD_PICKER have been
removed by the following CLs.

 Id36c8c34159bea8b72557b40bcf024d401f580b6 frameworks/base
 Id990c66516c9b3ed7ada6891746ec0e0eecbe545 packages/apps/Settings
 I915231678b94f97c1b5105cb607d6631e3df6b6a vendor/google_clockworks
 I3e26ed807445725262485ac1065fdfa299d1b624 cts

Test: make checkbuild
Fixes: 64008672
Bug: 6364455
Change-Id: I4210a5b5662be497d395a454f7f1cc395637683e
2017-08-04 04:30:33 +00:00
Neil Fuller
af4cfc5c81 Add a new constant to TimeZoneRulesDataContract
This enables time zone data app code (provided by Google)
to check the manifest (provided by the OEM) uses the right permission
without referencing internal manifest permission Strings directly.

Bug: 64139059
Test: Ran internal xTS tests
Change-Id: I4b1a8608beff3b5218ecf5162cfe8e31027e2007
(cherry picked from commit 8e2a85752b)
2017-07-31 18:20:05 +01:00
Christine Franks
732c0439e7 Remove RetailDemoModeService
Bug: 62712426
Test: make -j100
Change-Id: I483f2e3518a48fbc833562e71c3acd17ad565881
2017-07-21 15:04:55 +00:00
TreeHugger Robot
dc751a3867 Merge "Add provider support for metadata extraction" 2017-07-20 00:29:59 +00:00
Julian Mancini
b65051579f Add provider support for metadata extraction
In this CL, I'm adding ability to retrieve image metadata. I've added
the class MetadataRetriever that can currently retrieve Exif data from
an image. This class is used withing FileSystemProvider in order to
return a given image's exif data.

Test: Hidden API
Bug: 62621970
Change-Id: Ibb329492df4db1a65f65722c6a52582c43de8fe5
2017-07-19 15:46:23 -07:00
Ricardo Loo
d31a663f02 Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev am: 8e644a7510 am: 73f94e7896
am: 8fef5bf360

Change-Id: Iceee88d3362d7e8392cbf99666daeb1bd9eb0046
2017-07-19 04:56:56 +00:00
Ricardo Loo
8fef5bf360 Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev am: 8e644a7510
am: 73f94e7896

Change-Id: I5f6181c026d443357226f6b7e5332a754b130476
2017-07-19 04:52:24 +00:00
Ricardo Loo
73f94e7896 Merge "docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description" into oc-dev
am: 8e644a7510

Change-Id: Ib12f6abb1cd3bdc4701b13e607288fcaf48ce43e
2017-07-19 04:44:52 +00:00
Narayan Kamath
94bcdbca22 NetworkPolicyManagerService: Allow data saver to be on by default.
This value is read from the global settings provider, and can be
configured via an overlay.

Bug: 63112872
Test: NetworkPolicyManagerServiceTest

Change-Id: If55ea08df1dd8440189f9b46a5606118de99c930
2017-07-18 10:40:50 +01:00
Neil Fuller
34aca9e2c5 Merge "Remove TODOs that are not needed" am: 0f9842304a am: 5c2cfc51c5
am: 444616f4bf

Change-Id: I5f4265d738aa3669a0c7acb8df49b454a3e27f9c
2017-07-17 22:40:28 +00:00
Neil Fuller
5c2cfc51c5 Merge "Remove TODOs that are not needed"
am: 0f9842304a

Change-Id: Ie46a57ce88e25e40193b073c0add69adccc14a79
2017-07-17 22:24:36 +00:00
Neil Fuller
a9f0eeb36f Remove TODOs that are not needed
Remove TODOs to add classes to the system API that are not needed
(since they are used by a platform-only app).

Bug: 31008728
Test: make droid
Change-Id: I0d75686ddeae929e9d87c5ca8703a609a1450d76
Merged-In: I600e7b08853b86b27463193411cf85207ae09ce8
2017-07-17 17:57:11 +01:00
TreeHugger Robot
ba85991139 Merge "Add TimeZoneRulesDataContract to system API" 2017-07-17 16:44:47 +00:00
Jeff Sharkey
4233f032fd Test if allocation supported; @removed clean up.
SM.allocateBytes() doesn't offer a clear way to detect if a failed
request could ever succeed.  (For example, we can never work with
pipes, or files on an unsupported storage device.)  So give
developers a first-class API to test if allocation is supported.

If the underlying filesystem doesn't support fallocate(), fall back
to ftruncate() instead of failing completely.

Clean up @removed APIs that were refactoring during API 26 review
process.

Remove support for storing downloads on the /cache partition, which
doesn't exist on many devices.

Bug: 63057877
Test: bit DownloadProviderTests:*
Test: bit DocumentsUITests:com.android.documentsui.services.CopyJobTest
Test: bit DocumentsUITests:com.android.documentsui.services.MoveJobTest
Change-Id: I85d42a1a7240034b4f2a6f359011ac182bdce36e
2017-07-15 21:08:56 -06:00
Adrian Roos
e3fd65f9e5 Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev am: 3fbd93056e
am: 6d626acdbf

Change-Id: Iabff9ca955aef414ad7e62e0c68e2774ff01c9b7
2017-07-13 12:17:44 +00:00
Adrian Roos
6d626acdbf Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev
am: 3fbd93056e

Change-Id: I8bc8e01a97711fdd30ff59aeb72d38e8acaa7c75
2017-07-13 12:10:21 +00:00
Adrian Roos
3fbd93056e Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev 2017-07-13 12:01:52 +00:00
Neil Fuller
baf1c3df80 Add TimeZoneRulesDataContract to system API
Add TimeZoneRulesDataContract to system API and remove
TODOs to add other classes that should not now be needed
in the system API (since they are used by a platform-only
app).

Bug: 31008728
Test: make droid
Change-Id: I600e7b08853b86b27463193411cf85207ae09ce8
2017-07-12 18:20:59 +01:00
Neil Fuller
2f029ed26c Merge "Address further API review comments" am: b279ec51b6 am: cf8e06c0ac am: 92189b6e21
am: 7776b49c13

Change-Id: I0ae1025d7382ca0dca3cf69d7362df38898ee048
2017-07-12 16:14:00 +00:00
Neil Fuller
7776b49c13 Merge "Address further API review comments" am: b279ec51b6 am: cf8e06c0ac
am: 92189b6e21

Change-Id: I6b15cc75923cd712ca62302b8f797899ad43ad00
2017-07-12 16:07:03 +00:00
Neil Fuller
cf8e06c0ac Merge "Address further API review comments"
am: b279ec51b6

Change-Id: Idbb8fc5c6e6cd912acbca1b5b144533dbfff2775
2017-07-12 15:52:20 +00:00
Adrian Roos
d0963a07d1 AOD: Implement long press gesture to launch assist
Bug: 37684244
Test: adb shell settings put secure doze_pulse_on_long_press 1; turn screen off, long press, verify assistant is launched
Change-Id: I87335d3c091bbb17022d79e599f46fb826039b7d
2017-07-12 15:25:50 +02:00
qingxi
a6536cc85e Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
am: a249de50d1

Change-Id: I784617e0c34275adc5d177e6728b4b2c86dc1f5d
2017-07-12 02:31:24 +00:00
TreeHugger Robot
a249de50d1 Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev 2017-07-12 02:17:42 +00:00
qingxi
e060ffd2ca Move eSIM factory reset implementation to RecoverySystem
This CL reverts the implementation of eSIM factory reset in
MasterClearReceiver and uses RecoverySystem#rebootWipeUserData to erase
eSIM data. Besides this, when the eSIM data isn't erased, we should call
EuiccManager#retainSubscriptionsForFactoryReset to let the fastboot know
that.

Bug: 62957212
Test: TreeHugger
Merged-In: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
Change-Id: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
2017-07-11 13:09:40 -07:00
TreeHugger Robot
c00c64c96a Merge "Move eSIM factory reset implementation to RecoverySystem" 2017-07-11 20:08:12 +00:00
qingxi
2f23151e97 Move eSIM factory reset implementation to RecoverySystem
This CL reverts the implementation of eSIM factory reset in
MasterClearReceiver and uses RecoverySystem#rebootWipeUserData to erase
eSIM data. Besides this, when the eSIM data isn't erased, we should call
EuiccManager#retainSubscriptionsForFactoryReset to let the fastboot know
that.

Bug: 62957212
Test: TreeHugger
Change-Id: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
2017-07-11 10:35:29 -07:00
Neil Fuller
493781a5bf Address further API review comments
Address further API review comments from API reviewer.

Bug: 31008728
Test: make droid
Change-Id: I0b3f6be9eaf69ffa8a6e73475f9c3a9ba3e343f2
2017-07-11 16:12:29 +01:00
Neil Fuller
055c79e070 Merge "Merge "Move column definitions to an inner class" am: ab0bb48965" into stage-aosp-master am: cb996b5574 am: 9e86604cbd
am: 51f2974b1f

Change-Id: I9ce67cef2b8dc4e46be796c048cf84d9ec04d5c0
2017-07-11 10:35:41 +00:00
Neil Fuller
51f2974b1f Merge "Merge "Move column definitions to an inner class" am: ab0bb48965" into stage-aosp-master am: cb996b5574
am: 9e86604cbd

Change-Id: I8118b8b1041ade5e19fee06289d1ba4c1848837f
2017-07-11 10:26:05 +00:00
Neil Fuller
fb3804d720 Merge "Move column definitions to an inner class"
am: ab0bb48965

Change-Id: Ie9fa51f05dc7df781e9e9bdeb9d3c21ca4cde6c8
2017-07-11 10:07:37 +00:00
Jason Monk
0862e80eb3 Merge "Add screensaver settings to backup list" into oc-dr1-dev am: 2c3c58d917
am: 4c30304a8c

Change-Id: Icac69838617de8c58a0d9090dc4d78b14ad1a976
2017-07-10 20:37:47 +00:00
TreeHugger Robot
2c3c58d917 Merge "Add screensaver settings to backup list" into oc-dr1-dev 2017-07-10 20:17:56 +00:00
Neil Fuller
d07c331349 Move column definitions to an inner class
Move column definitions and other URI constants
to inner classes based on feedback from an API council
reviewer.

Bug: 31008728
Test: make droid
Change-Id: I213e44f2655017e0ca32a4dfb1f5617ef471d854
2017-07-10 20:02:56 +01:00
Jason Monk
df31effd5f Add screensaver settings to backup list
Test: manual
Change-Id: Icf47312e20b4ec44d02dc31ce575e89083a8be7d
Fixes: 35700553
2017-07-10 14:19:08 -04:00
Julia Reynolds
5f8e0b881e Rate limit notification sounds/vibrations
1 alert per second.

Bug: 36662487
Test: runtest systemui-notification
Change-Id: I2046ae17b9e89ac0a83e182b91422fd242bc7557
2017-07-10 09:37:54 -04:00
Ricardo Loo
aec98da9eb docs: Updated #ACTION_REQUEST_SET_AUTOFILL_SERVICE description
Making clear that `ACTION_REQUEST_SET_AUTOFILL_SERVICE` is an activity
action, not a broadcast action.
Test: Ran `make ds-docs -j16 and staged the change at
    http://go/dac-stage/reference/android/provider/Settings.html#ACTION_REQUEST_SET_AUTOFILL_SERVICE

BUG: 62470123
2017-07-07 12:48:06 -07:00
Daniel Nishi
fa1143658b Add a Setting for whether or not we have been disabled by policy.
Bug: 62106274, 35698183
Test: StorageManager robotests
Merged-In: I1788d6143362130df88950c6843fa78b67182d5e
(cherry picked from commit da7332c070)
2017-07-06 20:00:25 +00:00
Daniel Nishi
da7332c070 Add a Setting for whether or not we have been disabled by policy.
Bug: 62106274, 35698183
Test: StorageManager robotests

Change-Id: I1788d6143362130df88950c6843fa78b67182d5e
2017-07-05 16:52:26 -07:00
TreeHugger Robot
3b1026b74a Merge "Adding "Mobile data" and "Data usage" button in mobile settings." 2017-07-05 17:40:20 +00:00
Jason Monk
0f3ea43158 Merge changes from topic 'HideMultiUser' into oc-dr1-dev am: 3024de2536
am: a3ec7819b1

Change-Id: I6145dea6295f859d7dcf36a035c8c6e1cbc09071
2017-06-30 19:50:51 +00:00
Jason Monk
cb5296a6f0 QS: Move auto-add state to settings provider
And back it up.

Test: runtest systemui
Change-Id: I880909ce63ab32a5c11f31f449c1aa10221085d3
Fixes: 62667758
2017-06-30 11:36:40 -04:00
Malcolm Chen
2106254088 Adding "Mobile data" and "Data usage" button in mobile settings.
Grant "READ_NETWORK_USAGE_HISTORY" permission to phone because
"Datat usage" button summary needs it. Settings provides new
intent to open mobile data usage page.

Bug: 62201918
Test: Manual
Change-Id: Ie317109c723f3946ace4d34c743081a7ae046462
2017-06-29 16:32:24 -07:00
Christine Franks
8d901bf872 Merge "Add ACTION_DISMISS_TIMER intent" into oc-dr1-dev am: ca4def2ac8
am: 21e21efcf9

Change-Id: Iaab165b6465d15f0a960144798c1920fd30ab688
2017-06-26 19:52:26 +00:00
Christine Franks
c99c0e2297 Add ACTION_DISMISS_TIMER intent
Bug: 38475809
Test: manual - visual inspection of code
Change-Id: I9e58c9699fc2e6afad38db6b44f2e2b649564327
2017-06-26 14:34:47 +00:00
Julia Reynolds
76c096d89a Rate limit notification sounds/vibrations
1 alert per second.

Bug: 36662487
Test: runtest systemui-notification
Change-Id: I2046ae17b9e89ac0a83e182b91422fd242bc7557
2017-06-22 14:48:13 -04:00
Dianne Hackborn
6a93509080 Merge "Work on issue #62065889: Assess thresholds and criteria for killing..." 2017-06-21 21:07:05 +00:00
Kevin Chyn
19ec26ddaf Merge "Add action for launching Assist Gesture settings" into oc-dr1-dev am: 523c0a6a65
am: 8f4c710204

Change-Id: I2969bd464ff9f865bc33ab674b411bcf9f524dca
2017-06-21 03:29:14 +00:00
TreeHugger Robot
523c0a6a65 Merge "Add action for launching Assist Gesture settings" into oc-dr1-dev 2017-06-21 02:52:06 +00:00