Commit Graph

6147 Commits

Author SHA1 Message Date
Oren Blasberg
3fe68e14b0 Merge "Fix top level menu lingering when submenu opens." into nyc-dev
am: 7ce082a

* commit '7ce082a46259e948e4ea6a12f327f32aecaf167a':
  Fix top level menu lingering when submenu opens.

Change-Id: I994fe5fa29f9b10c0d7a8e4dd306fe2e4f35df7e
2016-04-07 22:50:43 +00:00
Oren Blasberg
7ce082a462 Merge "Fix top level menu lingering when submenu opens." into nyc-dev 2016-04-07 22:43:18 +00:00
Oren Blasberg
cbcfe92763 Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev
am: 1b65b01

* commit '1b65b01f9317f8438e53e2b76d4790d8ed11c346':
  Fix icon spacing on both MenuPopup implementations.

Change-Id: Ie5ead0b76552b7b93cd69fdc475ad74554711fed
2016-04-07 16:48:03 +00:00
Oren Blasberg
1b65b01f93 Merge "Fix icon spacing on both MenuPopup implementations." into nyc-dev 2016-04-07 16:37:47 +00:00
Ricky Wai
d18d149509 Fingerprint should confirm device lock when unified
am: 53940d4

* commit '53940d4c7f45a26d8b571982a1f8f4b8094aa5e0':
  Fingerprint should confirm device lock when unified

Change-Id: Ic4849d86219fc528862fb50e0670a243ddd60868
2016-04-07 15:36:48 +00:00
Ricky Wai
53940d4c7f Fingerprint should confirm device lock when unified
When unified and adding a fingerprint, the user is prompted to set up
a backup

Bug:27419438
Change-Id: I3e857fa07c50ee0904f685b721595ef6cfe729f9
2016-04-07 15:11:34 +00:00
Ricky Wai
e28ff22bc4 Keymaster init for work profile
am: dc283a8

* commit 'dc283a897680ffd33c4d15535ebe778ba5b42c43':
  Keymaster init for work profile

Change-Id: I131c93404eca82fa174527c6f2fb4a8aa72f7b35
2016-04-07 14:28:55 +00:00
Ricky Wai
dc283a8976 Keymaster init for work profile
Changes:
(1) When unified work challenge is enabled and screen lock is secure
  - Store work profile secure key in primary profile
  - When primary user keystore unlocked, unlock work profile keystore
  - When primary user change lock to none, remove work secure key
(2) When unified work challenge is enabled but screen lock is not secure
  - When screen lock changes to secure, store work secure key in primary
(3) When user changes work challenge from unified to separated
  - Remove work secure key in primary
(4) When user changes work challenge from separate to unified
  - Do (1) and (2)

Bug: 27460698

Change-Id: I8f77bde5dc6b8e59c90256e75c5990100e93366b
2016-04-07 14:23:37 +00:00
Jeff Sharkey
0deeb857d3 Merge "Automatically trace messages on shared loopers." into nyc-dev
am: 94cac07

* commit '94cac0730a23525559ded53bfaaee5a529b80aab':
  Automatically trace messages on shared loopers.

Change-Id: Ifbc34c8d15b23ca55782ecee0973e36f33441c72
2016-04-07 07:26:28 +00:00
Jeff Sharkey
94cac0730a Merge "Automatically trace messages on shared loopers." into nyc-dev 2016-04-07 07:19:03 +00:00
Jeff Sharkey
74cd3de6f4 Automatically trace messages on shared loopers.
There are a handful of looper threads in the system_process that
are shared by dozens of different internal services.  To help track
down what these operations are, tag the processing of each message
with a string that tries describing where it originated from: the
class name of the Handler, and the message number or class name of the
Runnable.

Bug: 28046299
Change-Id: I409ec43fea8daaae4fd70df05d4fed929a7249ae
2016-04-07 00:14:53 -06:00
Jorim Jaggi
45b262c63c Merge "Don\'t lock device when double tapping" into nyc-dev
am: 347bb9a

* commit '347bb9a3cf53595b8beed17574cec9c0072aa819':
  Don't lock device when double tapping

Change-Id: I964ae558db13679b5d15220a7c783b75ea894b6b
2016-04-06 22:05:18 +00:00
Jorim Jaggi
f1cdf9558d Don't lock device when double tapping
Bug: 24265204
Change-Id: Ia19e956def454604ed3f3e3e9815fc1872ef649a
2016-04-06 14:53:32 -07:00
Alan Viverette
59c1ac8323 Merge "Add scroll indicators to resolver list layouts" into nyc-dev
am: a27c1df

* commit 'a27c1df9c2620707268c099f534535aeccc22044':
  Add scroll indicators to resolver list layouts

Change-Id: Ie0eee40b6f08756cec5894c7ceed6a3508293dbc
2016-04-06 19:15:10 +00:00
Alan Viverette
a27c1df9c2 Merge "Add scroll indicators to resolver list layouts" into nyc-dev 2016-04-06 19:03:33 +00:00
Alan Viverette
81181dc356 Add scroll indicators to resolver list layouts
Also reformats XML for consistency.

Bug: 27431395
Change-Id: I468dd1582ddcabe360b8665b6f42b3248caa16a5
2016-04-06 13:47:01 -04:00
Abodunrinwa Toki
4257b2df86 Merge "FloatingToolbar: Include scroll indicators in overflow." into nyc-dev
am: 856ebe2

* commit '856ebe206b054c86419df9bab945fabd156bebd6':
  FloatingToolbar: Include scroll indicators in overflow.

Change-Id: I5ecf71df2d274a6fe624f171121452bd360a138b
2016-04-06 16:43:44 +00:00
Abodunrinwa Toki
8949faf066 FloatingToolbar: Include scroll indicators in overflow.
Bug: 27427333
Change-Id: I7480cfe5f75d04e04792d9443435a76ab6773c64
2016-04-06 14:22:42 +01:00
Makoto Onuki
ec0a5e0bea Merge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev
am: ca94f29

* commit 'ca94f29366b9b6e3211351c2d098060114ef5fa8':
  Make FastXmlSerializer more suitable to persist arbitrary strings

Change-Id: Ib9a061aaad82054c0060cbc2b84118a71d1c098b
2016-04-06 00:43:46 +00:00
Makoto Onuki
ca94f29366 Merge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev 2016-04-06 00:36:52 +00:00
Joe Onorato
e9ca789f85 Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev
am: 9b87cc2

* commit '9b87cc2b8b7a72249aeb1f12b4482ea7fad29cb5':
  Add stack traces to logs about mismatched sequenece numbers in procstats.

Change-Id: Ia932b31cc3d05c4224d933d85193ca6f62d0cc8b
2016-04-06 00:30:36 +00:00
Oren Blasberg
ddf6b8130f Fix icon spacing on both MenuPopup implementations.
Ensure we calculate based on the actual menu items in a particular menu
or submenu, not based on whether the parent menu had icon spacing
enabled.

Bug: 28026351
Change-Id: Ie6e56eb142f0b82de38bf39ee848ddd26df2bf1c
2016-04-05 17:24:45 -07:00
Joe Onorato
9b87cc2b8b Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev 2016-04-06 00:21:56 +00:00
Makoto Onuki
3ae3557ea3 Make FastXmlSerializer more suitable to persist arbitrary strings
- Encode '\u000' - '\u001F', so KXmlParser can read them properly.
Otherwise KXmlParser will ignore CRs/LFs in attributes, and CRs
in text.

- Originally FastXmlSerializer would throw if a string contains
dangling surrogate pairs.  Now we REPLACE them with.

Bug 27792649

Change-Id: I10c547dad2475b68f60e9e8208d9a3eae8e20063
2016-04-05 16:12:07 -07:00
Oren Blasberg
9022c7129e Fix top level menu lingering when submenu opens.
We should be calling close(false), not dismiss(), when the submenu is
opened.

This change brings the code closer to what it was before the prior
change to StandardMenuPopup, but preserves the ondismiss behavior we
want for popup menus. The net change so far is that StandardMenuPopup,
not MenuBuilder#performItemAction, handles closing the top level menu
when a submenu is opened. But nonetheless, the onDismiss is not called
when a submenu is opened; only when an actual real "dismiss" occurs.

Bug: 28001958
Change-Id: Ia0f89f8fd4bc5494f6a048c993792adfe42d88ec
2016-04-05 15:12:13 -07:00
Sunny Goyal
5e59ea2115 Merge "Changing startListening to only fetch views which are bound" into nyc-dev
am: 60c74e8

* commit '60c74e836fc40d65c8ac58c231956f57d26ec7eb':
  Changing startListening to only fetch views which are bound

Change-Id: I811c2cb1603bef597eb958ff7fbd44a93d7075b2
2016-04-05 18:58:01 +00:00
Sunny Goyal
60c74e836f Merge "Changing startListening to only fetch views which are bound" into nyc-dev 2016-04-05 18:53:18 +00:00
Lorenzo Colitti
c346f72614 Merge changes Ibb63f6b4,Ib64559a5 into nyc-dev
am: 19e84f7

* commit '19e84f7b750c97d5d7440af16c7ba18bf759e5dc':
  Clean up netd state when tethering fails.
  Clear LinkProperties on interface removed.

Change-Id: I3e6593324fa955ab3c0e590655d0632347f83ec8
2016-04-05 13:39:10 +00:00
Lorenzo Colitti
a3d5948c37 Clear LinkProperties on interface removed.
When an interface is removed, all netlink events for that
interface are lost, because netd will no longer be able to
resolve the ifindex in the netlink event to an interface name,
and it only communicates to the framework events that include an
interface name.

This can cause us to end up with stale IP addresses if, for
example, wlan0 is removed because we switch wifi back from AP
mode to STA mode when exiting tethering. The presence of stale
IPv4 addresses can in turn lead us to miss a provisioning
notification because we already think we have an IPv4 address.

Change-Id: Ib64559a5a4fa261f483760b69fa7996314e7cc17
2016-04-05 20:28:57 +09:00
Roshan Pius
bbc3704933 Merge "power_profile: Move all wifi power values" into nyc-dev
am: bf8ea13

* commit 'bf8ea13069aec021739b9919a27741f1722466f6':
  power_profile: Move all wifi power values

Change-Id: I31b97ab5150ecb35797f699a7fc53adc8857c039
2016-04-04 22:29:34 +00:00
Roshan Pius
bf8ea13069 Merge "power_profile: Move all wifi power values" into nyc-dev 2016-04-04 22:21:25 +00:00
Sunny Goyal
2857f1c783 Changing startListening to only fetch views which are bound
Also associating a lastUpdateTime with every widget. This allows
the host to query the widgets which were updated only after
the last stopListening call.

Change-Id: If9375cf2d8caa0ccca14b6649821d87ada1f3a84
2016-04-04 14:45:14 -07:00
Joe Onorato
146dcc0265 Add stack traces to logs about mismatched sequenece numbers in procstats.
Bug: 27045736
Change-Id: I7a0fc76928a55bb079b8234c5f5d689a401a204b
2016-04-04 14:16:03 -07:00
Phil Weaver
b11f31ff43 Merge "Add accessibility window title and anchor." into nyc-dev
am: d4a1932

* commit 'd4a19326085f2a68d568dfa754c29fd0ac49d193':
  Add accessibility window title and anchor.

Change-Id: I9b15bac883b470f06a41ee0b7ebf1b7d68e4ae2f
2016-04-04 16:43:00 +00:00
Phil Weaver
d4a1932608 Merge "Add accessibility window title and anchor." into nyc-dev 2016-04-04 16:36:01 +00:00
Mihai Nita
f9e34621e9 Merge "Fix suggestions in the language selector" into nyc-dev
am: 5d580ba

* commit '5d580baa507ff35f1a58889b7b57d04a346696d1':
  Fix suggestions in the language selector

Change-Id: I77d78c507d42f81336b7a926b5f02a2c6babcb3d
2016-04-02 03:31:06 +00:00
Mihai Niță
5d580baa50 Merge "Fix suggestions in the language selector" into nyc-dev 2016-04-02 03:24:54 +00:00
Jorim Jaggi
80cd40449a Do not clear INSCREEN and INSET_DECOR for resolver
am: 958f00f

* commit '958f00f396e1e7bf2edc4aa4e27fe11fa533b44a':
  Do not clear INSCREEN and INSET_DECOR for resolver

Change-Id: Iab172e0260470d656978720333352ae1b1f5196f
2016-04-02 01:27:10 +00:00
Jorim Jaggi
958f00f396 Do not clear INSCREEN and INSET_DECOR for resolver
Since we switched this activity to draw the system bar backgrounds,
and clearing these flags leads to that we don't get the insets
communicated, we need to remove the clearing of the flags.

Bug: 27914346
Change-Id: I72114ac7cec40933fa45891b3d1441bd30f883d4
2016-04-02 01:18:24 +00:00
Mihai Nita
86235d4970 Fix suggestions in the language selector
The current implementation makes the decision based on the
list of locales translated in frameworks/base

It will break if we remove country from the resource locale IDs
(e.g. fr-FR => fr)
It also offers no flexibility in case we want to suggest a country
based on other criteria.

Bug: 27378061
Change-Id: I3d8514e8abff83a4c98c5658533738611cf12576
2016-04-01 17:01:01 -07:00
Makoto Onuki
e7b5752c91 Merge "ShortcutManager: implement backup & restore" into nyc-dev
am: b1a684c

* commit 'b1a684c6461b2c316798dfd7bc91c7f39ee3c211':
  ShortcutManager: implement backup & restore

Change-Id: Id18fb8e6f4cae11086eb0aaee810d5a20ea0e678
2016-04-01 23:28:33 +00:00
Makoto Onuki
b1a684c646 Merge "ShortcutManager: implement backup & restore" into nyc-dev 2016-04-01 23:18:43 +00:00
Toni Barzic
a124a533cf Merge "Teach keyguard about PASSWORD_QUALITY_MANAGED" into nyc-dev
am: 1c2db89

* commit '1c2db8992f5db3dfcb0c35e55850c2f469d6d253':
  Teach keyguard about PASSWORD_QUALITY_MANAGED

Change-Id: I7e99e8cec86ee06e2e96d67e557762a5098dea04
2016-04-01 22:39:23 +00:00
Toni Barzic
1c2db8992f Merge "Teach keyguard about PASSWORD_QUALITY_MANAGED" into nyc-dev 2016-04-01 22:28:57 +00:00
Chong Zhang
47814b0829 Merge "Avoid extra relaunch when rotating side-by-side apps" into nyc-dev
am: fbe10f1

* commit 'fbe10f175fa3cb2083d15b4dbfb05c6f223d7f2c':
  Avoid extra relaunch when rotating side-by-side apps

Change-Id: I1f58f668a9593571b26d9c8c9692cd625e9679a8
2016-04-01 22:07:39 +00:00
Chong Zhang
fbe10f175f Merge "Avoid extra relaunch when rotating side-by-side apps" into nyc-dev 2016-04-01 21:56:45 +00:00
Makoto Onuki
2e210c4d0f ShortcutManager: implement backup & restore
Also:
- Fix cross profile pinning.  Now ShortcutLauncher correctly keeps
track of target package user IDs.

- Add performance stats for package manager calls and show them on
dumpsys.

Bug 27548047

Change-Id: I2472980b2955b6c70947aaaa9b76f75d0616db6e
2016-04-01 14:06:56 -07:00
Chong Zhang
167bbfac24 Avoid extra relaunch when rotating side-by-side apps
Update configuration with WM first and check if the stacks need to be
resized due to the update. If so, let activity manager resize the stacks
inline, instead of letting WM schedule another pass of resizeStack. This
way the configuration will be updated to the latest before ensureActivity-
ConfigurationLocked, and we don't need another relaunch there.

bug: 27834014

Change-Id: Ib761a96cada0c3247b0480f18370670c593159da
2016-04-01 13:58:41 -07:00
Philip P. Moltmann
2d9616511a Merge "Make sure PrintDocumentInfo is always sane." into nyc-dev
am: 4f05eb1

* commit '4f05eb194cf3f2c7c518d643d29906d4c7d246de':
  Make sure PrintDocumentInfo is always sane.

Change-Id: I48ac9dce7a84a9926b3756f0f190d05799ffdaad
2016-04-01 16:58:36 +00:00
Philip P. Moltmann
4f05eb194c Merge "Make sure PrintDocumentInfo is always sane." into nyc-dev 2016-04-01 16:49:31 +00:00