Commit Graph

8833 Commits

Author SHA1 Message Date
Jeff Sharkey
b126a4ea4a am 084dd048: am fc963764: am bdb64bf1: am 7616b00b: Merge changes from topic \'mig\' into mnc-dev
* commit '084dd0487cc310e6aed81933a32d7f23b39797cf':
  Fix some ordering, colors, and accessibility bugs.
  Handle missing migration source volume.
2015-07-06 19:18:51 +00:00
Jeff Sharkey
48751c1a51 Fix some ordering, colors, and accessibility bugs.
When adding preferences to public/private details screens, always
add in-order when rebuilding.  Hacky fix for broken summary text and
eject image color tints.

Fix crash when device rotated during partitioning.  Set correct
accessibility titles in all wizard steps.

Bug: 22098044, 21376962
Change-Id: I68aff96cba497a91919cad8865722bc9cef7eaa7
2015-07-05 22:10:13 -07:00
Jeff Sharkey
6a0082b483 Handle missing migration source volume.
Users can try migrating primary storage while the current location
is missing/unmounted.  Fail gracefully instead of runtime restarting.

Bug: 21927076
Change-Id: I54b92487faf9e62d5d309734bf4c436a9259d156
2015-07-05 14:25:44 -07:00
Svetoslav
b3b15d24df am bdfc2b0f: am 5b45c3cb: Fix build
* commit 'bdfc2b0f9465f9683aa8a06443421166f5c9d398':
  Fix build
2015-07-02 02:01:11 +00:00
Svetoslav
5b45c3cb2f Fix build
Change-Id: I658528a9b0a8a281a2b30b2915c1be6963759378
2015-07-01 18:33:32 -07:00
Marco Nelissen
a091844080 am f35bd641: am b8b20a50: Merge "Fix USB mode development setting" into mnc-dev
* commit 'f35bd64130ceb668a8fee544ef3b888f51d3eb14':
  Fix USB mode development setting
2015-07-02 01:02:48 +00:00
Marco Nelissen
b8b20a5032 Merge "Fix USB mode development setting" into mnc-dev 2015-07-01 19:13:44 +00:00
Jason Monk
3988dd5a6b am a6eca19a: am f7806581: Avoid crashing
* commit 'a6eca19ad15eb75588635f89dec1093c9eecffdf':
  Avoid crashing
2015-07-01 17:12:42 +00:00
Avish Shah
bd17cc3560 am 76ffaaa2: am ad1f28cd: Device Discoverability not set properly when Bluetooth is toggled
* commit '76ffaaa238b20cc103e8a08a22d9db1f5990ccff':
  Device Discoverability not set properly when Bluetooth is toggled
2015-07-01 17:12:41 +00:00
Marco Nelissen
e6ffe31754 Fix USB mode development setting
USB mode consists of the function (mtp, ptp, midi, etc) and the data
locked/unlocked state. Developer settings was only setting the
function, leaving data locked when it should be unlocked.

Bug: 22165902
Change-Id: Ia1ae8dfaf3d2abc62034aa6aea1234bad04aaa2e
2015-07-01 15:44:32 +00:00
Jason Monk
f7806581e5 Avoid crashing
Bug: 22202631
Change-Id: I1980f77ae4300dbd19d6829dc5974bab0b88d612
2015-07-01 10:36:30 -04:00
Avish Shah
ad1f28cde0 Device Discoverability not set properly when Bluetooth is toggled
Issue:
When BT is turned off/on staying in the same BT Settings
screen discoverability was not set again.

Fix:
Handle setting discoverability Bluetooth state change
intents also when BT state is  turned ON.

Bug: 21944289
Change-Id: Ic3c8d476c53673b21d40ea2bd9669758d89c2aee
2015-07-01 01:35:29 +00:00
Adam Lesinski
b285f018be am 09948d48: am 56594c6d: Update FakeUid to implement new method defined in BatteryStats.Uid
* commit '09948d4804f34d76f8e0987efec7b313eb03e3ee':
  Update FakeUid to implement new method defined in BatteryStats.Uid
2015-07-01 01:06:54 +00:00
Adam Lesinski
56594c6d61 Update FakeUid to implement new method defined in BatteryStats.Uid
Bug:21498425
Change-Id: I956c04d13daf985d472cc7ff2762ad74d5bb9502
2015-06-30 16:58:08 -07:00
Adam Lesinski
cce0d46de9 am 985d1029: am fba915be: Merge "Merge dex2oat with app being installed" into mnc-dev
* commit '985d10296a87fe3ffeeec18d51f9af8fc96588ed':
  Merge dex2oat with app being installed
2015-06-30 23:40:59 +00:00
Amith Yamasani
856bc3bd12 am 5bfbc07f: am a8c4db48: Merge "Only allow admin users to adopt sd card as internal storage." into mnc-dev
* commit '5bfbc07fc761009e2b4116d47d6bda7460061840':
  Only allow admin users to adopt sd card as internal storage.
2015-06-30 23:26:32 +00:00
Adam Lesinski
fba915be16 Merge "Merge dex2oat with app being installed" into mnc-dev 2015-06-30 23:16:23 +00:00
Amith Yamasani
a8c4db48c2 Merge "Only allow admin users to adopt sd card as internal storage." into mnc-dev 2015-06-30 23:00:28 +00:00
Amith Yamasani
350274040e Only allow admin users to adopt sd card as internal storage.
Bug: 21883016
Change-Id: I11ca324ab74ce2a8bf13064b4c7735aea132c562
2015-06-30 14:23:54 -07:00
Jason Monk
a5dc01a2b1 am f1d70b5f: am a8af51b2: Merge "Handle adjust volume user restriction" into mnc-dev
* commit 'f1d70b5f7da3929afbc27494539c8e1bbafd77c4':
  Handle adjust volume user restriction
2015-06-30 21:22:35 +00:00
Jason Monk
a8af51b2d8 Merge "Handle adjust volume user restriction" into mnc-dev 2015-06-30 20:08:15 +00:00
Jason Monk
72965ad53b Handle adjust volume user restriction
- Finish all do not disturb pages immediately
 - Disable relevant items in Sounds & notification

Bug: 21642285
Change-Id: I8de9bd10b8cea8adaa306b1ae388ab7d1ccc4e7e
2015-06-30 19:21:10 +00:00
Makoto Onuki
86826083b6 am 3ff8ce1d: am a2bd2eac: Merge "Make sure Fragments are public for FragMan to instantiate" into mnc-dev
* commit '3ff8ce1d9de9efcf88981f6c9b4b63497be8ae7f':
  Make sure Fragments are public for FragMan to instantiate
2015-06-30 17:28:37 +00:00
Makoto Onuki
a2bd2eacc3 Merge "Make sure Fragments are public for FragMan to instantiate" into mnc-dev 2015-06-30 16:40:58 +00:00
Jason Monk
8d4b924366 am e6cbdf19: am e6a0bee5: Merge "Fix crash in ignore optimizations dialog" into mnc-dev
* commit 'e6cbdf19b556436ed6571f2f828ed7c1374f90ce':
  Fix crash in ignore optimizations dialog
2015-06-30 14:45:41 +00:00
Rubin Xu
cf0f3c130f am 4421438c: am 02c7e95f: Merge "No longer use ExternalStorageFormatter to format external storage" into mnc-dev
* commit '4421438c50d076ee91b8fc333fa23c7d4dc424ed':
  No longer use ExternalStorageFormatter to format external storage
2015-06-30 14:21:06 +00:00
Jason Monk
e86de04dd6 am a992bb3d: am 6799ef42: Merge "Reduce jank in wifi settings" into mnc-dev
* commit 'a992bb3dfb94705053ca91ac9d31e8a530d2b984':
  Reduce jank in wifi settings
2015-06-30 14:21:05 +00:00
Jason Monk
e6a0bee557 Merge "Fix crash in ignore optimizations dialog" into mnc-dev 2015-06-30 14:20:58 +00:00
Jason Monk
d5884c5023 Fix crash in ignore optimizations dialog
Launch it like a dialog, because it is one.

Bug: 22181580
Change-Id: Ibeda8506cfb7a9a9d60f70462a4e03972b38f8aa
2015-06-30 10:17:25 -04:00
Rubin Xu
02c7e95fd4 Merge "No longer use ExternalStorageFormatter to format external storage" into mnc-dev 2015-06-30 14:05:32 +00:00
Jason Monk
6799ef423b Merge "Reduce jank in wifi settings" into mnc-dev 2015-06-30 14:03:05 +00:00
Jorim Jaggi
6c8e650308 am ea53bfcd: am d9bd96b3: Add setting to disable screenshot separately (2/2)
* commit 'ea53bfcddf8c8b37a154bcbdcbbec2ee71b109d9':
  Add setting to disable screenshot separately (2/2)
2015-06-30 00:49:24 +00:00
Adam Lesinski
4444fb85a9 Merge dex2oat with app being installed
Bug:22008744
Change-Id: Id87fe215760202e2969c27d686fa8ba106b00754
2015-06-29 14:56:01 -07:00
Jorim Jaggi
d9bd96b309 Add setting to disable screenshot separately (2/2)
Bug: 22063668
Change-Id: I85b255ac114184e0edbd71010d517b337ad935e5
2015-06-29 14:50:45 -07:00
Jorim Jaggi
aa6a23a9b2 am ea673970: am 1e7b8f86: Fix userId for credentials from managed profiles
* commit 'ea673970e16b49f28d7f39c8b4993f186e561d6d':
  Fix userId for credentials from managed profiles
2015-06-29 21:23:26 +00:00
Jorim Jaggi
1e7b8f86d8 Fix userId for credentials from managed profiles
Bug: 22094377
Change-Id: Ia98d0e386d4c56f3eb502ff11f86b0fd7dadea3c
2015-06-29 20:34:27 +00:00
Jason Monk
7a63a8f08b am 2d6445d4: am 312c90c8: Merge "Remove char limit from owner info" into mnc-dev
* commit '2d6445d4a1b99f95dd5f11561fc9392c7c9eb407':
  Remove char limit from owner info
2015-06-29 20:16:18 +00:00
Jason Monk
312c90c8ca Merge "Remove char limit from owner info" into mnc-dev 2015-06-29 19:52:51 +00:00
Jason Monk
d79984c9e4 Remove char limit from owner info
Bug: 21959734
Change-Id: I21854309ca390cb126ba50feaa56fb9a35b862e1
2015-06-29 15:42:41 -04:00
Jason Monk
9b9e75d019 am d1c770f0: am 898acde0: Merge "Handle rotation (or refresh) before callback is received" into mnc-dev
* commit 'd1c770f023c3d428b80c92277d45dcfa0ab83190':
  Handle rotation (or refresh) before callback is received
2015-06-29 19:19:51 +00:00
Jason Monk
d0d7b924cb Handle rotation (or refresh) before callback is received
Make sure we unregister the old receiver

Bug: 22160603
Change-Id: I798ca07dd65711caa4d3295b7ad811ca2fc69c1d
2015-06-29 14:43:19 -04:00
Jason Monk
55dd8869db Reduce jank in wifi settings
- Fix view recycling for AccessPointPreferences by adding a dummy
   during initial inflation
 - Cut down on what is done during onBindView and refresh()
 - Try to re-use AccessPointPreferences when possible

Some jank still occurs when scan results come in, but it is less
than before.

Bug: 16518752
Change-Id: I2619303281dd50aa3864783c49738ae9f221834a
2015-06-29 13:47:14 -04:00
Sanket Padawe
4e484afa12 am d52bd38d: am 52dce9d3: Merge "Hide EAP SIM, AKA & AKA\' choices in wifi Settings if device doesn\'t support." into mnc-dev
* commit 'd52bd38d055cfa44049f80aed700228968860c54':
  Hide EAP SIM, AKA & AKA' choices in wifi Settings if device doesn't support.
2015-06-28 03:09:39 +00:00
Sanket Padawe
52dce9d334 Merge "Hide EAP SIM, AKA & AKA' choices in wifi Settings if device doesn't support." into mnc-dev 2015-06-28 02:45:48 +00:00
Yohei Yukawa
473440d79b Merge "Dont crash if there is no spellchecker" into mnc-dev 2015-06-27 21:40:53 +00:00
Adam Lesinski
207ec04b76 am 92f9c17f: am 18ae8512: Merge "Report real wifi running time in Power Details" into mnc-dev
* commit '92f9c17fe74bea7a9ec00d58dffc8164735efb13':
  Report real wifi running time in Power Details
2015-06-27 01:30:21 +00:00
Johan Redestig
b1570d285a Dont crash if there is no spellchecker
The fact that isSpellCheckerEnabled returns true does not mean
that getCurrentSpellChecker will return non null. By default
isSpellCheckerEnabled is true in TextServicesSettings, even when
there is no spellchecker service active on the device.

The issue can be verified by disabling the Google Keyboard (assuming
the GMS LatinImeGoogle is used) in Settings|Apps and later
entering Settings|Language & input. Without this patch Settings
crashes at that point with the following stack:

E/AndroidRuntime(13020): Caused by: java.lang.NullPointerException: \
Attempt to invoke virtual method 'java.lang.CharSequence android.vie\
w.textservice.SpellCheckerInfo.loadLabel(android.content.pm.PackageM\
anager)' on a null object reference
E/AndroidRuntime(13020):        at com.android.settings.inputmethod.\
InputMethodAndLanguageSettings.onResume(InputMethodAndLanguageSettin\
gs.java:253)
E/AndroidRuntime(13020):        at android.app.Fragment.performResum\
e(Fragment.java:2096)
E/AndroidRuntime(13020):        at android.app.FragmentManagerImpl.m\
oveToState(FragmentManager.java:928)
E/AndroidRuntime(13020):        at android.app.FragmentManagerImpl.m\
oveToState(FragmentManager.java:1067)

Bug: 19832033
Change-Id: I65e6d269572e064aa6897807b6611ef947d90211
2015-06-26 18:15:13 -07:00
Adam Lesinski
18ae8512b9 Merge "Report real wifi running time in Power Details" into mnc-dev 2015-06-27 01:10:51 +00:00
Adam Lesinski
cba028c60a Report real wifi running time in Power Details
Bug:21934412
Change-Id: Ic8623c8b424021f1af3d143d3b07398dd22091d6
2015-06-26 18:04:47 -07:00
Sanket Padawe
94c0b0d436 Hide EAP SIM, AKA & AKA' choices in wifi Settings if device doesn't support.
Bug: 22014309
Change-Id: I606649cb4d2e13330afa89075ad074e7dc525f87
2015-06-26 15:57:43 -07:00