Commit Graph

6574 Commits

Author SHA1 Message Date
Nick Kralevich
01b51b768a am bd9cfd03: am 1cfc2fc4: Merge "Avoid SElinux denial accessing SIM card lock"
* commit 'bd9cfd03cab1e87b00f8ab1c0d1d195fb3e88b43':
  Avoid SElinux denial accessing SIM card lock
2015-05-11 20:04:32 +00:00
Nick Kralevich
bd9cfd03ca am 1cfc2fc4: Merge "Avoid SElinux denial accessing SIM card lock"
* commit '1cfc2fc41d99d588a17928ba3130ee2339845360':
  Avoid SElinux denial accessing SIM card lock
2015-05-11 19:59:08 +00:00
Barnaby James
8968ba2785 am d4c613e9: am cea2cf43: am 9331b9fa: Merge "Simplify Zen mode voice activity." into mnc-dev
* commit 'd4c613e9970b174d0295b177c23033bab413034c':
  Simplify Zen mode voice activity.
2015-05-11 19:23:44 +00:00
Barnaby James
cea2cf43c4 am 9331b9fa: Merge "Simplify Zen mode voice activity." into mnc-dev
* commit '9331b9fa0d416b80423b1200a80349be77463c65':
  Simplify Zen mode voice activity.
2015-05-11 18:26:36 +00:00
Barnaby James
9331b9fa0d Merge "Simplify Zen mode voice activity." into mnc-dev 2015-05-11 18:15:03 +00:00
Barnaby James
0474b723e1 Simplify Zen mode voice activity.
Zen mode voice activity now only sets the notification mode to alarms mode
or off. A duration may be specified if it was in the original intent.

Change-Id: Ica472ca9c6dcbce473832f4f922baf225df4951b
Bug: 21024455
2015-05-11 09:20:54 -07:00
John Spurlock
91070afa12 am 62fe0df1: am 88be59ea: am b8099f54: Settings: Migrate notification access screens to switch prefs.
* commit '62fe0df138b9987f827e46254aebfc4561b55a2d':
  Settings: Migrate notification access screens to switch prefs.
2015-05-11 16:18:13 +00:00
Geoff Mendal
bff0f2905f Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-11 16:10:13 +00:00
John Spurlock
88be59ea38 am b8099f54: Settings: Migrate notification access screens to switch prefs.
* commit 'b8099f542c21e3ac57d250837e60ec65653ab55c':
  Settings: Migrate notification access screens to switch prefs.
2015-05-11 15:58:51 +00:00
John Spurlock
b8099f542c Settings: Migrate notification access screens to switch prefs.
Bug: 20916418
Change-Id: I729bc3a6f853f15780f12e7d7c9f337447e399c4
2015-05-11 11:47:21 -04:00
Geoff Mendal
98f714c719 Import translations. DO NOT MERGE
Change-Id: I57e694a0f716f9c8a45493cd1b4a2ad9d6d4a7ef
Auto-generated-cl: translation import
2015-05-11 07:50:14 -07:00
Geoff Mendal
9d8d5fe3e4 Import translations. DO NOT MERGE
Change-Id: I7777ee2e12e3d148ecc42f211cd7a388ad8509c6
Auto-generated-cl: translation import
2015-05-11 07:13:25 -07:00
Hemanth kumar B
bef7221a7d Avoid SElinux denial accessing SIM card lock
This change avoids the following SELinux denial:

  W/SharedPreferenc(28238): type=1400 audit(0.0:8): avc: denied\
  { search } for name="com.android.settings" dev="mmcblk0p25"\
  ino=8209 scontext=u:r:radio:s0 tcontext=u:object_r:system_app\
  _data_file:s0 tclass=dir op_res=-13 ppid=318 pcomm="main"\
  tgid=1850 tgcomm="m.android.phone"

When accessing Settings->Security->Set up SIM card lock.

There is really no need to store this information in
SharedPreferences anyway.

Change-Id: I3ba30d5d5e2c5b3c379397fbb06325101acaf490
2015-05-10 17:21:35 +02:00
John Spurlock
7cb6fe5c59 am 752acc16: am d068dba8: am 7b998977: Merge "Settings: New DND access settings page." into mnc-dev
* commit '752acc16112502ed2011d0236d516d655539278e':
  Settings: New DND access settings page.
2015-05-08 22:48:37 +00:00
John Spurlock
d068dba82a am 7b998977: Merge "Settings: New DND access settings page." into mnc-dev
* commit '7b9989773b1b6ffc415300c095bde51b5c90ff71':
  Settings: New DND access settings page.
2015-05-08 22:35:41 +00:00
John Spurlock
7b9989773b Merge "Settings: New DND access settings page." into mnc-dev 2015-05-08 22:28:55 +00:00
Jason Monk
e92d8d0789 am 060789f7: am cf2814be: am 173d658b: Merge "Button that goes from app info details to app info" into mnc-dev
* commit '060789f76d6a84857ac15f47fb1b2a9e6e2d6391':
  Button that goes from app info details to app info
2015-05-08 20:21:28 +00:00
Jason Monk
cf2814bec4 am 173d658b: Merge "Button that goes from app info details to app info" into mnc-dev
* commit '173d658babe0bcb6add829d1621550cebeed2296':
  Button that goes from app info details to app info
2015-05-08 19:58:26 +00:00
Jason Monk
173d658bab Merge "Button that goes from app info details to app info" into mnc-dev 2015-05-08 19:47:29 +00:00
Jason Monk
8f600a4fbc Button that goes from app info details to app info
This info button is shown on the header of all app detail pages.
This button is hidden when coming from app info, to avoid allowing
users to go in circles.

Since app notification details had a settings button where the new
info button goes, the app notification settings will move down to
be a preference (this matches the usage access screen UX).

Also fix a bug in launching app notification settings for managed
profiles.

Bug: 20633669
Change-Id: Idbb4f7c3326b4c6b0a19559b722ee0406eaba6c0
2015-05-08 15:35:46 -04:00
John Spurlock
08531a81cb Settings: New DND access settings page.
- New advanced notification settings subpage for managing apps
   that have requested the ability to manage notification policy.
 - Create new "Advanced" section at the bottom of notification settings
   for this and the existing Notification access settings page.

Bug: 18298798
Change-Id: Ib415e634980d37d6492799f67a6619700ee2a01c
2015-05-08 13:57:22 -04:00
Erik Kline
d69572531a am 16aa45ad: am 3704367e: am c0df6623: Merge "Add settings for persisting the mobile data connection." into mnc-dev
* commit '16aa45ad50121f9aa9c09174b87011140ceeb6e6':
  Add settings for persisting the mobile data connection.
2015-05-08 16:59:49 +00:00
Erik Kline
3704367ec3 am c0df6623: Merge "Add settings for persisting the mobile data connection." into mnc-dev
* commit 'c0df6623a0eb0ebbdb965111269b96d9f4a4b976':
  Add settings for persisting the mobile data connection.
2015-05-08 09:23:38 +00:00
Erik Kline
c0df6623a0 Merge "Add settings for persisting the mobile data connection." into mnc-dev 2015-05-08 08:12:21 +00:00
Raju Yadav
787f00f992 am 92331e51: Avoid SElinux denial accessing IMEI information
* commit '92331e51eadb717a15626083b52a820c236dc1cd':
  Avoid SElinux denial accessing IMEI information
2015-05-07 21:09:22 +00:00
Raju Yadav
92331e51ea Avoid SElinux denial accessing IMEI information
Set persistent attribute to false so preferences are not
stored in shared preferences, this avoids the SElinux
denial:

  W/SharedPreferenc( 6950): type=1400 audit(0.0:4): avc: \
  denied { search } for name="com.android.settings" \
  dev="mmcblk0p25" ino=48929 scontext=u:r:radio:s0 \
  tcontext=u:object_r:system_app_data_file:s0 tclass=dir\
  op_res=-13 ppid=319 pcomm="main" tgid=1589\
  tgcomm="m.android.phone"

Observed when entering IMEI information in:
Settings > About Phone > Status > IMEI information.

It makes no sense to store this information in shared
preferences anyway so no functinoality is lost with this
change.

(cherrypicked from commit b2ad5bb522)

Change-Id: Id778bbadc8141167d679177b39e1d7a540d5752c
2015-05-07 13:54:54 -07:00
Jason Monk
4025f02ba8 am ea9dae2e: am 216d9bcb: am e2d63fef: Merge "Updates/fixes to memory settings" into mnc-dev
* commit 'ea9dae2ebfcc2d1bd073f1de01dce56c748ae3e1':
  Updates/fixes to memory settings
2015-05-07 19:21:24 +00:00
Jason Monk
ea9dae2ebf am 216d9bcb: am e2d63fef: Merge "Updates/fixes to memory settings" into mnc-dev
* commit '216d9bcb7f58e953d75d919153661e3d61af8109':
  Updates/fixes to memory settings
2015-05-07 19:11:27 +00:00
Nick Kralevich
e06408dcb8 am d273dd26: am a6867f55: Merge "Avoid SElinux denial accessing IMEI information"
* commit 'd273dd260ecd926cfa1f7ecede0052d509fde0b4':
  Avoid SElinux denial accessing IMEI information
2015-05-07 19:00:13 +00:00
Jason Monk
216d9bcb7f am e2d63fef: Merge "Updates/fixes to memory settings" into mnc-dev
* commit 'e2d63fef3ccbfd3001b7e794b3ee1203fc1c77af':
  Updates/fixes to memory settings
2015-05-07 18:54:51 +00:00
Nick Kralevich
d273dd260e am a6867f55: Merge "Avoid SElinux denial accessing IMEI information"
* commit 'a6867f55e5a46eda1013e466a7bb5676fcebe67e':
  Avoid SElinux denial accessing IMEI information
2015-05-07 18:44:41 +00:00
Alan Viverette
06bb1e2b9c am 691f7929: am 38c88336: am 840002d6: Merge "Use theme colors in battery stats widget" into mnc-dev
* commit '691f792968569cd983b46a69feb7549fb8ee5fc8':
  Use theme colors in battery stats widget
2015-05-07 18:29:31 +00:00
Jason Monk
e2d63fef3c Merge "Updates/fixes to memory settings" into mnc-dev 2015-05-07 17:45:39 +00:00
Jason Monk
1de522323f Updates/fixes to memory settings
- Update memory states to be Good performance, Ok performance, etc.
 - Update header info to be based on history rather than
   instantaneous
 - Color memory bar differently based on state
 - Fix run frequency bucketing to be correct
 - Show dialog for selecting duration, and fix duration selection
 - Update process naming to:
      - If process name is "anything:xxxx" then show "Xxxx"
      - If process name is "com.app.package.interface" then show "Interface"
      - If process name is the package name then show the app name
      - Otherwise fallback to the process name string

Bug: 20694769
Change-Id: Ic1fab28bfd2422bde84dd10bd305a4cc34be98cf
2015-05-07 13:45:08 -04:00
Alan Viverette
38c883363d am 840002d6: Merge "Use theme colors in battery stats widget" into mnc-dev
* commit '840002d66c19af51618489850c7ccea465cd23f8':
  Use theme colors in battery stats widget
2015-05-07 17:30:02 +00:00
Raju Yadav
b2ad5bb522 Avoid SElinux denial accessing IMEI information
Set persistent attribute to false so preferences are not
stored in shared preferences, this avoids the SElinux
denial:

  W/SharedPreferenc( 6950): type=1400 audit(0.0:4): avc: \
  denied { search } for name="com.android.settings" \
  dev="mmcblk0p25" ino=48929 scontext=u:r:radio:s0 \
  tcontext=u:object_r:system_app_data_file:s0 tclass=dir\
  op_res=-13 ppid=319 pcomm="main" tgid=1589\
  tgcomm="m.android.phone"

Observed when entering IMEI information in:
Settings > About Phone > Status > IMEI information.

It makes no sense to store this information in shared
preferences anyway so no functinoality is lost with this
change.

Change-Id: Id778bbadc8141167d679177b39e1d7a540d5752c
2015-05-07 19:18:39 +02:00
Jason Monk
312beac808 am 6e08b720: am bb70e07f: am 59de14e2: Merge "Fix app headers in settings" into mnc-dev
* commit '6e08b72006786874db18ef8fa679beb8026e88a2':
  Fix app headers in settings
2015-05-07 17:16:59 +00:00
Alan Viverette
840002d66c Merge "Use theme colors in battery stats widget" into mnc-dev 2015-05-07 16:57:10 +00:00
Jason Monk
bb70e07f83 am 59de14e2: Merge "Fix app headers in settings" into mnc-dev
* commit '59de14e2197e84baf663fa700ee7b2323fbaef6b':
  Fix app headers in settings
2015-05-07 13:17:43 +00:00
Jason Monk
59de14e219 Merge "Fix app headers in settings" into mnc-dev 2015-05-07 13:08:29 +00:00
John Spurlock
e2148f3421 am 10c1274e: am d527aa0b: am 673db350: Merge "Settings: Add setting to mute wireless charging sound." into mnc-dev
* commit '10c1274e1c8811fd1bbb217405d7fb6e049d5dd4':
  Settings:  Add setting to mute wireless charging sound.
2015-05-07 05:39:33 +00:00
John Spurlock
d527aa0bf5 am 673db350: Merge "Settings: Add setting to mute wireless charging sound." into mnc-dev
* commit '673db350c3315df2c3a0ef70092a1d63fd8021c7':
  Settings:  Add setting to mute wireless charging sound.
2015-05-07 00:11:17 +00:00
Alan Viverette
9b2d47f445 Use theme colors in battery stats widget
Bug: 20633519
Change-Id: Ia83848ff506afbddf320fa0ed3d022f9a0e884dc
2015-05-06 15:17:27 -07:00
John Spurlock
ae91c0a99a Settings: Add setting to mute wireless charging sound.
Bug: 19538553
Change-Id: I93228aee38f8eb035025409ce063f3050bf9bb9a
2015-05-06 17:42:30 -04:00
Jason Monk
20f464edde Fix app headers in settings
Use SettingsPreferenceFragment's method for pinned headers where
possible, and add a frame within the fragment for them to live in
otherwise so that this view doesn't end up on the activity.

Bug: 20886475
Change-Id: I985eb1497744ea50bfabed862e5088eb89df5b61
2015-05-06 16:00:25 -04:00
John Spurlock
bcc687475e am 02d0dc06: am 496aff37: am 0d2a8d20: Settings: Migrate calls & messages priority settings.
* commit '02d0dc0678298db94fae87da6c1d9c433d46bcae':
  Settings: Migrate calls & messages priority settings.
2015-05-06 00:52:36 +00:00
John Spurlock
496aff371e am 0d2a8d20: Settings: Migrate calls & messages priority settings.
* commit '0d2a8d204bb7d62834d51393a1d4a6ddaa7753f8':
  Settings: Migrate calls & messages priority settings.
2015-05-06 00:39:41 +00:00
John Spurlock
0d2a8d204b Settings: Migrate calls & messages priority settings.
Bug: 18635172
Change-Id: Ib5fe3bc80590875bb4a1547013ac3444939ab6fd
2015-05-05 18:50:15 -04:00
Casper Bonde
6608445cad am 465e9322: am 5aa17988: am faadcd60: Settings UI for SIM access profile (1/2)
* commit '465e9322b2ec2943ed22e06b3f25849328be93d6':
  Settings UI for SIM access profile (1/2)
2015-05-05 19:22:39 +00:00
Brian Colonna
513b1adc96 am a26112b9: am 5e8ce3d9: am 229d06a8: Removed some dead Face Unlock code.
* commit 'a26112b9524393143cceec495374fb076f04e60d':
  Removed some dead Face Unlock code.
2015-05-05 19:22:37 +00:00