Commit Graph

7011 Commits

Author SHA1 Message Date
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
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
Raju Yadav
05fb069d65 Remove phone information for a secondary user
Default phone information is not available for a secondary
user and when accessed using service command *#*#INFO#*#*,
it causes crash in Settings. Removed the preference for a
secondary user.

To verify:
1. Add user(slide down status bar>user icon>Add user>
   OK>finish the setup guide).
2. As new user launch Phone app>input “*#*#4636#*#*”>
   tap Phone information>check
Causes Settings to crash with:
  Caused by: java.lang.IllegalStateException: Default phones haven't been made yet!
  at com.android.internal.telephony.PhoneFactory.getDefaultPhone(PhoneFactory.java:214)
  at com.android.settings.RadioInfo.onCreate(RadioInfo.java:263)
  at android.app.Activity.performCreate(Activity.java:5990)
  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)

Change-Id: Ie23107c5eead04183cfd8b5460a9a7a3426a99b8
2015-05-07 20:22:24 +02: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
John Spurlock
cb8d0b59ea am 0682d5a1: am 7c84eecc: am a924f3d6: Merge "Settings: Calendar event zen rule string updates." into mnc-dev
* commit '0682d5a1eedce49506246734124efcc6f733e8b0':
  Settings: Calendar event zen rule string updates.
2015-05-05 19:22:35 +00: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
1186df4315 am 3e460f13: am 61b82ac4: am 3066f832: Merge "Rename default dialer to default phone app" into mnc-dev
* commit '3e460f1368c12843d345c28be1233618e7bd8bbd':
  Rename default dialer to default phone app
2015-05-05 01:30:24 +00: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
Jason Monk
1c2af85471 am e7c31d34: am ed1bf50d: am 0ab13b83: Merge "Add high power whitelist for apps" into mnc-dev
* commit 'e7c31d34d0ac6c0d57bfa29ec1c6acadbf18e0b9':
  Add high power whitelist for apps
2015-05-05 01:03:25 +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