Commit Graph

20053 Commits

Author SHA1 Message Date
Raju Yadav
85472aa039 am 787f00f9: am 92331e51: Avoid SElinux denial accessing IMEI information
* commit '787f00f99255b63176f599b3e6c5ff13b48cf884':
  Avoid SElinux denial accessing IMEI information
2015-05-07 21:21:15 +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
Jason Monk
f86cddb3ef am 62b8ffae: am 97cebec1: Merge "Detect uninstalled apps during resume" into mnc-dev
* commit '62b8ffaec80eef1c2b0060cc2128b45dfc0bea28':
  Detect uninstalled apps during resume
2015-05-07 20:59:36 +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
62b8ffaec8 am 97cebec1: Merge "Detect uninstalled apps during resume" into mnc-dev
* commit '97cebec1a0975e1a85a4bbb0024e403c655722a8':
  Detect uninstalled apps during resume
2015-05-07 20:45:40 +00:00
Jason Monk
97cebec1a0 Merge "Detect uninstalled apps during resume" into mnc-dev 2015-05-07 20:36:17 +00:00
Jason Monk
4cbf9b2d58 Detect uninstalled apps during resume
Also cleanup disabled apps check while here

Bug: 20651305
Change-Id: I5ba8f6e7aee817842bb2ae2ee825647089bcacd3
2015-05-07 16:30:05 -04:00
Jason Monk
6cb0aee42e am c6f3d75d: am f4db340d: Consistently use weight to get average mem usage
* commit 'c6f3d75d777bc0dd2f30b1cb98e8a434d96a3e7b':
  Consistently use weight to get average mem usage
2015-05-07 20:14:57 +00:00
Jason Monk
c6f3d75d77 am f4db340d: Consistently use weight to get average mem usage
* commit 'f4db340daeb50572d7e0ab12f4745affae8b567f':
  Consistently use weight to get average mem usage
2015-05-07 20:07:46 +00:00
Jason Monk
f4db340dae Consistently use weight to get average mem usage
Rather than just for the labels...

Also update bg mem to be converted to the same memory scale for
the bars.  Also undo some bad average calculations that only made
things worse.

Bug: 20694769
Change-Id: I676803bf76d336355441891e768ba3c228dbfbca
2015-05-07 15:44:37 -04: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
Jason Monk
782b0e8210 am ad28b967: am 68d6d465: Merge "Always start storage list sorting by size" into mnc-dev
* commit 'ad28b9671664fb4468184a6cd293e0226015758e':
  Always start storage list sorting by size
2015-05-07 19:11:26 +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
Jason Monk
ad28b96716 am 68d6d465: Merge "Always start storage list sorting by size" into mnc-dev
* commit '68d6d465746a6dcec6f7e0a44fadae19b886fa42':
  Always start storage list sorting by size
2015-05-07 18:54:50 +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
Nick Kralevich
a6867f55e5 Merge "Avoid SElinux denial accessing IMEI information" 2015-05-07 18:21:18 +00:00
Alan Viverette
691f792968 am 38c88336: am 840002d6: Merge "Use theme colors in battery stats widget" into mnc-dev
* commit '38c883363d6d3845dc5746f7dd5ebd9ba8b4a304':
  Use theme colors in battery stats widget
2015-05-07 17:48:37 +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
Jason Monk
68d6d46574 Merge "Always start storage list sorting by size" into mnc-dev 2015-05-07 17:35:39 +00: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
069732c5f9 Always start storage list sorting by size
Bug: 20075068
Change-Id: I50a39decaa61bf7c3489243924c0d3928c4fe2ce
2015-05-07 13:09:48 -04: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
6e08b72006 am bb70e07f: am 59de14e2: Merge "Fix app headers in settings" into mnc-dev
* commit 'bb70e07f8354e3f466a7b93bf11669c5d91de9eb':
  Fix app headers in settings
2015-05-07 14:54:49 +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
Jeff Brown
c9189165a3 am 1df96a42: am 92d6b09e: Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
* commit '1df96a424c56ca502e6cafb6fc195a87f464f2de':
  Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
2015-05-07 05:28:57 +00:00
John Spurlock
10c1274e1c am d527aa0b: am 673db350: Merge "Settings: Add setting to mute wireless charging sound." into mnc-dev
* commit 'd527aa0bf55ab70d65c05836ee246302946a3b45':
  Settings:  Add setting to mute wireless charging sound.
2015-05-07 05:27:55 +00:00
Sanket Padawe
e9db8389d7 am 7ff3fbd0: am 39ac24df: Merge "Fix SimStatus crash in Settings." into mnc-dev
* commit '7ff3fbd01e972f5436c45b72633909fd5e73a46d':
  Fix SimStatus crash in Settings.
2015-05-07 05:26:47 +00:00
Sanket Padawe
29fb5beae3 am a19723b4: am b7a1b5c3: Merge "Saved networks summary strings." into mnc-dev
* commit 'a19723b4a6c18e47f2126075967d20267c3190a2':
  Saved networks summary strings.
2015-05-07 05:25:30 +00:00
Jeff Brown
1df96a424c am 92d6b09e: Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
* commit '92d6b09ebbb7c810a52f1a69a376d06277820a4b':
  Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
2015-05-07 01:41:10 +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
Jeff Brown
92d6b09ebb Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
Bug: 20641986
Change-Id: Ief6c0d6048abc9411f1e9930cec1edde4a582cf9
2015-05-06 16:02:22 -07:00
John Spurlock
673db350c3 Merge "Settings: Add setting to mute wireless charging sound." into mnc-dev 2015-05-06 22:49:07 +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
Sanket Padawe
7ff3fbd01e am 39ac24df: Merge "Fix SimStatus crash in Settings." into mnc-dev
* commit '39ac24df7913546d8f2db3f17bc3d3dca5638e4a':
  Fix SimStatus crash in Settings.
2015-05-06 22:14:28 +00:00
Sanket Padawe
39ac24df79 Merge "Fix SimStatus crash in Settings." into mnc-dev 2015-05-06 22:04:12 +00: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
Sanket Padawe
a19723b4a6 am b7a1b5c3: Merge "Saved networks summary strings." into mnc-dev
* commit 'b7a1b5c310ccb33b6999041f2ba1f99d98cc0282':
  Saved networks summary strings.
2015-05-06 21:07:20 +00:00
Sanket Padawe
b7a1b5c310 Merge "Saved networks summary strings." into mnc-dev 2015-05-06 20:59:13 +00: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
Sudheer Shanka
dbd059fec8 am 11710005: am 5a817c6b: Forward ACTION_OTHER_SOUND_SETTINGS intent to primary profile.
* commit '11710005b8c257a1792117bdebf914e9cccecbb3':
  Forward ACTION_OTHER_SOUND_SETTINGS intent to primary profile.
2015-05-06 17:01:17 +00:00
Sudheer Shanka
11710005b8 am 5a817c6b: Forward ACTION_OTHER_SOUND_SETTINGS intent to primary profile.
* commit '5a817c6bcc14033b08ad8ddec10625e4352ef194':
  Forward ACTION_OTHER_SOUND_SETTINGS intent to primary profile.
2015-05-06 16:54:12 +00:00
Sudheer Shanka
5a817c6bcc Forward ACTION_OTHER_SOUND_SETTINGS intent to primary profile.
Change-Id: I55c169b280d7302c9e387f80be82ef47132798c2
2015-05-06 16:35:22 +01:00
Sanket Padawe
5a3b91cdbb Fix SimStatus crash in Settings.
Bug: 20862873
Change-Id: I1ae60ceb64a8af8b3f875e50dd62dfe9796192ca
2015-05-05 19:00:39 -07:00
John Spurlock
02d0dc0678 am 496aff37: am 0d2a8d20: Settings: Migrate calls & messages priority settings.
* commit '496aff371ed5cf5b73b5031e0fae809891155b18':
  Settings: Migrate calls & messages priority settings.
2015-05-06 00:45:52 +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
465e9322b2 am 5aa17988: am faadcd60: Settings UI for SIM access profile (1/2)
* commit '5aa179886c0379ac6647cdaeb1c16634c827f840':
  Settings UI for SIM access profile (1/2)
2015-05-05 19:00:58 +00:00