850 Commits

Author SHA1 Message Date
Vinod Krishnan
909bbd3117 Fwk: Only chime when docked and accessbility is on am: cf11ceab65
am: ccf3baf6c5

Change-Id: I685dc2ef179087600e4d3c5776448ece338901b7
2016-10-21 21:21:18 +00:00
Vinod Krishnan
ccf3baf6c5 Fwk: Only chime when docked and accessbility is on
am: cf11ceab65

Change-Id: Ief29ef6f325a8248843faa9fbe9ae6ff893a6918
2016-10-21 21:14:19 +00:00
Vinod Krishnan
cf11ceab65 Fwk: Only chime when docked and accessbility is on
Bug: 32036947

Change-Id: I5786abe827735cc3a4bc1d52baacaa19bccaae77
2016-10-21 10:28:37 -07:00
Keun-young Park
ec7a118950 add default overlay for END_CALL_BEHAVIOR
- for automotive, default END_CALL_BEHAVIOR should be 0.
- automotive product should have overlay overriding it.
- default value is the same as now

bug: 31926624
Test: manual (check dumpsys window policy)
Change-Id: Ice7b3c1374dfccf8a03c13c73201fa1615acab5f
2016-10-19 18:54:19 -07:00
Nick Kralevich
44761c81eb Delete "Show CPU usage" am: fc4a5c2d85 am: f0c0188a8a
am: 34547a8dc2

Change-Id: I410846d3ff6856e5f9dee2efd551af8b9d1d94dc
2016-10-11 18:21:32 +00:00
Nick Kralevich
34547a8dc2 Delete "Show CPU usage" am: fc4a5c2d85
am: f0c0188a8a

Change-Id: If33e6687d3ec83904ab6ddbeb008c7b9c8130e7a
2016-10-11 18:15:23 +00:00
Nick Kralevich
f0c0188a8a Delete "Show CPU usage"
am: fc4a5c2d85

Change-Id: I4da784d136601fb3458b8697a0a27a232cd89111
2016-10-11 18:09:10 +00:00
Nick Kralevich
fc4a5c2d85 Delete "Show CPU usage"
This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5
2016-10-11 09:01:38 -07:00
Andre Eisenbach
1609e30906 Enable Bluetooth by default am: 8c18431be8 am: 4c18d82084
am: 10a9dc7e04

Change-Id: I4e9e10e4d4b29eb03140cc686b1acc3ecf5a0a7a
2016-09-14 04:40:25 +00:00
Andre Eisenbach
10a9dc7e04 Enable Bluetooth by default am: 8c18431be8
am: 4c18d82084

Change-Id: I9f8e70c2bebd61b16f4d751f8dab5240fda9933b
2016-09-10 01:40:32 +00:00
Andre Eisenbach
4c18d82084 Enable Bluetooth by default
am: 8c18431be8

Change-Id: Iebcaf699361494d92c59935f96c6e859fba96003
2016-09-10 01:33:13 +00:00
Andre Eisenbach
8c18431be8 Enable Bluetooth by default
Bug: 29446913
Change-Id: I6d42810cb3f99617b886f6c643f8c66c42c1d017
2016-09-09 16:20:27 -07:00
Mitchell Wills
722de5f9d0 DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp
Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
2016-08-29 17:46:44 -07:00
The Android Automerger
f287780643 Manually merge commit 'b0b6afc' into nyc-dev-plus-aosp 2016-08-30 00:26:21 +00:00
TreeHugger Robot
f0963f82fa Merge "Polish MemoryIntArray" 2016-08-29 21:26:42 +00:00
Svet Ganov
9d723d3d57 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
2016-08-29 10:51:08 -07:00
Svetoslav Ganov
046249d9dc Store the event of settings db downgrade am: 264c7a90c7 am: f813a5a1c4
am: 11bd5718a1

Change-Id: I8831eac6d99ba00a80f6e9064b0cc09143b3f9d8
2016-08-26 22:14:01 +00:00
Roshan Pius
28be4fc091 SettingsBackupAgent: Remove redundant size parameter
Remove the redundant size parameter in wifi backup/restore.

BUG: 28967335
Change-Id: I8ae9b2bf3bc8eb2dd1fd6dd87fe7b1dcf0712382
(cherry picked from commit 5db739c67fb6c897da91ccdda5700ff660eea15d)
2016-08-26 13:22:50 -07:00
Roshan Pius
1bf869887d Use WifiManager for wifi backup/restore
Use the newly exposed WifiManager API's for backing up/restoring wifi
related data. Remove all other wifi related logic from
SettingsBackupAgent.

There are 3 API's exposed by WifiManager for backup/restore:
1. retrieveBackupData - Data to be backed up in new format.
2. restoreBackupData - Restore from the new backup data format.
3. restoreOldBackupData - Restore from the old backup data format.

BUG: 29075035
BUG: 28967335
Change-Id: I2dc379bc36af0a0824ed51fbe9aaebfd0a0114b0
(cherry picked from commit 7a2491fa3b42dd22c829eea3690239545f16f124)
2016-08-26 13:22:48 -07:00
Svetoslav Ganov
11bd5718a1 Store the event of settings db downgrade am: 264c7a90c7
am: f813a5a1c4

Change-Id: I21a6ebdde23a0df93872105d91a54d64a2e6adf4
2016-08-25 02:31:48 +00:00
Svetoslav Ganov
f813a5a1c4 Store the event of settings db downgrade
am: 264c7a90c7

Change-Id: I5b9d5a9bd3c2df337776921a34960ceef8fda1ce
2016-08-25 02:25:47 +00:00
Svetoslav Ganov
264c7a90c7 Store the event of settings db downgrade
bug:30561721

Change-Id: I8f2252bbf99603976c7efc32c54aa88b314ba815
2016-08-24 17:31:21 -07:00
Andre Lago
3fa139c7b2 [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
2016-08-18 09:58:26 +01:00
Andre Lago
ea35e07e1b [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
2016-08-15 10:08:04 +01:00
Anthony Hugh
f0976121d9 Add panic detection to back button am: 96e9cc5700
am: c1de1b6dde

Change-Id: I523e7719483840c4fb4fe39827b3a6652bdc1a39
2016-08-05 01:02:33 +00:00
Anthony Hugh
c1de1b6dde Add panic detection to back button
am: 96e9cc5700

Change-Id: I60553d88e1e1c42c11dae92d35c4ad761d188fda
2016-08-05 00:55:38 +00:00
Anthony Hugh
bfacf7ce2e Merge "Add panic detection to back button" into cw-f-dev 2016-08-05 00:47:08 +00:00
Svetoslav Ganov
c8f418b347 Add historical logging to settings provider am: a340bfd7a1 am: ba92753043
am: 6ad9366b74

Change-Id: I2d64c7c97e6956fe5dc0011c8aefbca979f726a9
2016-08-04 02:00:20 +00:00
Svetoslav Ganov
6ad9366b74 Add historical logging to settings provider am: a340bfd7a1
am: ba92753043

Change-Id: Ic365c69b2bb76dff17dd6c8b932f017c27c53d4f
2016-08-04 01:43:18 +00:00
Svetoslav Ganov
a340bfd7a1 Add historical logging to settings provider
This change adds historical operations to the dump state
of the settings provider. The historica operations are
currently appended only on user-debug and eng builds.

These change is needed to help diagnose the referred
bug and improve the settings provider's maintenance.

bug:30561721

Change-Id: I58a1ba0d598c4d28adcb5e654ebb78cf947e94db
2016-08-03 15:48:44 -07:00
Anthony Hugh
96e9cc5700 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
2016-08-03 15:24:58 -07:00
Robin Lee
2ab02e2cb2 Pass userId through to singleton ContentProviders
System content providers like SettingsProvider run as singleUser but
on receipt of a call make decisions based on the calling user ID.

This is right up until the caller is a system service or a cross-user-
-aware app like Settings, where putStringForUser etc. provide a
workaround for most settings but not for the few files SettingsProvider
exposes.

Change-Id: I90060c9c13e274edd71f8a16ab3a026a58b98e3e
2016-08-01 23:45:36 +01:00
Benjamin Franz
1dc06e0aff Block user from setting safe boot setting via adb am: 0ff13fce6f am: c86e8c3442
am: 428b3bdca8

Change-Id: I42419b8a5cf69e512d9cd536056c0767ef8aa39e
2016-07-22 09:00:46 +00:00
Benjamin Franz
428b3bdca8 Block user from setting safe boot setting via adb am: 0ff13fce6f
am: c86e8c3442

Change-Id: Ie9e1f4d447dd61ef7f5ef191d1309377fbbf4559
2016-07-22 08:54:21 +00:00
Benjamin Franz
c86e8c3442 Block user from setting safe boot setting via adb
am: 0ff13fce6f

Change-Id: Ic8da0b5ffbc285f4371f68c189054a0005b90751
2016-07-22 08:47:40 +00:00
Benjamin Franz
36eb7a1370 Block user from setting safe boot setting via adb
am: 0ff13fce6f

Change-Id: I50db586478eb52d0a2f43e9150cc663c96e5779b
2016-07-22 08:47:32 +00:00
Dan Sandler
9c9bdbea2c Decrease default longpress timeout to 400ms. am: 71f85e9194
am: c6bc4f4b60

Change-Id: Idc931aa2cae39070035bf0d3424588cbed1eabcf
2016-07-22 07:25:48 +00:00
Dan Sandler
c6bc4f4b60 Decrease default longpress timeout to 400ms.
am: 71f85e9194

Change-Id: I0daedfc5d6d2c0b98feda11f1930eaf3fdca7e76
2016-07-22 04:45:28 +00:00
Daniel Sandler
c3bdde9790 Merge "Decrease default longpress timeout to 400ms." into nyc-mr1-dev 2016-07-22 04:41:30 +00:00
Dan Sandler
71f85e9194 Decrease default longpress timeout to 400ms.
If the device being upgraded happens to have a timeout of
500ms it will be reset to 400. If the value is something
else it will be left alone upon upgrade.

Bug: 30159825
Change-Id: Ifec70e458ce0199b61d36f7504aea02b4a974990
2016-07-21 19:23:12 -04:00
Bill Yi
8eff1c381b Import translations. DO NOT MERGE
Change-Id: I7261aecb1f28f1b46c1555c52a0010bcc6c52408
Auto-generated-cl: translation import
2016-07-20 19:44:42 -07:00
Benjamin Franz
0ff13fce6f Block user from setting safe boot setting via adb
Bug: 29900345
Change-Id: Id3b4472b59ded2c7c29762ddf008ee8486009dbb
2016-07-15 10:43:15 +01:00
Victor Chang
07e11c3ae9 Merge \"Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set\" into nyc-dev
am: 488042fe3b

Change-Id: Ia41b8b2acbe3897423ac27881f3419efcfeeb002
2016-07-14 22:10:06 +00:00
Justin Klaassen
290c38567e Merge \\"Refactor display color transforms\\" into nyc-mr1-dev am: 94673f0b7c
am: 5f3bf63121

Change-Id: I06a60ef4a1fa23e0c1f5b6ab97462811b6aaf239
2016-07-14 20:09:52 +00:00
Justin Klaassen
5f3bf63121 Merge \"Refactor display color transforms\" into nyc-mr1-dev
am: 94673f0b7c

Change-Id: I7fdf83db6cbf26cdc5b8a9971fa48b7f8458474d
2016-07-14 19:33:35 +00:00
Justin Klaassen
22eb19939d 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
2016-07-14 11:28:07 -07:00
Victor Chang
e293b0cd00 Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set
Fix: 29899712

Change-Id: I38cc9d0e584c3f2674c9ff1d91f77a11479d8943
(cherry picked from commit 9c7b706cf4332b4aeea39c166abca04b56685280)
2016-07-14 10:47:35 +00:00
Julia Reynolds
ba80433075 Merge \\"Whitelist default apps for DND access.\\" into nyc-mr1-dev am: 5bd9ea82d2
am: e1f91a7475

Change-Id: I3924cd2b30d6d437fc763f55ccd5fc95e6befc72
2016-07-13 18:58:20 +00:00
Julia Reynolds
e1f91a7475 Merge \"Whitelist default apps for DND access.\" into nyc-mr1-dev
am: 5bd9ea82d2

Change-Id: I95d832e2858668cd5b0f6a7686ccda0cd420b726
2016-07-13 18:47:12 +00:00
Victor Chang
ec548dbb75 Merge \\"Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set\\" into nyc-mr1-dev am: e05b35db0d
am: 87ec0ef5e2

Change-Id: Ib6ed82c6e9e48cb7f08cfca194331796c5cdd5ba
2016-07-13 18:47:10 +00:00