Commit Graph

5391 Commits

Author SHA1 Message Date
Zhihai Xu
b2201f586d am c326942d: am cf71c2d3: am 83936d96: Merge "BT keeps on asking me if I want to allow car to do stuff" into klp-dev
* commit 'c326942dfd68ee60b8b0c9f244c8e3c1798b48e1':
  BT keeps on asking me if I want to allow car to do stuff
2013-10-11 14:13:33 -07:00
Zhihai Xu
c326942dfd am cf71c2d3: am 83936d96: Merge "BT keeps on asking me if I want to allow car to do stuff" into klp-dev
* commit 'cf71c2d3e31375fa68fd65f1ec39fcce62a4b4c3':
  BT keeps on asking me if I want to allow car to do stuff
2013-10-11 14:10:13 -07:00
Yuhao Zheng
5d2169eb6f Refresh peer list when entering wifi p2p settings
When wifi p2p is connected, entering Wi-Fi Direct UI won't show any peer devices
until a WIFI_P2P_PEERS_CHANGED_ACTION broadcast is received (long after or never).
Users may be confused and think p2p is disconnected. It's more user friendly to
display connected devices right at the beginning.

In addition, this CL removes the useless mWifiP2pManager.requestGroupInfo call.

Bug: 11175553
Change-Id: I0f0834043a2cf6e8fc20319e6861b62484478146
2013-10-11 14:08:48 -07:00
Zhihai Xu
83936d967d Merge "BT keeps on asking me if I want to allow car to do stuff" into klp-dev 2013-10-11 21:02:51 +00:00
Dianne Hackborn
5e53e25e8d am 47be2e84: am 4f00b368: am b1e33884: Allow tapping on memory status regions to filter proc stats.
* commit '47be2e84d0b0f603357646ae18a2bc39b8b148cf':
  Allow tapping on memory status regions to filter proc stats.
2013-10-11 12:55:04 -07:00
Dianne Hackborn
47be2e84d0 am 4f00b368: am b1e33884: Allow tapping on memory status regions to filter proc stats.
* commit '4f00b368f9fcc27d43dfc63c3ac9d6fedf8a070d':
  Allow tapping on memory status regions to filter proc stats.
2013-10-11 12:50:07 -07:00
Zhihai Xu
9998639a65 BT keeps on asking me if I want to allow car to do stuff
We can remember it as a non persist global value when user click no.
This value won't be saved when power down.
We will restore the permission choice
when we are disconnected with the remote device.
So the "no" choice selected by user will only take effect
until we are disconnected with the remote device.

bug:11176511
Change-Id: Ic0c0829587cf7a812b5fa96fbd381921f67c186f
2013-10-11 12:15:19 -07:00
Dianne Hackborn
b1e3388419 Allow tapping on memory status regions to filter proc stats.
Change-Id: Iade56907df648a95600919578154635c49ac9dce
2013-10-11 11:54:34 -07:00
Yuhao Zheng
aa62e2be18 Merge "Wi-Fi Direct setting UI: handle p2p disable state" 2013-10-11 18:38:09 +00:00
Andrew Flynn
17c008e9d0 Check for presence of carrier app in Mobile Plan.
When the user chooses Mobile Plan in Settings, first do a check to see if
a valid carrier app for the current MCC/MNC exists. If so, launch that app
instead of checking for a provisioning URL or hoping for a DNS redirect in
the browser. If no such app exists, continue on as normal.

Bug: 9623212
Change-Id: I81538063d4cdd147948a83ffc0c2641174ba9001
2013-10-11 09:21:41 -07:00
Svetoslav
b05be5fe0f am be74fb8d: am 43b8946f: am d9f156dd: Coalescing multiple print job notifications (Settings)
* commit 'be74fb8d729828642cce0514e1043c290e8ceea0':
  Coalescing multiple print job notifications (Settings)
2013-10-10 10:24:35 -07:00
Svetoslav
be74fb8d72 am 43b8946f: am d9f156dd: Coalescing multiple print job notifications (Settings)
* commit '43b8946fb3071a1454aa17c352a34c2d389c096e':
  Coalescing multiple print job notifications (Settings)
2013-10-10 10:17:46 -07:00
Yuhao Zheng
acac38011b Wi-Fi Direct setting UI: handle p2p disable state
This is not a normal use case as we can't enter Wi-Fi Direct setting when p2p
is disabled. However we can make this happen by entering Wi-Fi Direct setting
screen then disabling wifi via quick settings.

Previous UI implementation didn't handle p2p enable->disable change completely,
leaving the screen out-of-date until we change the screen orientation.

Now we always attach mThisDevicePref/mPeersGroup/mPersistentGroup to the screen,
but just disable them when p2p is disabled. Another advantage of doing this is
to avoid b/11050625, which occurs when a PreferenceGroup is not attached to the
PreferenceScreen.

Bug: 11133069
Change-Id: I9be7b6e396d7677b5a33df8e6294b4a0aa6bd389
2013-10-10 10:08:45 -07:00
Yuhao Zheng
e4d0d1e0c4 Merge "Fix NPE in Wi-Fi Direct Setting UI" 2013-10-10 16:18:07 +00:00
Svetoslav
d9f156ddf0 Coalescing multiple print job notifications (Settings)
We used to show a single notificaiton for every print job but
this is against th UX guidelines. Since we have to lead by
example, this change adds coalescing of multiple notifications.

bug:11155212

Change-Id: I865450495e7e85bd6620c1f42aeef07d2f83a01a
2013-10-09 23:40:56 -07:00
Dianne Hackborn
f337e3eb23 am 1acb82c5: am c2d73bed: am 02099910: Fix issue #11033002: Percentages in proc stats details are not rounded correctly
* commit '1acb82c563badb953831ed06216349260a89c3ac':
  Fix issue #11033002: Percentages in proc stats details are not rounded correctly
2013-10-09 12:23:52 -07:00
Dianne Hackborn
1acb82c563 am c2d73bed: am 02099910: Fix issue #11033002: Percentages in proc stats details are not rounded correctly
* commit 'c2d73bed9d1ed3cac7236bc9bf7b247871c9285d':
  Fix issue #11033002: Percentages in proc stats details are not rounded correctly
2013-10-09 12:21:42 -07:00
Dianne Hackborn
020999103b Fix issue #11033002: Percentages in proc stats details are not rounded correctly
Use round instead of ceil.  Also, when showing services from multiple packages,
sort the package categories by the duration of the longest running service in
each, so that the more important ones come first.

Change-Id: I42b47b0522cd786a1c4ee5b59a549ec7c0c6ffe1
2013-10-09 12:06:59 -07:00
Lifu Tang
7ada0da0e9 am e40897a8: am 9dc55e34: am 8a4c53ac: Limits the broadcast to system apps only
* commit 'e40897a8808d62ead601982a7d7771d64a2359c6':
  Limits the broadcast to system apps only
2013-10-09 09:14:28 -07:00
Lifu Tang
e40897a880 am 9dc55e34: am 8a4c53ac: Limits the broadcast to system apps only
* commit '9dc55e348af75d7f22090de03e2a123bf961ab08':
  Limits the broadcast to system apps only
2013-10-08 21:34:17 -07:00
Svetoslav
7dfacf5f8c resolved conflicts for merge of 372cd6ab to master
Change-Id: I9232fbe01926436e8ad5c6c7e63ce95fbe842ccb
2013-10-08 17:42:25 -07:00
Lifu Tang
8a4c53ac2b Limits the broadcast to system apps only
- Part of b/10974059

Change-Id: I1f0b6eeece88a2ee29b76636b9ce58dcc3d71aad
2013-10-08 16:23:52 -07:00
Christopher Tate
c7158f4e57 am 7e776ad7: am 3eb0f422: am eff0927d: Merge "Once we decide to show Home settings, keep it shown forever" into klp-dev
* commit '7e776ad76ce60eb0c68fb54b640b18c0e9843a04':
  Once we decide to show Home settings, keep it shown forever
2013-10-08 16:02:45 -07:00
Svetoslav
372cd6ab86 am d9649d4e: am 31962228: Merge "Fix a crash in the print service settigns." into klp-dev
* commit 'd9649d4e150130eef78a04c684007fe729f3206a':
  Fix a crash in the print service settigns.
2013-10-08 14:35:18 -07:00
Svetoslav
31962228aa Merge "Fix a crash in the print service settigns." into klp-dev 2013-10-08 21:28:22 +00:00
Christopher Tate
7e776ad76c am 3eb0f422: am eff0927d: Merge "Once we decide to show Home settings, keep it shown forever" into klp-dev
* commit '3eb0f422f6e0291a274f72dc3951ce7cf048e5be':
  Once we decide to show Home settings, keep it shown forever
2013-10-08 14:26:16 -07:00
Christopher Tate
eff0927df2 Merge "Once we decide to show Home settings, keep it shown forever" into klp-dev 2013-10-08 21:20:13 +00:00
Svetoslav
39392ef9b0 Fix a crash in the print service settigns.
When the search view is attached and detached we announce that
 for accessibility. The trouble is that if the activity is being
 torn down we are trying to access resources from a fragment that
 is detached and the qcrash occurs. This change does not try to
 access resources if the activity is finishing and also we do not
 load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: If3e97b6e94687775386a43c8fa54fd45140306eb
2013-10-08 12:08:18 -07:00
Lifu Tang
c936b9c822 am 83df0123: am 40eefc17: am 1673fbc0: Broadcasting a message for mode changing
* commit '83df01235788b2a820d68b7c8a51f7a0fc5c1d64':
  Broadcasting a message for mode changing
2013-10-08 12:01:45 -07:00
Lifu Tang
83df012357 am 40eefc17: am 1673fbc0: Broadcasting a message for mode changing
* commit '40eefc17d877357e074fff34c670b6e61f71deeb':
  Broadcasting a message for mode changing
2013-10-08 11:58:44 -07:00
Christopher Tate
dc7be10734 Once we decide to show Home settings, keep it shown forever
Principle of Least Surprise FTW.

Bug 11131794

Change-Id: I1df720fa86fb870aa74a5d0074ca966843317f12
2013-10-08 11:33:03 -07:00
Yuhao Zheng
6271cd01de Fix NPE in Wi-Fi Direct Setting UI
After a PreferenceGroup is created, attach it to a PreferenceScreen right away.
Otherwise, if PreferenceGroup.addPreference is accidentally called before being
attached, it will result in an NPE and a UI crash.

Bug: 11050625
Change-Id: I68fa8b67ab807c0729c43c1b5cdabdbcd4f2c230
2013-10-08 10:26:37 -07:00
Lifu Tang
1673fbc029 Broadcasting a message for mode changing
- Fix b/10974059

Change-Id: I219ea35e65a36af9f041a487dd8039bb5e2f048b
2013-10-08 09:48:41 -07:00
Chris Wren
cff5cca476 am 65994536: am 98b30cea: am a50f7851: Merge "Hide Camera in CryptKeeperConfirm" into klp-dev
* commit '659945365d83bd30de5a506e9504687217393db8':
  Hide Camera in CryptKeeperConfirm
2013-10-07 13:12:23 -07:00
Chris Wren
659945365d am 98b30cea: am a50f7851: Merge "Hide Camera in CryptKeeperConfirm" into klp-dev
* commit '98b30ceaa2ef049f41907ea9672bb5f028472f1c':
  Hide Camera in CryptKeeperConfirm
2013-10-07 13:09:39 -07:00
Chris Wren
a50f78515e Merge "Hide Camera in CryptKeeperConfirm" into klp-dev 2013-10-07 20:01:35 +00:00
David Braun
af1bf89528 am 1c2a3ad6: am a633e1d5: am 1c17255d: Block "SMS Default Dialog" on non-phone devices
* commit '1c2a3ad6cb262447ebed557c6b1bf36bab11d59e':
  Block "SMS Default Dialog" on non-phone devices
2013-10-07 11:18:09 -07:00
David Braun
1c2a3ad6cb am a633e1d5: am 1c17255d: Block "SMS Default Dialog" on non-phone devices
* commit 'a633e1d54d28d5c646b1f99df62a9250e48340ce':
  Block "SMS Default Dialog" on non-phone devices
2013-10-07 11:15:39 -07:00
David Braun
1c17255d5e Block "SMS Default Dialog" on non-phone devices
This change also handles the case where getDefaultSmsApplication returns
null more elegantly, though this is only really possible on a device that
is a tablet (blocked earlier in the method) or a phone device that had no
SMS apps at boot (when we force the setting of an SMS app.)

Bug: 11072894 People app should not launch into default SMS app on tablets
Change-Id: I1e253873e053c21bc1652bd03d7b486aaf9be5e1
2013-10-07 09:35:52 -07:00
Chris Wren
0481dc7172 Hide Camera in CryptKeeperConfirm
Bug: 10900437
Change-Id: Ie9bbe3bacba6fb37ddd6c2753e011dc7abb63c77
2013-10-07 01:11:08 -04:00
Robert Greenwalt
21a2eb5aea Add batch scan data to power stats.
bug:10690989
Change-Id: I5c21b8234eb1dec2da01032a87e2129b5b5cb225
2013-10-06 13:35:23 -07:00
Svetoslav
4b23800471 am ef1cfe16: am 32d7ea74: am 9379d935: Make printers for a print service not react to press.
* commit 'ef1cfe16fb95a8ae0e73dbd8d2f4235386be1803':
  Make printers for a print service not react to press.
2013-10-04 18:08:26 -07:00
Svetoslav
ef1cfe16fb am 32d7ea74: am 9379d935: Make printers for a print service not react to press.
* commit '32d7ea74074875b43df22369e915c177e67a0316':
  Make printers for a print service not react to press.
2013-10-04 18:05:11 -07:00
Svetoslav
9379d93555 Make printers for a print service not react to press.
We show a list of printers for the a print service in the
print service settings activity. This list is there to
inform the user of which printers are available and
optionally offers adding a printer affordance. The printer
list items do nothing so they should not react to press
and create a false impression they do.

bug:10983508

Change-Id: I43b19ebb0acf6662c489826c192fd6daf8ad103d
2013-10-04 17:52:39 -07:00
Amith Yamasani
ecb9156898 am 8f4919ff: am b46e57ee: am 4a4a1b8b: Merge "Use a public media content uri for viewing local media files" into klp-dev
* commit '8f4919ffeb97994c5214011696945d08ca8beedb':
  Use a public media content uri for viewing local media files
2013-10-04 17:36:46 -07:00
Amith Yamasani
8f4919ffeb am b46e57ee: am 4a4a1b8b: Merge "Use a public media content uri for viewing local media files" into klp-dev
* commit 'b46e57ee261578ffb45c0b679b56b26f6dfe1208':
  Use a public media content uri for viewing local media files
2013-10-04 16:03:05 -07:00
Amith Yamasani
c778bc560d Use a public media content uri for viewing local media files
Bug: 11061566
Change-Id: I7e049f48d37a68a0a41b7a62383eea71f3938c44
2013-10-04 14:59:40 -07:00
Amith Yamasani
2d4a3087ec am 328acd44: am 658e6807: am 16d358da: Merge "Exit restrictions fragment if user was deleted" into klp-dev
* commit '328acd4491eda2a8dd19cc7d7fe3dd74064b392d':
  Exit restrictions fragment if user was deleted
2013-10-04 13:40:32 -07:00
Vinit Deshapnde
5fe2760447 am a4a679ae: am 2337e472: am db750e8f: Merge "Fix EAP-TLS reconnect after reboot issue" into klp-dev
* commit 'a4a679ae70a364dd4063f23abb624c6fc9aeb30f':
  Fix EAP-TLS reconnect after reboot issue
2013-10-04 13:40:32 -07:00
Amith Yamasani
328acd4491 am 658e6807: am 16d358da: Merge "Exit restrictions fragment if user was deleted" into klp-dev
* commit '658e6807aebb451721c413c0becd1ac0fd3bbfcc':
  Exit restrictions fragment if user was deleted
2013-10-04 13:34:44 -07:00