Commit Graph

2930 Commits

Author SHA1 Message Date
Makoto Onuki
e08b704cb7 Update CP2 javadoc am: 93d94ebac2
am: e3972019dc

Change-Id: Ia988c68813311b042c6ba9fbaa3c486935e5566b
2016-08-30 22:49:57 +00:00
Makoto Onuki
e3972019dc Update CP2 javadoc
am: 93d94ebac2

Change-Id: I2b1cddae5407257aaad84f4b9dd492fe69ae5d27
2016-08-30 22:42:41 +00:00
Lorenzo Colitti
98ed392cf7 Network switch notifications: rate & daily limits am: 84e6f1232c am: 858499b2c0
am: 2c535a4f7c

Change-Id: I166dd693345ed9a63411f5f1ed6bdf33015b1957
2016-08-30 20:32:52 +00:00
Lorenzo Colitti
2c535a4f7c Network switch notifications: rate & daily limits am: 84e6f1232c
am: 858499b2c0

Change-Id: I9cf27874626c3034ef4fb4fc23ec75f3e1ac5f3f
2016-08-30 20:24:14 +00:00
Lorenzo Colitti
858499b2c0 Network switch notifications: rate & daily limits
am: 84e6f1232c

Change-Id: Ibf6fa695c5f8ef11c99fe075b59a36f52c5c177b
2016-08-30 20:17:33 +00:00
Lorenzo Colitti
84e6f1232c 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
2016-08-31 00:36:11 +09:00
Todd Kennedy
66db34fbe2 Enable web action apps based on system setting am: efc1c4d501
am: 742f4de6cf

Change-Id: I86aef56f2cf9caf8a7e5b54e78a3ec7de855c796
2016-08-26 22:52:55 +00:00
Todd Kennedy
742f4de6cf Enable web action apps based on system setting
am: efc1c4d501

Change-Id: I2c8c12aebddecb920d1924c4a04f96acdcd3cc02
2016-08-26 22:46:44 +00:00
Makoto Onuki
93d94ebac2 Update CP2 javadoc
Bug 30895732
Bug 30063194
Bug 30254247

Change-Id: I6af160daf06a52bd96db8f1dd1aa0c3bf3646fa1
2016-08-26 15:20:26 -07:00
Todd Kennedy
efc1c4d501 Enable web action apps based on system setting
Bug: 28140107
Change-Id: I4cff49165be6432404b9a616ca35bee249daab2a
2016-08-26 14:03:37 -07:00
Jason Monk
d70ed997cd Backup system QS tiles am: baade7573f am: 9813cb61dd
am: 8ed8f1e6a1

Change-Id: I74b572422c0e3b3b90c85df036c8593e49db58f7
2016-08-26 13:34:51 +00:00
Jason Monk
8ed8f1e6a1 Backup system QS tiles am: baade7573f
am: 9813cb61dd

Change-Id: Ia0ba996f6b0a889ba7469a2272a6fe0c235b15d5
2016-08-26 13:29:46 +00:00
Jason Monk
9813cb61dd Backup system QS tiles
am: baade7573f

Change-Id: Ie601a706cbdcfdb1e836117d02fec914b4acbab1
2016-08-26 13:24:14 +00:00
Jason Monk
baade7573f 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
2016-08-26 13:15:49 +00: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
TreeHugger Robot
49af952a92 Merge "Store the event of settings db downgrade" into nyc-mr1-dev 2016-08-25 02:18:11 +00:00
Doris Ling
7eeeb0d90e Add the Moves setting values to the backup list. am: 8a33273620 am: cdc758d555
am: b790a1e6ab

Change-Id: I440af4d5aafdc48e4d4333a5f708c86f97ffe556
2016-08-25 01:46:48 +00:00
Doris Ling
b790a1e6ab Add the Moves setting values to the backup list. am: 8a33273620
am: cdc758d555

Change-Id: I8fd42b0b5e9f9471a659f6ae0205482ad0c800e8
2016-08-25 01:39:39 +00:00
Doris Ling
cdc758d555 Add the Moves setting values to the backup list.
am: 8a33273620

Change-Id: I8f64074acbe6d85a0f2402695925e7f75c20569b
2016-08-25 01:31:28 +00:00
Doris Ling
8a33273620 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
2016-08-25 00:48:33 +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
Adrian Roos
7dd485d858 AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set am: 6a7e08920c
am: 5a461b65d0

Change-Id: I2915c6ee2408dbe5942e77d26acdf47e478ee8c0
2016-08-23 18:03:34 +00:00
Adrian Roos
5a461b65d0 AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
am: 6a7e08920c

Change-Id: I0a3713010a0c6e487257995bd34165348f5fc2a4
2016-08-23 16:52:23 +00:00
TreeHugger Robot
374f9a690b Merge "AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set" into nyc-mr1-dev 2016-08-23 16:39:45 +00:00
Ta-wei Yen
9a107a2df0 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 ad31603b80)
2016-08-23 15:42:31 +00:00
Sailesh Nepal
2cff2417cd resolve merge conflicts of ad31603 to cw-f-dev
am: bbfb97461d

Change-Id: I8c497533297df55ef4aac85ca2d0d981a057b9d4
2016-08-23 14:15:31 +00:00
Sailesh Nepal
bbfb97461d resolve merge conflicts of ad31603 to cw-f-dev
Change-Id: I970fe17c234f9b99142980f685c3c4efee4767fc
2016-08-23 07:04:30 -07:00
Adrian Roos
6a7e08920c AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
Change-Id: Ie6013013ff4e23e51e471e97d15e113cc759657e
Fixes: 30929056
2016-08-23 14:26:47 +02:00
Sailesh Nepal
5647c93e9e Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev 2016-08-21 13:40:02 +00:00
Ta-wei Yen
ad31603b80 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
2016-08-19 11:43:15 -07:00
Adrian Roos
ae96089711 Assist: Allow disabling the disclosure animation am: 2335bd6787
am: 57d1601849

Change-Id: I5954913f4f210e47d5e3a297f25d3f646cdd2a4b
2016-08-12 23:16:53 +00:00
Adrian Roos
57d1601849 Assist: Allow disabling the disclosure animation
am: 2335bd6787

Change-Id: I2a88e088da3062b7bd10581650de526629973c67
2016-08-12 20:35:22 +00:00
Adrian Roos
2335bd6787 Assist: Allow disabling the disclosure animation
Change-Id: I6e7ed00f066fda7cc268119e7aa4133010aa69c1
Fixes: 30809067
2016-08-12 12:04:53 -07: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
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
Fyodor Kupolov
892f55e7ad Set secure setting when all preloaded apps are installed am: 51ce8ee3b1
am: 65d5e75895

Change-Id: I0413cdb3dd7139066712caab59a5593d866ac2a7
2016-07-28 22:03:04 +00:00
Fyodor Kupolov
51ce8ee3b1 Set secure setting when all preloaded apps are installed
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-28 13:22:26 -07:00
Jeff Davidson
19af77d2cb Add support for carrier \"associated\" apps.
am: 24b9d96007

Change-Id: I1de92977f3a0635d88e6517210f6bbb06ab3d0f0
2016-07-27 21:18:07 +00:00
Jeff Davidson
94ae1e739f Merge "Add support for carrier "associated" apps." into nyc-mr1-dev 2016-07-27 17:57:39 +00:00
Jeff Davidson
24b9d96007 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
2016-07-26 14:54:53 -07:00
Justin Klaassen
194b3c49cb Add Settings#ACTION_NIGHT_DISPLAY_SETTINGS
am: 06c0cb7acd

Change-Id: I7ea6ce28be43d519144ec9311e15334d35e2702f
2016-07-22 22:13:23 +00:00
Justin Klaassen
06c0cb7acd 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
2016-07-21 19:22:09 -07:00
Justin Klaassen
6c02076e73 Merge \"Cleanup TwilightService\" into nyc-mr1-dev
am: e5aeca3dc9

Change-Id: Iac61d988c3432b8f78eb7d06dd3bb8d706fec621
2016-07-19 02:11:00 +00:00
Justin Klaassen
6384878d69 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
2016-07-18 16:57:15 -07:00
Mike Tsao
d4584a8fb5 Merge \"Back up Night Light settings\" into nyc-mr1-dev
am: 9a0e444c22

Change-Id: I4bc968dfced4671fecb140c50ce759b02d78c4a1
2016-07-15 21:33:57 +00:00
Mike Tsao
fc47ba75e4 Back up Night Light settings
Bug: 30150787
Change-Id: I79697b41b68e0f123de20e7b8782c6058bef7977
2016-07-15 13:12:17 -07: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
Tomasz Mikolajewski
0f2a7ca01e Merge \"Fix javadoc broken links in DocumentsContract.\" into nyc-mr1-dev
am: 0e7bb571fd

Change-Id: I45a178f0897fd837307131007529286ca4af0025
2016-07-14 03:21:51 +00:00