Commit Graph

7279 Commits

Author SHA1 Message Date
Jason Monk
fa9d27918d Merge "Add tap to wake setting" into mnc-dev 2015-05-12 14:35:17 +00:00
Hemanth kumar B
f939487cfc am 370e44d7: Avoid SElinux denial accessing SIM card lock
* commit '370e44d72d7ff6d5ed36bbfe4fd1272c74bf5f52':
  Avoid SElinux denial accessing SIM card lock
2015-05-11 20:26:44 +00:00
Hemanth kumar B
370e44d72d 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.

(cherrypicked from commit bef7221a7d)

Change-Id: I3ba30d5d5e2c5b3c379397fbb06325101acaf490
2015-05-11 13:12:26 -07:00
Jason Monk
72683a5152 am c24d0e1f: Merge "Update strings for ignore optimizations control" into mnc-dev
* commit 'c24d0e1fcc6ad1b4da39c00094289e71ab9da3a3':
  Update strings for ignore optimizations control
2015-05-11 20:10:55 +00:00
Jason Monk
c24d0e1fcc Merge "Update strings for ignore optimizations control" into mnc-dev 2015-05-11 20:03:46 +00:00
Jason Monk
bcb4f2c913 Update strings for ignore optimizations control
Bug: 19991702
Change-Id: Ie5b54fd70176cfceb8b88cf18a9974321ba84c28
2015-05-11 16:01:21 -04: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
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
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
Maurice Lam
ba41945959 [WifiSetup] Use adjustResize for alert dialogs during Setup
Created theme ThemeOverlay.AlertDialog that inherits from the default
ThemeOverlay.Material.Dialog.Alert and sets the windowSoftInputMode
to adjustResize.

Bug: 20953227
Change-Id: I20af124b6d92bff3a5807b2f8475acda92c90208
2015-05-08 15:01:48 -07: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
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
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
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
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
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
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
5aa179886c am faadcd60: Settings UI for SIM access profile (1/2)
* commit 'faadcd60e7ab8fa6eb9b5be7be907129bd3f8575':
  Settings UI for SIM access profile (1/2)
2015-05-05 18:46:43 +00:00
Brian Colonna
5e8ce3d9a3 am 229d06a8: Removed some dead Face Unlock code.
* commit '229d06a83943a2c924d9c06e0f31d71e5e8801b9':
  Removed some dead Face Unlock code.
2015-05-05 18:45:55 +00:00
John Spurlock
7c84eecc31 am a924f3d6: Merge "Settings: Calendar event zen rule string updates." into mnc-dev
* commit 'a924f3d6bbd3b304d962a76f75b3f91567ee045b':
  Settings: Calendar event zen rule string updates.
2015-05-05 18:45:43 +00:00
Casper Bonde
faadcd60e7 Settings UI for SIM access profile (1/2)
Change-Id: Iff14295ac0eb65561a2097f25c70e8b5f8be5003
2015-05-05 16:59:17 +00:00
Brian Colonna
229d06a839 Removed some dead Face Unlock code.
I checked to see if any dead Face Unlock code remains in settings.  Most of it
has been removed, but I did find some strings and an xml file that can be
removed.

Bug: 16139545
Change-Id: I16d7b3a258c72d6788348d1fbe35a7f6bc12ee8e
2015-05-05 11:23:12 -04:00
John Spurlock
a924f3d6bb Merge "Settings: Calendar event zen rule string updates." into mnc-dev 2015-05-05 14:42:05 +00:00
John Spurlock
4b43b72054 Settings: Calendar event zen rule string updates.
- Remove Attendance option.
 - Use new reply value, tweak wording and summaries.

Bug: 20064962
Change-Id: I6977b494e54752fa87ea08df0ed085129a09a3d3
2015-05-05 10:12:26 -04:00
Yorke Lee
61b82ac4cb am 3066f832: Merge "Rename default dialer to default phone app" into mnc-dev
* commit '3066f832435af08bbc2ed5fcef45228d5ff86e33':
  Rename default dialer to default phone app
2015-05-05 01:04:15 +00:00
Yorke Lee
3066f83243 Merge "Rename default dialer to default phone app" into mnc-dev 2015-05-05 00:22:13 +00:00
Jason Monk
ed1bf50d12 am 0ab13b83: Merge "Add high power whitelist for apps" into mnc-dev
* commit '0ab13b8326d6f31caff922fd95828254cb95a618':
  Add high power whitelist for apps
2015-05-04 18:59:15 +00:00
Jason Monk
0ab13b8326 Merge "Add high power whitelist for apps" into mnc-dev 2015-05-04 18:50:19 +00:00
Jason Monk
1eb54eb2ff Add high power whitelist for apps
- Strings not final!
 - New UX for power usage details (more preferency)
 - Add high power apps list shows on/off and screen to
   change (when possible)
 - Link from power usage summary to high power list
 - Link from advanced apps to high power list

Bug: 19991702
Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
2015-05-04 14:38:01 -04:00
Geoff Mendal
32ba436b0b Import translations. DO NOT MERGE
Change-Id: I9fa131ac5fdd9b014c319fa72ede5aaca13eb24c
Auto-generated-cl: translation import
2015-05-04 06:18:18 -07:00