Commit Graph

57114 Commits

Author SHA1 Message Date
Alan Viverette
346296bd7d Reset class loader after updating instrumentation paths
Bug: 23688983
Change-Id: I9a0f81b422b5e29f3f8707b987e40c65965e0223
2015-09-01 13:08:05 -04:00
Robert Greenwalt
06eeda6b38 am 8096be27: am fbb28f55: am 77d02900: am 5799f428: am e3bcde94: Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev
* commit '8096be27323b26ae177255381366823c8448e3c5':
  Reduce CONNECTIVITY_CHANGE bcasts
2015-08-28 22:16:02 +00:00
Robert Greenwalt
8096be2732 am fbb28f55: am 77d02900: am 5799f428: am e3bcde94: Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev
* commit 'fbb28f5552fe42453ebaf48fc11a7c07a5c9bd8b':
  Reduce CONNECTIVITY_CHANGE bcasts
2015-08-28 22:05:38 +00:00
Robert Greenwalt
77d02900d8 am 5799f428: am e3bcde94: Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev
* commit '5799f428063cec8f0b85cdff41185e0725b19b74':
  Reduce CONNECTIVITY_CHANGE bcasts
2015-08-28 21:47:20 +00:00
Fyodor Kupolov
3f1099b062 Merge "Non-system users can now have restricted profiles" 2015-08-28 21:44:54 +00:00
Robert Greenwalt
5799f42806 am e3bcde94: Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev
* commit 'e3bcde94caf8440d5e3958a340b3d276d03f7691':
  Reduce CONNECTIVITY_CHANGE bcasts
2015-08-28 21:36:39 +00:00
Jorim Jaggi
762320e7d1 am f757bed7: am 7b933895: am e3238e53: am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit 'f757bed7f7fa72528ab2d7225139d9d6f3b1021a':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:48:51 +00:00
Jorim Jaggi
f757bed7f7 am 7b933895: am e3238e53: am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit '7b933895481813425358bcfe56e0c1afa902a6d2':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:37:52 +00:00
Xiaohui Chen
86c69ddefd Cleanup USER_OWNER for cryptkeeper
Bug: 19913735
Change-Id: I1105081aa2cb97d20afbd1e38d65c18c94e37a40
2015-08-28 20:35:12 +00:00
Jorim Jaggi
e3238e53de am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit 'b774e554f32fd65cac30b43d1cf679403ef4af82':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:19:31 +00:00
Jorim Jaggi
b774e554f3 Optimize fp touch to wake: Shortcut for report next draw
When telling window manager that Keyguard window is in the correct
state for a fp-touch-to-wake sequence, it takes more than 1 frame at
the moment because the signal that WM is waiting for the next draw
is delayed by one frame because it is posted at the end of the
runnable queue.

To correctly fix this, we should post it at the beginning at the
queue, but this is way too risky this late. Instead, add a isolated
SysUI hack to report it faster.

Bug: 23401557
Change-Id: Icf64101e27611c7c01d108123021b22186f1e70c
2015-08-28 20:07:35 +00:00
Robert Greenwalt
74ab4fae90 Reduce CONNECTIVITY_CHANGE bcasts
If an app uses the new api (requestNetwork) to bring up MMS, don't
mark it as a legacy request.  This was done because the messaging
service had to use a combination of new API and old
(requestRouteToHost) due to api problems.  This has been resolved
so don't mark these as legacy requests anymore.

The general stuff is still in for other types due to lack of testing
time but this should be removed altogether in the future.

bug:23350688
Change-Id: I41c27efb253c39d8af1357ae7916ed5315c716db
2015-08-28 12:37:54 -07:00
Deepanshu Gupta
88db51084b Merge "Switch SimpleDateFormat to icu version" 2015-08-28 15:54:11 +00:00
Stefan Kuhne
400f29c37f Merge "Bring an activity to the front upon click & drag" 2015-08-28 15:28:37 +00:00
Skuhne
f36bb0ca99 Bring an activity to the front upon click & drag
Clicking on the control area of a window should bring it to
the top and set the focus since it might be used as a drag
operation which would move / resize it.

Bug: 23179116
Change-Id: I672bfefa42dd85e962fe343aeb89167ce125f168
2015-08-28 08:26:15 -07:00
John Reck
43c2091a65 Merge "Serializing display lists" 2015-08-28 15:09:55 +00:00
Keisuke Kuroyanagi
9f18132aae Merge "Fix: Cursor can be at an invalid offset in EditText." 2015-08-28 06:57:22 +00:00
Ashish Sharma
56d4ce51c2 am b804f413: am fec26a37: am 7c388b0f: am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit 'b804f4134a21989c94ead728b6d36f93a647ce36':
  BatteryStats: Bump checkin version
2015-08-28 00:09:24 +00:00
Ashish Sharma
b804f4134a am fec26a37: am 7c388b0f: am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit 'fec26a37a15dc406ae6a3aee67059cb93ef2ae5a':
  BatteryStats: Bump checkin version
2015-08-27 23:55:47 +00:00
Ashish Sharma
7c388b0f73 am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit 'ffa3d0408f9c3ffb5ab3ee45ef6c466d795fb2c8':
  BatteryStats: Bump checkin version
2015-08-27 23:34:04 +00:00
Ashish Sharma
ffa3d0408f am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit '3883e72aeda7dcc5f76eba7ad2e95ad2cb041687':
  BatteryStats: Bump checkin version
2015-08-27 23:28:22 +00:00
Ashish Sharma
3883e72aed Merge "BatteryStats: Bump checkin version" into mnc-dev 2015-08-27 23:21:16 +00:00
Doris Liu
3660ceb267 Merge "Prevents recursive call into end() or cancel()" 2015-08-27 23:20:55 +00:00
Doris Liu
3dbaae1ef4 Prevents recursive call into end() or cancel()
end() and cancel() in ValueAnimator will trigger onAnimationCancel
or onAnimationEnd callback on its listeners. If additional end()
or cancel() request comes from the callback, a loop will be formed.
Therefore, we need to mark when the end is reuqested so we do not
process end() or cancel() request multiple times during one animation
run, and also effectively terminate the loop.

Bug: 23596652
Change-Id: Iefb69eb8969071b43124c09d7cccbe9ff5ba5dcc
2015-08-27 16:13:48 -07:00
Fyodor Kupolov
06a484adb9 Non-system users can now have restricted profiles
In the non split system user, only USER_OWNER is allowed to have restricted
profiles. This is now changed in split user mode, where multiple secondary
users can have restricted profiles.

Added UserInfo.restrictedProfileGroupId field, which defines parent/child
relationship between secondary users and linked restricted profiles. Adjusted
shared accounts handling logic to not assume that USER_OWNER is the only owner.

Bug: 23191995
Change-Id: I5f3fc2aa4f229103d6e75ec2c3dfce866b8007de
2015-08-27 15:38:29 -07:00
Ajay Panicker
22190c0615 am 53b1884a: am 30aa53c7: am 92fb5342: am c07701f2: am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit '53b1884ac66f33614393013ffa1bfd89564d178b':
  Add StateMachine.removeDeferredMessages()
2015-08-27 22:07:19 +00:00
Doris Liu
3e0a6dc045 Merge "Fix build" 2015-08-27 20:48:32 +00:00
Doris Liu
f310e88939 Fix build
Change-Id: Ib454858f0fe3eb9171297c2c1ccece33729c487b
2015-08-27 13:40:07 -07:00
Ajay Panicker
53b1884ac6 am 30aa53c7: am 92fb5342: am c07701f2: am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit '30aa53c7af22f98233a9c3acbe0efe20a569c8f1':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:56:20 +00:00
Ajay Panicker
92fb534298 am c07701f2: am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit 'c07701f2764a1c09dc3e8af4321ff0ef66056fee':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:40:05 +00:00
Doris Liu
26b8aa32b7 Merge "Internal cleanup for Animator framework" 2015-08-27 19:37:03 +00:00
Alan Viverette
7c134b3c45 Merge "Expose password text to accessibility services, if requested" 2015-08-27 19:35:36 +00:00
Ajay Panicker
c07701f276 am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit '3e5b01185c08c46b80c395ca1f9c93e45cd98ba5':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:33:31 +00:00
Alan Viverette
798253e190 Expose password text to accessibility services, if requested
Otherwise, exposes the hint or the result of whatever transformation
method is set. This is consistent with what is displayed visually.

Bug: 23568127
Change-Id: Ib5c7fe78fb3b58feb36f0314638345bd40e401ab
2015-08-27 14:53:48 -04:00
Xiaohui Chen
cc791bc47c More cleanup USER_OWNER
Bug: 19913735
Change-Id: I7fe1bb2a66231b7d1ae0670dff5e2ec736b2e541
2015-08-27 18:05:21 +00:00
Alan Viverette
02fc5fef36 Extract drawable inflation to its own class, inflate from class name
Bug: 22627299
Change-Id: Icd2ac88af4f3102e08e52f6f0f7565839da6437a
2015-08-27 13:16:09 -04:00
Keisuke Kuroyanagi
00ad16d1cd Fix: Cursor can be at an invalid offset in EditText.
"getLineEnd(line) - 1" is used as the return value when the
"horiz" is beyond the line end for multiple line text.
In this case, the returned value can point an invalid
offset like the middle point of a surrogate pair.

Bug: 23069901
Change-Id: I1afef7205a15079a42bb0018df73f70fe9ada862
2015-08-27 18:15:48 +09:00
Daniel Estrada Alva
aa8060df8c am 08c04874: am f3349406: am 243095c9: am 47ee2ecf: Merge "Disable AR HW when client binder dies." into mnc-dr-dev
* commit '08c0487487ed77d25f2b0593cb3aba31b2b3fe57':
  Disable AR HW when client binder dies.
2015-08-27 05:11:58 +00:00
Ajay Panicker
c211978650 Add StateMachine.removeDeferredMessages()
Bug: 23111466
Change-Id: Ifbb67d4eb080313af0968d5cb6b9508837e3458e
2015-08-26 19:34:52 -07:00
Doris Liu
3618d30f8a Internal cleanup for Animator framework
This CL includes the following changes:
1) Remove redundant field mPlayingState in ValueAnimator.
2) Refactor AnimationHandler so that all of its interaction with Choreographer
   is through an interface. A custom provider that implements this interface can
   be plugged in and provide timing pulse that are independent of Choreographer.
3) Better encapsulate AnimationHandler and ValueAnimator. Interaction between
   the two is done through register/unregister frame callbacks as well as
   AnimationFrameCallback interface.
4) Change how animation delay is handled.

Change-Id: Icd49f727321c362dab49b5b33815333c9ea559e0
2015-08-26 18:05:04 -07:00
John Reck
e248bd1b2c Serializing display lists
This is a WIP prototype

Change-Id: Id4bfcf2b7bf905221c3734b7b6887c9b2efd37e6
2015-08-26 16:29:15 -07:00
Stefan Kuhne
0a16253b63 Merge "Fixing crash in some full screen cases" 2015-08-26 22:50:55 +00:00
Skuhne
a635a26716 Fixing crash in some full screen cases
If an event makes it into the NonClientDecor and the
application is maximized, it should not process it.

Bug: 23489031
Change-Id: I661ea207522bbea64f297cd63cc2b5da192d47ae
2015-08-26 15:45:58 -07:00
Fyodor Kupolov
2170ee43a1 Merge "Limit the number of apps running as system user" 2015-08-26 22:14:36 +00:00
Daniel Estrada Alva
08c0487487 am f3349406: am 243095c9: am 47ee2ecf: Merge "Disable AR HW when client binder dies." into mnc-dr-dev
* commit 'f33494069fd914868ed32effe753b649e86e20d2':
  Disable AR HW when client binder dies.
2015-08-26 21:34:18 +00:00
Alan Viverette
bd1d652f37 am 8d8c53df: am 76c73ae4: am 12874d2d: am b9b57225: am 95137857: Merge "Avoid NPE when getPositionForView() is called on detached view" into mnc-dev
* commit '8d8c53df26ac29fa3c6df782eb49e8d50683a1dd':
  Avoid NPE when getPositionForView() is called on detached view
2015-08-26 21:23:45 +00:00
Daniel Estrada Alva
243095c9ca am 47ee2ecf: Merge "Disable AR HW when client binder dies." into mnc-dr-dev
* commit '47ee2ecf82958f211c775a4125968fbf505fe594':
  Disable AR HW when client binder dies.
2015-08-26 21:19:53 +00:00
Alan Viverette
8d8c53df26 am 76c73ae4: am 12874d2d: am b9b57225: am 95137857: Merge "Avoid NPE when getPositionForView() is called on detached view" into mnc-dev
* commit '76c73ae495fe9bad5ed51b96cd8e509dbb8de46f':
  Avoid NPE when getPositionForView() is called on detached view
2015-08-26 21:13:04 +00:00
Chien-Yu Chen
8af9d7687d am fcfa1d57: am 2aa23ac6: am aebc3cce: am fd059b34: am e4c3ff2f: Merge "Camera: Update for reprocess session" into mnc-dev
* commit 'fcfa1d57ea6ab245095d3ab1fcef103fa0abcd83':
  Camera: Update for reprocess session
2015-08-26 21:12:03 +00:00
Daniel Estrada Alva
47ee2ecf82 Merge "Disable AR HW when client binder dies." into mnc-dr-dev 2015-08-26 21:09:50 +00:00